From 36574b15b4dd3a9e1a5d00c6e4b648d7c831b4b5 Mon Sep 17 00:00:00 2001 From: Kaushal Kumar Date: Wed, 18 Oct 2023 14:56:14 +0530 Subject: [PATCH 1/3] Add API specs of the base version --- ...rActiveConnectivityConfigurationsList.json | 68 + ...rkManagerActiveSecurityAdminRulesList.json | 84 + ...orkManagerActiveSecurityUserRulesList.json | 81 + ...tworkManagerAdminRuleCollectionDelete.json | 14 + .../NetworkManagerAdminRuleCollectionGet.json | 37 + ...NetworkManagerAdminRuleCollectionList.json | 41 + .../NetworkManagerAdminRuleCollectionPut.json | 72 + .../NetworkManagerAdminRuleDelete.json | 15 + .../examples/NetworkManagerAdminRuleGet.json | 56 + .../examples/NetworkManagerAdminRuleList.json | 59 + .../examples/NetworkManagerAdminRulePut.json | 125 + .../examples/NetworkManagerCommitPost.json | 32 + ...anagerConnectivityConfigurationDelete.json | 14 + ...rkManagerConnectivityConfigurationGet.json | 49 + ...kManagerConnectivityConfigurationList.json | 53 + ...rkManagerConnectivityConfigurationPut.json | 109 + .../NetworkManagerDefaultAdminRuleGet.json | 57 + .../NetworkManagerDefaultAdminRulePut.json | 105 + .../NetworkManagerDefaultUserRuleGet.json | 55 + .../NetworkManagerDefaultUserRulePut.json | 101 + .../examples/NetworkManagerDelete.json | 13 + .../NetworkManagerDeploymentStatusList.json | 51 + ...fectiveConnectivityConfigurationsList.json | 63 + ...anagerEffectiveSecurityAdminRulesList.json | 79 + ...rkManagerEffectiveVirtualNetworksList.json | 27 + ...veVirtualNetworksListByNetworkManager.json | 27 + .../examples/NetworkManagerGet.json | 42 + .../examples/NetworkManagerGroupDelete.json | 14 + .../examples/NetworkManagerGroupGet.json | 39 + .../examples/NetworkManagerGroupList.json | 43 + .../examples/NetworkManagerGroupPut.json | 85 + .../examples/NetworkManagerList.json | 47 + .../examples/NetworkManagerListAll.json | 46 + .../examples/NetworkManagerPatch.json | 54 + .../examples/NetworkManagerPut.json | 92 + ...nagerSecurityAdminConfigurationDelete.json | 13 + ...kManagerSecurityAdminConfigurationGet.json | 33 + ...ManagerSecurityAdminConfigurationList.json | 37 + ...kManagerSecurityAdminConfigurationPut.json | 62 + ...anagerSecurityUserConfigurationDelete.json | 13 + ...rkManagerSecurityUserConfigurationGet.json | 33 + ...kManagerSecurityUserConfigurationList.json | 37 + ...rkManagerSecurityUserConfigurationPut.json | 62 + ...etworkManagerUserRuleCollectionDelete.json | 14 + .../NetworkManagerUserRuleCollectionGet.json | 37 + .../NetworkManagerUserRuleCollectionList.json | 41 + .../NetworkManagerUserRuleCollectionPut.json | 72 + .../NetworkManagerUserRuleDelete.json | 15 + .../examples/NetworkManagerUserRuleGet.json | 54 + .../examples/NetworkManagerUserRuleList.json | 57 + .../examples/NetworkManagerUserRulePut.json | 119 + .../NetworkSecurityPerimeterDelete.json | 13 + .../examples/NetworkSecurityPerimeterGet.json | 24 + .../NetworkSecurityPerimeterList.json | 39 + .../NetworkSecurityPerimeterListAll.json | 38 + .../NetworkSecurityPerimeterPatch.json | 31 + .../examples/NetworkSecurityPerimeterPut.json | 40 + .../examples/NspAccessRuleDelete.json | 15 + .../examples/NspAccessRuleGet.json | 33 + .../examples/NspAccessRuleList.json | 55 + .../examples/NspAccessRulePut.json | 62 + .../examples/NspAccessRuleReconcile.json | 19 + .../examples/NspAssociationDelete.json | 20 + .../examples/NspAssociationGet.json | 30 + .../examples/NspAssociationList.json | 66 + .../examples/NspAssociationPut.json | 59 + .../examples/NspAssociationReconcile.json | 18 + .../examples/NspLinkDelete.json | 19 + .../examples/NspLinkGet.json | 39 + .../examples/NspLinkList.json | 43 + .../examples/NspLinkPut.json | 71 + .../examples/NspLinkReferenceDelete.json | 19 + .../examples/NspLinkReferenceGet.json | 39 + .../examples/NspLinkReferenceList.json | 43 + .../examples/NspProfileDelete.json | 14 + .../examples/NspProfileGet.json | 24 + .../examples/NspProfileList.json | 38 + .../examples/NspProfilePut.json | 39 + .../PerimeterAssociableResourcesList.json | 44 + .../preview/2023-07-01-preview/network.json | 438 ++++ .../2023-07-01-preview/networkManager.json | 705 ++++++ .../networkManagerActiveConfiguration.json | 503 ++++ ...tworkManagerConnectivityConfiguration.json | 416 ++++ .../networkManagerEffectiveConfiguration.json | 325 +++ .../networkManagerGroup.json | 455 ++++ ...workManagerSecurityAdminConfiguration.json | 1064 +++++++++ ...tworkManagerSecurityUserConfiguration.json | 830 +++++++ .../networkSecurityPerimeter.json | 2069 +++++++++++++++++ ...rActiveConnectivityConfigurationsList.json | 68 + ...rkManagerActiveSecurityAdminRulesList.json | 84 + ...orkManagerActiveSecurityUserRulesList.json | 81 + ...tworkManagerAdminRuleCollectionDelete.json | 14 + .../NetworkManagerAdminRuleCollectionGet.json | 37 + ...NetworkManagerAdminRuleCollectionList.json | 41 + .../NetworkManagerAdminRuleCollectionPut.json | 72 + .../NetworkManagerAdminRuleDelete.json | 15 + .../examples/NetworkManagerAdminRuleGet.json | 56 + .../examples/NetworkManagerAdminRuleList.json | 59 + .../examples/NetworkManagerAdminRulePut.json | 125 + .../examples/NetworkManagerCommitPost.json | 32 + ...anagerConnectivityConfigurationDelete.json | 14 + ...rkManagerConnectivityConfigurationGet.json | 49 + ...kManagerConnectivityConfigurationList.json | 53 + ...rkManagerConnectivityConfigurationPut.json | 109 + .../NetworkManagerDefaultAdminRuleGet.json | 57 + .../NetworkManagerDefaultAdminRulePut.json | 105 + .../NetworkManagerDefaultUserRuleGet.json | 55 + .../NetworkManagerDefaultUserRulePut.json | 101 + .../examples/NetworkManagerDelete.json | 13 + .../NetworkManagerDeploymentStatusList.json | 51 + ...fectiveConnectivityConfigurationsList.json | 63 + ...anagerEffectiveSecurityAdminRulesList.json | 79 + ...rkManagerEffectiveVirtualNetworksList.json | 27 + ...veVirtualNetworksListByNetworkManager.json | 27 + .../examples/NetworkManagerGet.json | 42 + .../examples/NetworkManagerGroupDelete.json | 14 + .../examples/NetworkManagerGroupGet.json | 39 + .../examples/NetworkManagerGroupList.json | 43 + .../examples/NetworkManagerGroupPut.json | 85 + .../examples/NetworkManagerList.json | 47 + .../examples/NetworkManagerListAll.json | 46 + .../examples/NetworkManagerPatch.json | 54 + .../examples/NetworkManagerPut.json | 92 + ...nagerSecurityAdminConfigurationDelete.json | 13 + ...kManagerSecurityAdminConfigurationGet.json | 33 + ...ManagerSecurityAdminConfigurationList.json | 37 + ...kManagerSecurityAdminConfigurationPut.json | 62 + ...anagerSecurityUserConfigurationDelete.json | 13 + ...rkManagerSecurityUserConfigurationGet.json | 33 + ...kManagerSecurityUserConfigurationList.json | 37 + ...rkManagerSecurityUserConfigurationPut.json | 62 + ...etworkManagerUserRuleCollectionDelete.json | 14 + .../NetworkManagerUserRuleCollectionGet.json | 37 + .../NetworkManagerUserRuleCollectionList.json | 41 + .../NetworkManagerUserRuleCollectionPut.json | 72 + .../NetworkManagerUserRuleDelete.json | 15 + .../examples/NetworkManagerUserRuleGet.json | 54 + .../examples/NetworkManagerUserRuleList.json | 57 + .../examples/NetworkManagerUserRulePut.json | 119 + .../NetworkSecurityPerimeterDelete.json | 13 + .../examples/NetworkSecurityPerimeterGet.json | 24 + .../NetworkSecurityPerimeterList.json | 39 + .../NetworkSecurityPerimeterListAll.json | 38 + .../NetworkSecurityPerimeterPatch.json | 31 + .../examples/NetworkSecurityPerimeterPut.json | 40 + .../examples/NspAccessRuleDelete.json | 15 + .../examples/NspAccessRuleGet.json | 33 + .../examples/NspAccessRuleList.json | 55 + .../examples/NspAccessRulePut.json | 62 + .../examples/NspAccessRuleReconcile.json | 19 + .../examples/NspAssociationDelete.json | 20 + .../examples/NspAssociationGet.json | 30 + .../examples/NspAssociationList.json | 66 + .../examples/NspAssociationPut.json | 59 + .../examples/NspAssociationReconcile.json | 18 + .../examples/NspLinkDelete.json | 19 + .../examples/NspLinkGet.json | 39 + .../examples/NspLinkList.json | 43 + .../examples/NspLinkPut.json | 71 + .../examples/NspLinkReferenceDelete.json | 19 + .../examples/NspLinkReferenceGet.json | 39 + .../examples/NspLinkReferenceList.json | 43 + .../examples/NspProfileDelete.json | 14 + .../examples/NspProfileGet.json | 24 + .../examples/NspProfileList.json | 38 + .../examples/NspProfilePut.json | 39 + .../PerimeterAssociableResourcesList.json | 44 + .../preview/2023-08-01-preview/network.json | 438 ++++ .../2023-08-01-preview/networkManager.json | 705 ++++++ .../networkManagerActiveConfiguration.json | 503 ++++ ...tworkManagerConnectivityConfiguration.json | 416 ++++ .../networkManagerEffectiveConfiguration.json | 325 +++ .../networkManagerGroup.json | 455 ++++ ...workManagerSecurityAdminConfiguration.json | 1064 +++++++++ ...tworkManagerSecurityUserConfiguration.json | 830 +++++++ .../networkSecurityPerimeter.json | 2069 +++++++++++++++++ 176 files changed, 20894 insertions(+) create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerActiveConnectivityConfigurationsList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerActiveSecurityAdminRulesList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerActiveSecurityUserRulesList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerAdminRuleCollectionDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerAdminRuleCollectionGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerAdminRuleCollectionList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerAdminRuleCollectionPut.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerAdminRuleDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerAdminRuleGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerAdminRuleList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerAdminRulePut.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerCommitPost.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerConnectivityConfigurationDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerConnectivityConfigurationGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerConnectivityConfigurationList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerConnectivityConfigurationPut.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerDefaultAdminRuleGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerDefaultAdminRulePut.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerDefaultUserRuleGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerDefaultUserRulePut.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerDeploymentStatusList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerEffectiveConnectivityConfigurationsList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerEffectiveSecurityAdminRulesList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerEffectiveVirtualNetworksList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerEffectiveVirtualNetworksListByNetworkManager.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerGroupDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerGroupGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerGroupList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerGroupPut.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerListAll.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerPatch.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerPut.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerSecurityAdminConfigurationDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerSecurityAdminConfigurationGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerSecurityAdminConfigurationList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerSecurityAdminConfigurationPut.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerSecurityUserConfigurationDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerSecurityUserConfigurationGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerSecurityUserConfigurationList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerSecurityUserConfigurationPut.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerUserRuleCollectionDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerUserRuleCollectionGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerUserRuleCollectionList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerUserRuleCollectionPut.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerUserRuleDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerUserRuleGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerUserRuleList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerUserRulePut.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkSecurityPerimeterDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkSecurityPerimeterGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkSecurityPerimeterList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkSecurityPerimeterListAll.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkSecurityPerimeterPatch.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkSecurityPerimeterPut.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAccessRuleDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAccessRuleGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAccessRuleList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAccessRulePut.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAccessRuleReconcile.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAssociationDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAssociationGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAssociationList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAssociationPut.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAssociationReconcile.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspLinkDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspLinkGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspLinkList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspLinkPut.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspLinkReferenceDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspLinkReferenceGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspLinkReferenceList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspProfileDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspProfileGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspProfileList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspProfilePut.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/PerimeterAssociableResourcesList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/network.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/networkManager.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/networkManagerActiveConfiguration.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/networkManagerConnectivityConfiguration.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/networkManagerEffectiveConfiguration.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/networkManagerGroup.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/networkManagerSecurityAdminConfiguration.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/networkManagerSecurityUserConfiguration.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/networkSecurityPerimeter.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerActiveConnectivityConfigurationsList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerActiveSecurityAdminRulesList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerActiveSecurityUserRulesList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerAdminRuleCollectionDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerAdminRuleCollectionGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerAdminRuleCollectionList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerAdminRuleCollectionPut.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerAdminRuleDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerAdminRuleGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerAdminRuleList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerAdminRulePut.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerCommitPost.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerConnectivityConfigurationDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerConnectivityConfigurationGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerConnectivityConfigurationList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerConnectivityConfigurationPut.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerDefaultAdminRuleGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerDefaultAdminRulePut.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerDefaultUserRuleGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerDefaultUserRulePut.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerDeploymentStatusList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerEffectiveConnectivityConfigurationsList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerEffectiveSecurityAdminRulesList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerEffectiveVirtualNetworksList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerEffectiveVirtualNetworksListByNetworkManager.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerGroupDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerGroupGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerGroupList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerGroupPut.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerListAll.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerPatch.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerPut.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerSecurityAdminConfigurationDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerSecurityAdminConfigurationGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerSecurityAdminConfigurationList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerSecurityAdminConfigurationPut.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerSecurityUserConfigurationDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerSecurityUserConfigurationGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerSecurityUserConfigurationList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerSecurityUserConfigurationPut.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerUserRuleCollectionDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerUserRuleCollectionGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerUserRuleCollectionList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerUserRuleCollectionPut.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerUserRuleDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerUserRuleGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerUserRuleList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerUserRulePut.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkSecurityPerimeterDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkSecurityPerimeterGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkSecurityPerimeterList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkSecurityPerimeterListAll.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkSecurityPerimeterPatch.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkSecurityPerimeterPut.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAccessRuleDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAccessRuleGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAccessRuleList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAccessRulePut.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAccessRuleReconcile.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAssociationDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAssociationGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAssociationList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAssociationPut.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAssociationReconcile.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspLinkDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspLinkGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspLinkList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspLinkPut.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspLinkReferenceDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspLinkReferenceGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspLinkReferenceList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspProfileDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspProfileGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspProfileList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspProfilePut.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/PerimeterAssociableResourcesList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/network.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/networkManager.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/networkManagerActiveConfiguration.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/networkManagerConnectivityConfiguration.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/networkManagerEffectiveConfiguration.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/networkManagerGroup.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/networkManagerSecurityAdminConfiguration.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/networkManagerSecurityUserConfiguration.json create mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/networkSecurityPerimeter.json diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerActiveConnectivityConfigurationsList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerActiveConnectivityConfigurationsList.json new file mode 100644 index 000000000000..56911d99554c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerActiveConnectivityConfigurationsList.json @@ -0,0 +1,68 @@ +{ + "title": "Get Azure Virtual Network Manager Active Connectivity Configuration", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subscriptionA", + "resourceGroupName": "myResourceGroup", + "networkManagerName": "testNetworkManager", + "parameters": { + "regions": [ + "westus" + ], + "skipToken": "fakeSkipTokenCode" + } + }, + "responses": { + "200": { + "body": { + "value": [ + { + "region": "westus", + "commitTime": "2020-07-10T18:03:22.2578238+05:30", + "id": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/connectivityConfigurations/myTestConnectivityConfig", + "properties": { + "displayName": "myTestConnectivityConfig", + "description": "Sample Configuration", + "connectivityTopology": "HubAndSpoke", + "hubs": [ + { + "resourceId": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myTestConnectivityConfig", + "resourceType": "Microsoft.Network/virtualNetworks" + } + ], + "isGlobal": "True", + "deleteExistingPeering": "True", + "appliesToGroups": [ + { + "networkGroupId": "/subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/groups/group1", + "useHubGateway": "True", + "groupConnectivity": "None", + "isGlobal": "False" + } + ], + "provisioningState": "Succeeded" + }, + "configurationGroups": [ + { + "id": "/subscriptions/subscriptionA/resourceGroup/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1", + "properties": { + "displayName": "My Network Group", + "description": "A group for all test Virtual Networks", + "memberType": "Microsoft.Network/virtualNetworks", + "groupMembers": [ + { + "resourceId": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/virtualnetwork/vnet1" + } + ], + "conditionalMembership": "", + "provisioningState": "Succeeded" + } + } + ] + } + ], + "skipToken": "FakeSkipTokenCode" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerActiveSecurityAdminRulesList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerActiveSecurityAdminRulesList.json new file mode 100644 index 000000000000..40360627aab9 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerActiveSecurityAdminRulesList.json @@ -0,0 +1,84 @@ +{ + "title": "Get Azure Virtual Network Manager Active Security Admin Rules", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subscriptionA", + "resourceGroupName": "myResourceGroup", + "networkManagerName": "testNetworkManager", + "parameters": { + "regions": [ + "westus" + ], + "skipToken": "fakeSkipTokenCode" + } + }, + "responses": { + "200": { + "body": { + "value": [ + { + "region": "westus", + "commitTime": "2020-07-10T18:03:22.2578238+05:30", + "id": "/subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleAdminRule", + "configurationDisplayName": "SampleConfig", + "configurationDescription": "SampleDescription", + "ruleCollectionDisplayName": "SampleRuleCollection", + "ruleCollectionDescription": "SampleRuleCollectionDescription", + "ruleCollectionAppliesToGroups": [ + { + "networkGroupId": "/subscriptions/subscriptionA/resourceGroup/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1" + } + ], + "kind": "Default", + "properties": { + "displayName": "SampleAdminRule", + "description": "Sample Admin Rule", + "flag": "AllowVnetInbound", + "protocol": "Tcp", + "sources": [ + { + "addressPrefixType": "IPPrefix", + "addressPrefix": "*" + } + ], + "destinations": [ + { + "addressPrefixType": "IPPrefix", + "addressPrefix": "*" + } + ], + "sourcePortRanges": [ + "0-65535" + ], + "destinationPortRanges": [ + "22" + ], + "direction": "Inbound", + "access": "Deny", + "priority": 1, + "provisioningState": "Succeeded" + }, + "ruleGroups": [ + { + "id": "/subscriptions/subscriptionA/resourceGroup/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1", + "properties": { + "displayName": "My Network Group", + "description": "A group for all test Virtual Networks", + "memberType": "Microsoft.Network/virtualNetworks", + "groupMembers": [ + { + "resourceId": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/virtualnetwork/vnet1" + } + ], + "conditionalMembership": "", + "provisioningState": "Succeeded" + } + } + ] + } + ], + "skipToken": "FakeSkipTokenCode" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerActiveSecurityUserRulesList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerActiveSecurityUserRulesList.json new file mode 100644 index 000000000000..41aa16fdca54 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerActiveSecurityUserRulesList.json @@ -0,0 +1,81 @@ +{ + "title": "Get Azure Virtual Network Manager Active Security User Rules", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subscriptionA", + "resourceGroupName": "myResourceGroup", + "networkManagerName": "testNetworkManager", + "parameters": { + "regions": [ + "westus" + ], + "skipToken": "fakeSkipTokenCode" + } + }, + "responses": { + "200": { + "body": { + "value": [ + { + "region": "westus", + "commitTime": "2020-07-10T18:03:22.2578238+05:30", + "id": "/subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/securityUserConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleUserRule", + "configurationDisplayName": "SampleConfig", + "configurationDescription": "SampleDescription", + "ruleCollectionDisplayName": "SampleRuleCollection", + "ruleCollectionDescription": "SampleRuleCollectionDescription", + "ruleCollectionAppliesToGroups": [ + { + "networkGroupId": "/subscriptions/subscriptionA/resourceGroup/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1" + } + ], + "kind": "Custom", + "properties": { + "displayName": "SampleUserRule", + "description": "Sample User Rule", + "protocol": "Tcp", + "sources": [ + { + "addressPrefixType": "IPPrefix", + "addressPrefix": "*" + } + ], + "destinations": [ + { + "addressPrefixType": "IPPrefix", + "addressPrefix": "*" + } + ], + "sourcePortRanges": [ + "0-65535" + ], + "destinationPortRanges": [ + "22" + ], + "direction": "Inbound", + "provisioningState": "Succeeded" + }, + "ruleGroups": [ + { + "id": "/subscriptions/subscriptionA/resourceGroup/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1", + "properties": { + "displayName": "My Network Group", + "description": "A group for all test Virtual Networks", + "memberType": "Microsoft.Network/virtualNetworks", + "groupMembers": [ + { + "resourceId": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/virtualnetwork/vnet1" + } + ], + "conditionalMembership": "", + "provisioningState": "Succeeded" + } + } + ] + } + ], + "skipToken": "FakeSkipTokenCode" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerAdminRuleCollectionDelete.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerAdminRuleCollectionDelete.json new file mode 100644 index 000000000000..200dc0249bc9 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerAdminRuleCollectionDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkManagerName": "testNetworkManager", + "configurationName": "myTestSecurityConfig", + "ruleCollectionName": "testRuleCollection" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerAdminRuleCollectionGet.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerAdminRuleCollectionGet.json new file mode 100644 index 000000000000..d17b0c5e7817 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerAdminRuleCollectionGet.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkManagerName": "testNetworkManager", + "ruleCollectionName": "testRuleCollection", + "configurationName": "myTestSecurityConfig" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection", + "name": "testRuleCollection", + "type": "Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "displayName": "testRuleCollection", + "description": "A sample rule collection", + "provisioningState": "Succeeded", + "appliesToGroups": [ + { + "networkGroupId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" + } + ] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerAdminRuleCollectionList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerAdminRuleCollectionList.json new file mode 100644 index 000000000000..34cfcf4f51f7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerAdminRuleCollectionList.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkManagerName": "testNetworkManager", + "configurationName": "myTestSecurityConfig" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection", + "name": "testRuleCollection", + "type": "Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "displayName": "testRuleCollection", + "description": "A sample rule collection", + "provisioningState": "Succeeded", + "appliesToGroups": [ + { + "networkGroupId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" + } + ] + } + } + ], + "nextLink": "{baseurl}/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections?api-version=2021-02-01-preview&$skipToken=10" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerAdminRuleCollectionPut.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerAdminRuleCollectionPut.json new file mode 100644 index 000000000000..b3c85257c820 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerAdminRuleCollectionPut.json @@ -0,0 +1,72 @@ +{ + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "configurationName": "myTestSecurityConfig", + "networkManagerName": "testNetworkManager", + "ruleCollectionName": "testRuleCollection", + "ruleCollection": { + "properties": { + "description": "A sample policy", + "appliesToGroups": [ + { + "networkGroupId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManager/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection", + "name": "myTestSecurityConfig", + "type": "Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "displayName": "myTestSecurityConfig", + "description": "A sample policy", + "provisioningState": "Succeeded", + "appliesToGroups": [ + { + "networkGroupId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" + } + ] + } + } + }, + "201": { + "body": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManager/testNetworkManager/securityConfigurations/myTestSecurityConfig", + "name": "myTestSecurityConfig", + "type": "Microsoft.Network/networkManagers/securityAdminConfigurations", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "displayName": "myTestSecurityConfig", + "description": "A sample policy", + "provisioningState": "Succeeded", + "appliesToGroups": [ + { + "networkGroupId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" + } + ] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerAdminRuleDelete.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerAdminRuleDelete.json new file mode 100644 index 000000000000..f8cc0dfa5d1d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerAdminRuleDelete.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "configurationName": "myTestSecurityConfig", + "networkManagerName": "testNetworkManager", + "ruleCollectionName": "testRuleCollection", + "ruleName": "SampleAdminRule" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerAdminRuleGet.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerAdminRuleGet.json new file mode 100644 index 000000000000..a7dea3683b32 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerAdminRuleGet.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "configurationName": "myTestSecurityConfig", + "networkManagerName": "testNetworkManager", + "ruleCollectionName": "testRuleCollection", + "ruleName": "SampleAdminRule" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleAdminRule", + "type": "Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections/rules", + "name": "SampleAdminRule", + "kind": "Custom", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "displayName": "SampleAdminRule", + "description": "This is Sample Admin Rule", + "protocol": "Tcp", + "sources": [ + { + "addressPrefixType": "IPPrefix", + "addressPrefix": "*" + } + ], + "destinations": [ + { + "addressPrefixType": "IPPrefix", + "addressPrefix": "*" + } + ], + "sourcePortRanges": [ + "0-65535" + ], + "destinationPortRanges": [ + "22" + ], + "access": "Deny", + "priority": 1, + "direction": "Inbound", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerAdminRuleList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerAdminRuleList.json new file mode 100644 index 000000000000..38f8fef50044 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerAdminRuleList.json @@ -0,0 +1,59 @@ +{ + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkManagerName": "testNetworkManager", + "ruleCollectionName": "testRuleCollection", + "configurationName": "myTestSecurityConfig" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkmanagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleAdminRule", + "type": "Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections/rules", + "name": "SampleAdminRule", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "kind": "Custom", + "properties": { + "description": "This is Sample Admin Rule", + "protocol": "Tcp", + "sources": [ + { + "addressPrefixType": "IPPrefix", + "addressPrefix": "*" + } + ], + "destinations": [ + { + "addressPrefixType": "IPPrefix", + "addressPrefix": "*" + } + ], + "sourcePortRanges": [ + "0-65535" + ], + "destinationPortRanges": [ + "22" + ], + "access": "Deny", + "priority": 1, + "direction": "Inbound", + "provisioningState": "Succeeded" + } + } + ], + "nextLink": "{baseurl}/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkManagers/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules?api-version=2021-02-01-preview&$skipToken=10" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerAdminRulePut.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerAdminRulePut.json new file mode 100644 index 000000000000..7d38b0c7d5cf --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerAdminRulePut.json @@ -0,0 +1,125 @@ +{ + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkManagerName": "testNetworkManager", + "configurationName": "myTestSecurityConfig", + "ruleCollectionName": "testRuleCollection", + "ruleName": "SampleAdminRule", + "adminRule": { + "kind": "Custom", + "properties": { + "description": "This is Sample Admin Rule", + "protocol": "Tcp", + "sources": [ + { + "addressPrefixType": "ServiceTag", + "addressPrefix": "Internet" + } + ], + "destinations": [ + { + "addressPrefixType": "IPPrefix", + "addressPrefix": "*" + } + ], + "sourcePortRanges": [ + "0-65535" + ], + "destinationPortRanges": [ + "22" + ], + "access": "Deny", + "priority": 1, + "direction": "Inbound" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleAdminRule", + "type": "Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections/rules", + "name": "SampleAdminRule", + "kind": "Custom", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "description": "This is Sample Admin Rule", + "protocol": "Tcp", + "sources": [ + { + "addressPrefixType": "ServiceTag", + "addressPrefix": "Internet" + } + ], + "destinations": [ + { + "addressPrefixType": "IPPrefix", + "addressPrefix": "*" + } + ], + "sourcePortRanges": [ + "0-65535" + ], + "destinationPortRanges": [ + "22" + ], + "access": "Deny", + "priority": 1, + "direction": "Inbound", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/rules/SampleAdminRule", + "type": "Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections/rules", + "name": "SampleAdminRule", + "kind": "Custom", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "description": "This is Sample Admin Rule", + "protocol": "Tcp", + "sources": [ + { + "addressPrefixType": "ServiceTag", + "addressPrefix": "Internet" + } + ], + "destinations": [ + { + "addressPrefixType": "IPPrefix", + "addressPrefix": "*" + } + ], + "sourcePortRanges": [ + "0-65535" + ], + "destinationPortRanges": [ + "22" + ], + "access": "Deny", + "priority": 1, + "direction": "Inbound", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerCommitPost.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerCommitPost.json new file mode 100644 index 000000000000..c079fa9aa503 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerCommitPost.json @@ -0,0 +1,32 @@ +{ + "title": "Post Azure Virtual Network Manager Commit", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subscriptionC", + "resourceGroupName": "resoureGroupSample", + "networkManagerName": "testNetworkManager", + "parameters": { + "targetLocations": [ + "useast" + ], + "configurationIds": [ + "/subscriptions/subscriptionC/resourceGroups/resoureGroupSample/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/SampleSecurityAdminConfig" + ], + "commitType": "SecurityAdmin" + } + }, + "responses": { + "202": { + "body": { + "commitId": "testCommitId", + "targetLocations": [ + "useast" + ], + "configurationIds": [ + "/subscriptions/subscriptionC/resourceGroups/resoureGroupSample/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/SampleSecurityAdminConfig" + ], + "commitType": "SecurityAdmin" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerConnectivityConfigurationDelete.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerConnectivityConfigurationDelete.json new file mode 100644 index 000000000000..7022bcd7539b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerConnectivityConfigurationDelete.json @@ -0,0 +1,14 @@ +{ + "title": "Get Azure Virtual Network Manager Connectivity Configuration", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subscriptionA", + "resourceGroupName": "myResourceGroup", + "networkManagerName": "testNetworkManager", + "configurationName": "myTestConnectivityConfig" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerConnectivityConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerConnectivityConfigurationGet.json new file mode 100644 index 000000000000..c893db0c2a36 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerConnectivityConfigurationGet.json @@ -0,0 +1,49 @@ +{ + "title": "Get Azure Virtual Network Manager Connectivity Configuration", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subscriptionA", + "resourceGroupName": "myResourceGroup", + "networkManagerName": "testNetworkManager", + "configurationName": "myTestConnectivityConfig" + }, + "responses": { + "200": { + "body": { + "name": "myTestConnectivityConfig", + "id": "/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/connectivityConfigurations/myTestConnectivityConfig", + "type": "Microsoft.Network/networkManagers/connectivityConfigurations", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "displayName": "myTestConnectivityConfig", + "description": "Sample Configuration", + "connectivityTopology": "HubAndSpoke", + "hubs": [ + { + "resourceId": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myHubVnet", + "resourceType": "Microsoft.Network/virtualNetworks" + } + ], + "isGlobal": "True", + "deleteExistingPeering": "True", + "appliesToGroups": [ + { + "networkGroupId": "/subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1", + "useHubGateway": "True", + "groupConnectivity": "None", + "isGlobal": "False" + } + ], + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerConnectivityConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerConnectivityConfigurationList.json new file mode 100644 index 000000000000..b3eeedcce836 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerConnectivityConfigurationList.json @@ -0,0 +1,53 @@ +{ + "title": "Get Azure Virtual Network Manager Connecitivity Configuration List", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subscriptionA", + "resourceGroupName": "myResourceGroup", + "networkManagerName": "testNetworkManager" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "myTestConnectivityConfig", + "id": "subscription/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/connectivityConfigurations/myTestConnectivityConfig", + "type": "Microsoft.Network/networkManagers/connectivityConfigurations", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "displayName": "myTestConnectivityConfig", + "description": "Sample Configuration", + "connectivityTopology": "HubAndSpoke", + "hubs": [ + { + "resourceId": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myHubVnet", + "resourceType": "Microsoft.Network/virtualNetworks" + } + ], + "deleteExistingPeering": "True", + "isGlobal": "True", + "appliesToGroups": [ + { + "networkGroupId": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/netwrokGroups/group1", + "useHubGateway": "True", + "groupConnectivity": "None", + "isGlobal": "False" + } + ], + "provisioningState": "Succeeded" + } + } + ], + "nextLink": "{baseurl}/subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/managedNetworks/testNetworkManager/connectivityConfigurations?api-version=2021-02-01-preview&$skipToken=10" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerConnectivityConfigurationPut.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerConnectivityConfigurationPut.json new file mode 100644 index 000000000000..dee544021977 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerConnectivityConfigurationPut.json @@ -0,0 +1,109 @@ +{ + "title": "Create/Update Azure Virtual Network Manager Connectivity Configuration", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subscriptionA", + "resourceGroupName": "myResourceGroup", + "networkManagerName": "testNetworkManager", + "configurationName": "myTestConnectivityConfig", + "connectivityConfiguration": { + "properties": { + "displayName": "myTestConnectivityConfig", + "description": "Sample Configuration", + "connectivityTopology": "HubAndSpoke", + "hubs": [ + { + "resourceId": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myTestConnectivityConfig", + "resourceType": "Microsoft.Network/virtualNetworks" + } + ], + "deleteExistingPeering": "True", + "isGlobal": "True", + "appliesToGroups": [ + { + "networkGroupId": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1", + "useHubGateway": "True", + "groupConnectivity": "None", + "isGlobal": "False" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "name": "myTestConnectivityConfig", + "id": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/connectivityConfigurations/myTestConnectivityConfig", + "type": "Microsoft.Network/networkManagers/connectivityConfigurations", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "displayName": "myTestConnectivityConfig", + "description": "Sample Connectivity Configuration", + "connectivityTopology": "HubAndSpoke", + "hubs": [ + { + "resourceId": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myTestConnectivityConfig", + "resourceType": "Microsoft.Network/virtualNetworks" + } + ], + "deleteExistingPeering": "True", + "isGlobal": "True", + "appliesToGroups": [ + { + "networkGroupId": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/groups/group1", + "useHubGateway": "True", + "groupConnectivity": "None", + "isGlobal": "False" + } + ], + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "name": "myTestConnectivityConfig", + "id": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/connectivityConfigurations/myTestConnectivityConfig", + "type": "Microsoft.Network/networkManagers/connectivityConfigurations", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "displayName": "myTestConnectivityConfig", + "description": "Sample Configuration", + "connectivityTopology": "HubAndSpoke", + "hubs": [ + { + "resourceId": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myTestConnectivityConfig", + "resourceType": "Microsoft.Network/virtualNetworks" + } + ], + "deleteExistingPeering": "True", + "isGlobal": "True", + "appliesToGroups": [ + { + "networkGroupId": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1", + "useHubGateway": "True", + "groupConnectivity": "None", + "isGlobal": "False" + } + ], + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerDefaultAdminRuleGet.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerDefaultAdminRuleGet.json new file mode 100644 index 000000000000..cffdf54e631f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerDefaultAdminRuleGet.json @@ -0,0 +1,57 @@ +{ + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "configurationName": "myTestSecurityConfig", + "networkManagerName": "testNetworkManager", + "ruleCollectionName": "testRuleCollection", + "ruleName": "SampleDefaultAdminRule" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleDefaultAdminRule", + "type": "Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections/rules", + "name": "SampleDefaultAdminRule", + "kind": "Default", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "flag": "AllowVnetInbound", + "displayName": "SampleDefaultAdminRule", + "description": "This is Sample Default Admin Rule", + "protocol": "Tcp", + "sources": [ + { + "addressPrefixType": "IPPrefix", + "addressPrefix": "*" + } + ], + "destinations": [ + { + "addressPrefixType": "IPPrefix", + "addressPrefix": "*" + } + ], + "sourcePortRanges": [ + "0-65535" + ], + "destinationPortRanges": [ + "22" + ], + "access": "Deny", + "priority": 1, + "direction": "Inbound", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerDefaultAdminRulePut.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerDefaultAdminRulePut.json new file mode 100644 index 000000000000..224559196dc7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerDefaultAdminRulePut.json @@ -0,0 +1,105 @@ +{ + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkManagerName": "testNetworkManager", + "configurationName": "myTestSecurityConfig", + "ruleCollectionName": "testRuleCollection", + "ruleName": "SampleDefaultAdminRule", + "adminRule": { + "kind": "Default", + "properties": { + "flag": "AllowVnetInbound" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleDefaultAdminRule", + "type": "Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections/rules", + "name": "SampleDefaultAdminRule", + "kind": "Default", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "flag": "AllowVnetInbound", + "description": "This is Sample Default Admin Rule", + "protocol": "Tcp", + "sources": [ + { + "addressPrefixType": "ServiceTag", + "addressPrefix": "Internet" + } + ], + "destinations": [ + { + "addressPrefixType": "IPPrefix", + "addressPrefix": "*" + } + ], + "sourcePortRanges": [ + "0-65535" + ], + "destinationPortRanges": [ + "22" + ], + "access": "Deny", + "priority": 1, + "direction": "Inbound", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/rules/SampleDefaultAdminRule", + "type": "Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections/rules", + "name": "SampleDefaultAdminRule", + "kind": "Default", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "flag": "AllowVnetInbound", + "description": "This is Sample Default Admin Rule", + "protocol": "Tcp", + "sources": [ + { + "addressPrefixType": "ServiceTag", + "addressPrefix": "Internet" + } + ], + "destinations": [ + { + "addressPrefixType": "IPPrefix", + "addressPrefix": "*" + } + ], + "sourcePortRanges": [ + "0-65535" + ], + "destinationPortRanges": [ + "22" + ], + "access": "Deny", + "priority": 1, + "direction": "Inbound", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerDefaultUserRuleGet.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerDefaultUserRuleGet.json new file mode 100644 index 000000000000..c8adcacd2598 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerDefaultUserRuleGet.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "ruleCollectionName": "testRuleCollection", + "configurationName": "myTestSecurityConfig", + "networkManagerName": "testNetworkManager", + "ruleName": "SampleDefaultUserRule" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/SecurityUserConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleDefaultUserRule", + "type": "Microsoft.Network/networkManagers/SecurityUserConfigurations/ruleCollections/rules", + "name": "SampleDefaultUserRule", + "kind": "Default", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "flag": "AllowVnetInbound", + "displayName": "SampleDefaultUserRule", + "description": "Sample Default User Rule", + "protocol": "Tcp", + "sources": [ + { + "addressPrefixType": "IPPrefix", + "addressPrefix": "*" + } + ], + "destinations": [ + { + "addressPrefixType": "IPPrefix", + "addressPrefix": "*" + } + ], + "sourcePortRanges": [ + "0-65535" + ], + "destinationPortRanges": [ + "22" + ], + "direction": "Inbound", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerDefaultUserRulePut.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerDefaultUserRulePut.json new file mode 100644 index 000000000000..63ad4ba63cda --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerDefaultUserRulePut.json @@ -0,0 +1,101 @@ +{ + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkManagerName": "testNetworkManager", + "configurationName": "myTestSecurityConfig", + "ruleCollectionName": "testRuleCollection", + "ruleName": "SampleDefaultUserRule", + "userRule": { + "kind": "Default", + "properties": { + "flag": "AllowVnetInbound" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/SecurityUserConfigurations/Policy1/ruleCollections/testRuleCollection/rules/SampleUserRule", + "type": "Microsoft.Network/networkManagers/securityUserConfigurations/ruleCollections/rules", + "name": "SampleDefaultUserRule", + "kind": "Default", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "flag": "AllowVnetInbound", + "description": "Sample Default User Rule", + "protocol": "Tcp", + "sources": [ + { + "addressPrefixType": "IPPrefix", + "addressPrefix": "*" + } + ], + "destinations": [ + { + "addressPrefixType": "IPPrefix", + "addressPrefix": "*" + } + ], + "sourcePortRanges": [ + "0-65535" + ], + "destinationPortRanges": [ + "22" + ], + "direction": "Inbound", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityUserConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleDefaultUserRule", + "type": "Microsoft.Network/networkManagers/securityUserConfigurations/ruleCollections/rules", + "name": "SampleDefaultUserRule", + "kind": "Default", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "flag": "AllowVnetInbound", + "description": "Sample User Rule", + "protocol": "Tcp", + "sources": [ + { + "addressPrefixType": "IPPrefix", + "addressPrefix": "*" + } + ], + "destinations": [ + { + "addressPrefixType": "IPPrefix", + "addressPrefix": "*" + } + ], + "sourcePortRanges": [ + "0-65535" + ], + "destinationPortRanges": [ + "22" + ], + "direction": "Inbound", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerDelete.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerDelete.json new file mode 100644 index 000000000000..57986cdd8548 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerDelete.json @@ -0,0 +1,13 @@ +{ + "title": "Delete Azure Virtual Network Manager", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkManagerName": "testNetworkManager" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerDeploymentStatusList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerDeploymentStatusList.json new file mode 100644 index 000000000000..9f0bec264fd2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerDeploymentStatusList.json @@ -0,0 +1,51 @@ +{ + "title": "Post Azure Virtual Network Manager Deployment Status", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subscriptionC", + "resourceGroupName": "resoureGroupSample", + "networkManagerName": "testNetworkManager", + "parameters": { + "regions": [ + "eastus", + "westus" + ], + "deploymentTypes": [ + "Connectivity", + "AdminPolicy" + ], + "skipToken": "FakeSkipTokenCode" + } + }, + "responses": { + "200": { + "body": { + "value": [ + { + "deploymentType": "AdminPolicy", + "configurationIds": [ + "SecConfig1", + "SecConfig2" + ], + "commitTime": "2021-01-26T06:58:50.883Z", + "region": "eastus", + "deploymentStatus": "Deploying", + "errorMessage": "" + }, + { + "deploymentType": "Connectivity", + "configurationIds": [ + "ConnConfig1", + "ConnConfig2" + ], + "commitTime": "2021-01-26T06:58:50.883Z", + "region": "eastus", + "deploymentStatus": "Deployed", + "errorMessage": "" + } + ], + "skipToken": "NextFakeSkipTokenCode" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerEffectiveConnectivityConfigurationsList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerEffectiveConnectivityConfigurationsList.json new file mode 100644 index 000000000000..0ba12cb2a778 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerEffectiveConnectivityConfigurationsList.json @@ -0,0 +1,63 @@ +{ + "title": "List Azure Virtual Network Manager Effective Configuration", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subscriptionA", + "resourceGroupName": "myResourceGroup", + "virtualNetworkName": "testVirtualNetwork", + "parameters": { + "skipToken": "FakeSkipTokenCode" + } + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/connectivityConfigurations/myTestConnectivityConfig", + "properties": { + "displayName": "myTestConnectivityConfig", + "description": "Sample Configuration", + "connectivityTopology": "HubAndSpoke", + "hubs": [ + { + "resourceId": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myHubVnet", + "resourceType": "Microsoft.Network/virtualNetworks" + } + ], + "isGlobal": "True", + "deleteExistingPeering": "True", + "appliesToGroups": [ + { + "networkGroupId": "/subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/groups/group1", + "useHubGateway": "True", + "groupConnectivity": "None", + "isGlobal": "False" + } + ], + "provisioningState": "Succeeded" + }, + "configurationGroups": [ + { + "id": "/subscriptions/subscriptionA/resourceGroup/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1", + "properties": { + "displayName": "My Network Group", + "description": "A group for all test Virtual Networks", + "memberType": "Microsoft.Network/virtualNetworks", + "groupMembers": [ + { + "resourceId": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/virtualnetwork/vnet1" + } + ], + "conditionalMembership": "", + "provisioningState": "Succeeded" + } + } + ] + } + ], + "skipToken": "FakeSkipTokenCode" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerEffectiveSecurityAdminRulesList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerEffectiveSecurityAdminRulesList.json new file mode 100644 index 000000000000..d0f8644289f2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerEffectiveSecurityAdminRulesList.json @@ -0,0 +1,79 @@ +{ + "title": "List Azure Virtual Network Manager Effective Configuration", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subscriptionA", + "resourceGroupName": "myResourceGroup", + "virtualNetworkName": "testVirtualNetwork", + "parameters": { + "skipToken": "FakeSkipTokenCode" + } + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleAdminRule", + "configurationDisplayName": "SampleConfig", + "configurationDescription": "SampleDescription", + "ruleCollectionDisplayName": "SampleRuleCollection", + "ruleCollectionDescription": "SampleRuleCollectionDescription", + "ruleCollectionAppliesToGroups": [ + { + "networkGroupId": "/subscriptions/subscriptionA/resourceGroup/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1" + } + ], + "kind": "Default", + "properties": { + "displayName": "SampleAdminRule", + "description": "Sample Admin Rule", + "flag": "AllowVnetInbound", + "protocol": "Tcp", + "sources": [ + { + "addressPrefixType": "IPPrefix", + "addressPrefix": "*" + } + ], + "destinations": [ + { + "addressPrefixType": "IPPrefix", + "addressPrefix": "*" + } + ], + "sourcePortRanges": [ + "0-65535" + ], + "destinationPortRanges": [ + "22" + ], + "direction": "Inbound", + "access": "Deny", + "priority": 1, + "provisioningState": "Succeeded" + }, + "ruleGroups": [ + { + "id": "/subscriptions/subscriptionA/resourceGroup/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1", + "properties": { + "displayName": "My Network Group", + "description": "A group for all test Virtual Networks", + "memberType": "VirtualNetwork", + "groupMembers": [ + { + "resourceId": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/virtualnetwork/vnet1" + } + ], + "conditionalMembership": "", + "provisioningState": "Succeeded" + } + } + ] + } + ], + "skipToken": "FakeSkipTokenCode" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerEffectiveVirtualNetworksList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerEffectiveVirtualNetworksList.json new file mode 100644 index 000000000000..0434514f8011 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerEffectiveVirtualNetworksList.json @@ -0,0 +1,27 @@ +{ + "title": "List Effective Virtual Networks List By Network Groups", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subscriptionC", + "resourceGroupName": "rg1", + "networkManagerName": "testNetworkManager", + "networkGroupName": "TestNetworkGroup", + "parameters": { + "skipToken": "FakeSkipTokenCode" + } + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subscriptionC/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/testNetworkManager", + "location": "useast2", + "membershipType": "Static" + } + ], + "skipToken": "NextFakeSkipTokenCode" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerEffectiveVirtualNetworksListByNetworkManager.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerEffectiveVirtualNetworksListByNetworkManager.json new file mode 100644 index 000000000000..dee2ec946812 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerEffectiveVirtualNetworksListByNetworkManager.json @@ -0,0 +1,27 @@ +{ + "title": "List Effective Virtual Networks List By Network Groups", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subscriptionC", + "resourceGroupName": "rg1", + "networkManagerName": "testNetworkManager", + "parameters": { + "conditionalMembers": "location='useast2'", + "skipToken": "FakeSkipTokenCode" + } + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subscriptionC/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/testNetworkManager", + "location": "useast2", + "membershipType": "Static" + } + ], + "skipToken": "NextFakeSkipTokenCode" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerGet.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerGet.json new file mode 100644 index 000000000000..12e7364dd843 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerGet.json @@ -0,0 +1,42 @@ +{ + "title": "Get Azure Virtual Network Manager", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subscriptionC", + "resourceGroupName": "rg1", + "networkManagerName": "testNetworkManager" + }, + "responses": { + "200": { + "body": { + "name": "testNetworkManager", + "id": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager", + "type": "Microsoft.Network/networkManagers", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "displayName": "TestNetworkManager", + "description": "My Test Network Manager", + "networkManagerScopes": { + "managementGroups": [ + "/providers/Microsoft.Management/managementGroups/sampleMG" + ], + "subscriptions": [ + "/subscriptions/00000000-0000-0000-0000-000000000000" + ] + }, + "networkManagerScopeAccesses": [ + "SecurityAdmin" + ], + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerGroupDelete.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerGroupDelete.json new file mode 100644 index 000000000000..2e8b3e1d8237 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerGroupDelete.json @@ -0,0 +1,14 @@ +{ + "title": "Delete Azure Virtual Network Manager Group", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkManagerName": "testNetworkManager", + "networkGroupName": "TestNetworkGroup" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerGroupGet.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerGroupGet.json new file mode 100644 index 000000000000..e69da703e107 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerGroupGet.json @@ -0,0 +1,39 @@ +{ + "title": "Get Azure Virtual Network Manager Network Group", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subscriptionC", + "resourceGroupName": "rg1", + "networkManagerName": "testNetworkManager", + "networkGroupName": "TestNetworkGroup" + }, + "responses": { + "200": { + "body": { + "name": "TestNetworkGroup", + "id": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/TestNetworkGroup", + "type": "Microsoft.Network/networkManagers/networkGroups", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "displayName": "My Network Group", + "description": "A sample group", + "memberType": "VirtualNetwork", + "groupMembers": [ + { + "resourceId": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/virtualnetworks/vnet1" + } + ], + "conditionalMembership": "", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerGroupList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerGroupList.json new file mode 100644 index 000000000000..5e4dd8701d5c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerGroupList.json @@ -0,0 +1,43 @@ +{ + "title": "List Azure Virtual Network Manager Network Groups", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subscriptionC", + "resourceGroupName": "rg1", + "networkManagerName": "testNetworkManager" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "TestNetworkGroup", + "id": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/TestNetworkGroup", + "type": "Microsoft.Network/networkManagers/networkGroups", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "displayName": "My Network Group", + "description": "A sample group", + "memberType": "VirtualNetwork", + "groupMembers": [ + { + "resourceId": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/virtualnetworks/vnet1" + } + ], + "conditionalMembership": "", + "provisioningState": "Succeeded" + } + } + ], + "nextLink": "{baseurl}/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups?api-version=2021-02-01-preview&$skipToken=10" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerGroupPut.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerGroupPut.json new file mode 100644 index 000000000000..fc7ae985854d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerGroupPut.json @@ -0,0 +1,85 @@ +{ + "title": "Create/Update Azure Virtual Network Manager Network Group", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subscriptionC", + "resourceGroupName": "rg1", + "networkManagerName": "testNetworkManager", + "networkGroupName": "TestNetworkGroup", + "parameters": { + "properties": { + "displayName": "My Network Group", + "description": "A sample group", + "memberType": "VirtualNetwork", + "groupMembers": [ + { + "resourceId": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/virtualnetworks/vnet1" + } + ], + "conditionalMembership": "" + } + } + }, + "responses": { + "200": { + "headers": { + "ETag": "be3cfaa2-3d02-4624-92d7-a26766306c8b" + }, + "body": { + "name": "TestNetworkGroup", + "id": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/TestNetworkGroup", + "type": "Microsoft.Network/networkManagers/networkGroups", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "displayName": "My Network Group", + "description": "A sample group", + "memberType": "VirtualNetwork", + "groupMembers": [ + { + "resourceId": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/virtualnetworks/vnet1" + } + ], + "conditionalMembership": "", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "headers": { + "ETag": "be3cfaa2-3d02-4624-92d7-a26766306c8b" + }, + "body": { + "name": "TestNetworkGroup", + "id": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/TestNetworkGroup", + "type": "Microsoft.Network/networkManagers/networkGroups", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "displayName": "My Network Group", + "description": "A sample group", + "memberType": "VirtualNetwork", + "groupMembers": [ + { + "resourceId": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/virtualnetwork/vnet1" + } + ], + "conditionalMembership": "", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerList.json new file mode 100644 index 000000000000..52a446ed3473 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerList.json @@ -0,0 +1,47 @@ +{ + "title": "List Azure Virtual Network Manager", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subscriptionC", + "resourceGroupName": "rg1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testNetworkManager", + "id": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager", + "type": "Microsoft.Network/networkManagers", + "etag": "sadf-asdf-asdf-asdf", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "displayName": "TestNetworkManager", + "description": "My Test Network Manager", + "networkManagerScopes": { + "managementGroups": [ + "/providers/Microsoft.Management/managementGroups/sampleMG" + ], + "subscriptions": [ + "/subscriptions/00000000-0000-0000-0000-000000000000" + ] + }, + "networkManagerScopeAccesses": [ + "Connectivity" + ], + "provisioningState": "Succeeded" + } + } + ], + "nextLink": "{baseurl}/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers?api-version=2021-02-01-preview&$skipToken=10" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerListAll.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerListAll.json new file mode 100644 index 000000000000..335c3598212a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerListAll.json @@ -0,0 +1,46 @@ +{ + "title": "List Azure Virtual Network Manager in Subscription", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subscriptionC" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testNetworkManager", + "id": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager", + "type": "Microsoft.Network/networkManagers", + "etag": "sadf-asdf-asdf-asdf", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "displayName": "TestNetworkManager", + "description": "My Test Network Manager", + "networkManagerScopes": { + "managementGroups": [ + "/providers/Microsoft.Management/managementGroups/sampleMG" + ], + "subscriptions": [ + "/subscriptions/00000000-0000-0000-0000-000000000000" + ] + }, + "networkManagerScopeAccesses": [ + "SecurityAdmin" + ], + "provisioningState": "Succeeded" + } + } + ], + "nextLink": "{baseurl}/subscriptions/subscriptionC/providers/Microsoft.Network/networkManagers?api-version=2021-02-01-preview&$skipToken=10" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerPatch.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerPatch.json new file mode 100644 index 000000000000..716eaaf4dba8 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerPatch.json @@ -0,0 +1,54 @@ +{ + "title": "Patch Managed Network Tags", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subscriptionC", + "resourceGroupName": "rg1", + "networkManagerName": "testNetworkManager", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "name": "testNetworkManager", + "id": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager", + "type": "Microsoft.Network/networkManager", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "location": "westus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "displayName": "TestNetworkManager", + "description": "My Test Network Manager", + "networkManagerScopes": { + "managementGroups": [ + "/providers/Microsoft.Management/managementGroups/sampleMG" + ], + "subscriptions": [ + "/subscriptions/00000000-0000-0000-0000-000000000000" + ] + }, + "networkManagerScopeAccesses": [ + "SecurityAdmin" + ], + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerPut.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerPut.json new file mode 100644 index 000000000000..e7f8a08f7ee2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerPut.json @@ -0,0 +1,92 @@ +{ + "title": "Create/Update Azure Virtual Network Manager", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subscriptionC", + "resourceGroupName": "rg1", + "networkManagerName": "TestNetworkManager", + "parameters": { + "properties": { + "displayName": "TestNetworkManager", + "description": "My Test Network Manager", + "networkManagerScopes": { + "managementGroups": [ + "/providers/Microsoft.Management/managementGroups/sampleMG" + ], + "subscriptions": [ + "/subscriptions/00000000-0000-0000-0000-000000000000" + ] + }, + "networkManagerScopeAccesses": [ + "Connectivity" + ] + } + } + }, + "responses": { + "200": { + "body": { + "name": "TestNetworkManager", + "id": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/TestNetworkManager", + "type": "Microsoft.Network/networkManagers", + "etag": "sadf-asdf-asdf-asdf", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "displayName": "TestNetworkManager", + "description": "My Test Network Manager", + "networkManagerScopes": { + "managementGroups": [ + "/providers/Microsoft.Management/managementGroups/sampleMG" + ], + "subscriptions": [ + "/subscriptions/00000000-0000-0000-0000-000000000000" + ] + }, + "networkManagerScopeAccesses": [ + "Connectivity" + ], + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "name": "TestNetworkManager", + "id": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/TestNetworkManager", + "type": "Microsoft.Network/networkManagers", + "etag": "sadf-asdf-asdf-asdf", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "displayName": "TestNetworkManager", + "description": "My Test Network Manager", + "networkManagerScopes": { + "managementGroups": [ + "/providers/Microsoft.Management/managementGroups/sampleMG" + ], + "subscriptions": [ + "/subscriptions/00000000-0000-0000-0000-000000000000" + ] + }, + "networkManagerScopeAccesses": [ + "Connectivity" + ], + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerSecurityAdminConfigurationDelete.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerSecurityAdminConfigurationDelete.json new file mode 100644 index 000000000000..938bd903784c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerSecurityAdminConfigurationDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkManagerName": "testNetworkManager", + "configurationName": "myTestSecurityConfig" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerSecurityAdminConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerSecurityAdminConfigurationGet.json new file mode 100644 index 000000000000..44ceaafd13d9 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerSecurityAdminConfigurationGet.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkManagerName": "testNetworkManager", + "configurationName": "myTestSecurityConfig" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig", + "name": "myTestSecurityConfig", + "type": "Microsoft.Network/networkManagers/securityAdminConfigurations", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "displayName": "myTestSecurityConfig", + "description": "A sample policy", + "provisioningState": "Succeeded", + "securityType": "AdminPolicy", + "deleteExistingNSGs": "True" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerSecurityAdminConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerSecurityAdminConfigurationList.json new file mode 100644 index 000000000000..3d50290a5e51 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerSecurityAdminConfigurationList.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkManagerName": "testNetworkManager" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig", + "name": "myTestSecurityConfig", + "type": "Microsoft.Network/networkManagers/securityAdminConfigurations", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "displayName": "Sample policy", + "description": "A sample policy", + "provisioningState": "Succeeded", + "securityType": "AdminPolicy", + "deleteExistingNSGs": "True" + } + } + ], + "nextLink": "{baseurl}/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations?api-version=2021-02-01-preview&$skipToken=10" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerSecurityAdminConfigurationPut.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerSecurityAdminConfigurationPut.json new file mode 100644 index 000000000000..10769ed69bea --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerSecurityAdminConfigurationPut.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "configurationName": "myTestSecurityConfig", + "networkManagerName": "testNetworkManager", + "securityAdminConfiguration": { + "properties": { + "description": "A sample policy", + "securityType": "AdminPolicy", + "deleteExistingNSGs": "True" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManager/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig", + "name": "myTestSecurityConfig", + "type": "Microsoft.Network/networkManagers/securityAdminConfigurations", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "displayName": "myTestSecurityConfig", + "description": "A sample policy", + "provisioningState": "Succeeded", + "securityType": "AdminPolicy", + "deleteExistingNSGs": "True" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManager/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig", + "name": "myTestSecurityConfig", + "type": "Microsoft.Network/networkManagers/securityAdminConfigurations", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "displayName": "myTestSecurityConfig", + "description": "A sample policy", + "provisioningState": "Succeeded", + "securityType": "AdminPolicy", + "deleteExistingNSGs": "True" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerSecurityUserConfigurationDelete.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerSecurityUserConfigurationDelete.json new file mode 100644 index 000000000000..938bd903784c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerSecurityUserConfigurationDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkManagerName": "testNetworkManager", + "configurationName": "myTestSecurityConfig" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerSecurityUserConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerSecurityUserConfigurationGet.json new file mode 100644 index 000000000000..b43b504e3503 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerSecurityUserConfigurationGet.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkManagerName": "testNetworkManager", + "configurationName": "myTestSecurityConfig" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityUserConfigurations/myTestSecurityConfig", + "name": "myTestSecurityConfig", + "type": "Microsoft.Network/networkManagers/securityUserConfigurations", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "displayName": "myTestSecurityConfig", + "description": "A sample policy", + "provisioningState": "Succeeded", + "securityType": "UserPolicy", + "deleteExistingNSGs": "True" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerSecurityUserConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerSecurityUserConfigurationList.json new file mode 100644 index 000000000000..a18279f244de --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerSecurityUserConfigurationList.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkManagerName": "testNetworkManager" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityUserConfigurations/myTestSecurityConfig", + "name": "myTestSecurityConfig", + "type": "Microsoft.Network/networkManagers/securityUserConfigurations", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "displayName": "Sample policy", + "description": "A sample policy", + "provisioningState": "Succeeded", + "securityType": "UserPolicy", + "deleteExistingNSGs": "True" + } + } + ], + "nextLink": "{baseurl}/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityUserConfigurations?api-version=2021-02-01-preview&$skipToken=10" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerSecurityUserConfigurationPut.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerSecurityUserConfigurationPut.json new file mode 100644 index 000000000000..dbdfceff66c0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerSecurityUserConfigurationPut.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "configurationName": "myTestSecurityConfig", + "networkManagerName": "testNetworkManager", + "securityUserConfiguration": { + "properties": { + "description": "A sample policy", + "securityType": "UserPolicy", + "deleteExistingNSGs": "True" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManager/testNetworkManager/securityConfigurations/myTestSecurityConfig", + "name": "myTestSecurityConfig", + "type": "Microsoft.Network/networkManagers/securityConfigurations", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "displayName": "myTestSecurityConfig", + "description": "A sample policy", + "provisioningState": "Succeeded", + "securityType": "UserPolicy", + "deleteExistingNSGs": "True" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManager/testNetworkManager/securityConfigurations/myTestSecurityConfig", + "name": "myTestSecurityConfig", + "type": "Microsoft.Network/networkManagers/securityConfigurations", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "displayName": "myTestSecurityConfig", + "description": "A sample policy", + "provisioningState": "Succeeded", + "securityType": "UserPolicy", + "deleteExistingNSGs": "True" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerUserRuleCollectionDelete.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerUserRuleCollectionDelete.json new file mode 100644 index 000000000000..200dc0249bc9 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerUserRuleCollectionDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkManagerName": "testNetworkManager", + "configurationName": "myTestSecurityConfig", + "ruleCollectionName": "testRuleCollection" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerUserRuleCollectionGet.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerUserRuleCollectionGet.json new file mode 100644 index 000000000000..8b1af45420ca --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerUserRuleCollectionGet.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkManagerName": "testNetworkManager", + "ruleCollectionName": "testRuleCollection", + "configurationName": "myTestSecurityConfig" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityUserConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection", + "name": "testRuleCollection", + "type": "Microsoft.Network/networkManagers/securityUserConfigurations/ruleCollections", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "displayName": "testRuleCollection", + "description": "A sample rule collection", + "provisioningState": "Succeeded", + "appliesToGroups": [ + { + "networkGroupId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" + } + ] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerUserRuleCollectionList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerUserRuleCollectionList.json new file mode 100644 index 000000000000..73729b7ed4d1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerUserRuleCollectionList.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkManagerName": "testNetworkManager", + "configurationName": "myTestSecurityConfig" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityUserConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection", + "name": "testRuleCollection", + "type": "Microsoft.Network/networkManagers/securityUserConfigurations/ruleCollections", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "displayName": "testRuleCollection", + "description": "A sample rule collection", + "provisioningState": "Succeeded", + "appliesToGroups": [ + { + "networkGroupId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" + } + ] + } + } + ], + "nextLink": "{baseurl}/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityUserConfigurations/myTestSecurityConfig/ruleCollections?api-version=2021-02-01-preview&$skipToken=10" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerUserRuleCollectionPut.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerUserRuleCollectionPut.json new file mode 100644 index 000000000000..d91c5d8a74fd --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerUserRuleCollectionPut.json @@ -0,0 +1,72 @@ +{ + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "configurationName": "myTestSecurityConfig", + "networkManagerName": "testNetworkManager", + "ruleCollectionName": "testRuleCollection", + "userRuleCollection": { + "properties": { + "description": "A sample policy", + "appliesToGroups": [ + { + "networkGroupId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManager/testNetworkManager/securityUserConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection", + "name": "myTestSecurityConfig", + "type": "Microsoft.Network/networkManagers/securityUserConfigurations/ruleCollections", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "displayName": "myTestSecurityConfig", + "description": "A sample policy", + "provisioningState": "Succeeded", + "appliesToGroups": [ + { + "networkGroupId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" + } + ] + } + } + }, + "201": { + "body": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManager/testNetworkManager/securityUserConfigurations/myTestSecurityConfig", + "name": "myTestSecurityConfig", + "type": "Microsoft.Network/networkManagers/securityUserConfigurations/ruleCollections", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "displayName": "myTestSecurityConfig", + "description": "A sample policy", + "provisioningState": "Succeeded", + "appliesToGroups": [ + { + "networkGroupId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" + } + ] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerUserRuleDelete.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerUserRuleDelete.json new file mode 100644 index 000000000000..3fbaf4ba00c0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerUserRuleDelete.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "configurationName": "myTestSecurityConfig", + "networkManagerName": "testNetworkManager", + "ruleCollectionName": "testRuleCollection", + "ruleName": "SampleUserRule" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerUserRuleGet.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerUserRuleGet.json new file mode 100644 index 000000000000..10459a5f40ce --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerUserRuleGet.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "ruleCollectionName": "testRuleCollection", + "configurationName": "myTestSecurityConfig", + "networkManagerName": "testNetworkManager", + "ruleName": "SampleUserRule" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/SecurityUserConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleUserRule", + "type": "Microsoft.Network/networkManagers/SecurityUserConfigurations/ruleCollections/rules", + "name": "SampleUserRule", + "kind": "Custom", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "displayName": "SampleUserRule", + "description": "Sample User Rule", + "protocol": "Tcp", + "sources": [ + { + "addressPrefixType": "IPPrefix", + "addressPrefix": "*" + } + ], + "destinations": [ + { + "addressPrefixType": "IPPrefix", + "addressPrefix": "*" + } + ], + "sourcePortRanges": [ + "0-65535" + ], + "destinationPortRanges": [ + "22" + ], + "direction": "Inbound", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerUserRuleList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerUserRuleList.json new file mode 100644 index 000000000000..9ff254e5e12d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerUserRuleList.json @@ -0,0 +1,57 @@ +{ + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkManagerName": "testNetworkManager", + "ruleCollectionName": "testRuleCollection", + "configurationName": "myTestSecurityConfig" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkmanagers/testNetworkManager/securityUserConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleUserRule", + "type": "Microsoft.Network/networkManagers/securityConfigurations/ruleCollections/rules", + "name": "SampleUserRule", + "kind": "Custom", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "description": "Sample User Rule", + "protocol": "Tcp", + "sources": [ + { + "addressPrefixType": "IPPrefix", + "addressPrefix": "*" + } + ], + "destinations": [ + { + "addressPrefixType": "IPPrefix", + "addressPrefix": "*" + } + ], + "sourcePortRanges": [ + "0-65535" + ], + "destinationPortRanges": [ + "22" + ], + "direction": "Inbound", + "provisioningState": "Succeeded" + } + } + ], + "nextLink": "{baseurl}/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityUserConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules?api-version=2021-02-01-preview&$skipToken=10" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerUserRulePut.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerUserRulePut.json new file mode 100644 index 000000000000..c9538b7cac28 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerUserRulePut.json @@ -0,0 +1,119 @@ +{ + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkManagerName": "testNetworkManager", + "configurationName": "myTestSecurityConfig", + "ruleCollectionName": "testRuleCollection", + "ruleName": "SampleUserRule", + "userRule": { + "kind": "Custom", + "properties": { + "description": "Sample User Rule", + "protocol": "Tcp", + "sources": [ + { + "addressPrefixType": "IPPrefix", + "addressPrefix": "*" + } + ], + "destinations": [ + { + "addressPrefixType": "IPPrefix", + "addressPrefix": "*" + } + ], + "sourcePortRanges": [ + "0-65535" + ], + "destinationPortRanges": [ + "22" + ], + "direction": "Inbound" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/SecurityUserConfigurations/Policy1/ruleCollections/testRuleCollection/rules/SampleUserRule", + "type": "Microsoft.Network/networkManagers/SecurityUserConfigurations/ruleCollections/rules", + "name": "SampleUserRule", + "kind": "Custom", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "description": "Sample User Rule", + "protocol": "Tcp", + "sources": [ + { + "addressPrefixType": "IPPrefix", + "addressPrefix": "*" + } + ], + "destinations": [ + { + "addressPrefixType": "IPPrefix", + "addressPrefix": "*" + } + ], + "sourcePortRanges": [ + "0-65535" + ], + "destinationPortRanges": [ + "22" + ], + "direction": "Inbound", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityUserConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleUserRule", + "type": "Microsoft.Network/networkManagers/SecurityUserConfigurations/ruleCollections/rules", + "name": "SampleUserRule", + "kind": "Custom", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "description": "Sample User Rule", + "protocol": "Tcp", + "sources": [ + { + "addressPrefixType": "IPPrefix", + "addressPrefix": "*" + } + ], + "destinations": [ + { + "addressPrefixType": "IPPrefix", + "addressPrefix": "*" + } + ], + "sourcePortRanges": [ + "0-65535" + ], + "destinationPortRanges": [ + "22" + ], + "direction": "Inbound", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkSecurityPerimeterDelete.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkSecurityPerimeterDelete.json new file mode 100644 index 000000000000..a8a08b56a6e2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkSecurityPerimeterDelete.json @@ -0,0 +1,13 @@ +{ + "title": "Delete Network Security Perimeter", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkSecurityPerimeterName": "testNSP1" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkSecurityPerimeterGet.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkSecurityPerimeterGet.json new file mode 100644 index 000000000000..9fdab4ecb57b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkSecurityPerimeterGet.json @@ -0,0 +1,24 @@ +{ + "title": "Get Network Security Perimeter", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkSecurityPerimeterName": "nsp1" + }, + "responses": { + "200": { + "body": { + "name": "nsp1", + "id": "/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1", + "type": "Microsoft.Network/networkSecurityPerimeters", + "tags": {}, + "location": "East US 2 EUAP", + "properties": { + "perimeterGuid": "guid", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkSecurityPerimeterList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkSecurityPerimeterList.json new file mode 100644 index 000000000000..19ecf72ad2c5 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkSecurityPerimeterList.json @@ -0,0 +1,39 @@ +{ + "title": "List Network Security Perimeter", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testNSP1", + "id": "/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/testNSP1", + "type": "Microsoft.Network/networkSecurityPerimeters", + "tags": {}, + "location": "East US 2 EUAP", + "properties": { + "perimeterGuid": "guid", + "provisioningState": "Succeeded" + } + }, + { + "name": "testNSP2", + "id": "/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/testNSP2", + "type": "Microsoft.Network/networkSecurityPerimeters", + "tags": {}, + "location": "East US 2 EUAP", + "properties": { + "perimeterGuid": "guid", + "provisioningState": "Succeeded" + } + } + ], + "nextLink": "{baseurl}/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters?api-version=2021-02-01-preview&$skipToken=10" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkSecurityPerimeterListAll.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkSecurityPerimeterListAll.json new file mode 100644 index 000000000000..8194a82e5b4b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkSecurityPerimeterListAll.json @@ -0,0 +1,38 @@ +{ + "title": "List all the Network Security Perimeters in a Subscription", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testNSP1", + "id": "/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/testNSP1", + "type": "Microsoft.Network/networkSecurityPerimeters", + "tags": {}, + "location": "East US 2 EUAP", + "properties": { + "perimeterGuid": "guid", + "provisioningState": "Succeeded" + } + }, + { + "name": "testNSP2", + "id": "/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/testNSP2", + "type": "Microsoft.Network/networkSecurityPerimeters", + "tags": {}, + "location": "East US 2 EUAP", + "properties": { + "perimeterGuid": "guid", + "provisioningState": "Succeeded" + } + } + ], + "nextLink": "{baseurl}/subscriptions/subId/providers/Microsoft.Network/networkSecurityPerimeters?api-version=2021-02-01-preview&$skipToken=10" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkSecurityPerimeterPatch.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkSecurityPerimeterPatch.json new file mode 100644 index 000000000000..4c32a318a47b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkSecurityPerimeterPatch.json @@ -0,0 +1,31 @@ +{ + "title": "Patch Network Security Perimeter", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkSecurityPerimeterName": "nsp1", + "parameters": { + "tags": { + "description": "nsp1" + } + } + }, + "responses": { + "200": { + "body": { + "name": "TestNetworkSecurityPerimeter", + "id": "/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter", + "type": "Microsoft.Network/networkSecurityPerimeters", + "tags": { + "description": "nsp1" + }, + "location": "East US 2 EUAP", + "properties": { + "perimeterGuid": "guid", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkSecurityPerimeterPut.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkSecurityPerimeterPut.json new file mode 100644 index 000000000000..9336e4d47489 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkSecurityPerimeterPut.json @@ -0,0 +1,40 @@ +{ + "title": "Create/Update Network Security Perimeter", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkSecurityPerimeterName": "nsp1", + "parameters": { + "properties": {} + } + }, + "responses": { + "200": { + "body": { + "name": "TestNetworkSecurityPerimeter", + "id": "/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter", + "type": "Microsoft.Network/networkSecurityPerimeters", + "tags": {}, + "location": "East US 2 EUAP", + "properties": { + "perimeterGuid": "guid", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "name": "TestNetworkSecurityPerimeter", + "id": "/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter", + "type": "Microsoft.Network/networkSecurityPerimeters", + "tags": {}, + "location": "East US 2 EUAP", + "properties": { + "perimeterGuid": "guid", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAccessRuleDelete.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAccessRuleDelete.json new file mode 100644 index 000000000000..883c6a3cb22c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAccessRuleDelete.json @@ -0,0 +1,15 @@ +{ + "title": "Delete NSP access rule", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkSecurityPerimeterName": "nsp1", + "profileName": "profile1", + "accessRuleName": "accessRule1" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAccessRuleGet.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAccessRuleGet.json new file mode 100644 index 000000000000..df8b54e3fc34 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAccessRuleGet.json @@ -0,0 +1,33 @@ +{ + "title": "Get NSP Access Rule", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkSecurityPerimeterName": "nsp1", + "profileName": "profile1", + "accessRuleName": "accessRule1" + }, + "responses": { + "200": { + "body": { + "name": "accessRule1", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/profile1/accessRules/accessRule1", + "type": "Microsoft.Network/networkSecurityPerimeters/profiles/accessRules", + "properties": { + "provisioningState": "Succeeded", + "direction": "Outbound", + "addressPrefixes": [], + "fullyQualifiedDomainNames": [ + "paasrp1.contoso.org", + "paasrp2.contoso.org" + ], + "subscriptions": [], + "networkSecurityPerimeters": [], + "emailAddresses": [], + "phoneNumbers": [] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAccessRuleList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAccessRuleList.json new file mode 100644 index 000000000000..fc7151f1e756 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAccessRuleList.json @@ -0,0 +1,55 @@ +{ + "title": "List NSP Access Rules", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkSecurityPerimeterName": "nsp1", + "profileName": "profile1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "accessRule1", + "id": "/subscriptions/rg1/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/profile1/accessRules/accessRule1", + "type": "Microsoft.Network/networkSecurityPerimeters/profiles/accessRules", + "properties": { + "provisioningState": "Succeeded", + "direction": "Inbound", + "addressPrefixes": [ + "10.11.0.0/16", + "10.10.1.0/24" + ], + "fullyQualifiedDomainNames": [], + "subscriptions": [], + "networkSecurityPerimeters": [], + "emailAddresses": [], + "phoneNumbers": [] + } + }, + { + "name": "accessRule2", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/profile1/accessRules/accessRule2", + "type": "Microsoft.Network/networkSecurityPerimeters/profiles/accessRules", + "properties": { + "provisioningState": "Succeeded", + "direction": "Outbound", + "addressPrefixes": [], + "fullyQualifiedDomainNames": [ + "paasrp1.contoso.org", + "paasrp2.contoso.org" + ], + "subscriptions": [], + "networkSecurityPerimeters": [], + "emailAddresses": [], + "phoneNumbers": [] + } + } + ], + "nextLink": "{baseurl}/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/profile1/accessRules?api-version=2021-02-01-preview&$skipToken=10" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAccessRulePut.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAccessRulePut.json new file mode 100644 index 000000000000..7a0165c6a85d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAccessRulePut.json @@ -0,0 +1,62 @@ +{ + "title": "Create/Update NSP access rule", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkSecurityPerimeterName": "nsp1", + "profileName": "profile1", + "accessRuleName": "accessRule1", + "parameters": { + "properties": { + "direction": "Inbound", + "addressPrefixes": [ + "10.11.0.0/16", + "10.10.1.0/24" + ] + } + } + }, + "responses": { + "200": { + "body": { + "name": "accessRule1", + "id": "/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/profile1/accessRules/accessRule1", + "type": "Microsoft.Network/networkSecurityPerimeters/profiles/accessRules", + "properties": { + "provisioningState": "Succeeded", + "direction": "Inbound", + "addressPrefixes": [ + "10.11.0.0/16", + "10.10.1.0/24" + ], + "fullyQualifiedDomainNames": [], + "subscriptions": [], + "networkSecurityPerimeters": [], + "emailAddresses": [], + "phoneNumbers": [] + } + } + }, + "201": { + "body": { + "name": "accessRule1", + "id": "/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/profile1/accessRules/accessRule1", + "type": "Microsoft.Network/networkSecurityPerimeters/profiles/accessRules", + "properties": { + "provisioningState": "Succeeded", + "direction": "Inbound", + "addressPrefixes": [ + "10.11.0.0/16", + "10.10.1.0/24" + ], + "fullyQualifiedDomainNames": [], + "subscriptions": [], + "networkSecurityPerimeters": [], + "emailAddresses": [], + "phoneNumbers": [] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAccessRuleReconcile.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAccessRuleReconcile.json new file mode 100644 index 000000000000..a416485ea007 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAccessRuleReconcile.json @@ -0,0 +1,19 @@ +{ + "title": "Reconcile NSP access rule", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkSecurityPerimeterName": "nsp1", + "profileName": "profile1", + "accessRuleName": "accessRuleName1", + "parameters": { + "properties": {} + } + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAssociationDelete.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAssociationDelete.json new file mode 100644 index 000000000000..2a0f14f633f3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAssociationDelete.json @@ -0,0 +1,20 @@ +{ + "title": "Delete NSP resource association", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkSecurityPerimeterName": "nsp1", + "associationName": "association1", + "operationId": "operationId1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/resourceAssociations/{associationName}/operationResults/{operationId}?api-version={api-version}" + } + }, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAssociationGet.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAssociationGet.json new file mode 100644 index 000000000000..c7120c822352 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAssociationGet.json @@ -0,0 +1,30 @@ +{ + "title": "Get NSP resource association", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkSecurityPerimeterName": "nsp1", + "associationName": "association1" + }, + "responses": { + "200": { + "body": { + "name": "association1", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/resourceAssociations/association1", + "type": "Microsoft.Network/networkSecurityPerimeters/resourceAssociations", + "properties": { + "provisioningState": "Succeeded", + "privateLinkResource": { + "id": "/subscriptions/{paasSubscriptionId}/resourceGroups/{paasResourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}" + }, + "profile": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/{profileName}" + }, + "accessMode": "Enforced", + "hasProvisioningIssues": "no" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAssociationList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAssociationList.json new file mode 100644 index 000000000000..f83947796108 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAssociationList.json @@ -0,0 +1,66 @@ +{ + "title": "List NSP resource associations", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkSecurityPerimeterName": "nsp1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "association1", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/resourceAssociations/association1", + "type": "Microsoft.Network/networkSecurityPerimeters/resourceAssociations", + "properties": { + "provisioningState": "Succeeded", + "privateLinkResource": { + "id": "/subscriptions/{paasSubscriptionId}/resourceGroups/{paasResourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}" + }, + "profile": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/{profileName}" + }, + "accessMode": "Enforced", + "hasProvisioningIssues": "no" + } + }, + { + "name": "association2", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/resourceAssociations/association2", + "type": "Microsoft.Network/networkSecurityPerimeters/resourceAssociations", + "properties": { + "provisioningState": "Succeeded", + "privateLinkResource": { + "id": "/subscriptions/{paasSubscriptionId}/resourceGroups/{paasResourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}" + }, + "profile": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/{profileName}" + }, + "accessMode": "Audit", + "hasProvisioningIssues": "no" + } + }, + { + "name": "association3", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/resourceAssociations/association3", + "type": "Microsoft.Network/networkSecurityPerimeters/resourceAssociations", + "properties": { + "provisioningState": "Failed", + "privateLinkResource": { + "id": "/subscriptions/{paasSubscriptionId}/resourceGroups/{paasResourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}" + }, + "profile": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/{profileName}" + }, + "accessMode": "Learning", + "hasProvisioningIssues": "yes" + } + } + ], + "nextLink": "{baseurl}/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/resourceAssociations?api-version=2021-02-01-preview&$skipToken=10" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAssociationPut.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAssociationPut.json new file mode 100644 index 000000000000..f076e51a615a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAssociationPut.json @@ -0,0 +1,59 @@ +{ + "title": "Create/Update NSP association", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkSecurityPerimeterName": "nsp1", + "associationName": "association1", + "parameters": { + "properties": { + "privateLinkResource": { + "id": "/subscriptions/{paasSubscriptionId}/resourceGroups/{paasResourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}" + }, + "profile": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/{profileName}" + }, + "accessMode": "Enforced" + } + } + }, + "responses": { + "200": { + "body": { + "name": "association1", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/resourceAssociations/association1", + "type": "Microsoft.Network/networkSecurityPerimeters/resourceAssociations", + "properties": { + "provisioningState": "Succeeded", + "privateLinkResource": { + "id": "/subscriptions/{paasSubscriptionId}/resourceGroups/{paasResourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}" + }, + "profile": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/{profileName}" + }, + "accessMode": "Enforced", + "hasProvisioningIssues": "no" + } + } + }, + "201": { + "body": { + "name": "association1", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/resourceAssociations/association1", + "type": "Microsoft.Network/networkSecurityPerimeters/resourceAssociations", + "properties": { + "provisioningState": "Succeeded", + "privateLinkResource": { + "id": "/subscriptions/{paasSubscriptionId}/resourceGroups/{paasResourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}" + }, + "profile": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/{profileName}" + }, + "accessMode": "Enforced", + "hasProvisioningIssues": "no" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAssociationReconcile.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAssociationReconcile.json new file mode 100644 index 000000000000..9dc80cfbe7fe --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAssociationReconcile.json @@ -0,0 +1,18 @@ +{ + "title": "Reconcile NSP association", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkSecurityPerimeterName": "nsp1", + "associationName": "association1", + "parameters": { + "properties": {} + } + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspLinkDelete.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspLinkDelete.json new file mode 100644 index 000000000000..e174fd3b540f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspLinkDelete.json @@ -0,0 +1,19 @@ +{ + "title": "Delete NSP link", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkSecurityPerimeterName": "nsp1", + "linkName": "link1" + }, + "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": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspLinkGet.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspLinkGet.json new file mode 100644 index 000000000000..cc143bac1112 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspLinkGet.json @@ -0,0 +1,39 @@ +{ + "title": "Get NSP Link", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkSecurityPerimeterName": "nsp1", + "linkName": "link1" + }, + "responses": { + "200": { + "body": { + "name": "link1", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/links/link1", + "type": "Microsoft.Network/networkSecurityPerimeters/links", + "properties": { + "provisioningState": "Succeeded", + "autoApprovedRemotePerimeterResourceId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp2", + "remotePerimeterGuid": "guid", + "remotePerimeterLocation": "westus2", + "localInboundProfiles": [ + "*" + ], + "localOutboundProfiles": [ + "*" + ], + "remoteInboundProfiles": [ + "*" + ], + "remoteOutboundProfiles": [ + "*" + ], + "description": "Auto Approved", + "status": "Approved" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspLinkList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspLinkList.json new file mode 100644 index 000000000000..43383d338647 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspLinkList.json @@ -0,0 +1,43 @@ +{ + "title": "List NSP Links", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkSecurityPerimeterName": "nsp1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "link1", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/links/link1", + "type": "Microsoft.Network/networkSecurityPerimeters/links", + "properties": { + "provisioningState": "Succeeded", + "autoApprovedRemotePerimeterResourceId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp2", + "remotePerimeterGuid": "guid", + "remotePerimeterLocation": "westus2", + "localInboundProfiles": [ + "*" + ], + "localOutboundProfiles": [ + "*" + ], + "remoteInboundProfiles": [ + "*" + ], + "remoteOutboundProfiles": [ + "*" + ], + "description": "Auto Approved", + "status": "Approved" + } + } + ], + "nextLink": "{baseurl}/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/links?api-version=2021-02-01-preview&$skipToken=10" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspLinkPut.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspLinkPut.json new file mode 100644 index 000000000000..aff6b13aa0ad --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspLinkPut.json @@ -0,0 +1,71 @@ +{ + "title": "Create/Update NSP link", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkSecurityPerimeterName": "nsp1", + "linkName": "link1", + "parameters": { + "properties": { + "autoApprovedRemotePerimeterResourceId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp2" + } + } + }, + "responses": { + "200": { + "body": { + "name": "link1", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/links/link1", + "type": "Microsoft.Network/networkSecurityPerimeters/links", + "properties": { + "provisioningState": "Succeeded", + "autoApprovedRemotePerimeterResourceId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp2", + "remotePerimeterGuid": "guid", + "remotePerimeterLocation": "westus2", + "localInboundProfiles": [ + "*" + ], + "localOutboundProfiles": [ + "*" + ], + "remoteInboundProfiles": [ + "*" + ], + "remoteOutboundProfiles": [ + "*" + ], + "description": "Auto Approved", + "status": "Approved" + } + } + }, + "201": { + "body": { + "name": "link1", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/links/link1", + "type": "Microsoft.Network/networkSecurityPerimeters/links", + "properties": { + "provisioningState": "Succeeded", + "autoApprovedRemotePerimeterResourceId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp2", + "remotePerimeterGuid": "guid", + "remotePerimeterLocation": "westus2", + "localInboundProfiles": [ + "*" + ], + "localOutboundProfiles": [ + "*" + ], + "remoteInboundProfiles": [ + "*" + ], + "remoteOutboundProfiles": [ + "*" + ], + "description": "Auto Approved", + "status": "Approved" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspLinkReferenceDelete.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspLinkReferenceDelete.json new file mode 100644 index 000000000000..28bdc542d0aa --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspLinkReferenceDelete.json @@ -0,0 +1,19 @@ +{ + "title": "Delete NSP linkReference", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkSecurityPerimeterName": "nsp2", + "linkReferenceName": "link1-guid" + }, + "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": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspLinkReferenceGet.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspLinkReferenceGet.json new file mode 100644 index 000000000000..f150110ca1f3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspLinkReferenceGet.json @@ -0,0 +1,39 @@ +{ + "title": "Get NSP LinkReference", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkSecurityPerimeterName": "nsp2", + "linkReferenceName": "link1-guid" + }, + "responses": { + "200": { + "body": { + "name": "link1-guid", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp2/linkreferences/link1-guid", + "type": "Microsoft.Network/networkSecurityPerimeters/linkreferences", + "properties": { + "provisioningState": "Succeeded", + "remotePerimeterResourceId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1", + "remotePerimeterGuid": "guid", + "remotePerimeterLocation": "westus2", + "localInboundProfiles": [ + "*" + ], + "localOutboundProfiles": [ + "*" + ], + "remoteInboundProfiles": [ + "*" + ], + "remoteOutboundProfiles": [ + "*" + ], + "description": "Auto Approved", + "status": "Approved" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspLinkReferenceList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspLinkReferenceList.json new file mode 100644 index 000000000000..762c86db5656 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspLinkReferenceList.json @@ -0,0 +1,43 @@ +{ + "title": "List NSP LinkReferences", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkSecurityPerimeterName": "nsp2" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "link1-guid", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp2/linkreferences/link1-guid", + "type": "Microsoft.Network/networkSecurityPerimeters/linkreferences", + "properties": { + "provisioningState": "Succeeded", + "remotePerimeterResourceId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1", + "remotePerimeterGuid": "guid", + "remotePerimeterLocation": "westus2", + "localInboundProfiles": [ + "*" + ], + "localOutboundProfiles": [ + "*" + ], + "remoteInboundProfiles": [ + "*" + ], + "remoteOutboundProfiles": [ + "*" + ], + "description": "Auto Approved", + "status": "Approved" + } + } + ], + "nextLink": "{baseurl}/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp2/linkreferences?api-version=2021-02-01-preview&$skipToken=10" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspProfileDelete.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspProfileDelete.json new file mode 100644 index 000000000000..3aa62ed51f31 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspProfileDelete.json @@ -0,0 +1,14 @@ +{ + "title": "Delete NSP profile", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkSecurityPerimeterName": "nsp1", + "profileName": "profile1" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspProfileGet.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspProfileGet.json new file mode 100644 index 000000000000..ce38774c590c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspProfileGet.json @@ -0,0 +1,24 @@ +{ + "title": "Get NSP Profile", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkSecurityPerimeterName": "nsp1", + "profileName": "profile1" + }, + "responses": { + "200": { + "body": { + "name": "nsp1", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/profile1", + "type": "Microsoft.Network/networkSecurityPerimeters/profiles", + "location": "resource location", + "properties": { + "accessRulesVersion": "0", + "diagnosticSettingsVersion": "0" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspProfileList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspProfileList.json new file mode 100644 index 000000000000..931ad7eb3002 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspProfileList.json @@ -0,0 +1,38 @@ +{ + "title": "List NSP Profiles", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkSecurityPerimeterName": "nsp1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "profile1", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/profile1", + "type": "Microsoft.Network/networkSecurityPerimeters/profiles", + "location": "resource location", + "properties": { + "accessRulesVersion": "0", + "diagnosticSettingsVersion": "0" + } + }, + { + "name": "profile2", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/profile2", + "type": "Microsoft.Network/networkSecurityPerimeters/profiles", + "location": "resource location", + "properties": { + "accessRulesVersion": "0", + "diagnosticSettingsVersion": "0" + } + } + ], + "nextLink": "{baseurl}/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles?api-version=2021-02-01-preview&$skipToken=10" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspProfilePut.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspProfilePut.json new file mode 100644 index 000000000000..54bfe3eb654e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspProfilePut.json @@ -0,0 +1,39 @@ +{ + "title": "Create/Update NSP profile", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkSecurityPerimeterName": "nsp1", + "profileName": "profile1", + "parameters": { + "properties": {} + } + }, + "responses": { + "200": { + "body": { + "name": "profile1", + "id": "/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/profile1", + "type": "Microsoft.Network/networkSecurityPerimeters/profiles", + "location": "East US 2 EUAP", + "properties": { + "accessRulesVersion": "0", + "diagnosticSettingsVersion": "0" + } + } + }, + "201": { + "body": { + "name": "profile1", + "id": "/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/profile1", + "type": "Microsoft.Network/networkSecurityPerimeters/profiles", + "location": "East US 2 EUAP", + "properties": { + "accessRulesVersion": "0", + "diagnosticSettingsVersion": "0" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/PerimeterAssociableResourcesList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/PerimeterAssociableResourcesList.json new file mode 100644 index 000000000000..c3ad3a1eed37 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/PerimeterAssociableResourcesList.json @@ -0,0 +1,44 @@ +{ + "title": "List of resources onboarded for network security perimeter feature (perimeter associable resources).", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "location": "westus" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.Sql.servers", + "id": "/subscriptions/{subscriptionID}/providers/Microsoft.Network/perimeterAssociableResourceTypes/Microsoft.Sql.servers", + "type": "Microsoft.Network/PerimeterAssociableResourceTypes", + "properties": { + "resourceType": "Microsoft.Sql/servers", + "displayName": "Microsoft.Sql/servers", + "publicDnsZones": [ + "database.windows.net" + ] + } + }, + { + "name": "Microsoft.Storage.accounts", + "id": "/subscriptions/{subscriptionId}/providers/Microsoft.Network/perimeterAssociableResourceTypes/Microsoft.Storage.storageAccounts", + "type": "Microsoft.Network/PerimeterAssociableResourceTypes", + "properties": { + "resourceType": "Microsoft.Storage/accounts", + "displayName": "Microsoft.Storage/accounts", + "publicDnsZones": [ + "blob.core.windows.net", + "table.core.windows.net", + "queue.core.windows.net", + "file.core.windows.net" + ] + } + } + ], + "nextLink": "{baseurl}/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/perimeterAssociableResourceTypes?api-version=2021-02-01-preview&$skipToken=10" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/network.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/network.json new file mode 100644 index 000000000000..4c98e9a3b595 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/network.json @@ -0,0 +1,438 @@ +{ + "swagger": "2.0", + "info": { + "title": "NetworkManagementClient", + "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", + "version": "2021-02-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": {}, + "definitions": { + "ErrorDetails": { + "properties": { + "code": { + "type": "string", + "description": "Error code." + }, + "target": { + "type": "string", + "description": "Error target." + }, + "message": { + "type": "string", + "description": "Error message." + } + }, + "description": "Common error details representation." + }, + "Error": { + "properties": { + "code": { + "type": "string", + "description": "Error code." + }, + "message": { + "type": "string", + "description": "Error message." + }, + "target": { + "type": "string", + "description": "Error target." + }, + "details": { + "type": "array", + "items": { + "$ref": "#/definitions/ErrorDetails" + }, + "description": "Error details." + }, + "innerError": { + "type": "string", + "description": "Inner error message." + } + }, + "description": "Common error representation." + }, + "CloudError": { + "x-ms-external": true, + "properties": { + "error": { + "$ref": "#/definitions/CloudErrorBody", + "description": "Cloud error body." + } + }, + "description": "An error response from the service." + }, + "CloudErrorBody": { + "x-ms-external": true, + "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", + "items": { + "$ref": "#/definitions/CloudErrorBody" + }, + "description": "A list of additional details about the error." + } + }, + "description": "An error response from the service." + }, + "AzureAsyncOperationResult": { + "properties": { + "status": { + "type": "string", + "description": "Status of the Azure async operation.", + "enum": [ + "InProgress", + "Succeeded", + "Failed" + ], + "x-ms-enum": { + "name": "NetworkOperationStatus", + "modelAsString": true + } + }, + "error": { + "$ref": "#/definitions/Error", + "description": "Details of the error occurred during specified asynchronous operation." + } + }, + "description": "The response body contains the status of the specified asynchronous operation, indicating whether it has succeeded, is in progress, or has failed. Note that this status is distinct from the HTTP status code returned for the Get Operation Status operation itself. If the asynchronous operation succeeded, the response body includes the HTTP status code for the successful request. If the asynchronous operation failed, the response body includes the HTTP status code for the failed request and error information regarding the failure." + }, + "Resource": { + "properties": { + "id": { + "type": "string", + "description": "Resource ID." + }, + "name": { + "readOnly": true, + "type": "string", + "description": "Resource name." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Resource type." + }, + "location": { + "type": "string", + "description": "Resource location." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags." + } + }, + "description": "Common resource representation.", + "x-ms-azure-resource": true + }, + "ProxyResource": { + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "Resource ID." + }, + "name": { + "readOnly": true, + "type": "string", + "description": "Resource name." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Resource type." + }, + "etag": { + "readOnly": true, + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + } + }, + "description": "Proxy resource representation.", + "x-ms-azure-resource": true + }, + "SubResource": { + "properties": { + "id": { + "type": "string", + "description": "Resource ID." + } + }, + "description": "Reference to another subresource.", + "x-ms-azure-resource": true + }, + "TagsObject": { + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags." + } + }, + "description": "Tags object for patch operations." + }, + "SystemData": { + "description": "Metadata pertaining to creation and last modification of the resource.", + "type": "object", + "readOnly": true, + "properties": { + "createdBy": { + "type": "string", + "description": "The identity that created the resource." + }, + "createdByType": { + "type": "string", + "description": "The type of identity that created the resource.", + "enum": [ + "User", + "Application", + "ManagedIdentity", + "Key" + ], + "x-ms-enum": { + "name": "createdByType", + "modelAsString": true + } + }, + "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": { + "type": "string", + "description": "The type of identity that last modified the resource.", + "enum": [ + "User", + "Application", + "ManagedIdentity", + "Key" + ], + "x-ms-enum": { + "name": "createdByType", + "modelAsString": true + } + }, + "lastModifiedAt": { + "type": "string", + "format": "date-time", + "description": "The type of identity that last modified the resource." + } + } + }, + "ManagedServiceIdentity": { + "properties": { + "principalId": { + "readOnly": true, + "type": "string", + "description": "The principal id of the system assigned identity. This property will only be provided for a system assigned identity." + }, + "tenantId": { + "readOnly": true, + "type": "string", + "description": "The tenant id of the system assigned identity. This property will only be provided for a system assigned identity." + }, + "type": { + "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 + } + }, + "userAssignedIdentities": { + "type": "object", + "additionalProperties": { + "type": "object", + "properties": { + "principalId": { + "readOnly": true, + "type": "string", + "description": "The principal id of user assigned identity." + }, + "clientId": { + "readOnly": true, + "type": "string", + "description": "The client id of user assigned identity." + } + } + }, + "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}'." + } + }, + "description": "Identity for the resource." + }, + "ProvisioningState": { + "type": "string", + "readOnly": true, + "description": "The current provisioning state.", + "enum": [ + "Succeeded", + "Updating", + "Deleting", + "Failed" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + } + }, + "Access": { + "type": "string", + "description": "Access to be allowed or denied.", + "enum": [ + "Allow", + "Deny" + ], + "x-ms-enum": { + "name": "Access", + "modelAsString": true + } + }, + "AuthenticationMethod": { + "type": "string", + "description": "VPN client authentication method.", + "enum": [ + "EAPTLS", + "EAPMSCHAPv2" + ], + "x-ms-enum": { + "name": "AuthenticationMethod", + "modelAsString": true + } + }, + "IPAllocationMethod": { + "type": "string", + "description": "IP address allocation method.", + "enum": [ + "Static", + "Dynamic" + ], + "x-ms-enum": { + "name": "IPAllocationMethod", + "modelAsString": true + } + }, + "IPVersion": { + "type": "string", + "description": "IP address version.", + "enum": [ + "IPv4", + "IPv6" + ], + "x-ms-enum": { + "name": "IPVersion", + "modelAsString": true + } + }, + "ExtendedLocationType": { + "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 + } + }, + "ExtendedLocation": { + "description": "ExtendedLocation complex type.", + "properties": { + "name": { + "type": "string", + "description": "The name of the extended location." + }, + "type": { + "$ref": "#/definitions/ExtendedLocationType", + "description": "The type of the extended location." + } + } + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Client API version." + }, + "ApiVersionVmssParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "enum": [ + "2017-03-30" + ], + "x-ms-enum": { + "name": "ApiVersion", + "modelAsString": true + }, + "description": "Client API version." + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/networkManager.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/networkManager.json new file mode 100644 index 000000000000..afea315d69a7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/networkManager.json @@ -0,0 +1,705 @@ +{ + "swagger": "2.0", + "info": { + "title": "NetworkManager", + "description": "The Microsoft Azure Virtual Network Manager API provides a RESTful set of web services that interact with Microsoft Azure Network Manager service to manage your network resources.", + "version": "2021-02-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}": { + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkManagerNameParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "get": { + "tags": [ + "NetworkManagers" + ], + "operationId": "NetworkManagers_Get", + "description": "Gets the specified Network Manager.", + "responses": { + "200": { + "description": "OK - Returns information about the network manager.", + "schema": { + "$ref": "#/definitions/NetworkManager" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "NetworkManagersGet": { + "$ref": "./examples/NetworkManagerGet.json" + } + } + }, + "put": { + "tags": [ + "NetworkManagers" + ], + "operationId": "NetworkManagers_CreateOrUpdate", + "description": "Creates or updates a Network Manager.", + "parameters": [ + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkManager" + }, + "description": "Parameters supplied to specify which network manager is." + } + ], + "responses": { + "200": { + "description": "Updated - Returns information about the network manager.", + "schema": { + "$ref": "#/definitions/NetworkManager" + } + }, + "201": { + "description": "Created - Returns information about the network manager.", + "schema": { + "$ref": "#/definitions/NetworkManager" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Put Network Manager": { + "$ref": "./examples/NetworkManagerPut.json" + } + } + }, + "delete": { + "tags": [ + "NetworkManagers" + ], + "operationId": "NetworkManagers_Delete", + "description": "Deletes a network manager.", + "responses": { + "200": { + "description": "Delete Succeed." + }, + "204": { + "description": "Request successful. The resource does not exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "NetworkManagersDelete": { + "$ref": "./examples/NetworkManagerDelete.json" + } + } + }, + "patch": { + "tags": [ + "NetworkManagers" + ], + "operationId": "NetworkManagers_PatchTags", + "description": "Patch a NetworkManager Tags.", + "parameters": [ + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "./network.json#/definitions/TagsObject" + }, + "description": "Parameters supplied to update network manager tags." + } + ], + "responses": { + "200": { + "description": "Updated - Returns information about the network manager.", + "schema": { + "$ref": "#/definitions/NetworkManager" + } + }, + "default": { + "description": "Resource Provider error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "NetworkManagesPatch": { + "$ref": "./examples/NetworkManagerPatch.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/commit": { + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkManagerNameParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "post": { + "tags": [ + "NetworkManagers" + ], + "operationId": "NetworkManagerCommits_Post", + "description": "Post a Network Manager Commit.", + "parameters": [ + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkManagerCommit" + }, + "description": "Parameters supplied to specify which Managed Network commit is." + } + ], + "responses": { + "202": { + "description": "Accepted and the operation will complete asynchronously", + "schema": { + "$ref": "#/definitions/NetworkManagerCommit" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "NetworkManageCommitPost": { + "$ref": "./examples/NetworkManagerCommitPost.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/listDeploymentStatus": { + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkManagerNameParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "post": { + "tags": [ + "NetworkManagers" + ], + "operationId": "NetworkManagerDeploymentStatus_List", + "description": "Post to List of Network Manager Deployment Status.", + "parameters": [ + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkManagerDeploymentStatusParameter" + }, + "description": "Parameters supplied to specify which Managed Network deployment status is." + } + ], + "responses": { + "200": { + "description": "OK - Returns a list of deployment status.", + "schema": { + "$ref": "#/definitions/NetworkManagerDeploymentStatusListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "NetworkManagerDeploymentStatusList": { + "$ref": "./examples/NetworkManagerDeploymentStatusList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkManagers": { + "get": { + "tags": [ + "NetworkManagers" + ], + "operationId": "NetworkManagers_ListBySubscription", + "description": "List all network managers in a subscription.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ListTopParameter" + }, + { + "$ref": "#/parameters/ListSkipTokenParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the network managers.", + "schema": { + "$ref": "#/definitions/NetworkManagerListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "NetworkManagersList": { + "$ref": "./examples/NetworkManagerListAll.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers": { + "get": { + "tags": [ + "NetworkManagers" + ], + "operationId": "NetworkManagers_List", + "description": "List network managers in a resource group.", + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ListTopParameter" + }, + { + "$ref": "#/parameters/ListSkipTokenParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns a list of network managers.", + "schema": { + "$ref": "#/definitions/NetworkManagerListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "List Network Manager": { + "$ref": "./examples/NetworkManagerList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/listEffectiveVirtualNetworks": { + "post": { + "tags": [ + "NetworkManagers" + ], + "operationId": "EffectiveVirtualNetworks_ListByNetworkManager", + "description": "List effective virtual networks in a network manager.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkManagerNameParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ListTopParameter" + }, + { + "$ref": "#/parameters/ListSkipTokenParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/EffectiveVirtualNetworksParameter" + }, + "description": "Effective Virtual Networks Parameter." + } + ], + "responses": { + "200": { + "description": "OK - Returns a list of effective virtual networks.", + "schema": { + "$ref": "./networkManagerGroup.json#/definitions/EffectiveVirtualNetworksListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "List Effective Virtual Networks By Network Manager": { + "$ref": "./examples/NetworkManagerEffectiveVirtualNetworksListByNetworkManager.json" + } + } + } + } + }, + "definitions": { + "NetworkManager": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/NetworkManagerProperties", + "description": "The network manager properties" + }, + "etag": { + "readOnly": true, + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + }, + "systemData": { + "readOnly": true, + "description": "The system metadata related to this resource.", + "$ref": "./network.json#/definitions/SystemData" + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "description": "The Managed Network resource" + }, + "NetworkManagerListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/NetworkManager" + }, + "description": "Gets a page of NetworkManager" + }, + "nextLink": { + "type": "string", + "description": "Gets the URL to get the next page of results." + } + }, + "description": "Result of the request to list NetworkManager. It contains a list of network managers and a URL link to get the next set of results." + }, + "NetworkManagerProperties": { + "type": "object", + "properties": { + "displayName": { + "type": "string", + "description": "A friendly name for the network manager." + }, + "description": { + "type": "string", + "description": "A description of the network manager." + }, + "networkManagerScopes": { + "properties": { + "managementGroups": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of management groups." + }, + "subscriptions": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of subscriptions." + } + }, + "description": "Scope of Network Manager." + }, + "networkManagerScopeAccesses": { + "type": "array", + "items": { + "type": "string", + "$ref": "#/definitions/ConfigurationType" + }, + "description": "Scope Access." + }, + "provisioningState": { + "readOnly": true, + "$ref": "./network.json#/definitions/ProvisioningState", + "description": "The provisioning state of the scope assignment resource." + } + }, + "description": "Properties of Managed Network" + }, + "NetworkManagerCommit": { + "properties": { + "commitId": { + "type": "string", + "readOnly": true, + "description": "Commit Id." + }, + "targetLocations": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of target locations." + }, + "configurationIds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of configuration ids." + }, + "commitType": { + "type": "string", + "$ref": "#/definitions/ConfigurationType", + "description": "Commit Type." + } + }, + "description": "Network Manager Commit." + }, + "NetworkManagerDeploymentStatusParameter": { + "properties": { + "regions": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of locations." + }, + "deploymentTypes": { + "type": "array", + "items": { + "$ref": "#/definitions/ConfigurationType" + }, + "description": "List of deployment types." + }, + "skipToken": { + "description": "Continuation token for pagination, capturing the next page size and offset, as well as the context of the query.", + "type": "string" + } + }, + "description": "Network Manager Deployment Status Parameter." + }, + "NetworkManagerDeploymentStatusListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/NetworkManagerDeploymentStatus" + }, + "description": "Gets a page of Network Manager Deployment Status" + }, + "skipToken": { + "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.", + "type": "string" + } + }, + "description": "A list of Network Manager Deployment Status" + }, + "NetworkManagerDeploymentStatus": { + "properties": { + "commitTime": { + "type": "string", + "format": "date-time", + "description": "Commit Time." + }, + "region": { + "type": "string", + "description": "Region Name." + }, + "deploymentStatus": { + "type": "string", + "enum": [ + "NotStarted", + "Deploying", + "Deployed", + "Failed" + ], + "x-ms-enum": { + "name": "DeploymentStatus", + "modelAsString": true + }, + "description": "Deployment Status." + }, + "configurationIds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of configuration ids." + }, + "deploymentType": { + "type": "string", + "$ref": "#/definitions/ConfigurationType" + }, + "errorMessage": { + "type": "string", + "description": "Error Message." + } + }, + "description": "Network Manager Deployment Status." + }, + "ConfigurationType": { + "type": "string", + "enum": [ + "SecurityAdmin", + "SecurityUser", + "Connectivity" + ], + "x-ms-enum": { + "name": "ConfigurationType", + "modelAsString": true + }, + "description": "Configuration Deployment Type." + }, + "EffectiveVirtualNetworksParameter": { + "properties": { + "conditionalMembers": { + "type": "string", + "description": "Conditional Members." + }, + "skipToken": { + "description": "Continuation token for pagination, capturing the next page size and offset, as well as the context of the query.", + "type": "string" + } + }, + "description": "Effective Virtual Networks Parameter." + } + }, + "parameters": { + "ResourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group.", + "x-ms-parameter-location": "method" + }, + "NetworkManagerNameParameter": { + "name": "networkManagerName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network manager.", + "x-ms-parameter-location": "method" + }, + "ListTopParameter": { + "name": "$top", + "description": "An optional query parameter which specifies the maximum number of records to be returned by the server.", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "minimum": 1, + "maximum": 20, + "x-ms-parameter-location": "method" + }, + "ListSkipTokenParameter": { + "name": "$skipToken", + "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.", + "in": "query", + "required": false, + "type": "string", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/networkManagerActiveConfiguration.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/networkManagerActiveConfiguration.json new file mode 100644 index 000000000000..c898bfcbbde5 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/networkManagerActiveConfiguration.json @@ -0,0 +1,503 @@ +{ + "swagger": "2.0", + "info": { + "title": "NetworkManagerActiveConfiguration", + "description": "The Microsoft Azure Network Manager Active Configuration API provides a RESTful set of web services that interact with Microsoft Azure Network Manager service to list all active configuration by network manager.", + "version": "2021-02-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/listActiveConnectivityConfigurations": { + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkManagerNameParameter" + } + ], + "post": { + "tags": [ + "NetworkManagerActiveConnectivityConfigurations" + ], + "parameters": [ + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ActiveConfigurationParameter" + }, + "description": "Active Configuration Parameter." + } + ], + "operationId": "ActiveConnectivityConfigurations_List", + "description": "Lists active connectivity configurations in a network manager.", + "responses": { + "200": { + "description": "Post successful. The operation returns the specified Managed Network active connectivity configuration resource.", + "schema": { + "$ref": "#/definitions/ActiveConnectivityConfigurationsListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "List Active Connectivity Configurations": { + "$ref": "./examples/NetworkManagerActiveConnectivityConfigurationsList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/listActiveSecurityAdminRules": { + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkManagerNameParameter" + } + ], + "post": { + "tags": [ + "NetworkManagerActiveConfigurations" + ], + "parameters": [ + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ActiveConfigurationParameter" + }, + "description": "Active Configuration Parameter." + } + ], + "operationId": "ActiveSecurityAdminRules_List", + "description": "Lists active security admin rules in a network manager.", + "responses": { + "200": { + "description": "Post successful. The operation returns the specified Managed Network active security admin rules resource.", + "schema": { + "$ref": "#/definitions/ActiveSecurityAdminRulesListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "List Active Security Admin Rules": { + "$ref": "./examples/NetworkManagerActiveSecurityAdminRulesList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/listActiveSecurityUserRules": { + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkManagerNameParameter" + } + ], + "post": { + "tags": [ + "NetworkManagerActiveSecurityUserRules" + ], + "parameters": [ + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ActiveConfigurationParameter" + }, + "description": "Active Configuration Parameter." + } + ], + "operationId": "ActiveSecurityUserRules_List", + "description": "Lists Active Security User Rules in a network manager.", + "responses": { + "200": { + "description": "Post successful. The operation returns the specified Managed Network active security user rules resource.", + "schema": { + "$ref": "#/definitions/ActiveSecurityUserRulesListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "List Active Security User Rules": { + "$ref": "./examples/NetworkManagerActiveSecurityUserRulesList.json" + } + } + } + } + }, + "definitions": { + "ActiveConfigurationParameter": { + "properties": { + "regions": { + "type": "array", + "items": { + "type": "string", + "description": "region Name." + }, + "description": "List of regions." + }, + "skipToken": { + "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.", + "type": "string" + } + }, + "description": "Effective Virtual Networks Parameter." + }, + "ActiveConnectivityConfiguration": { + "type": "object", + "properties": { + "commitTime": { + "type": "string", + "description": "Deployment time string.", + "format": "date-time" + }, + "region": { + "type": "string", + "description": "Deployment region." + } + }, + "allOf": [ + { + "$ref": "./networkManagerEffectiveConfiguration.json#/definitions/EffectiveConnectivityConfiguration" + } + ], + "description": "Active connectivity configuration." + }, + "ActiveConnectivityConfigurationsListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ActiveConnectivityConfiguration" + }, + "description": "Gets a page of active connectivity configurations." + }, + "skipToken": { + "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.", + "type": "string" + } + }, + "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." + }, + "ActiveSecurityAdminRulesListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ActiveBaseSecurityAdminRule" + }, + "description": "Gets a page of active security admin rules." + }, + "skipToken": { + "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.", + "type": "string" + } + }, + "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." + }, + "ActiveSecurityUserRulesListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ActiveBaseSecurityUserRule" + }, + "description": "Gets a page of active security user rules." + }, + "skipToken": { + "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.", + "type": "string" + } + }, + "description": "Result of the request to list active security user rules. It contains a list of active security user rules and a skiptoken to get the next set of results." + }, + "ActiveBaseSecurityAdminRule": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Resource ID." + }, + "commitTime": { + "type": "string", + "description": "Deployment time string.", + "format": "date-time" + }, + "region": { + "type": "string", + "description": "Deployment region." + }, + "configurationDisplayName": { + "type": "string", + "description": "A display name of the security admin configuration." + }, + "configurationDescription": { + "type": "string", + "description": "A description of the security admin configuration." + }, + "ruleCollectionDisplayName": { + "type": "string", + "description": "A display name of the rule collection." + }, + "ruleCollectionDescription": { + "type": "string", + "description": "A description of the rule collection." + }, + "ruleCollectionAppliesToGroups": { + "type": "array", + "items": { + "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/NetworkManagerSecurityGroupItem" + }, + "description": "Groups for rule collection" + }, + "ruleGroups": { + "type": "array", + "items": { + "$ref": "./networkManagerEffectiveConfiguration.json#/definitions/ConfigurationGroup" + }, + "description": "Effective configuration groups." + }, + "kind": { + "type": "string", + "description": "Whether the rule is custom or default.", + "enum": [ + "Custom", + "Default" + ], + "x-ms-enum": { + "name": "EffectiveAdminRuleKind", + "modelAsString": true + } + } + }, + "required": [ + "kind" + ], + "discriminator": "kind", + "description": "Network base admin rule." + }, + "ActiveSecurityAdminRule": { + "type": "object", + "properties": { + "properties": { + "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/AdminPropertiesFormat", + "x-ms-client-flatten": true, + "description": "Indicates the properties of the security admin rule" + } + }, + "allOf": [ + { + "$ref": "#/definitions/ActiveBaseSecurityAdminRule" + } + ], + "description": "Network admin rule.", + "x-ms-discriminator-value": "Custom" + }, + "ActiveDefaultSecurityAdminRule": { + "type": "object", + "properties": { + "properties": { + "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/DefaultAdminPropertiesFormat", + "x-ms-client-flatten": true, + "description": "Indicates the properties of the default security admin rule" + } + }, + "allOf": [ + { + "$ref": "#/definitions/ActiveBaseSecurityAdminRule" + } + ], + "description": "Network default admin rule.", + "x-ms-discriminator-value": "Default" + }, + "ActiveBaseSecurityUserRule": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Resource ID." + }, + "commitTime": { + "type": "string", + "description": "Deployment time string.", + "format": "date-time" + }, + "region": { + "type": "string", + "description": "Deployment region." + }, + "configurationDisplayName": { + "type": "string", + "description": "A display name of the security user configuration." + }, + "configurationDescription": { + "type": "string", + "description": "A description of the security user configuration." + }, + "ruleCollectionDisplayName": { + "type": "string", + "description": "A display name of the rule collection." + }, + "ruleCollectionDescription": { + "type": "string", + "description": "A description of the rule collection." + }, + "ruleCollectionAppliesToGroups": { + "type": "array", + "items": { + "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/NetworkManagerSecurityGroupItem" + }, + "description": "Groups for rule collection" + }, + "ruleGroups": { + "type": "array", + "items": { + "$ref": "./networkManagerEffectiveConfiguration.json#/definitions/ConfigurationGroup" + }, + "description": "Effective configuration groups." + }, + "kind": { + "type": "string", + "description": "Whether the rule is custom or default.", + "enum": [ + "Custom", + "Default" + ], + "x-ms-enum": { + "name": "EffectiveUserRuleKind", + "modelAsString": true + } + } + }, + "required": [ + "kind" + ], + "discriminator": "kind", + "description": "Network base rule." + }, + "ActiveSecurityUserRule": { + "type": "object", + "properties": { + "properties": { + "$ref": "./networkManagerSecurityUserConfiguration.json#/definitions/UserRulePropertiesFormat", + "x-ms-client-flatten": true, + "description": "Indicates the properties of the security user rule" + } + }, + "allOf": [ + { + "$ref": "#/definitions/ActiveBaseSecurityUserRule" + } + ], + "description": "Network security user rule.", + "x-ms-discriminator-value": "Custom" + }, + "ActiveDefaultSecurityUserRule": { + "type": "object", + "properties": { + "properties": { + "$ref": "./networkManagerSecurityUserConfiguration.json#/definitions/DefaultUserRulePropertiesFormat", + "x-ms-client-flatten": true, + "description": "Indicates the properties of the security default user rule" + } + }, + "allOf": [ + { + "$ref": "#/definitions/ActiveBaseSecurityUserRule" + } + ], + "description": "Network security default user rule.", + "x-ms-discriminator-value": "Default" + } + }, + "parameters": { + "ResourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group.", + "x-ms-parameter-location": "method" + }, + "NetworkManagerNameParameter": { + "name": "networkManagerName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network manager.", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/networkManagerConnectivityConfiguration.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/networkManagerConnectivityConfiguration.json new file mode 100644 index 000000000000..05e0bf874eb4 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/networkManagerConnectivityConfiguration.json @@ -0,0 +1,416 @@ +{ + "swagger": "2.0", + "info": { + "title": "ConnectivityConfiguration", + "description": "The Microsoft Azure Virtual Network Manager Connectivity Configuration API provides a RESTful set of web services that interact with Microsoft Azure Network Manager service to manage your network resources.", + "version": "2021-02-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/connectivityConfigurations/{configurationName}": { + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkManagerNameParameter" + }, + { + "$ref": "#/parameters/ConnectivityConfigurationNameParameter" + } + ], + "get": { + "tags": [ + "ConnectivityConfigurations" + ], + "operationId": "ConnectivityConfigurations_Get", + "description": "Gets a Network Connectivity Configuration, specified by the resource group, network manager name, and connectivity Configuration name", + "responses": { + "200": { + "description": "Get successful. The operation returns the specified Managed Network Connectivity Configuration resource.", + "schema": { + "$ref": "#/definitions/ConnectivityConfiguration" + } + }, + "default": { + "description": "Resource Provider error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "ConnectivityConfigurationsGet": { + "$ref": "./examples/NetworkManagerConnectivityConfigurationGet.json" + } + } + }, + "put": { + "tags": [ + "ConnectivityConfigurations" + ], + "operationId": "ConnectivityConfigurations_CreateOrUpdate", + "description": "Creates/Updates a new network manager connectivity configuration", + "parameters": [ + { + "name": "connectivityConfiguration", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ConnectivityConfiguration" + }, + "description": "Parameters supplied to create/update a network manager connectivity configuration" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting network manager connectivity configuration.", + "schema": { + "$ref": "#/definitions/ConnectivityConfiguration" + } + }, + "201": { + "description": "Create successful. The operation returns the resulting network manager connectivity configuration.", + "schema": { + "$ref": "#/definitions/ConnectivityConfiguration" + } + }, + "default": { + "description": "Resource Provider error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "ConnectivityConfigurationsPut": { + "$ref": "./examples/NetworkManagerConnectivityConfigurationPut.json" + } + } + }, + "delete": { + "tags": [ + "ConnectivityConfigurations" + ], + "operationId": "ConnectivityConfigurations_Delete", + "description": "Deletes a network manager connectivity configuration, specified by the resource group, network manager name, and connectivity configuration name", + "responses": { + "200": { + "description": "Delete successful." + }, + "204": { + "description": "Request successful. The resource does not exist." + }, + "default": { + "description": "Resource Provider error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "ConnectivityConfigurationsDelete": { + "$ref": "./examples/NetworkManagerConnectivityConfigurationDelete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/connectivityConfigurations": { + "get": { + "tags": [ + "ConnectivityConfigurations" + ], + "operationId": "ConnectivityConfigurations_List", + "description": "Lists all the network manager connectivity configuration in a specified network manager.", + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkManagerNameParameter" + }, + { + "$ref": "#/parameters/ListTopParameter" + }, + { + "$ref": "#/parameters/ListSkipTokenParameter" + } + ], + "responses": { + "200": { + "description": "Get successful. The operation returns all network manager connectivity configuration resources in the specified network manager, in a paginated format", + "schema": { + "$ref": "#/definitions/ConnectivityConfigurationListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "ConnectivityConfigurationsList": { + "$ref": "./examples/NetworkManagerConnectivityConfigurationList.json" + } + } + } + } + }, + "definitions": { + "ConnectivityConfigurationListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ConnectivityConfiguration" + }, + "description": "Gets a page of Connectivity Configurations" + }, + "nextLink": { + "type": "string", + "description": "Gets the URL to get the next page of results." + } + }, + "description": "Result of the request to list network manager connectivity configurations. It contains a list of configurations and a link to get the next set of results." + }, + "ConnectivityConfiguration": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ConnectivityConfigurationProperties", + "description": "Properties of a network manager connectivity configuration" + }, + "systemData": { + "readOnly": true, + "description": "The system metadata related to this resource.", + "$ref": "./network.json#/definitions/SystemData" + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/ProxyResource" + } + ], + "description": "The network manager connectivity configuration resource" + }, + "ConnectivityConfigurationProperties": { + "properties": { + "displayName": { + "type": "string", + "description": "A friendly name for the resource." + }, + "description": { + "type": "string", + "description": "A description of the connectivity configuration." + }, + "connectivityTopology": { + "type": "string", + "enum": [ + "HubAndSpoke", + "Mesh" + ], + "x-ms-enum": { + "name": "ConnectivityTopology", + "modelAsString": true + }, + "description": "Connectivity topology type." + }, + "hubs": { + "type": "array", + "items": { + "$ref": "#/definitions/Hub" + }, + "description": "List of hubItems" + }, + "isGlobal": { + "type": "string", + "enum": [ + "False", + "True" + ], + "x-ms-enum": { + "name": "IsGlobal", + "modelAsString": true + }, + "description": "Flag if global mesh is supported." + }, + "appliesToGroups": { + "type": "array", + "items": { + "$ref": "#/definitions/connectivityGroupItem" + }, + "description": "Groups for configuration" + }, + "provisioningState": { + "readOnly": true, + "$ref": "./network.json#/definitions/ProvisioningState", + "description": "The provisioning state of the connectivity configuration resource." + }, + "deleteExistingPeering": { + "type": "string", + "enum": [ + "False", + "True" + ], + "x-ms-enum": { + "name": "DeleteExistingPeering", + "modelAsString": true + }, + "description": "Flag if need to remove current existing peerings." + } + }, + "required": [ + "connectivityTopology" + ], + "description": "Properties of network manager connectivity configuration" + }, + "Hub": { + "type": "object", + "properties": { + "resourceId": { + "type": "string", + "description": "Resource Id." + }, + "resourceType": { + "type": "string", + "description": "Resource Type." + } + }, + "description": "Hub Item." + }, + "connectivityGroupItem": { + "type": "object", + "properties": { + "networkGroupId": { + "type": "string", + "description": "Network group Id." + }, + "useHubGateway": { + "type": "string", + "enum": [ + "False", + "True" + ], + "x-ms-enum": { + "name": "UseHubGateway", + "modelAsString": true + }, + "description": "Flag if need to use hub gateway." + }, + "isGlobal": { + "type": "string", + "enum": [ + "False", + "True" + ], + "x-ms-enum": { + "name": "IsGlobal", + "modelAsString": true + }, + "description": "Flag if global is supported." + }, + "groupConnectivity": { + "type": "string", + "enum": [ + "None", + "DirectlyConnected" + ], + "x-ms-enum": { + "name": "GroupConnectivity", + "modelAsString": true + }, + "description": "Group connectivity type." + } + } + } + }, + "parameters": { + "ConnectivityConfigurationNameParameter": { + "name": "configurationName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network manager connectivity configuration.", + "x-ms-parameter-location": "method" + }, + "ResourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group.", + "x-ms-parameter-location": "method" + }, + "NetworkManagerNameParameter": { + "name": "networkManagerName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network manager.", + "x-ms-parameter-location": "method" + }, + "ListTopParameter": { + "name": "$top", + "description": "An optional query parameter which specifies the maximum number of records to be returned by the server.", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "minimum": 1, + "maximum": 20, + "x-ms-parameter-location": "method" + }, + "ListSkipTokenParameter": { + "name": "$skipToken", + "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.", + "in": "query", + "required": false, + "type": "string", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/networkManagerEffectiveConfiguration.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/networkManagerEffectiveConfiguration.json new file mode 100644 index 000000000000..e7459bb64abd --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/networkManagerEffectiveConfiguration.json @@ -0,0 +1,325 @@ +{ + "swagger": "2.0", + "info": { + "title": "NetworkManagerEffectiveConfiguration", + "description": "The Microsoft Azure Network Manager effective configuration API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", + "version": "2021-02-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/listNetworkManagerEffectiveConnectivityConfigurations": { + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/VirtualNetworkNameParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "post": { + "tags": [ + "NetworkManagerEffectiveConnectivityConfiguration" + ], + "parameters": [ + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "./networkManagerGroup.json#/definitions/QueryRequestOptions" + }, + "description": "Parameters supplied to list correct page." + } + ], + "operationId": "EffectiveConnectivityConfigurations_List", + "description": "List all effective connectivity configurations applied on a virtual network.", + "responses": { + "200": { + "description": "OK - Returns information about the configurations.", + "schema": { + "$ref": "#/definitions/NetworkManagerEffectiveConnectivityConfigurationListResult" + } + }, + "default": { + "description": "Resource Provider error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "List effective connectivity configuration": { + "$ref": "./examples/NetworkManagerEffectiveConnectivityConfigurationsList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/listNetworkManagerEffectiveSecurityAdminRules": { + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/VirtualNetworkNameParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "post": { + "tags": [ + "NetworkManagerEffectiveSecurityAdminRules" + ], + "parameters": [ + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "./networkManagerGroup.json#/definitions/QueryRequestOptions" + }, + "description": "Parameters supplied to list correct page." + } + ], + "operationId": "NetworkManagerEffectiveSecurityAdminRules_List", + "description": "List all effective security admin rules applied on a virtual network.", + "responses": { + "200": { + "description": "OK - Returns information about the configurations.", + "schema": { + "$ref": "#/definitions/NetworkManagerEffectiveSecurityAdminRulesListResult" + } + }, + "default": { + "description": "Resource Provider error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "List effective security admin rules": { + "$ref": "./examples/NetworkManagerEffectiveSecurityAdminRulesList.json" + } + } + } + } + }, + "definitions": { + "NetworkManagerEffectiveConnectivityConfigurationListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/EffectiveConnectivityConfiguration" + }, + "description": "Gets a page of NetworkManagerEffectiveConnectivityConfiguration" + }, + "skipToken": { + "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.", + "type": "string" + } + }, + "description": "Result of the request to list networkManagerEffectiveConnectivityConfiguration. It contains a list of groups and a skiptoken to get the next set of results." + }, + "NetworkManagerEffectiveSecurityAdminRulesListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/EffectiveBaseSecurityAdminRule" + }, + "description": "Gets a page of NetworkManagerEffectiveSecurityAdminRules" + }, + "skipToken": { + "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.", + "type": "string" + } + }, + "description": "Result of the request to list networkManagerEffectiveSecurityAdminRules. It contains a list of groups and a skiptoken to get the next set of results." + }, + "EffectiveConnectivityConfiguration": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Resource ID." + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "./networkManagerConnectivityConfiguration.json#/definitions/ConnectivityConfigurationProperties", + "description": "Properties of a network manager connectivity configuration" + }, + "configurationGroups": { + "type": "array", + "items": { + "$ref": "#/definitions/ConfigurationGroup" + }, + "description": "Effective configuration groups." + } + }, + "description": "The network manager effective connectivity configuration" + }, + "EffectiveBaseSecurityAdminRule": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Resource ID." + }, + "configurationDisplayName": { + "type": "string", + "description": "A display name of the security admin configuration." + }, + "configurationDescription": { + "type": "string", + "description": "A description of the security admin configuration." + }, + "ruleCollectionDisplayName": { + "type": "string", + "description": "A display name of the rule collection." + }, + "ruleCollectionDescription": { + "type": "string", + "description": "A description of the rule collection." + }, + "ruleCollectionAppliesToGroups": { + "type": "array", + "items": { + "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/NetworkManagerSecurityGroupItem" + }, + "description": "Groups for rule collection" + }, + "ruleGroups": { + "type": "array", + "items": { + "$ref": "#/definitions/ConfigurationGroup" + }, + "description": "Effective configuration groups." + }, + "kind": { + "type": "string", + "description": "Whether the rule is custom or default.", + "enum": [ + "Custom", + "Default" + ], + "x-ms-enum": { + "name": "EffectiveAdminRuleKind", + "modelAsString": true + } + } + }, + "required": [ + "kind" + ], + "discriminator": "kind", + "description": "Network base admin rule." + }, + "EffectiveSecurityAdminRule": { + "type": "object", + "properties": { + "properties": { + "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/AdminPropertiesFormat", + "x-ms-client-flatten": true, + "description": "Indicates the properties of the security admin rule" + } + }, + "allOf": [ + { + "$ref": "#/definitions/EffectiveBaseSecurityAdminRule" + } + ], + "description": "Network admin rule.", + "x-ms-discriminator-value": "Custom" + }, + "EffectiveDefaultSecurityAdminRule": { + "type": "object", + "properties": { + "properties": { + "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/DefaultAdminPropertiesFormat", + "x-ms-client-flatten": true, + "description": "Indicates the properties of the default security admin rule" + } + }, + "allOf": [ + { + "$ref": "#/definitions/EffectiveBaseSecurityAdminRule" + } + ], + "description": "Network default admin rule.", + "x-ms-discriminator-value": "Default" + }, + "ConfigurationGroup": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Resource ID." + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "./networkManagerGroup.json#/definitions/NetworkGroupProperties", + "description": "The network configuration group properties" + } + }, + "description": "The network configuration group resource" + } + }, + "parameters": { + "ResourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group.", + "x-ms-parameter-location": "method" + }, + "VirtualNetworkNameParameter": { + "name": "virtualNetworkName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual network.", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/networkManagerGroup.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/networkManagerGroup.json new file mode 100644 index 000000000000..8c2b26ad18fc --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/networkManagerGroup.json @@ -0,0 +1,455 @@ +{ + "swagger": "2.0", + "info": { + "title": "NetworkGroup", + "description": "The Microsoft Azure Network Group API provides a RESTful set of web services that interact with Microsoft Azure Network Manager service to manage your network resources.", + "version": "2021-02-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/networkGroups/{networkGroupName}": { + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkManagerNameParameter" + }, + { + "$ref": "#/parameters/NetworkGroupNameParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "get": { + "tags": [ + "NetworkGroups" + ], + "operationId": "NetworkGroups_Get", + "description": "Gets the specified network group.", + "responses": { + "200": { + "description": "OK - Returns information about the network group.", + "schema": { + "$ref": "#/definitions/NetworkGroup" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "NetworkGroupsGet": { + "$ref": "./examples/NetworkManagerGroupGet.json" + } + } + }, + "put": { + "tags": [ + "NetworkGroups" + ], + "operationId": "NetworkGroups_CreateOrUpdate", + "description": "Creates or updates a network group.", + "parameters": [ + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkGroup" + }, + "description": "Parameters supplied to the specify which network group need to create" + }, + { + "name": "If-Match", + "in": "header", + "required": false, + "type": "string", + "x-ms-client-name": "IfMatch", + "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." + } + ], + "responses": { + "200": { + "description": "Updated - Returns information about the network group.", + "schema": { + "$ref": "#/definitions/NetworkGroup" + }, + "headers": { + "ETag": { + "description": "The current entity tag.", + "type": "string" + } + } + }, + "201": { + "description": "Created - Returns information about the network group.", + "schema": { + "$ref": "#/definitions/NetworkGroup" + }, + "headers": { + "ETag": { + "description": "The current entity tag.", + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "NetworkGroupsPut": { + "$ref": "./examples/NetworkManagerGroupPut.json" + } + } + }, + "delete": { + "tags": [ + "NetworkGroups" + ], + "operationId": "NetworkGroups_Delete", + "description": "Deletes a network group.", + "responses": { + "200": { + "description": "Delete Succeed." + }, + "204": { + "description": "Request successful. The resource does not exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "NetworkGroupsDelete": { + "$ref": "./examples/NetworkManagerGroupDelete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/networkGroups": { + "get": { + "tags": [ + "NetworkGroups" + ], + "operationId": "NetworkGroups_List", + "description": "Lists the specified network group.", + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkManagerNameParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ListTopParameter" + }, + { + "$ref": "#/parameters/ListSkipTokenParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the network group.", + "schema": { + "$ref": "#/definitions/NetworkGroupListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "NetworkGroupsList": { + "$ref": "./examples/NetworkManagerGroupList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/networkGroups/{networkGroupName}/listEffectiveVirtualNetworks": { + "post": { + "tags": [ + "NetworkGroups" + ], + "operationId": "EffectiveVirtualNetworks_ListByNetworkGroup", + "description": "Lists all effective virtual networks by specified network group.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkManagerNameParameter" + }, + { + "$ref": "#/parameters/NetworkGroupNameParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/QueryRequestOptions" + }, + "description": "Parameters supplied to list correct page." + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the effective virtual networks.", + "schema": { + "$ref": "#/definitions/EffectiveVirtualNetworksListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "NetworkGroupsList": { + "$ref": "./examples/NetworkManagerEffectiveVirtualNetworksList.json" + } + } + } + } + }, + "definitions": { + "NetworkGroup": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/NetworkGroupProperties", + "description": "The Network Group properties" + }, + "systemData": { + "readOnly": true, + "description": "The system metadata related to this resource.", + "$ref": "./network.json#/definitions/SystemData" + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/ProxyResource" + } + ], + "description": "The network group resource" + }, + "NetworkGroupListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/NetworkGroup" + }, + "description": "Gets a page of NetworkGroup" + }, + "nextLink": { + "type": "string", + "description": "Gets the URL to get the next set of results." + } + }, + "description": "Result of the request to list NetworkGroup. It contains a list of groups and a URL link to get the next set of results." + }, + "NetworkGroupProperties": { + "type": "object", + "properties": { + "displayName": { + "type": "string", + "description": "A friendly name for the network group." + }, + "description": { + "type": "string", + "description": "A description of the network group." + }, + "memberType": { + "type": "string", + "description": "Group member type." + }, + "groupMembers": { + "type": "array", + "items": { + "$ref": "#/definitions/groupMembersItem" + }, + "description": "Group members of network group." + }, + "conditionalMembership": { + "type": "string", + "description": "Network group conditional filter." + }, + "provisioningState": { + "readOnly": true, + "$ref": "./network.json#/definitions/ProvisioningState", + "description": "The provisioning state of the scope assignment resource." + } + }, + "description": "Properties of network group" + }, + "groupMembersItem": { + "type": "object", + "properties": { + "resourceId": { + "type": "string", + "description": "Resource Id." + } + }, + "description": "GroupMembers Item." + }, + "QueryRequestOptions": { + "properties": { + "skipToken": { + "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.", + "type": "string" + } + }, + "description": "Query Request Options" + }, + "EffectiveVirtualNetworksListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/EffectiveVirtualNetwork" + }, + "description": "Gets a page of EffectiveVirtualNetwork" + }, + "skipToken": { + "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.", + "type": "string" + } + }, + "description": "Result of the request to list Effective Virtual Network. It contains a list of groups and a URL link to get the next set of results." + }, + "EffectiveVirtualNetwork": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Effective vnet Id." + }, + "location": { + "type": "string", + "description": "Location of vnet." + }, + "membershipType": { + "type": "string", + "description": "Membership Type.", + "enum": [ + "Static", + "Dynamic" + ], + "x-ms-enum": { + "name": "MembershipType", + "modelAsString": true + } + } + }, + "description": "Effective Virtual Network" + } + }, + "parameters": { + "ResourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group.", + "x-ms-parameter-location": "method" + }, + "NetworkManagerNameParameter": { + "name": "networkManagerName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network manager.", + "x-ms-parameter-location": "method" + }, + "NetworkGroupNameParameter": { + "name": "networkGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network group to get.", + "x-ms-parameter-location": "method" + }, + "ListTopParameter": { + "name": "$top", + "description": "An optional query parameter which specifies the maximum number of records to be returned by the server.", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "minimum": 1, + "maximum": 20, + "x-ms-parameter-location": "method" + }, + "ListSkipTokenParameter": { + "name": "$skipToken", + "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.", + "in": "query", + "required": false, + "type": "string", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/networkManagerSecurityAdminConfiguration.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/networkManagerSecurityAdminConfiguration.json new file mode 100644 index 000000000000..cf7706d09e19 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/networkManagerSecurityAdminConfiguration.json @@ -0,0 +1,1064 @@ +{ + "swagger": "2.0", + "info": { + "title": "SecurityAdminConfiguration", + "version": "2021-02-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations": { + "get": { + "tags": [ + "SecurityAdminConfigurations" + ], + "operationId": "SecurityAdminConfigurations_List", + "description": "Lists all the network manager security admin configurations in a network manager, in a paginated format.", + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkManagerNameParameter" + }, + { + "$ref": "#/parameters/ListTopParameter" + }, + { + "$ref": "#/parameters/ListSkipTokenParameter" + } + ], + "responses": { + "200": { + "description": "Get successful. The operation returns all security admin configuration resources in the specified network manager, in a paginated format", + "schema": { + "$ref": "#/definitions/SecurityConfigurationListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List security admin configurations in a network manager": { + "$ref": "./examples/NetworkManagerSecurityAdminConfigurationList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations/{configurationName}": { + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkManagerNameParameter" + }, + { + "$ref": "#/parameters/SecurityConfigurationParameter" + } + ], + "get": { + "tags": [ + "SecurityAdminConfigurations" + ], + "description": "Retrieves a network manager security admin configuration.", + "operationId": "SecurityAdminConfigurations_Get", + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/SecurityConfiguration" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Get security admin configurations": { + "$ref": "./examples/NetworkManagerSecurityAdminConfigurationGet.json" + } + } + }, + "put": { + "tags": [ + "SecurityAdminConfigurations" + ], + "description": "Creates or updates a network manager security admin configuration.", + "operationId": "SecurityAdminConfigurations_CreateOrUpdate", + "parameters": [ + { + "name": "securityAdminConfiguration", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/SecurityConfiguration" + }, + "description": "The security admin configuration to create or update" + } + ], + "responses": { + "200": { + "description": "Updated Admin Configuration", + "schema": { + "$ref": "#/definitions/SecurityConfiguration" + } + }, + "201": { + "description": "Created Admin Configuration", + "schema": { + "$ref": "#/definitions/SecurityConfiguration" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Create network manager security admin configuration": { + "$ref": "./examples/NetworkManagerSecurityAdminConfigurationPut.json" + } + } + }, + "delete": { + "tags": [ + "SecurityAdminConfigurations" + ], + "description": "Deletes a network manager security admin configuration.", + "operationId": "SecurityAdminConfigurations_Delete", + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "Request successful. Resource does not exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Delete network manager security admin configuration": { + "$ref": "./examples/NetworkManagerSecurityAdminConfigurationDelete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations/{configurationName}/ruleCollections": { + "get": { + "tags": [ + "AdminRuleCollections" + ], + "operationId": "AdminRuleCollections_List", + "description": "Lists all the rule collections in a security admin configuration, in a paginated format.", + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkManagerNameParameter" + }, + { + "$ref": "#/parameters/SecurityConfigurationParameter" + }, + { + "$ref": "#/parameters/ListTopParameter" + }, + { + "$ref": "#/parameters/ListSkipTokenParameter" + } + ], + "responses": { + "200": { + "description": "Get successful. The operation returns all ruleCollections in the specified security configuration, in a paginated format", + "schema": { + "$ref": "#/definitions/RuleCollectionListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List security admin rule collections": { + "$ref": "./examples/NetworkManagerAdminRuleCollectionList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}": { + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkManagerNameParameter" + }, + { + "$ref": "#/parameters/SecurityConfigurationParameter" + }, + { + "$ref": "#/parameters/RuleCollectionParameter" + } + ], + "get": { + "tags": [ + "AdminRuleCollections" + ], + "description": "Gets a network manager security admin configuration rule collection.", + "operationId": "AdminRuleCollections_Get", + "responses": { + "200": { + "description": "Successful operation", + "schema": { + "$ref": "#/definitions/RuleCollection" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Gets security admin rule collection": { + "$ref": "./examples/NetworkManagerAdminRuleCollectionGet.json" + } + } + }, + "put": { + "tags": [ + "AdminRuleCollections" + ], + "description": "Creates or updates an admin rule collection.", + "operationId": "AdminRuleCollections_CreateOrUpdate", + "parameters": [ + { + "name": "ruleCollection", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/RuleCollection" + }, + "description": "The Rule Collection to create or update" + } + ], + "responses": { + "200": { + "description": "Updated Rule Collection", + "schema": { + "$ref": "#/definitions/RuleCollection" + } + }, + "201": { + "description": "Created Rule Collection", + "schema": { + "$ref": "#/definitions/RuleCollection" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Create or Update an admin rule collection": { + "$ref": "./examples/NetworkManagerAdminRuleCollectionPut.json" + } + } + }, + "delete": { + "tags": [ + "AdminRuleCollections" + ], + "description": "Deletes an admin rule collection.", + "operationId": "AdminRuleCollections_Delete", + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "Request successful. Resource does not exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Deletes an admin rule collection": { + "$ref": "./examples/NetworkManagerAdminRuleCollectionDelete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}/rules": { + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkManagerNameParameter" + }, + { + "$ref": "#/parameters/SecurityConfigurationParameter" + }, + { + "$ref": "#/parameters/RuleCollectionParameter" + }, + { + "$ref": "#/parameters/ListTopParameter" + }, + { + "$ref": "#/parameters/ListSkipTokenParameter" + } + ], + "get": { + "tags": [ + "AdminRules" + ], + "description": "List all network manager security configuration admin rules.", + "operationId": "AdminRules_List", + "responses": { + "200": { + "description": "Successful operation", + "schema": { + "$ref": "#/definitions/AdminRuleListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "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}": { + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkManagerNameParameter" + }, + { + "$ref": "#/parameters/SecurityConfigurationParameter" + }, + { + "$ref": "#/parameters/RuleCollectionParameter" + }, + { + "$ref": "#/parameters/SecurityConfigurationsRuleParameter" + } + ], + "get": { + "tags": [ + "AdminRules" + ], + "description": "Gets a network manager security configuration admin rule.", + "operationId": "AdminRules_Get", + "responses": { + "200": { + "description": "Successful operation", + "schema": { + "$ref": "#/definitions/BaseAdminRule" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Gets security admin rule": { + "$ref": "./examples/NetworkManagerAdminRuleGet.json" + }, + "Gets security default admin rule": { + "$ref": "./examples/NetworkManagerDefaultAdminRuleGet.json" + } + } + }, + "put": { + "tags": [ + "AdminRules" + ], + "description": "Creates or updates an admin rule.", + "operationId": "AdminRules_CreateOrUpdate", + "parameters": [ + { + "name": "adminRule", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/BaseAdminRule" + }, + "description": "The admin rule to create or update" + } + ], + "responses": { + "200": { + "description": "Updated rule", + "schema": { + "$ref": "#/definitions/BaseAdminRule" + } + }, + "201": { + "description": "Created rule", + "schema": { + "$ref": "#/definitions/BaseAdminRule" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Create an admin rule": { + "$ref": "./examples/NetworkManagerAdminRulePut.json" + }, + "Create a default admin rule": { + "$ref": "./examples/NetworkManagerDefaultAdminRulePut.json" + } + } + }, + "delete": { + "tags": [ + "AdminRules" + ], + "description": "Deletes an admin rule.", + "operationId": "AdminRules_Delete", + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "Request successful. Resource does not exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Deletes an admin rule": { + "$ref": "./examples/NetworkManagerAdminRuleDelete.json" + } + } + } + } + }, + "definitions": { + "SecurityConfiguration": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/SecurityConfigurationPropertiesFormat", + "description": "Indicates the properties for the network manager security Configuration." + }, + "systemData": { + "readOnly": true, + "description": "The system metadata related to this resource.", + "$ref": "./network.json#/definitions/SystemData" + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/ProxyResource" + } + ], + "description": "Defines the security configuration" + }, + "SecurityConfigurationPropertiesFormat": { + "properties": { + "displayName": { + "type": "string", + "description": "A display name of the security configuration." + }, + "description": { + "type": "string", + "description": "A description of the security configuration." + }, + "securityType": { + "type": "string", + "description": "Security Type.", + "enum": [ + "AdminPolicy", + "UserPolicy" + ], + "x-ms-enum": { + "name": "SecurityType", + "modelAsString": true + } + }, + "deleteExistingNSGs": { + "type": "string", + "enum": [ + "False", + "True" + ], + "x-ms-enum": { + "name": "DeleteExistingNSGs", + "modelAsString": true + }, + "description": "Flag if need to delete existing network security groups." + }, + "provisioningState": { + "readOnly": true, + "$ref": "./network.json#/definitions/ProvisioningState", + "description": "The provisioning state of the resource." + } + }, + "description": "Defines the security Configuration properties." + }, + "SecurityConfigurationListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/SecurityConfiguration" + }, + "description": "Gets a page of security configurations" + }, + "nextLink": { + "type": "string", + "description": "Gets the URL to get the next page of results." + } + }, + "description": "A list of network manager security configurations" + }, + "AdminRuleListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/BaseAdminRule" + }, + "description": "A list of admin rules" + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "security configuration admin rule list result." + }, + "RuleCollectionListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/RuleCollection" + }, + "description": "A list of network manager security configuration rule collections" + }, + "nextLink": { + "type": "string", + "description": "Gets the URL to get the next set of results." + } + }, + "description": "Security configuration rule collection list result." + }, + "RuleCollection": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/RuleCollectionPropertiesFormat", + "description": "Indicates the properties for the network manager rule collection." + }, + "systemData": { + "readOnly": true, + "description": "The system metadata related to this resource.", + "$ref": "./network.json#/definitions/SystemData" + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/ProxyResource" + } + ], + "description": "Defines the rule collection." + }, + "RuleCollectionPropertiesFormat": { + "properties": { + "displayName": { + "type": "string", + "description": "A display name of the rule collection." + }, + "description": { + "type": "string", + "description": "A description of the rule collection." + }, + "appliesToGroups": { + "type": "array", + "items": { + "$ref": "#/definitions/NetworkManagerSecurityGroupItem" + }, + "description": "Groups for configuration" + }, + "provisioningState": { + "readOnly": true, + "$ref": "./network.json#/definitions/ProvisioningState", + "description": "The provisioning state of the resource." + } + }, + "description": "Defines the rule collection properties." + }, + "BaseAdminRule": { + "properties": { + "kind": { + "type": "string", + "description": "Whether the rule is custom or default.", + "enum": [ + "Custom", + "Default" + ], + "x-ms-enum": { + "name": "AdminRuleKind", + "modelAsString": true + } + }, + "systemData": { + "readOnly": true, + "description": "The system metadata related to this resource.", + "$ref": "./network.json#/definitions/SystemData" + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/ProxyResource" + } + ], + "required": [ + "kind" + ], + "discriminator": "kind", + "description": "Network base admin rule." + }, + "AdminRule": { + "properties": { + "properties": { + "$ref": "#/definitions/AdminPropertiesFormat", + "x-ms-client-flatten": true, + "description": "Indicates the properties of the security admin rule" + } + }, + "allOf": [ + { + "$ref": "#/definitions/BaseAdminRule" + } + ], + "description": "Network admin rule.", + "x-ms-discriminator-value": "Custom" + }, + "AdminPropertiesFormat": { + "properties": { + "displayName": { + "type": "string", + "description": "A friendly name for the rule." + }, + "description": { + "type": "string", + "description": "A description for this rule. Restricted to 140 chars." + }, + "protocol": { + "type": "string", + "$ref": "#/definitions/RuleProtocol", + "description": "Network protocol this rule applies to." + }, + "sources": { + "type": "array", + "items": { + "$ref": "#/definitions/AddressPrefixItem" + }, + "description": "The CIDR or source IP ranges." + }, + "destinations": { + "type": "array", + "items": { + "$ref": "#/definitions/AddressPrefixItem" + }, + "description": "The destination address prefixes. CIDR or destination IP ranges." + }, + "sourcePortRanges": { + "type": "array", + "items": { + "type": "string", + "description": "The source port." + }, + "description": "The source port ranges." + }, + "destinationPortRanges": { + "type": "array", + "items": { + "type": "string", + "description": "The destination port." + }, + "description": "The destination port ranges." + }, + "access": { + "$ref": "#/definitions/SecurityConfigurationRuleAccess", + "description": "Indicates the access allowed for this particular rule" + }, + "priority": { + "type": "integer", + "format": "int32", + "minimum": 1, + "maximum": 4096, + "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." + }, + "direction": { + "$ref": "#/definitions/SecurityConfigurationRuleDirection", + "description": "Indicates if the traffic matched against the rule in inbound or outbound." + }, + "provisioningState": { + "readOnly": true, + "$ref": "./network.json#/definitions/ProvisioningState", + "description": "The provisioning state of the resource." + } + }, + "required": [ + "protocol", + "access", + "direction" + ], + "description": "Security admin rule resource." + }, + "DefaultAdminRule": { + "properties": { + "properties": { + "$ref": "#/definitions/DefaultAdminPropertiesFormat", + "x-ms-client-flatten": true, + "description": "Indicates the properties of the security admin rule" + } + }, + "allOf": [ + { + "$ref": "#/definitions/BaseAdminRule" + } + ], + "description": "Network default admin rule.", + "x-ms-discriminator-value": "Default" + }, + "DefaultAdminPropertiesFormat": { + "type": "object", + "properties": { + "displayName": { + "type": "string", + "readOnly": true, + "description": "A friendly name for the rule." + }, + "description": { + "type": "string", + "readOnly": true, + "description": "A description for this rule. Restricted to 140 chars." + }, + "flag": { + "type": "string", + "description": "Default rule flag." + }, + "protocol": { + "type": "string", + "readOnly": true, + "$ref": "#/definitions/RuleProtocol", + "description": "Network protocol this rule applies to." + }, + "sources": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/AddressPrefixItem" + }, + "description": "The CIDR or source IP ranges." + }, + "destinations": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/AddressPrefixItem" + }, + "description": "The destination address prefixes. CIDR or destination IP ranges." + }, + "sourcePortRanges": { + "type": "array", + "readOnly": true, + "items": { + "type": "string", + "description": "The source port." + }, + "description": "The source port ranges." + }, + "destinationPortRanges": { + "type": "array", + "readOnly": true, + "items": { + "type": "string", + "description": "The destination port." + }, + "description": "The destination port ranges." + }, + "access": { + "$ref": "#/definitions/SecurityConfigurationRuleAccess", + "readOnly": true, + "description": "Indicates the access allowed for this particular rule" + }, + "priority": { + "type": "integer", + "format": "int32", + "readOnly": true, + "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." + }, + "direction": { + "$ref": "#/definitions/SecurityConfigurationRuleDirection", + "readOnly": true, + "description": "Indicates if the traffic matched against the rule in inbound or outbound." + }, + "provisioningState": { + "readOnly": true, + "$ref": "./network.json#/definitions/ProvisioningState", + "description": "The provisioning state of the resource." + } + }, + "description": "Security default admin rule resource." + }, + "SecurityConfigurationRuleAccess": { + "type": "string", + "description": "Whether network traffic is allowed or denied.", + "enum": [ + "Allow", + "Deny", + "AlwaysAllow" + ], + "x-ms-enum": { + "name": "SecurityConfigurationRuleAccess", + "modelAsString": true + } + }, + "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 + } + }, + "RuleProtocol": { + "type": "string", + "description": "Network protocol this rule applies to.", + "enum": [ + "Tcp", + "Udp", + "Icmp", + "Esp", + "Any", + "Ah" + ], + "x-ms-enum": { + "name": "SecurityConfigurationRuleProtocol", + "modelAsString": true + } + }, + "NetworkManagerSecurityGroupItem": { + "type": "object", + "properties": { + "networkGroupId": { + "type": "string", + "description": "Network manager group Id." + } + }, + "description": "Network manager security group item." + }, + "AddressPrefixItem": { + "type": "object", + "properties": { + "addressPrefix": { + "type": "string", + "description": "Address prefix." + }, + "addressPrefixType": { + "type": "string", + "description": "Address prefix type.", + "enum": [ + "IPPrefix", + "ServiceTag" + ], + "x-ms-enum": { + "name": "AddressPrefixType", + "modelAsString": true + } + } + }, + "description": "Address prefix item." + } + }, + "parameters": { + "SecurityConfigurationParameter": { + "name": "configurationName", + "in": "path", + "description": "The name of the network manager security Configuration.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "RuleCollectionParameter": { + "name": "ruleCollectionName", + "in": "path", + "description": "The name of the network manager security Configuration rule collection.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "SecurityConfigurationsRuleParameter": { + "name": "ruleName", + "in": "path", + "description": "The name of the rule.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "ResourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group.", + "x-ms-parameter-location": "method" + }, + "NetworkManagerNameParameter": { + "name": "networkManagerName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network manager.", + "x-ms-parameter-location": "method" + }, + "ListTopParameter": { + "name": "$top", + "description": "An optional query parameter which specifies the maximum number of records to be returned by the server.", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "minimum": 1, + "maximum": 20, + "x-ms-parameter-location": "method" + }, + "ListSkipTokenParameter": { + "name": "$skipToken", + "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.", + "in": "query", + "required": false, + "type": "string", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/networkManagerSecurityUserConfiguration.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/networkManagerSecurityUserConfiguration.json new file mode 100644 index 000000000000..b155cbd891c6 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/networkManagerSecurityUserConfiguration.json @@ -0,0 +1,830 @@ +{ + "swagger": "2.0", + "info": { + "title": "SecurityUserConfiguration", + "version": "2021-02-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations": { + "get": { + "tags": [ + "SecurityUserConfigurations" + ], + "operationId": "SecurityUserConfigurations_List", + "description": "Lists all the network manager security user configurations in a network manager, in a paginated format.", + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkManagerNameParameter" + }, + { + "$ref": "#/parameters/ListTopParameter" + }, + { + "$ref": "#/parameters/ListSkipTokenParameter" + } + ], + "responses": { + "200": { + "description": "Get successful. The operation returns all security user configurations in the specified network manager, in a paginated format", + "schema": { + "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/SecurityConfigurationListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List security user configurations in a network manager": { + "$ref": "./examples/NetworkManagerSecurityUserConfigurationList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}": { + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkManagerNameParameter" + }, + { + "$ref": "#/parameters/SecurityConfigurationParameter" + } + ], + "get": { + "tags": [ + "SecurityUserConfigurations" + ], + "description": "Retrieves a network manager security user configuration.", + "operationId": "SecurityUserConfigurations_Get", + "responses": { + "200": { + "description": "Successful operation", + "schema": { + "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/SecurityConfiguration" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Get security user configurations": { + "$ref": "./examples/NetworkManagerSecurityUserConfigurationGet.json" + } + } + }, + "put": { + "tags": [ + "SecurityUserConfigurations" + ], + "description": "Creates or updates a network manager security user configuration.", + "operationId": "SecurityUserConfigurations_CreateOrUpdate", + "parameters": [ + { + "name": "securityUserConfiguration", + "in": "body", + "required": true, + "schema": { + "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/SecurityConfiguration" + }, + "description": "The security user configuration to create or update" + } + ], + "responses": { + "200": { + "description": "Updated Configuration", + "schema": { + "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/SecurityConfiguration" + } + }, + "201": { + "description": "Created Configuration", + "schema": { + "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/SecurityConfiguration" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Create network manager security user configuration": { + "$ref": "./examples/NetworkManagerSecurityUserConfigurationPut.json" + } + } + }, + "delete": { + "tags": [ + "SecurityUserConfigurations" + ], + "description": "Deletes a network manager security user configuration.", + "operationId": "SecurityUserConfigurations_Delete", + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "Request successful. Resource does not exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Delete network manager security user configuration": { + "$ref": "./examples/NetworkManagerSecurityUserConfigurationDelete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}/ruleCollections": { + "get": { + "tags": [ + "UserRuleCollections" + ], + "operationId": "UserRuleCollections_List", + "description": "Lists all the user rule collections in a security configuration, in a paginated format.", + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkManagerNameParameter" + }, + { + "$ref": "#/parameters/SecurityConfigurationParameter" + }, + { + "$ref": "#/parameters/ListTopParameter" + }, + { + "$ref": "#/parameters/ListSkipTokenParameter" + } + ], + "responses": { + "200": { + "description": "Get successful. The operation returns all ruleCollections in the specified security configuration, in a paginated format", + "schema": { + "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/RuleCollectionListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List rule collections in a security configuration": { + "$ref": "./examples/NetworkManagerUserRuleCollectionList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}": { + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkManagerNameParameter" + }, + { + "$ref": "#/parameters/SecurityConfigurationParameter" + }, + { + "$ref": "#/parameters/RuleCollectionParameter" + } + ], + "get": { + "tags": [ + "RuleCollections" + ], + "description": "Gets a network manager security user configuration rule collection.", + "operationId": "UserRuleCollections_Get", + "responses": { + "200": { + "description": "Successful operation", + "schema": { + "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/RuleCollection" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Gets security user rule collection": { + "$ref": "./examples/NetworkManagerUserRuleCollectionGet.json" + } + } + }, + "put": { + "tags": [ + "UserRuleCollections" + ], + "description": "Creates or updates a user rule collection.", + "operationId": "UserRuleCollections_CreateOrUpdate", + "parameters": [ + { + "name": "userRuleCollection", + "in": "body", + "required": true, + "schema": { + "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/RuleCollection" + }, + "description": "The User Rule Collection to create or update" + } + ], + "responses": { + "200": { + "description": "Updated User Rule Collection", + "schema": { + "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/RuleCollection" + } + }, + "201": { + "description": "Created User Rule Collection", + "schema": { + "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/RuleCollection" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Create or Update a User Rule Collection": { + "$ref": "./examples/NetworkManagerUserRuleCollectionPut.json" + } + } + }, + "delete": { + "tags": [ + "UserRuleCollections" + ], + "description": "Deletes a user rule collection.", + "operationId": "UserRuleCollections_Delete", + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "Request successful. Resource does not exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Deletes a user rule collection": { + "$ref": "./examples/NetworkManagerUserRuleCollectionDelete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}/rules": { + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkManagerNameParameter" + }, + { + "$ref": "#/parameters/SecurityConfigurationParameter" + }, + { + "$ref": "#/parameters/RuleCollectionParameter" + }, + { + "$ref": "#/parameters/ListTopParameter" + }, + { + "$ref": "#/parameters/ListSkipTokenParameter" + } + ], + "get": { + "tags": [ + "UserRules" + ], + "description": "Lists all user rules in a rule collection.", + "operationId": "UserRules_List", + "responses": { + "200": { + "description": "Successful operation", + "schema": { + "$ref": "#/definitions/UserRuleListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "List security user rules": { + "$ref": "./examples/NetworkManagerUserRuleList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}/rules/{ruleName}": { + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkManagerNameParameter" + }, + { + "$ref": "#/parameters/SecurityConfigurationParameter" + }, + { + "$ref": "#/parameters/RuleCollectionParameter" + }, + { + "$ref": "#/parameters/SecurityConfigurationsRuleParameter" + } + ], + "get": { + "tags": [ + "UserRules" + ], + "description": "Gets a user rule.", + "operationId": "UserRules_Get", + "responses": { + "200": { + "description": "Successful operation", + "schema": { + "$ref": "#/definitions/BaseUserRule" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Gets a user rule": { + "$ref": "./examples/NetworkManagerUserRuleGet.json" + }, + "Gets a default user rule": { + "$ref": "./examples/NetworkManagerDefaultUserRuleGet.json" + } + } + }, + "put": { + "tags": [ + "UserRules" + ], + "description": "Creates or updates a user rule.", + "operationId": "UserRules_CreateOrUpdate", + "parameters": [ + { + "name": "userRule", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/BaseUserRule" + }, + "description": "The user rule to create or update" + } + ], + "responses": { + "200": { + "description": "Updated rule", + "schema": { + "$ref": "#/definitions/BaseUserRule" + } + }, + "201": { + "description": "Created rule", + "schema": { + "$ref": "#/definitions/BaseUserRule" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Create a user rule": { + "$ref": "./examples/NetworkManagerUserRulePut.json" + }, + "Create a default user rule": { + "$ref": "./examples/NetworkManagerDefaultUserRulePut.json" + } + } + }, + "delete": { + "tags": [ + "UserRules" + ], + "description": "Deletes a user rule.", + "operationId": "UserRules_Delete", + "responses": { + "200": { + "description": "Delete Succeed." + }, + "204": { + "description": "Request successful. Resource does not exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Delete a user rule": { + "$ref": "./examples/NetworkManagerUserRuleDelete.json" + } + } + } + } + }, + "definitions": { + "BaseUserRule": { + "properties": { + "kind": { + "type": "string", + "description": "Whether the rule is custom or default.", + "enum": [ + "Custom", + "Default" + ], + "x-ms-enum": { + "name": "UserRuleKind", + "modelAsString": true + } + }, + "systemData": { + "readOnly": true, + "description": "The system metadata related to this resource.", + "$ref": "./network.json#/definitions/SystemData" + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/ProxyResource" + } + ], + "required": [ + "kind" + ], + "discriminator": "kind", + "description": "Network base rule." + }, + "UserRuleListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/BaseUserRule" + }, + "description": "A list of user rules" + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "security user rule list result." + }, + "UserRule": { + "properties": { + "properties": { + "$ref": "#/definitions/UserRulePropertiesFormat", + "x-ms-client-flatten": true, + "description": "Indicates the properties of the security user rule" + } + }, + "allOf": [ + { + "$ref": "#/definitions/BaseUserRule" + } + ], + "description": "Network security user rule.", + "x-ms-discriminator-value": "Custom" + }, + "UserRulePropertiesFormat": { + "type": "object", + "properties": { + "displayName": { + "type": "string", + "description": "A friendly name for the rule." + }, + "description": { + "type": "string", + "description": "A description for this rule." + }, + "protocol": { + "type": "string", + "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/RuleProtocol", + "description": "Network protocol this rule applies to." + }, + "sources": { + "type": "array", + "items": { + "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/AddressPrefixItem" + }, + "description": "The CIDR or source IP ranges." + }, + "destinations": { + "type": "array", + "items": { + "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/AddressPrefixItem" + }, + "description": "The destination address prefixes. CIDR or destination IP ranges." + }, + "sourcePortRanges": { + "type": "array", + "items": { + "type": "string", + "description": "The source port." + }, + "description": "The source port ranges." + }, + "destinationPortRanges": { + "type": "array", + "items": { + "type": "string", + "description": "The destination port." + }, + "description": "The destination port ranges." + }, + "direction": { + "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/SecurityConfigurationRuleDirection", + "description": "Indicates if the traffic matched against the rule in inbound or outbound." + }, + "provisioningState": { + "readOnly": true, + "$ref": "./network.json#/definitions/ProvisioningState", + "description": "The provisioning state of the security configuration user rule resource." + } + }, + "required": [ + "protocol", + "direction" + ], + "description": "Security rule resource." + }, + "DefaultUserRule": { + "properties": { + "properties": { + "$ref": "#/definitions/DefaultUserRulePropertiesFormat", + "x-ms-client-flatten": true, + "description": "Indicates the properties of the security default user rule" + } + }, + "allOf": [ + { + "$ref": "#/definitions/BaseUserRule" + } + ], + "description": "Network security default user rule.", + "x-ms-discriminator-value": "Default" + }, + "DefaultUserRulePropertiesFormat": { + "type": "object", + "properties": { + "displayName": { + "type": "string", + "readOnly": true, + "description": "A friendly name for the rule." + }, + "description": { + "type": "string", + "readOnly": true, + "description": "A description for this rule. Restricted to 140 chars." + }, + "flag": { + "type": "string", + "description": "Default rule flag." + }, + "protocol": { + "type": "string", + "readOnly": true, + "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/RuleProtocol", + "description": "Network protocol this rule applies to." + }, + "sources": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/AddressPrefixItem" + }, + "description": "The CIDR or source IP ranges." + }, + "destinations": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/AddressPrefixItem" + }, + "description": "The destination address prefixes. CIDR or destination IP ranges." + }, + "sourcePortRanges": { + "type": "array", + "readOnly": true, + "items": { + "type": "string", + "description": "The source port." + }, + "description": "The source port ranges." + }, + "destinationPortRanges": { + "type": "array", + "readOnly": true, + "items": { + "type": "string", + "description": "The destination port." + }, + "description": "The destination port ranges." + }, + "direction": { + "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/SecurityConfigurationRuleDirection", + "readOnly": true, + "description": "Indicates if the traffic matched against the rule in inbound or outbound." + }, + "provisioningState": { + "readOnly": true, + "$ref": "./network.json#/definitions/ProvisioningState", + "description": "The provisioning state of the security configuration user rule resource." + } + }, + "description": "Security default user rule resource." + } + }, + "parameters": { + "SecurityConfigurationParameter": { + "name": "configurationName", + "in": "path", + "description": "The name of the network manager security Configuration.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "RuleCollectionParameter": { + "name": "ruleCollectionName", + "in": "path", + "description": "The name of the network manager security Configuration rule collection.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "SecurityConfigurationsRuleParameter": { + "name": "ruleName", + "in": "path", + "description": "The name of the rule.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "ResourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group.", + "x-ms-parameter-location": "method" + }, + "NetworkManagerNameParameter": { + "name": "networkManagerName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network manager.", + "x-ms-parameter-location": "method" + }, + "ListTopParameter": { + "name": "$top", + "description": "An optional query parameter which specifies the maximum number of records to be returned by the server.", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "minimum": 1, + "maximum": 20, + "x-ms-parameter-location": "method" + }, + "ListSkipTokenParameter": { + "name": "$skipToken", + "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.", + "in": "query", + "required": false, + "type": "string", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/networkSecurityPerimeter.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/networkSecurityPerimeter.json new file mode 100644 index 000000000000..7d7ad0a16ddf --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/networkSecurityPerimeter.json @@ -0,0 +1,2069 @@ +{ + "swagger": "2.0", + "info": { + "title": "NetworkSecurityPerimeter", + "description": "The Network Security Perimeter API provides a RESTful set of web services that interact with network security perimeter resource.", + "version": "2021-02-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}": { + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkSecurityPerimeterNameParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "get": { + "tags": [ + "NetworkSecurityPerimeters" + ], + "operationId": "NetworkSecurityPerimeters_Get", + "description": "Gets the specified network security perimeter by the name.", + "responses": { + "200": { + "description": "Request is successful. Returns the resulting network security perimeter resource.", + "schema": { + "$ref": "#/definitions/NetworkSecurityPerimeter" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "NetworkSecurityPerimeterGet": { + "$ref": "./examples/NetworkSecurityPerimeterGet.json" + } + } + }, + "put": { + "tags": [ + "NetworkSecurityPerimeters" + ], + "operationId": "NetworkSecurityPerimeters_CreateOrUpdate", + "description": "Creates or updates a Network Security Perimeter.", + "parameters": [ + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkSecurityPerimeter" + }, + "description": "Parameter supplied to create or update the network security perimeter." + } + ], + "responses": { + "200": { + "description": "Resource Updated. Returns the network security perimeter.", + "schema": { + "$ref": "#/definitions/NetworkSecurityPerimeter" + } + }, + "201": { + "description": "Resource Created. Returns the network security perimeter.", + "schema": { + "$ref": "#/definitions/NetworkSecurityPerimeter" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Put Network Security Perimeter": { + "$ref": "./examples/NetworkSecurityPerimeterPut.json" + } + } + }, + "delete": { + "tags": [ + "NetworkSecurityPerimeters" + ], + "operationId": "NetworkSecurityPerimeters_Delete", + "description": "Deletes a network security perimeter.", + "responses": { + "200": { + "description": "Delete Succeed." + }, + "204": { + "description": "Request successful. The resource does not exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "NetworkSecurityPerimeterDelete": { + "$ref": "./examples/NetworkSecurityPerimeterDelete.json" + } + } + }, + "patch": { + "tags": [ + "NetworkSecurityPerimeters" + ], + "operationId": "NetworkSecurityPerimeters_Patch", + "description": "Patch Tags for a Network Security Perimeter.", + "parameters": [ + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateTagsRequest" + }, + "description": "Parameter supplied to the network security perimeter." + } + ], + "responses": { + "200": { + "description": "Request is successful. Returns the resulting network security perimeter resource.", + "schema": { + "$ref": "#/definitions/NetworkSecurityPerimeter" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Patch Network Security Perimeter": { + "$ref": "./examples/NetworkSecurityPerimeterPatch.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkSecurityPerimeters": { + "get": { + "tags": [ + "NetworkSecurityPerimeters" + ], + "operationId": "NetworkSecurityPerimeters_ListBySubscription", + "description": "List all network security perimeters in a subscription.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ListTopParameter" + }, + { + "$ref": "#/parameters/ListSkipTokenParameter" + } + ], + "responses": { + "200": { + "description": "Request is successful. Returns the list of the network security perimeters.", + "schema": { + "$ref": "#/definitions/NetworkSecurityPerimeterListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "NetworkSecurityPerimetersList": { + "$ref": "./examples/NetworkSecurityPerimeterListAll.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters": { + "get": { + "tags": [ + "NetworkSecurityPerimeters" + ], + "operationId": "NetworkSecurityPerimeters_List", + "description": "List network security perimeters in a resource group.", + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ListTopParameter" + }, + { + "$ref": "#/parameters/ListSkipTokenParameter" + } + ], + "responses": { + "200": { + "description": "Request is successful. Returns a list of network security perimeters.", + "schema": { + "$ref": "#/definitions/NetworkSecurityPerimeterListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "List Network Security Perimeter": { + "$ref": "./examples/NetworkSecurityPerimeterList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/profiles/{profileName}": { + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkSecurityPerimeterNameParameter" + }, + { + "$ref": "#/parameters/ProfileNameParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "get": { + "tags": [ + "NspProfiles" + ], + "operationId": "NspProfiles_Get", + "description": "Gets the specified NSP profile.", + "responses": { + "200": { + "description": "OK - Returns information about the NSP profile.", + "schema": { + "$ref": "#/definitions/NspProfile" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "NspProfilesGet": { + "$ref": "./examples/NspProfileGet.json" + } + } + }, + "put": { + "tags": [ + "NspProfiles" + ], + "operationId": "NspProfiles_CreateOrUpdate", + "description": "Creates or updates a network profile.", + "parameters": [ + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/NspProfile" + }, + "description": "Parameters that hold the NspProfile resource to be created/updated." + } + ], + "responses": { + "200": { + "description": "Update - Profile is immutable resource. Returns the existing profile resource.", + "schema": { + "$ref": "#/definitions/NspProfile" + } + }, + "201": { + "description": "Create - Returns the NspProfile resource created.", + "schema": { + "$ref": "#/definitions/NspProfile" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "NspProfilesPut": { + "$ref": "./examples/NspProfilePut.json" + } + } + }, + "delete": { + "tags": [ + "NspProfiles" + ], + "operationId": "NspProfiles_Delete", + "description": "Deletes an NSP profile.", + "responses": { + "200": { + "description": "Delete Succeed." + }, + "204": { + "description": "Request successful. The resource does not exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "NspProfilesDelete": { + "$ref": "./examples/NspProfileDelete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/profiles": { + "get": { + "tags": [ + "NspProfiles" + ], + "operationId": "NspProfiles_List", + "description": "Lists the NSP profiles in the specified network security perimeter.", + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkSecurityPerimeterNameParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ListTopParameter" + }, + { + "$ref": "#/parameters/ListSkipTokenParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns the list of NSP profiles.", + "schema": { + "$ref": "#/definitions/NspProfileListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "NspProfilesList": { + "$ref": "./examples/NspProfileList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/profiles/{profileName}/accessRules/{accessRuleName}": { + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkSecurityPerimeterNameParameter" + }, + { + "$ref": "#/parameters/ProfileNameParameter" + }, + { + "$ref": "#/parameters/AccessRuleNameParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "get": { + "tags": [ + "NspAccessRules" + ], + "operationId": "NspAccessRules_Get", + "description": "Gets the specified NSP access rule by name.", + "responses": { + "200": { + "description": "OK - Returns information about the NSP access rule.", + "schema": { + "$ref": "#/definitions/NspAccessRule" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "NspAccessRuleGet": { + "$ref": "./examples/NspAccessRuleGet.json" + } + } + }, + "put": { + "tags": [ + "NspAccessRules" + ], + "operationId": "NspAccessRules_CreateOrUpdate", + "description": "Creates or updates a network access rule.", + "parameters": [ + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/NspAccessRule" + }, + "description": "Parameters that hold the NspAccessRule resource to be created/updated." + } + ], + "responses": { + "200": { + "description": "Updated - Existing access rule is updated. Returns the resource.", + "schema": { + "$ref": "#/definitions/NspAccessRule" + } + }, + "201": { + "description": "Create - Returns the NspAccessRule resource created.", + "schema": { + "$ref": "#/definitions/NspAccessRule" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "NspAccessRulePut": { + "$ref": "./examples/NspAccessRulePut.json" + } + } + }, + "delete": { + "tags": [ + "NspAccessRules" + ], + "operationId": "NspAccessRules_Delete", + "description": "Deletes an NSP access rule.", + "responses": { + "200": { + "description": "Delete Succeed." + }, + "204": { + "description": "Request successful. The resource does not exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "NspAccessRulesDelete": { + "$ref": "./examples/NspAccessRuleDelete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/profiles/{profileName}/accessRules": { + "get": { + "tags": [ + "NspAccessRules" + ], + "operationId": "NspAccessRules_List", + "description": "Lists the NSP access rules in the specified NSP profile.", + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkSecurityPerimeterNameParameter" + }, + { + "$ref": "#/parameters/ProfileNameParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ListTopParameter" + }, + { + "$ref": "#/parameters/ListSkipTokenParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns the list of NSP access rules.", + "schema": { + "$ref": "#/definitions/NspAccessRuleListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "NspAccessRulesList": { + "$ref": "./examples/NspAccessRuleList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/resourceAssociations/{associationName}": { + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkSecurityPerimeterNameParameter" + }, + { + "$ref": "#/parameters/AssociationNameParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "get": { + "tags": [ + "NspAssociations" + ], + "operationId": "NspAssociations_Get", + "description": "Gets the specified NSP association by name.", + "responses": { + "200": { + "description": "OK - Returns information about the NSP resource association.", + "schema": { + "$ref": "#/definitions/NspAssociation" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "NspAssociationGet": { + "$ref": "./examples/NspAssociationGet.json" + } + } + }, + "put": { + "tags": [ + "NspAssociations" + ], + "operationId": "NspAssociations_CreateOrUpdate", + "description": "Creates or updates a NSP resource association.", + "parameters": [ + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/NspAssociation" + }, + "description": "Parameters that hold the NspAssociation resource to be created/updated." + } + ], + "responses": { + "200": { + "description": "Updated - Existing resource association is updated. Returns the resource.", + "schema": { + "$ref": "#/definitions/NspAssociation" + } + }, + "201": { + "description": "Create - Returns the NspAssociation resource created.", + "schema": { + "$ref": "#/definitions/NspAssociation" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "NspAssociationPut": { + "$ref": "./examples/NspAssociationPut.json" + } + } + }, + "delete": { + "tags": [ + "NspAssociations" + ], + "operationId": "NspAssociations_Delete", + "description": "Deletes an NSP association resource.", + "responses": { + "200": { + "description": "Delete Succeed." + }, + "202": { + "description": "Delete in progress.", + "headers": { + "location": { + "description": "location header", + "type": "string" + } + } + }, + "204": { + "description": "Request successful. The resource does not exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "NspAssociationDelete": { + "$ref": "./examples/NspAssociationDelete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/resourceAssociations": { + "get": { + "tags": [ + "NspAssociations" + ], + "operationId": "NspAssociations_List", + "description": "Lists the NSP resource associations.", + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkSecurityPerimeterNameParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ListTopParameter" + }, + { + "$ref": "#/parameters/ListSkipTokenParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns the list of NSP resource associations.", + "schema": { + "$ref": "#/definitions/NspAssociationsListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "NspAssociationList": { + "$ref": "./examples/NspAssociationList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/resourceAssociations/{associationName}/reconcile": { + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkSecurityPerimeterNameParameter" + }, + { + "$ref": "#/parameters/AssociationNameParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "post": { + "tags": [ + "NspAssociationReconcile" + ], + "operationId": "NspAssociationReconcile_Post", + "description": "Reconcile NSP association", + "parameters": [ + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/NspAssociationReconcile" + }, + "description": "Parameters for NSP association reconcile" + } + ], + "responses": { + "200": { + "description": "Reconcile NSP association.", + "schema": { + "$ref": "#/definitions/NspAssociationReconcile" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "NspAssociationReconcile": { + "$ref": "./examples/NspAssociationReconcile.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/perimeterAssociableResourceTypes": { + "get": { + "operationId": "PerimeterAssociableResourceTypes_List", + "description": "Gets the list of resources that are onboarded with NSP. These resources can be associated with a network security perimeter", + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/LocationParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. Returns the list of resources that are onboarded with network security perimeter feature.", + "schema": { + "$ref": "#/definitions/PerimeterAssociableResourcesListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Check Dns Name Availability": { + "$ref": "./examples/PerimeterAssociableResourcesList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/profiles/{profileName}/accessRules/{accessRuleName}/reconcile": { + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkSecurityPerimeterNameParameter" + }, + { + "$ref": "#/parameters/ProfileNameParameter" + }, + { + "$ref": "#/parameters/AccessRuleNameParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "post": { + "tags": [ + "NspAccessRulesReconcile" + ], + "operationId": "NspAccessRulesReconcile_Post", + "description": "Reconcile NSP access rules", + "parameters": [ + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/NspAccessRuleReconcile" + }, + "description": "Parameters for NSP access rule reconcile" + } + ], + "responses": { + "200": { + "description": "Reconcile NSP access rule.", + "schema": { + "$ref": "#/definitions/NspAccessRuleReconcile" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "NspAccessRuleReconcile": { + "$ref": "./examples/NspAccessRuleReconcile.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/links/{linkName}": { + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkSecurityPerimeterNameParameter" + }, + { + "$ref": "#/parameters/LinkNameParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "get": { + "tags": [ + "NspLinks" + ], + "operationId": "NspLinks_Get", + "description": "Gets the specified NSP link resource.", + "responses": { + "200": { + "description": "OK - Returns NSP link resource.", + "schema": { + "$ref": "#/definitions/NspLink" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "NspLinksGet": { + "$ref": "./examples/NspLinkGet.json" + } + } + }, + "put": { + "tags": [ + "NspLinks" + ], + "operationId": "NspLinks_CreateOrUpdate", + "description": "Creates or updates NSP link resource.", + "parameters": [ + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/NspLink" + }, + "description": "Parameters that hold the NspLink resource to be created/updated." + } + ], + "responses": { + "200": { + "description": "Updated - Existing NspLink resource is updated. Returns the resource.", + "schema": { + "$ref": "#/definitions/NspLink" + } + }, + "201": { + "description": "Create - Returns the NspLink resource created.", + "schema": { + "$ref": "#/definitions/NspLink" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "NspLinksPut": { + "$ref": "./examples/NspLinkPut.json" + } + } + }, + "delete": { + "tags": [ + "NspLinks" + ], + "operationId": "NspLinks_Delete", + "description": "Deletes an NSP Link resource.", + "responses": { + "200": { + "description": "Delete Succeed." + }, + "202": { + "description": "Delete in progress.", + "headers": { + "location": { + "description": "location header", + "type": "string" + } + } + }, + "204": { + "description": "Request successful. The resource does not exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "NspLinkDelete": { + "$ref": "./examples/NspLinkDelete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/links": { + "get": { + "tags": [ + "NspLinks" + ], + "operationId": "NspLinks_List", + "description": "Lists the NSP Link resources in the specified network security perimeter.", + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkSecurityPerimeterNameParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ListTopParameter" + }, + { + "$ref": "#/parameters/ListSkipTokenParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns the list of NSP link resources.", + "schema": { + "$ref": "#/definitions/NspLinkListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "NspLinkList": { + "$ref": "./examples/NspLinkList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/linkReferences/{linkReferenceName}": { + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkSecurityPerimeterNameParameter" + }, + { + "$ref": "#/parameters/LinkReferenceNameParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "get": { + "tags": [ + "NspLinkReferences" + ], + "operationId": "NspLinkReferences_Get", + "description": "Gets the specified NSP linkReference resource.", + "responses": { + "200": { + "description": "OK - Returns the NSP linkReference resource.", + "schema": { + "$ref": "#/definitions/NspLinkReference" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "NspLinkReferencesGet": { + "$ref": "./examples/NspLinkReferenceGet.json" + } + } + }, + "delete": { + "tags": [ + "NspLinkReferences" + ], + "operationId": "NspLinkReferences_Delete", + "description": "Deletes an NSP LinkReference resource.", + "responses": { + "200": { + "description": "Delete Succeed." + }, + "202": { + "description": "Delete in progress.", + "headers": { + "location": { + "description": "location header", + "type": "string" + } + } + }, + "204": { + "description": "Request successful. The resource does not exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "NspLinkReferenceDelete": { + "$ref": "./examples/NspLinkReferenceDelete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/linkReferences": { + "get": { + "tags": [ + "NspLinkReferences" + ], + "operationId": "NspLinkReferences_List", + "description": "Lists the NSP LinkReference resources in the specified network security perimeter.", + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkSecurityPerimeterNameParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ListTopParameter" + }, + { + "$ref": "#/parameters/ListSkipTokenParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns the list of NSP linkReference resources.", + "schema": { + "$ref": "#/definitions/NspLinkReferenceListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "NspLinkReferenceList": { + "$ref": "./examples/NspLinkReferenceList.json" + } + } + } + } + }, + "definitions": { + "NetworkSecurityPerimeter": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/NetworkSecurityPerimeterProperties", + "description": "The network security perimeter properties" + }, + "location": { + "type": "string", + "description": "The location in which NSP is created." + }, + "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": { + "readOnly": true, + "type": "string", + "description": "Network security perimeter identifier." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Resource type." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "description": "The Network Security Perimeter resource" + }, + "NetworkSecurityPerimeterListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/NetworkSecurityPerimeter" + }, + "description": "Gets a page of NetworkSecurityPerimeter" + }, + "nextLink": { + "type": "string", + "description": "Gets the URL to get the next page of results." + } + }, + "description": "Result of the request to list NetworkSecurityPerimeter. It contains a list of network security perimeters and a URL link to get the next set of results." + }, + "NetworkSecurityPerimeterProperties": { + "type": "object", + "properties": { + "provisioningState": { + "readOnly": true, + "$ref": "#/definitions/NSPProvisioningState", + "description": "The provisioning state of the scope assignment resource." + }, + "perimeterGuid": { + "readOnly": true, + "type": "string", + "description": "perimeter guid of the network security perimeter." + } + }, + "description": "Properties of network security perimeter." + }, + "UpdateTagsRequest": { + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "Network security perimeter identifier." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "List of tags for Network Security Perimeter" + } + }, + "description": "Update tags request." + }, + "NspProfile": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/NspProfileProperties", + "description": "Properties of the network security perimeter profile" + }, + "name": { + "type": "string", + "description": "The name of the profile resource that is unique within a perimeter. This name can be used to access the resource." + }, + "id": { + "readOnly": true, + "type": "string", + "description": "Identifier of the network security perimeter profile in ARM id format." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Resource type." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "description": "The network security perimeter profile resource" + }, + "NspProfileListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/NspProfile" + }, + "description": "Gets a page of NSP profile" + }, + "nextLink": { + "type": "string", + "description": "Gets the URL to get the next page of results." + } + }, + "description": "Result of the request to list NSP profiles. Contains a list of NSP profiles and a URL link to get the next set of results." + }, + "NspProfileProperties": { + "type": "object", + "properties": { + "accessRulesVersion": { + "readOnly": true, + "type": "string", + "description": "Version number that increases with every update to access rules within the profile." + }, + "diagnosticSettingsVersion": { + "readOnly": true, + "type": "string", + "description": "Version number that increases with every update to diagnostic settings within the profile." + } + }, + "description": "Properties of NSP profile." + }, + "NspAccessRule": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/NspAccessRuleProperties", + "description": "Properties of the NSP access rule." + }, + "name": { + "type": "string", + "description": "The name of the access rule that is unique within a profile. This name can be used to access the resource." + }, + "id": { + "readOnly": true, + "type": "string", + "description": "NSP access rule identifier." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Resource type." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "description": "The NSP access rule resource" + }, + "NspAccessRuleListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/NspAccessRule" + }, + "description": "Gets a page of NSP access rule" + }, + "nextLink": { + "type": "string", + "description": "Gets the URL to get the next page of results." + } + }, + "description": "Result of the request to list NSP access rules. Contains a list of NSP access rules and a URL link to get the next set of results." + }, + "NspAccessRuleProperties": { + "type": "object", + "properties": { + "provisioningState": { + "readOnly": true, + "$ref": "#/definitions/NSPProvisioningState", + "description": "The provisioning state of the scope assignment resource." + }, + "direction": { + "type": "string", + "enum": [ + "Inbound", + "Outbound" + ], + "x-ms-enum": { + "name": "AccessRuleDirection", + "modelAsString": true + }, + "description": "Direction that specifies whether the access rules is inbound/outbound." + }, + "addressPrefixes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Inbound address prefixes (IPv4/IPv6)" + }, + "fullyQualifiedDomainNames": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Outbound rules fully qualified domain name format." + }, + "subscriptions": { + "type": "array", + "items": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/SubscriptionId" + }, + "description": "List of subscription ids" + }, + "networkSecurityPerimeters": { + "readOnly": true, + "type": "array", + "items": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/PerimeterBasedAccessRule" + }, + "description": "Rule specified by the perimeter id." + }, + "emailAddresses": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Outbound rules email address format." + }, + "phoneNumbers": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Outbound rules phone number format." + } + }, + "description": "Properties of NSP access rule." + }, + "SubscriptionId": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Subscription id in the ARM id format." + } + } + }, + "PerimeterBasedAccessRule": { + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "NSP id in the ARM id format." + }, + "perimeterGuid": { + "readOnly": true, + "type": "string", + "description": "Resource guid of the NSP supplied." + }, + "location": { + "readOnly": true, + "type": "string", + "description": "Location of the NSP supplied." + } + } + }, + "NspAssociation": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/NspAssociationProperties", + "description": "Properties of the NSP resource association." + }, + "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": { + "readOnly": true, + "type": "string", + "description": "NSP resource association identifier." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Resource type." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "description": "The NSP resource association resource" + }, + "NspAssociationsListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/NspAssociation" + }, + "description": "Gets a page of NSP resource associations" + }, + "nextLink": { + "type": "string", + "description": "Gets the URL to get the next page of results." + } + }, + "description": "Result of the request to list NSP resource associations. Contains a list of NSP resource associations and a URL link to get the next set of results." + }, + "NspAssociationProperties": { + "type": "object", + "properties": { + "provisioningState": { + "readOnly": true, + "$ref": "#/definitions/NSPProvisioningState", + "description": "The provisioning state of the resource association resource." + }, + "privateLinkResource": { + "$ref": "./network.json#/definitions/SubResource", + "description": "The PaaS resource to be associated." + }, + "profile": { + "$ref": "./network.json#/definitions/SubResource", + "description": "Profile id to which the PaaS resource is associated." + }, + "accessMode": { + "type": "string", + "enum": [ + "Learning", + "Enforced", + "Audit" + ], + "x-ms-enum": { + "name": "AssociationAccessMode", + "modelAsString": true + }, + "description": "Access mode on the association." + }, + "hasProvisioningIssues": { + "readOnly": true, + "type": "string", + "description": "Specifies if there are provisioning issues" + } + } + }, + "NspAssociationReconcile": { + "type": "object", + "properties": {}, + "description": "Request object for NSP association." + }, + "PerimeterAssociableResource": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/PerimeterAssociableResourceProperties", + "description": "Properties of the perimeter associable resource." + }, + "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": { + "readOnly": true, + "type": "string", + "description": "Identifier of the perimeter associable resource." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Resource type." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "description": "Resource that is onboarded to use network security perimeter. Also referred as perimeter associable resource." + }, + "PerimeterAssociableResourcesListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/PerimeterAssociableResource" + }, + "description": "Gets paged list of perimeter associable resources." + }, + "nextLink": { + "type": "string", + "description": "Gets the URL to get the next page of results." + } + }, + "description": "Paged list of perimeter associable resources." + }, + "PerimeterAssociableResourceProperties": { + "type": "object", + "properties": { + "displayName": { + "readOnly": true, + "type": "string", + "description": "A friendly name for the properties of perimeter associable resources." + }, + "resourceType": { + "readOnly": true, + "type": "string", + "description": "Resource type/provider name." + }, + "publicDnsZones": { + "readOnly": true, + "type": "array", + "items": { + "type": "string" + }, + "description": "Public DNS zone names of the resources." + } + }, + "description": "Properties of the perimeter associable resources." + }, + "NSPProvisioningState": { + "type": "string", + "readOnly": true, + "description": "The current provisioning state.", + "enum": [ + "Succeeded", + "Creating", + "Updating", + "Deleting", + "Accepted", + "Failed" + ], + "x-ms-enum": { + "name": "nspProvisioningState", + "modelAsString": true + } + }, + "NSPLinkProvisioningState": { + "type": "string", + "readOnly": true, + "description": "The current provisioning state of NSP Link/LinkReference.", + "enum": [ + "Succeeded", + "Creating", + "Updating", + "Deleting", + "Accepted", + "Failed", + "WaitForRemoteCompletion" + ], + "x-ms-enum": { + "name": "nspLinkProvisioningState", + "modelAsString": true + } + }, + "NspAccessRuleReconcile": { + "type": "object", + "properties": {}, + "description": "Request object for NSP reconcile." + }, + "NspLink": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/NspLinkProperties", + "description": "Properties of the network security perimeter link resource." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/ProxyResource" + } + ], + "description": "The network security perimeter link resource" + }, + "NspLinkListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/NspLink" + }, + "description": "Gets a page of NSP Link resources." + }, + "nextLink": { + "type": "string", + "description": "Gets the URL to get the next page of results." + } + }, + "description": "Result of the request to list NSP link resources. Contains a list of NSP link resources and a URL link to get the next set of results." + }, + "NspLinkProperties": { + "type": "object", + "properties": { + "provisioningState": { + "readOnly": true, + "$ref": "#/definitions/NSPLinkProvisioningState", + "description": "The provisioning state of the NSP Link resource." + }, + "autoApprovedRemotePerimeterResourceId": { + "type": "string", + "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" + ] + }, + "remotePerimeterGuid": { + "readOnly": true, + "type": "string", + "description": "Remote NSP Guid with which the link gets created." + }, + "remotePerimeterLocation": { + "readOnly": true, + "type": "string", + "description": "Remote NSP location with which the link gets created." + }, + "localInboundProfiles": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Local Inbound profile names to which Inbound is allowed. Use ['*'] to allow inbound to all profiles. It's default value is ['*'].", + "uniqueItems": true + }, + "localOutboundProfiles": { + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true, + "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 + }, + "remoteInboundProfiles": { + "type": "array", + "items": { + "type": "string" + }, + "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. It's default value is ['*'].", + "uniqueItems": true + }, + "remoteOutboundProfiles": { + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true, + "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 + }, + "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": { + "type": "string", + "readOnly": true, + "description": "The NSP link state.", + "enum": [ + "Approved", + "Pending", + "Rejected", + "Disconnected" + ], + "x-ms-enum": { + "name": "nspLinkStatus", + "modelAsString": true + } + } + }, + "description": "Properties of NSP Link resource." + }, + "NspLinkReference": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/NspLinkReferenceProperties", + "description": "Properties of the network security perimeter linkReference resource." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/ProxyResource" + } + ], + "description": "The network security perimeter linkReference resource" + }, + "NspLinkReferenceListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/NspLinkReference" + }, + "description": "Gets a page of NSP LinkReference resources." + }, + "nextLink": { + "type": "string", + "description": "Gets the URL to get the next page of results." + } + }, + "description": "Result of the request to list NSP linkReference resources. Contains a list of NSP linkReference resources and a URL link to get the next set of results." + }, + "NspLinkReferenceProperties": { + "type": "object", + "properties": { + "provisioningState": { + "readOnly": true, + "$ref": "#/definitions/NSPLinkProvisioningState", + "description": "The provisioning state of the NSP LinkReference resource." + }, + "remotePerimeterResourceId": { + "readOnly": true, + "type": "string", + "description": "Perimeter ARM Id for the remote NSP with which the link is created." + }, + "remotePerimeterGuid": { + "readOnly": true, + "type": "string", + "description": "Remote NSP Guid with which the link is created." + }, + "remotePerimeterLocation": { + "readOnly": true, + "type": "string", + "description": "Remote NSP location with which the link gets created." + }, + "localInboundProfiles": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Local Inbound profile names to which Inbound is allowed. Use ['*'] to allow inbound to all profiles. It's default value is ['*'].", + "uniqueItems": true + }, + "localOutboundProfiles": { + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true, + "description": "Local Outbound profile names from which Outbound is allowed. Use ['*'] to allow outbound from all profiles. It's default value is ['*'].", + "uniqueItems": true + }, + "remoteInboundProfiles": { + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true, + "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 remote perimeter." + }, + "remoteOutboundProfiles": { + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true, + "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 remote perimeter." + }, + "description": { + "type": "string", + "readOnly": true, + "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'." + }, + "status": { + "type": "string", + "description": "The NSP linkReference state. It cannot be changed if link is created in auto-approval mode.", + "enum": [ + "Approved", + "Pending", + "Rejected", + "Disconnected" + ], + "x-ms-enum": { + "name": "nspLinkStatus", + "modelAsString": true + } + } + }, + "description": "Properties of NSP LinkReference resource." + } + }, + "parameters": { + "ResourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group.", + "x-ms-parameter-location": "method" + }, + "NetworkSecurityPerimeterNameParameter": { + "name": "networkSecurityPerimeterName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network security perimeter.", + "x-ms-parameter-location": "method" + }, + "ProfileNameParameter": { + "name": "profileName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the NSP profile.", + "x-ms-parameter-location": "method" + }, + "AccessRuleNameParameter": { + "name": "accessRuleName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the NSP access rule.", + "x-ms-parameter-location": "method" + }, + "AssociationNameParameter": { + "name": "associationName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the NSP association.", + "x-ms-parameter-location": "method" + }, + "LinkNameParameter": { + "name": "linkName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the NSP link.", + "x-ms-parameter-location": "method" + }, + "LinkReferenceNameParameter": { + "name": "linkReferenceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the NSP linkReference.", + "x-ms-parameter-location": "method" + }, + "ListTopParameter": { + "name": "$top", + "description": "An optional query parameter which specifies the maximum number of records to be returned by the server.", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "minimum": 1, + "maximum": 20, + "x-ms-parameter-location": "method" + }, + "ListSkipTokenParameter": { + "name": "$skipToken", + "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.", + "in": "query", + "required": false, + "type": "string", + "x-ms-parameter-location": "method" + }, + "NetworkSecurityPerimeterProfileParameter": { + "name": "networkSecurityPerimeterProfile", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network security perimeter profile.", + "x-ms-parameter-location": "method" + }, + "LocationParameter": { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "The location of network security perimeter.", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerActiveConnectivityConfigurationsList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerActiveConnectivityConfigurationsList.json new file mode 100644 index 000000000000..56911d99554c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerActiveConnectivityConfigurationsList.json @@ -0,0 +1,68 @@ +{ + "title": "Get Azure Virtual Network Manager Active Connectivity Configuration", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subscriptionA", + "resourceGroupName": "myResourceGroup", + "networkManagerName": "testNetworkManager", + "parameters": { + "regions": [ + "westus" + ], + "skipToken": "fakeSkipTokenCode" + } + }, + "responses": { + "200": { + "body": { + "value": [ + { + "region": "westus", + "commitTime": "2020-07-10T18:03:22.2578238+05:30", + "id": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/connectivityConfigurations/myTestConnectivityConfig", + "properties": { + "displayName": "myTestConnectivityConfig", + "description": "Sample Configuration", + "connectivityTopology": "HubAndSpoke", + "hubs": [ + { + "resourceId": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myTestConnectivityConfig", + "resourceType": "Microsoft.Network/virtualNetworks" + } + ], + "isGlobal": "True", + "deleteExistingPeering": "True", + "appliesToGroups": [ + { + "networkGroupId": "/subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/groups/group1", + "useHubGateway": "True", + "groupConnectivity": "None", + "isGlobal": "False" + } + ], + "provisioningState": "Succeeded" + }, + "configurationGroups": [ + { + "id": "/subscriptions/subscriptionA/resourceGroup/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1", + "properties": { + "displayName": "My Network Group", + "description": "A group for all test Virtual Networks", + "memberType": "Microsoft.Network/virtualNetworks", + "groupMembers": [ + { + "resourceId": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/virtualnetwork/vnet1" + } + ], + "conditionalMembership": "", + "provisioningState": "Succeeded" + } + } + ] + } + ], + "skipToken": "FakeSkipTokenCode" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerActiveSecurityAdminRulesList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerActiveSecurityAdminRulesList.json new file mode 100644 index 000000000000..40360627aab9 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerActiveSecurityAdminRulesList.json @@ -0,0 +1,84 @@ +{ + "title": "Get Azure Virtual Network Manager Active Security Admin Rules", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subscriptionA", + "resourceGroupName": "myResourceGroup", + "networkManagerName": "testNetworkManager", + "parameters": { + "regions": [ + "westus" + ], + "skipToken": "fakeSkipTokenCode" + } + }, + "responses": { + "200": { + "body": { + "value": [ + { + "region": "westus", + "commitTime": "2020-07-10T18:03:22.2578238+05:30", + "id": "/subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleAdminRule", + "configurationDisplayName": "SampleConfig", + "configurationDescription": "SampleDescription", + "ruleCollectionDisplayName": "SampleRuleCollection", + "ruleCollectionDescription": "SampleRuleCollectionDescription", + "ruleCollectionAppliesToGroups": [ + { + "networkGroupId": "/subscriptions/subscriptionA/resourceGroup/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1" + } + ], + "kind": "Default", + "properties": { + "displayName": "SampleAdminRule", + "description": "Sample Admin Rule", + "flag": "AllowVnetInbound", + "protocol": "Tcp", + "sources": [ + { + "addressPrefixType": "IPPrefix", + "addressPrefix": "*" + } + ], + "destinations": [ + { + "addressPrefixType": "IPPrefix", + "addressPrefix": "*" + } + ], + "sourcePortRanges": [ + "0-65535" + ], + "destinationPortRanges": [ + "22" + ], + "direction": "Inbound", + "access": "Deny", + "priority": 1, + "provisioningState": "Succeeded" + }, + "ruleGroups": [ + { + "id": "/subscriptions/subscriptionA/resourceGroup/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1", + "properties": { + "displayName": "My Network Group", + "description": "A group for all test Virtual Networks", + "memberType": "Microsoft.Network/virtualNetworks", + "groupMembers": [ + { + "resourceId": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/virtualnetwork/vnet1" + } + ], + "conditionalMembership": "", + "provisioningState": "Succeeded" + } + } + ] + } + ], + "skipToken": "FakeSkipTokenCode" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerActiveSecurityUserRulesList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerActiveSecurityUserRulesList.json new file mode 100644 index 000000000000..41aa16fdca54 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerActiveSecurityUserRulesList.json @@ -0,0 +1,81 @@ +{ + "title": "Get Azure Virtual Network Manager Active Security User Rules", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subscriptionA", + "resourceGroupName": "myResourceGroup", + "networkManagerName": "testNetworkManager", + "parameters": { + "regions": [ + "westus" + ], + "skipToken": "fakeSkipTokenCode" + } + }, + "responses": { + "200": { + "body": { + "value": [ + { + "region": "westus", + "commitTime": "2020-07-10T18:03:22.2578238+05:30", + "id": "/subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/securityUserConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleUserRule", + "configurationDisplayName": "SampleConfig", + "configurationDescription": "SampleDescription", + "ruleCollectionDisplayName": "SampleRuleCollection", + "ruleCollectionDescription": "SampleRuleCollectionDescription", + "ruleCollectionAppliesToGroups": [ + { + "networkGroupId": "/subscriptions/subscriptionA/resourceGroup/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1" + } + ], + "kind": "Custom", + "properties": { + "displayName": "SampleUserRule", + "description": "Sample User Rule", + "protocol": "Tcp", + "sources": [ + { + "addressPrefixType": "IPPrefix", + "addressPrefix": "*" + } + ], + "destinations": [ + { + "addressPrefixType": "IPPrefix", + "addressPrefix": "*" + } + ], + "sourcePortRanges": [ + "0-65535" + ], + "destinationPortRanges": [ + "22" + ], + "direction": "Inbound", + "provisioningState": "Succeeded" + }, + "ruleGroups": [ + { + "id": "/subscriptions/subscriptionA/resourceGroup/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1", + "properties": { + "displayName": "My Network Group", + "description": "A group for all test Virtual Networks", + "memberType": "Microsoft.Network/virtualNetworks", + "groupMembers": [ + { + "resourceId": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/virtualnetwork/vnet1" + } + ], + "conditionalMembership": "", + "provisioningState": "Succeeded" + } + } + ] + } + ], + "skipToken": "FakeSkipTokenCode" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerAdminRuleCollectionDelete.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerAdminRuleCollectionDelete.json new file mode 100644 index 000000000000..200dc0249bc9 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerAdminRuleCollectionDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkManagerName": "testNetworkManager", + "configurationName": "myTestSecurityConfig", + "ruleCollectionName": "testRuleCollection" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerAdminRuleCollectionGet.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerAdminRuleCollectionGet.json new file mode 100644 index 000000000000..d17b0c5e7817 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerAdminRuleCollectionGet.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkManagerName": "testNetworkManager", + "ruleCollectionName": "testRuleCollection", + "configurationName": "myTestSecurityConfig" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection", + "name": "testRuleCollection", + "type": "Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "displayName": "testRuleCollection", + "description": "A sample rule collection", + "provisioningState": "Succeeded", + "appliesToGroups": [ + { + "networkGroupId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" + } + ] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerAdminRuleCollectionList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerAdminRuleCollectionList.json new file mode 100644 index 000000000000..34cfcf4f51f7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerAdminRuleCollectionList.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkManagerName": "testNetworkManager", + "configurationName": "myTestSecurityConfig" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection", + "name": "testRuleCollection", + "type": "Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "displayName": "testRuleCollection", + "description": "A sample rule collection", + "provisioningState": "Succeeded", + "appliesToGroups": [ + { + "networkGroupId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" + } + ] + } + } + ], + "nextLink": "{baseurl}/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections?api-version=2021-02-01-preview&$skipToken=10" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerAdminRuleCollectionPut.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerAdminRuleCollectionPut.json new file mode 100644 index 000000000000..b3c85257c820 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerAdminRuleCollectionPut.json @@ -0,0 +1,72 @@ +{ + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "configurationName": "myTestSecurityConfig", + "networkManagerName": "testNetworkManager", + "ruleCollectionName": "testRuleCollection", + "ruleCollection": { + "properties": { + "description": "A sample policy", + "appliesToGroups": [ + { + "networkGroupId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManager/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection", + "name": "myTestSecurityConfig", + "type": "Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "displayName": "myTestSecurityConfig", + "description": "A sample policy", + "provisioningState": "Succeeded", + "appliesToGroups": [ + { + "networkGroupId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" + } + ] + } + } + }, + "201": { + "body": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManager/testNetworkManager/securityConfigurations/myTestSecurityConfig", + "name": "myTestSecurityConfig", + "type": "Microsoft.Network/networkManagers/securityAdminConfigurations", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "displayName": "myTestSecurityConfig", + "description": "A sample policy", + "provisioningState": "Succeeded", + "appliesToGroups": [ + { + "networkGroupId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" + } + ] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerAdminRuleDelete.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerAdminRuleDelete.json new file mode 100644 index 000000000000..f8cc0dfa5d1d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerAdminRuleDelete.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "configurationName": "myTestSecurityConfig", + "networkManagerName": "testNetworkManager", + "ruleCollectionName": "testRuleCollection", + "ruleName": "SampleAdminRule" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerAdminRuleGet.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerAdminRuleGet.json new file mode 100644 index 000000000000..a7dea3683b32 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerAdminRuleGet.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "configurationName": "myTestSecurityConfig", + "networkManagerName": "testNetworkManager", + "ruleCollectionName": "testRuleCollection", + "ruleName": "SampleAdminRule" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleAdminRule", + "type": "Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections/rules", + "name": "SampleAdminRule", + "kind": "Custom", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "displayName": "SampleAdminRule", + "description": "This is Sample Admin Rule", + "protocol": "Tcp", + "sources": [ + { + "addressPrefixType": "IPPrefix", + "addressPrefix": "*" + } + ], + "destinations": [ + { + "addressPrefixType": "IPPrefix", + "addressPrefix": "*" + } + ], + "sourcePortRanges": [ + "0-65535" + ], + "destinationPortRanges": [ + "22" + ], + "access": "Deny", + "priority": 1, + "direction": "Inbound", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerAdminRuleList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerAdminRuleList.json new file mode 100644 index 000000000000..38f8fef50044 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerAdminRuleList.json @@ -0,0 +1,59 @@ +{ + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkManagerName": "testNetworkManager", + "ruleCollectionName": "testRuleCollection", + "configurationName": "myTestSecurityConfig" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkmanagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleAdminRule", + "type": "Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections/rules", + "name": "SampleAdminRule", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "kind": "Custom", + "properties": { + "description": "This is Sample Admin Rule", + "protocol": "Tcp", + "sources": [ + { + "addressPrefixType": "IPPrefix", + "addressPrefix": "*" + } + ], + "destinations": [ + { + "addressPrefixType": "IPPrefix", + "addressPrefix": "*" + } + ], + "sourcePortRanges": [ + "0-65535" + ], + "destinationPortRanges": [ + "22" + ], + "access": "Deny", + "priority": 1, + "direction": "Inbound", + "provisioningState": "Succeeded" + } + } + ], + "nextLink": "{baseurl}/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkManagers/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules?api-version=2021-02-01-preview&$skipToken=10" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerAdminRulePut.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerAdminRulePut.json new file mode 100644 index 000000000000..7d38b0c7d5cf --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerAdminRulePut.json @@ -0,0 +1,125 @@ +{ + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkManagerName": "testNetworkManager", + "configurationName": "myTestSecurityConfig", + "ruleCollectionName": "testRuleCollection", + "ruleName": "SampleAdminRule", + "adminRule": { + "kind": "Custom", + "properties": { + "description": "This is Sample Admin Rule", + "protocol": "Tcp", + "sources": [ + { + "addressPrefixType": "ServiceTag", + "addressPrefix": "Internet" + } + ], + "destinations": [ + { + "addressPrefixType": "IPPrefix", + "addressPrefix": "*" + } + ], + "sourcePortRanges": [ + "0-65535" + ], + "destinationPortRanges": [ + "22" + ], + "access": "Deny", + "priority": 1, + "direction": "Inbound" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleAdminRule", + "type": "Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections/rules", + "name": "SampleAdminRule", + "kind": "Custom", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "description": "This is Sample Admin Rule", + "protocol": "Tcp", + "sources": [ + { + "addressPrefixType": "ServiceTag", + "addressPrefix": "Internet" + } + ], + "destinations": [ + { + "addressPrefixType": "IPPrefix", + "addressPrefix": "*" + } + ], + "sourcePortRanges": [ + "0-65535" + ], + "destinationPortRanges": [ + "22" + ], + "access": "Deny", + "priority": 1, + "direction": "Inbound", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/rules/SampleAdminRule", + "type": "Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections/rules", + "name": "SampleAdminRule", + "kind": "Custom", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "description": "This is Sample Admin Rule", + "protocol": "Tcp", + "sources": [ + { + "addressPrefixType": "ServiceTag", + "addressPrefix": "Internet" + } + ], + "destinations": [ + { + "addressPrefixType": "IPPrefix", + "addressPrefix": "*" + } + ], + "sourcePortRanges": [ + "0-65535" + ], + "destinationPortRanges": [ + "22" + ], + "access": "Deny", + "priority": 1, + "direction": "Inbound", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerCommitPost.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerCommitPost.json new file mode 100644 index 000000000000..c079fa9aa503 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerCommitPost.json @@ -0,0 +1,32 @@ +{ + "title": "Post Azure Virtual Network Manager Commit", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subscriptionC", + "resourceGroupName": "resoureGroupSample", + "networkManagerName": "testNetworkManager", + "parameters": { + "targetLocations": [ + "useast" + ], + "configurationIds": [ + "/subscriptions/subscriptionC/resourceGroups/resoureGroupSample/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/SampleSecurityAdminConfig" + ], + "commitType": "SecurityAdmin" + } + }, + "responses": { + "202": { + "body": { + "commitId": "testCommitId", + "targetLocations": [ + "useast" + ], + "configurationIds": [ + "/subscriptions/subscriptionC/resourceGroups/resoureGroupSample/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/SampleSecurityAdminConfig" + ], + "commitType": "SecurityAdmin" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerConnectivityConfigurationDelete.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerConnectivityConfigurationDelete.json new file mode 100644 index 000000000000..7022bcd7539b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerConnectivityConfigurationDelete.json @@ -0,0 +1,14 @@ +{ + "title": "Get Azure Virtual Network Manager Connectivity Configuration", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subscriptionA", + "resourceGroupName": "myResourceGroup", + "networkManagerName": "testNetworkManager", + "configurationName": "myTestConnectivityConfig" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerConnectivityConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerConnectivityConfigurationGet.json new file mode 100644 index 000000000000..c893db0c2a36 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerConnectivityConfigurationGet.json @@ -0,0 +1,49 @@ +{ + "title": "Get Azure Virtual Network Manager Connectivity Configuration", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subscriptionA", + "resourceGroupName": "myResourceGroup", + "networkManagerName": "testNetworkManager", + "configurationName": "myTestConnectivityConfig" + }, + "responses": { + "200": { + "body": { + "name": "myTestConnectivityConfig", + "id": "/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/connectivityConfigurations/myTestConnectivityConfig", + "type": "Microsoft.Network/networkManagers/connectivityConfigurations", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "displayName": "myTestConnectivityConfig", + "description": "Sample Configuration", + "connectivityTopology": "HubAndSpoke", + "hubs": [ + { + "resourceId": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myHubVnet", + "resourceType": "Microsoft.Network/virtualNetworks" + } + ], + "isGlobal": "True", + "deleteExistingPeering": "True", + "appliesToGroups": [ + { + "networkGroupId": "/subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1", + "useHubGateway": "True", + "groupConnectivity": "None", + "isGlobal": "False" + } + ], + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerConnectivityConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerConnectivityConfigurationList.json new file mode 100644 index 000000000000..b3eeedcce836 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerConnectivityConfigurationList.json @@ -0,0 +1,53 @@ +{ + "title": "Get Azure Virtual Network Manager Connecitivity Configuration List", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subscriptionA", + "resourceGroupName": "myResourceGroup", + "networkManagerName": "testNetworkManager" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "myTestConnectivityConfig", + "id": "subscription/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/connectivityConfigurations/myTestConnectivityConfig", + "type": "Microsoft.Network/networkManagers/connectivityConfigurations", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "displayName": "myTestConnectivityConfig", + "description": "Sample Configuration", + "connectivityTopology": "HubAndSpoke", + "hubs": [ + { + "resourceId": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myHubVnet", + "resourceType": "Microsoft.Network/virtualNetworks" + } + ], + "deleteExistingPeering": "True", + "isGlobal": "True", + "appliesToGroups": [ + { + "networkGroupId": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/netwrokGroups/group1", + "useHubGateway": "True", + "groupConnectivity": "None", + "isGlobal": "False" + } + ], + "provisioningState": "Succeeded" + } + } + ], + "nextLink": "{baseurl}/subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/managedNetworks/testNetworkManager/connectivityConfigurations?api-version=2021-02-01-preview&$skipToken=10" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerConnectivityConfigurationPut.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerConnectivityConfigurationPut.json new file mode 100644 index 000000000000..dee544021977 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerConnectivityConfigurationPut.json @@ -0,0 +1,109 @@ +{ + "title": "Create/Update Azure Virtual Network Manager Connectivity Configuration", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subscriptionA", + "resourceGroupName": "myResourceGroup", + "networkManagerName": "testNetworkManager", + "configurationName": "myTestConnectivityConfig", + "connectivityConfiguration": { + "properties": { + "displayName": "myTestConnectivityConfig", + "description": "Sample Configuration", + "connectivityTopology": "HubAndSpoke", + "hubs": [ + { + "resourceId": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myTestConnectivityConfig", + "resourceType": "Microsoft.Network/virtualNetworks" + } + ], + "deleteExistingPeering": "True", + "isGlobal": "True", + "appliesToGroups": [ + { + "networkGroupId": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1", + "useHubGateway": "True", + "groupConnectivity": "None", + "isGlobal": "False" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "name": "myTestConnectivityConfig", + "id": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/connectivityConfigurations/myTestConnectivityConfig", + "type": "Microsoft.Network/networkManagers/connectivityConfigurations", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "displayName": "myTestConnectivityConfig", + "description": "Sample Connectivity Configuration", + "connectivityTopology": "HubAndSpoke", + "hubs": [ + { + "resourceId": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myTestConnectivityConfig", + "resourceType": "Microsoft.Network/virtualNetworks" + } + ], + "deleteExistingPeering": "True", + "isGlobal": "True", + "appliesToGroups": [ + { + "networkGroupId": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/groups/group1", + "useHubGateway": "True", + "groupConnectivity": "None", + "isGlobal": "False" + } + ], + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "name": "myTestConnectivityConfig", + "id": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/connectivityConfigurations/myTestConnectivityConfig", + "type": "Microsoft.Network/networkManagers/connectivityConfigurations", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "displayName": "myTestConnectivityConfig", + "description": "Sample Configuration", + "connectivityTopology": "HubAndSpoke", + "hubs": [ + { + "resourceId": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myTestConnectivityConfig", + "resourceType": "Microsoft.Network/virtualNetworks" + } + ], + "deleteExistingPeering": "True", + "isGlobal": "True", + "appliesToGroups": [ + { + "networkGroupId": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1", + "useHubGateway": "True", + "groupConnectivity": "None", + "isGlobal": "False" + } + ], + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerDefaultAdminRuleGet.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerDefaultAdminRuleGet.json new file mode 100644 index 000000000000..cffdf54e631f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerDefaultAdminRuleGet.json @@ -0,0 +1,57 @@ +{ + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "configurationName": "myTestSecurityConfig", + "networkManagerName": "testNetworkManager", + "ruleCollectionName": "testRuleCollection", + "ruleName": "SampleDefaultAdminRule" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleDefaultAdminRule", + "type": "Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections/rules", + "name": "SampleDefaultAdminRule", + "kind": "Default", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "flag": "AllowVnetInbound", + "displayName": "SampleDefaultAdminRule", + "description": "This is Sample Default Admin Rule", + "protocol": "Tcp", + "sources": [ + { + "addressPrefixType": "IPPrefix", + "addressPrefix": "*" + } + ], + "destinations": [ + { + "addressPrefixType": "IPPrefix", + "addressPrefix": "*" + } + ], + "sourcePortRanges": [ + "0-65535" + ], + "destinationPortRanges": [ + "22" + ], + "access": "Deny", + "priority": 1, + "direction": "Inbound", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerDefaultAdminRulePut.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerDefaultAdminRulePut.json new file mode 100644 index 000000000000..224559196dc7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerDefaultAdminRulePut.json @@ -0,0 +1,105 @@ +{ + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkManagerName": "testNetworkManager", + "configurationName": "myTestSecurityConfig", + "ruleCollectionName": "testRuleCollection", + "ruleName": "SampleDefaultAdminRule", + "adminRule": { + "kind": "Default", + "properties": { + "flag": "AllowVnetInbound" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleDefaultAdminRule", + "type": "Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections/rules", + "name": "SampleDefaultAdminRule", + "kind": "Default", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "flag": "AllowVnetInbound", + "description": "This is Sample Default Admin Rule", + "protocol": "Tcp", + "sources": [ + { + "addressPrefixType": "ServiceTag", + "addressPrefix": "Internet" + } + ], + "destinations": [ + { + "addressPrefixType": "IPPrefix", + "addressPrefix": "*" + } + ], + "sourcePortRanges": [ + "0-65535" + ], + "destinationPortRanges": [ + "22" + ], + "access": "Deny", + "priority": 1, + "direction": "Inbound", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/rules/SampleDefaultAdminRule", + "type": "Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections/rules", + "name": "SampleDefaultAdminRule", + "kind": "Default", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "flag": "AllowVnetInbound", + "description": "This is Sample Default Admin Rule", + "protocol": "Tcp", + "sources": [ + { + "addressPrefixType": "ServiceTag", + "addressPrefix": "Internet" + } + ], + "destinations": [ + { + "addressPrefixType": "IPPrefix", + "addressPrefix": "*" + } + ], + "sourcePortRanges": [ + "0-65535" + ], + "destinationPortRanges": [ + "22" + ], + "access": "Deny", + "priority": 1, + "direction": "Inbound", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerDefaultUserRuleGet.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerDefaultUserRuleGet.json new file mode 100644 index 000000000000..c8adcacd2598 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerDefaultUserRuleGet.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "ruleCollectionName": "testRuleCollection", + "configurationName": "myTestSecurityConfig", + "networkManagerName": "testNetworkManager", + "ruleName": "SampleDefaultUserRule" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/SecurityUserConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleDefaultUserRule", + "type": "Microsoft.Network/networkManagers/SecurityUserConfigurations/ruleCollections/rules", + "name": "SampleDefaultUserRule", + "kind": "Default", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "flag": "AllowVnetInbound", + "displayName": "SampleDefaultUserRule", + "description": "Sample Default User Rule", + "protocol": "Tcp", + "sources": [ + { + "addressPrefixType": "IPPrefix", + "addressPrefix": "*" + } + ], + "destinations": [ + { + "addressPrefixType": "IPPrefix", + "addressPrefix": "*" + } + ], + "sourcePortRanges": [ + "0-65535" + ], + "destinationPortRanges": [ + "22" + ], + "direction": "Inbound", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerDefaultUserRulePut.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerDefaultUserRulePut.json new file mode 100644 index 000000000000..63ad4ba63cda --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerDefaultUserRulePut.json @@ -0,0 +1,101 @@ +{ + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkManagerName": "testNetworkManager", + "configurationName": "myTestSecurityConfig", + "ruleCollectionName": "testRuleCollection", + "ruleName": "SampleDefaultUserRule", + "userRule": { + "kind": "Default", + "properties": { + "flag": "AllowVnetInbound" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/SecurityUserConfigurations/Policy1/ruleCollections/testRuleCollection/rules/SampleUserRule", + "type": "Microsoft.Network/networkManagers/securityUserConfigurations/ruleCollections/rules", + "name": "SampleDefaultUserRule", + "kind": "Default", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "flag": "AllowVnetInbound", + "description": "Sample Default User Rule", + "protocol": "Tcp", + "sources": [ + { + "addressPrefixType": "IPPrefix", + "addressPrefix": "*" + } + ], + "destinations": [ + { + "addressPrefixType": "IPPrefix", + "addressPrefix": "*" + } + ], + "sourcePortRanges": [ + "0-65535" + ], + "destinationPortRanges": [ + "22" + ], + "direction": "Inbound", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityUserConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleDefaultUserRule", + "type": "Microsoft.Network/networkManagers/securityUserConfigurations/ruleCollections/rules", + "name": "SampleDefaultUserRule", + "kind": "Default", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "flag": "AllowVnetInbound", + "description": "Sample User Rule", + "protocol": "Tcp", + "sources": [ + { + "addressPrefixType": "IPPrefix", + "addressPrefix": "*" + } + ], + "destinations": [ + { + "addressPrefixType": "IPPrefix", + "addressPrefix": "*" + } + ], + "sourcePortRanges": [ + "0-65535" + ], + "destinationPortRanges": [ + "22" + ], + "direction": "Inbound", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerDelete.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerDelete.json new file mode 100644 index 000000000000..57986cdd8548 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerDelete.json @@ -0,0 +1,13 @@ +{ + "title": "Delete Azure Virtual Network Manager", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkManagerName": "testNetworkManager" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerDeploymentStatusList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerDeploymentStatusList.json new file mode 100644 index 000000000000..9f0bec264fd2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerDeploymentStatusList.json @@ -0,0 +1,51 @@ +{ + "title": "Post Azure Virtual Network Manager Deployment Status", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subscriptionC", + "resourceGroupName": "resoureGroupSample", + "networkManagerName": "testNetworkManager", + "parameters": { + "regions": [ + "eastus", + "westus" + ], + "deploymentTypes": [ + "Connectivity", + "AdminPolicy" + ], + "skipToken": "FakeSkipTokenCode" + } + }, + "responses": { + "200": { + "body": { + "value": [ + { + "deploymentType": "AdminPolicy", + "configurationIds": [ + "SecConfig1", + "SecConfig2" + ], + "commitTime": "2021-01-26T06:58:50.883Z", + "region": "eastus", + "deploymentStatus": "Deploying", + "errorMessage": "" + }, + { + "deploymentType": "Connectivity", + "configurationIds": [ + "ConnConfig1", + "ConnConfig2" + ], + "commitTime": "2021-01-26T06:58:50.883Z", + "region": "eastus", + "deploymentStatus": "Deployed", + "errorMessage": "" + } + ], + "skipToken": "NextFakeSkipTokenCode" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerEffectiveConnectivityConfigurationsList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerEffectiveConnectivityConfigurationsList.json new file mode 100644 index 000000000000..0ba12cb2a778 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerEffectiveConnectivityConfigurationsList.json @@ -0,0 +1,63 @@ +{ + "title": "List Azure Virtual Network Manager Effective Configuration", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subscriptionA", + "resourceGroupName": "myResourceGroup", + "virtualNetworkName": "testVirtualNetwork", + "parameters": { + "skipToken": "FakeSkipTokenCode" + } + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/connectivityConfigurations/myTestConnectivityConfig", + "properties": { + "displayName": "myTestConnectivityConfig", + "description": "Sample Configuration", + "connectivityTopology": "HubAndSpoke", + "hubs": [ + { + "resourceId": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myHubVnet", + "resourceType": "Microsoft.Network/virtualNetworks" + } + ], + "isGlobal": "True", + "deleteExistingPeering": "True", + "appliesToGroups": [ + { + "networkGroupId": "/subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/groups/group1", + "useHubGateway": "True", + "groupConnectivity": "None", + "isGlobal": "False" + } + ], + "provisioningState": "Succeeded" + }, + "configurationGroups": [ + { + "id": "/subscriptions/subscriptionA/resourceGroup/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1", + "properties": { + "displayName": "My Network Group", + "description": "A group for all test Virtual Networks", + "memberType": "Microsoft.Network/virtualNetworks", + "groupMembers": [ + { + "resourceId": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/virtualnetwork/vnet1" + } + ], + "conditionalMembership": "", + "provisioningState": "Succeeded" + } + } + ] + } + ], + "skipToken": "FakeSkipTokenCode" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerEffectiveSecurityAdminRulesList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerEffectiveSecurityAdminRulesList.json new file mode 100644 index 000000000000..d0f8644289f2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerEffectiveSecurityAdminRulesList.json @@ -0,0 +1,79 @@ +{ + "title": "List Azure Virtual Network Manager Effective Configuration", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subscriptionA", + "resourceGroupName": "myResourceGroup", + "virtualNetworkName": "testVirtualNetwork", + "parameters": { + "skipToken": "FakeSkipTokenCode" + } + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleAdminRule", + "configurationDisplayName": "SampleConfig", + "configurationDescription": "SampleDescription", + "ruleCollectionDisplayName": "SampleRuleCollection", + "ruleCollectionDescription": "SampleRuleCollectionDescription", + "ruleCollectionAppliesToGroups": [ + { + "networkGroupId": "/subscriptions/subscriptionA/resourceGroup/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1" + } + ], + "kind": "Default", + "properties": { + "displayName": "SampleAdminRule", + "description": "Sample Admin Rule", + "flag": "AllowVnetInbound", + "protocol": "Tcp", + "sources": [ + { + "addressPrefixType": "IPPrefix", + "addressPrefix": "*" + } + ], + "destinations": [ + { + "addressPrefixType": "IPPrefix", + "addressPrefix": "*" + } + ], + "sourcePortRanges": [ + "0-65535" + ], + "destinationPortRanges": [ + "22" + ], + "direction": "Inbound", + "access": "Deny", + "priority": 1, + "provisioningState": "Succeeded" + }, + "ruleGroups": [ + { + "id": "/subscriptions/subscriptionA/resourceGroup/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1", + "properties": { + "displayName": "My Network Group", + "description": "A group for all test Virtual Networks", + "memberType": "VirtualNetwork", + "groupMembers": [ + { + "resourceId": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/virtualnetwork/vnet1" + } + ], + "conditionalMembership": "", + "provisioningState": "Succeeded" + } + } + ] + } + ], + "skipToken": "FakeSkipTokenCode" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerEffectiveVirtualNetworksList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerEffectiveVirtualNetworksList.json new file mode 100644 index 000000000000..0434514f8011 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerEffectiveVirtualNetworksList.json @@ -0,0 +1,27 @@ +{ + "title": "List Effective Virtual Networks List By Network Groups", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subscriptionC", + "resourceGroupName": "rg1", + "networkManagerName": "testNetworkManager", + "networkGroupName": "TestNetworkGroup", + "parameters": { + "skipToken": "FakeSkipTokenCode" + } + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subscriptionC/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/testNetworkManager", + "location": "useast2", + "membershipType": "Static" + } + ], + "skipToken": "NextFakeSkipTokenCode" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerEffectiveVirtualNetworksListByNetworkManager.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerEffectiveVirtualNetworksListByNetworkManager.json new file mode 100644 index 000000000000..dee2ec946812 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerEffectiveVirtualNetworksListByNetworkManager.json @@ -0,0 +1,27 @@ +{ + "title": "List Effective Virtual Networks List By Network Groups", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subscriptionC", + "resourceGroupName": "rg1", + "networkManagerName": "testNetworkManager", + "parameters": { + "conditionalMembers": "location='useast2'", + "skipToken": "FakeSkipTokenCode" + } + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subscriptionC/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/testNetworkManager", + "location": "useast2", + "membershipType": "Static" + } + ], + "skipToken": "NextFakeSkipTokenCode" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerGet.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerGet.json new file mode 100644 index 000000000000..12e7364dd843 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerGet.json @@ -0,0 +1,42 @@ +{ + "title": "Get Azure Virtual Network Manager", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subscriptionC", + "resourceGroupName": "rg1", + "networkManagerName": "testNetworkManager" + }, + "responses": { + "200": { + "body": { + "name": "testNetworkManager", + "id": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager", + "type": "Microsoft.Network/networkManagers", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "displayName": "TestNetworkManager", + "description": "My Test Network Manager", + "networkManagerScopes": { + "managementGroups": [ + "/providers/Microsoft.Management/managementGroups/sampleMG" + ], + "subscriptions": [ + "/subscriptions/00000000-0000-0000-0000-000000000000" + ] + }, + "networkManagerScopeAccesses": [ + "SecurityAdmin" + ], + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerGroupDelete.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerGroupDelete.json new file mode 100644 index 000000000000..2e8b3e1d8237 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerGroupDelete.json @@ -0,0 +1,14 @@ +{ + "title": "Delete Azure Virtual Network Manager Group", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkManagerName": "testNetworkManager", + "networkGroupName": "TestNetworkGroup" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerGroupGet.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerGroupGet.json new file mode 100644 index 000000000000..e69da703e107 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerGroupGet.json @@ -0,0 +1,39 @@ +{ + "title": "Get Azure Virtual Network Manager Network Group", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subscriptionC", + "resourceGroupName": "rg1", + "networkManagerName": "testNetworkManager", + "networkGroupName": "TestNetworkGroup" + }, + "responses": { + "200": { + "body": { + "name": "TestNetworkGroup", + "id": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/TestNetworkGroup", + "type": "Microsoft.Network/networkManagers/networkGroups", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "displayName": "My Network Group", + "description": "A sample group", + "memberType": "VirtualNetwork", + "groupMembers": [ + { + "resourceId": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/virtualnetworks/vnet1" + } + ], + "conditionalMembership": "", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerGroupList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerGroupList.json new file mode 100644 index 000000000000..5e4dd8701d5c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerGroupList.json @@ -0,0 +1,43 @@ +{ + "title": "List Azure Virtual Network Manager Network Groups", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subscriptionC", + "resourceGroupName": "rg1", + "networkManagerName": "testNetworkManager" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "TestNetworkGroup", + "id": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/TestNetworkGroup", + "type": "Microsoft.Network/networkManagers/networkGroups", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "displayName": "My Network Group", + "description": "A sample group", + "memberType": "VirtualNetwork", + "groupMembers": [ + { + "resourceId": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/virtualnetworks/vnet1" + } + ], + "conditionalMembership": "", + "provisioningState": "Succeeded" + } + } + ], + "nextLink": "{baseurl}/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups?api-version=2021-02-01-preview&$skipToken=10" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerGroupPut.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerGroupPut.json new file mode 100644 index 000000000000..fc7ae985854d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerGroupPut.json @@ -0,0 +1,85 @@ +{ + "title": "Create/Update Azure Virtual Network Manager Network Group", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subscriptionC", + "resourceGroupName": "rg1", + "networkManagerName": "testNetworkManager", + "networkGroupName": "TestNetworkGroup", + "parameters": { + "properties": { + "displayName": "My Network Group", + "description": "A sample group", + "memberType": "VirtualNetwork", + "groupMembers": [ + { + "resourceId": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/virtualnetworks/vnet1" + } + ], + "conditionalMembership": "" + } + } + }, + "responses": { + "200": { + "headers": { + "ETag": "be3cfaa2-3d02-4624-92d7-a26766306c8b" + }, + "body": { + "name": "TestNetworkGroup", + "id": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/TestNetworkGroup", + "type": "Microsoft.Network/networkManagers/networkGroups", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "displayName": "My Network Group", + "description": "A sample group", + "memberType": "VirtualNetwork", + "groupMembers": [ + { + "resourceId": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/virtualnetworks/vnet1" + } + ], + "conditionalMembership": "", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "headers": { + "ETag": "be3cfaa2-3d02-4624-92d7-a26766306c8b" + }, + "body": { + "name": "TestNetworkGroup", + "id": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/TestNetworkGroup", + "type": "Microsoft.Network/networkManagers/networkGroups", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "displayName": "My Network Group", + "description": "A sample group", + "memberType": "VirtualNetwork", + "groupMembers": [ + { + "resourceId": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/virtualnetwork/vnet1" + } + ], + "conditionalMembership": "", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerList.json new file mode 100644 index 000000000000..52a446ed3473 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerList.json @@ -0,0 +1,47 @@ +{ + "title": "List Azure Virtual Network Manager", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subscriptionC", + "resourceGroupName": "rg1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testNetworkManager", + "id": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager", + "type": "Microsoft.Network/networkManagers", + "etag": "sadf-asdf-asdf-asdf", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "displayName": "TestNetworkManager", + "description": "My Test Network Manager", + "networkManagerScopes": { + "managementGroups": [ + "/providers/Microsoft.Management/managementGroups/sampleMG" + ], + "subscriptions": [ + "/subscriptions/00000000-0000-0000-0000-000000000000" + ] + }, + "networkManagerScopeAccesses": [ + "Connectivity" + ], + "provisioningState": "Succeeded" + } + } + ], + "nextLink": "{baseurl}/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers?api-version=2021-02-01-preview&$skipToken=10" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerListAll.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerListAll.json new file mode 100644 index 000000000000..335c3598212a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerListAll.json @@ -0,0 +1,46 @@ +{ + "title": "List Azure Virtual Network Manager in Subscription", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subscriptionC" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testNetworkManager", + "id": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager", + "type": "Microsoft.Network/networkManagers", + "etag": "sadf-asdf-asdf-asdf", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "displayName": "TestNetworkManager", + "description": "My Test Network Manager", + "networkManagerScopes": { + "managementGroups": [ + "/providers/Microsoft.Management/managementGroups/sampleMG" + ], + "subscriptions": [ + "/subscriptions/00000000-0000-0000-0000-000000000000" + ] + }, + "networkManagerScopeAccesses": [ + "SecurityAdmin" + ], + "provisioningState": "Succeeded" + } + } + ], + "nextLink": "{baseurl}/subscriptions/subscriptionC/providers/Microsoft.Network/networkManagers?api-version=2021-02-01-preview&$skipToken=10" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerPatch.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerPatch.json new file mode 100644 index 000000000000..716eaaf4dba8 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerPatch.json @@ -0,0 +1,54 @@ +{ + "title": "Patch Managed Network Tags", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subscriptionC", + "resourceGroupName": "rg1", + "networkManagerName": "testNetworkManager", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "name": "testNetworkManager", + "id": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager", + "type": "Microsoft.Network/networkManager", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "location": "westus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "displayName": "TestNetworkManager", + "description": "My Test Network Manager", + "networkManagerScopes": { + "managementGroups": [ + "/providers/Microsoft.Management/managementGroups/sampleMG" + ], + "subscriptions": [ + "/subscriptions/00000000-0000-0000-0000-000000000000" + ] + }, + "networkManagerScopeAccesses": [ + "SecurityAdmin" + ], + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerPut.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerPut.json new file mode 100644 index 000000000000..e7f8a08f7ee2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerPut.json @@ -0,0 +1,92 @@ +{ + "title": "Create/Update Azure Virtual Network Manager", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subscriptionC", + "resourceGroupName": "rg1", + "networkManagerName": "TestNetworkManager", + "parameters": { + "properties": { + "displayName": "TestNetworkManager", + "description": "My Test Network Manager", + "networkManagerScopes": { + "managementGroups": [ + "/providers/Microsoft.Management/managementGroups/sampleMG" + ], + "subscriptions": [ + "/subscriptions/00000000-0000-0000-0000-000000000000" + ] + }, + "networkManagerScopeAccesses": [ + "Connectivity" + ] + } + } + }, + "responses": { + "200": { + "body": { + "name": "TestNetworkManager", + "id": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/TestNetworkManager", + "type": "Microsoft.Network/networkManagers", + "etag": "sadf-asdf-asdf-asdf", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "displayName": "TestNetworkManager", + "description": "My Test Network Manager", + "networkManagerScopes": { + "managementGroups": [ + "/providers/Microsoft.Management/managementGroups/sampleMG" + ], + "subscriptions": [ + "/subscriptions/00000000-0000-0000-0000-000000000000" + ] + }, + "networkManagerScopeAccesses": [ + "Connectivity" + ], + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "name": "TestNetworkManager", + "id": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/TestNetworkManager", + "type": "Microsoft.Network/networkManagers", + "etag": "sadf-asdf-asdf-asdf", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "displayName": "TestNetworkManager", + "description": "My Test Network Manager", + "networkManagerScopes": { + "managementGroups": [ + "/providers/Microsoft.Management/managementGroups/sampleMG" + ], + "subscriptions": [ + "/subscriptions/00000000-0000-0000-0000-000000000000" + ] + }, + "networkManagerScopeAccesses": [ + "Connectivity" + ], + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerSecurityAdminConfigurationDelete.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerSecurityAdminConfigurationDelete.json new file mode 100644 index 000000000000..938bd903784c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerSecurityAdminConfigurationDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkManagerName": "testNetworkManager", + "configurationName": "myTestSecurityConfig" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerSecurityAdminConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerSecurityAdminConfigurationGet.json new file mode 100644 index 000000000000..44ceaafd13d9 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerSecurityAdminConfigurationGet.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkManagerName": "testNetworkManager", + "configurationName": "myTestSecurityConfig" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig", + "name": "myTestSecurityConfig", + "type": "Microsoft.Network/networkManagers/securityAdminConfigurations", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "displayName": "myTestSecurityConfig", + "description": "A sample policy", + "provisioningState": "Succeeded", + "securityType": "AdminPolicy", + "deleteExistingNSGs": "True" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerSecurityAdminConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerSecurityAdminConfigurationList.json new file mode 100644 index 000000000000..3d50290a5e51 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerSecurityAdminConfigurationList.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkManagerName": "testNetworkManager" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig", + "name": "myTestSecurityConfig", + "type": "Microsoft.Network/networkManagers/securityAdminConfigurations", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "displayName": "Sample policy", + "description": "A sample policy", + "provisioningState": "Succeeded", + "securityType": "AdminPolicy", + "deleteExistingNSGs": "True" + } + } + ], + "nextLink": "{baseurl}/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations?api-version=2021-02-01-preview&$skipToken=10" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerSecurityAdminConfigurationPut.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerSecurityAdminConfigurationPut.json new file mode 100644 index 000000000000..10769ed69bea --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerSecurityAdminConfigurationPut.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "configurationName": "myTestSecurityConfig", + "networkManagerName": "testNetworkManager", + "securityAdminConfiguration": { + "properties": { + "description": "A sample policy", + "securityType": "AdminPolicy", + "deleteExistingNSGs": "True" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManager/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig", + "name": "myTestSecurityConfig", + "type": "Microsoft.Network/networkManagers/securityAdminConfigurations", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "displayName": "myTestSecurityConfig", + "description": "A sample policy", + "provisioningState": "Succeeded", + "securityType": "AdminPolicy", + "deleteExistingNSGs": "True" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManager/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig", + "name": "myTestSecurityConfig", + "type": "Microsoft.Network/networkManagers/securityAdminConfigurations", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "displayName": "myTestSecurityConfig", + "description": "A sample policy", + "provisioningState": "Succeeded", + "securityType": "AdminPolicy", + "deleteExistingNSGs": "True" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerSecurityUserConfigurationDelete.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerSecurityUserConfigurationDelete.json new file mode 100644 index 000000000000..938bd903784c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerSecurityUserConfigurationDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkManagerName": "testNetworkManager", + "configurationName": "myTestSecurityConfig" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerSecurityUserConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerSecurityUserConfigurationGet.json new file mode 100644 index 000000000000..b43b504e3503 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerSecurityUserConfigurationGet.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkManagerName": "testNetworkManager", + "configurationName": "myTestSecurityConfig" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityUserConfigurations/myTestSecurityConfig", + "name": "myTestSecurityConfig", + "type": "Microsoft.Network/networkManagers/securityUserConfigurations", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "displayName": "myTestSecurityConfig", + "description": "A sample policy", + "provisioningState": "Succeeded", + "securityType": "UserPolicy", + "deleteExistingNSGs": "True" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerSecurityUserConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerSecurityUserConfigurationList.json new file mode 100644 index 000000000000..a18279f244de --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerSecurityUserConfigurationList.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkManagerName": "testNetworkManager" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityUserConfigurations/myTestSecurityConfig", + "name": "myTestSecurityConfig", + "type": "Microsoft.Network/networkManagers/securityUserConfigurations", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "displayName": "Sample policy", + "description": "A sample policy", + "provisioningState": "Succeeded", + "securityType": "UserPolicy", + "deleteExistingNSGs": "True" + } + } + ], + "nextLink": "{baseurl}/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityUserConfigurations?api-version=2021-02-01-preview&$skipToken=10" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerSecurityUserConfigurationPut.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerSecurityUserConfigurationPut.json new file mode 100644 index 000000000000..dbdfceff66c0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerSecurityUserConfigurationPut.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "configurationName": "myTestSecurityConfig", + "networkManagerName": "testNetworkManager", + "securityUserConfiguration": { + "properties": { + "description": "A sample policy", + "securityType": "UserPolicy", + "deleteExistingNSGs": "True" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManager/testNetworkManager/securityConfigurations/myTestSecurityConfig", + "name": "myTestSecurityConfig", + "type": "Microsoft.Network/networkManagers/securityConfigurations", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "displayName": "myTestSecurityConfig", + "description": "A sample policy", + "provisioningState": "Succeeded", + "securityType": "UserPolicy", + "deleteExistingNSGs": "True" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManager/testNetworkManager/securityConfigurations/myTestSecurityConfig", + "name": "myTestSecurityConfig", + "type": "Microsoft.Network/networkManagers/securityConfigurations", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "displayName": "myTestSecurityConfig", + "description": "A sample policy", + "provisioningState": "Succeeded", + "securityType": "UserPolicy", + "deleteExistingNSGs": "True" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerUserRuleCollectionDelete.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerUserRuleCollectionDelete.json new file mode 100644 index 000000000000..200dc0249bc9 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerUserRuleCollectionDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkManagerName": "testNetworkManager", + "configurationName": "myTestSecurityConfig", + "ruleCollectionName": "testRuleCollection" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerUserRuleCollectionGet.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerUserRuleCollectionGet.json new file mode 100644 index 000000000000..8b1af45420ca --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerUserRuleCollectionGet.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkManagerName": "testNetworkManager", + "ruleCollectionName": "testRuleCollection", + "configurationName": "myTestSecurityConfig" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityUserConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection", + "name": "testRuleCollection", + "type": "Microsoft.Network/networkManagers/securityUserConfigurations/ruleCollections", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "displayName": "testRuleCollection", + "description": "A sample rule collection", + "provisioningState": "Succeeded", + "appliesToGroups": [ + { + "networkGroupId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" + } + ] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerUserRuleCollectionList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerUserRuleCollectionList.json new file mode 100644 index 000000000000..73729b7ed4d1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerUserRuleCollectionList.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkManagerName": "testNetworkManager", + "configurationName": "myTestSecurityConfig" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityUserConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection", + "name": "testRuleCollection", + "type": "Microsoft.Network/networkManagers/securityUserConfigurations/ruleCollections", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "displayName": "testRuleCollection", + "description": "A sample rule collection", + "provisioningState": "Succeeded", + "appliesToGroups": [ + { + "networkGroupId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" + } + ] + } + } + ], + "nextLink": "{baseurl}/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityUserConfigurations/myTestSecurityConfig/ruleCollections?api-version=2021-02-01-preview&$skipToken=10" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerUserRuleCollectionPut.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerUserRuleCollectionPut.json new file mode 100644 index 000000000000..d91c5d8a74fd --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerUserRuleCollectionPut.json @@ -0,0 +1,72 @@ +{ + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "configurationName": "myTestSecurityConfig", + "networkManagerName": "testNetworkManager", + "ruleCollectionName": "testRuleCollection", + "userRuleCollection": { + "properties": { + "description": "A sample policy", + "appliesToGroups": [ + { + "networkGroupId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManager/testNetworkManager/securityUserConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection", + "name": "myTestSecurityConfig", + "type": "Microsoft.Network/networkManagers/securityUserConfigurations/ruleCollections", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "displayName": "myTestSecurityConfig", + "description": "A sample policy", + "provisioningState": "Succeeded", + "appliesToGroups": [ + { + "networkGroupId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" + } + ] + } + } + }, + "201": { + "body": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManager/testNetworkManager/securityUserConfigurations/myTestSecurityConfig", + "name": "myTestSecurityConfig", + "type": "Microsoft.Network/networkManagers/securityUserConfigurations/ruleCollections", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "displayName": "myTestSecurityConfig", + "description": "A sample policy", + "provisioningState": "Succeeded", + "appliesToGroups": [ + { + "networkGroupId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" + } + ] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerUserRuleDelete.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerUserRuleDelete.json new file mode 100644 index 000000000000..3fbaf4ba00c0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerUserRuleDelete.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "configurationName": "myTestSecurityConfig", + "networkManagerName": "testNetworkManager", + "ruleCollectionName": "testRuleCollection", + "ruleName": "SampleUserRule" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerUserRuleGet.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerUserRuleGet.json new file mode 100644 index 000000000000..10459a5f40ce --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerUserRuleGet.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "ruleCollectionName": "testRuleCollection", + "configurationName": "myTestSecurityConfig", + "networkManagerName": "testNetworkManager", + "ruleName": "SampleUserRule" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/SecurityUserConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleUserRule", + "type": "Microsoft.Network/networkManagers/SecurityUserConfigurations/ruleCollections/rules", + "name": "SampleUserRule", + "kind": "Custom", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "displayName": "SampleUserRule", + "description": "Sample User Rule", + "protocol": "Tcp", + "sources": [ + { + "addressPrefixType": "IPPrefix", + "addressPrefix": "*" + } + ], + "destinations": [ + { + "addressPrefixType": "IPPrefix", + "addressPrefix": "*" + } + ], + "sourcePortRanges": [ + "0-65535" + ], + "destinationPortRanges": [ + "22" + ], + "direction": "Inbound", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerUserRuleList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerUserRuleList.json new file mode 100644 index 000000000000..9ff254e5e12d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerUserRuleList.json @@ -0,0 +1,57 @@ +{ + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkManagerName": "testNetworkManager", + "ruleCollectionName": "testRuleCollection", + "configurationName": "myTestSecurityConfig" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkmanagers/testNetworkManager/securityUserConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleUserRule", + "type": "Microsoft.Network/networkManagers/securityConfigurations/ruleCollections/rules", + "name": "SampleUserRule", + "kind": "Custom", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "description": "Sample User Rule", + "protocol": "Tcp", + "sources": [ + { + "addressPrefixType": "IPPrefix", + "addressPrefix": "*" + } + ], + "destinations": [ + { + "addressPrefixType": "IPPrefix", + "addressPrefix": "*" + } + ], + "sourcePortRanges": [ + "0-65535" + ], + "destinationPortRanges": [ + "22" + ], + "direction": "Inbound", + "provisioningState": "Succeeded" + } + } + ], + "nextLink": "{baseurl}/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityUserConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules?api-version=2021-02-01-preview&$skipToken=10" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerUserRulePut.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerUserRulePut.json new file mode 100644 index 000000000000..c9538b7cac28 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerUserRulePut.json @@ -0,0 +1,119 @@ +{ + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkManagerName": "testNetworkManager", + "configurationName": "myTestSecurityConfig", + "ruleCollectionName": "testRuleCollection", + "ruleName": "SampleUserRule", + "userRule": { + "kind": "Custom", + "properties": { + "description": "Sample User Rule", + "protocol": "Tcp", + "sources": [ + { + "addressPrefixType": "IPPrefix", + "addressPrefix": "*" + } + ], + "destinations": [ + { + "addressPrefixType": "IPPrefix", + "addressPrefix": "*" + } + ], + "sourcePortRanges": [ + "0-65535" + ], + "destinationPortRanges": [ + "22" + ], + "direction": "Inbound" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/SecurityUserConfigurations/Policy1/ruleCollections/testRuleCollection/rules/SampleUserRule", + "type": "Microsoft.Network/networkManagers/SecurityUserConfigurations/ruleCollections/rules", + "name": "SampleUserRule", + "kind": "Custom", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "description": "Sample User Rule", + "protocol": "Tcp", + "sources": [ + { + "addressPrefixType": "IPPrefix", + "addressPrefix": "*" + } + ], + "destinations": [ + { + "addressPrefixType": "IPPrefix", + "addressPrefix": "*" + } + ], + "sourcePortRanges": [ + "0-65535" + ], + "destinationPortRanges": [ + "22" + ], + "direction": "Inbound", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityUserConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleUserRule", + "type": "Microsoft.Network/networkManagers/SecurityUserConfigurations/ruleCollections/rules", + "name": "SampleUserRule", + "kind": "Custom", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z" + }, + "properties": { + "description": "Sample User Rule", + "protocol": "Tcp", + "sources": [ + { + "addressPrefixType": "IPPrefix", + "addressPrefix": "*" + } + ], + "destinations": [ + { + "addressPrefixType": "IPPrefix", + "addressPrefix": "*" + } + ], + "sourcePortRanges": [ + "0-65535" + ], + "destinationPortRanges": [ + "22" + ], + "direction": "Inbound", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkSecurityPerimeterDelete.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkSecurityPerimeterDelete.json new file mode 100644 index 000000000000..a8a08b56a6e2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkSecurityPerimeterDelete.json @@ -0,0 +1,13 @@ +{ + "title": "Delete Network Security Perimeter", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkSecurityPerimeterName": "testNSP1" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkSecurityPerimeterGet.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkSecurityPerimeterGet.json new file mode 100644 index 000000000000..9fdab4ecb57b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkSecurityPerimeterGet.json @@ -0,0 +1,24 @@ +{ + "title": "Get Network Security Perimeter", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkSecurityPerimeterName": "nsp1" + }, + "responses": { + "200": { + "body": { + "name": "nsp1", + "id": "/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1", + "type": "Microsoft.Network/networkSecurityPerimeters", + "tags": {}, + "location": "East US 2 EUAP", + "properties": { + "perimeterGuid": "guid", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkSecurityPerimeterList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkSecurityPerimeterList.json new file mode 100644 index 000000000000..19ecf72ad2c5 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkSecurityPerimeterList.json @@ -0,0 +1,39 @@ +{ + "title": "List Network Security Perimeter", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testNSP1", + "id": "/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/testNSP1", + "type": "Microsoft.Network/networkSecurityPerimeters", + "tags": {}, + "location": "East US 2 EUAP", + "properties": { + "perimeterGuid": "guid", + "provisioningState": "Succeeded" + } + }, + { + "name": "testNSP2", + "id": "/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/testNSP2", + "type": "Microsoft.Network/networkSecurityPerimeters", + "tags": {}, + "location": "East US 2 EUAP", + "properties": { + "perimeterGuid": "guid", + "provisioningState": "Succeeded" + } + } + ], + "nextLink": "{baseurl}/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters?api-version=2021-02-01-preview&$skipToken=10" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkSecurityPerimeterListAll.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkSecurityPerimeterListAll.json new file mode 100644 index 000000000000..8194a82e5b4b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkSecurityPerimeterListAll.json @@ -0,0 +1,38 @@ +{ + "title": "List all the Network Security Perimeters in a Subscription", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testNSP1", + "id": "/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/testNSP1", + "type": "Microsoft.Network/networkSecurityPerimeters", + "tags": {}, + "location": "East US 2 EUAP", + "properties": { + "perimeterGuid": "guid", + "provisioningState": "Succeeded" + } + }, + { + "name": "testNSP2", + "id": "/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/testNSP2", + "type": "Microsoft.Network/networkSecurityPerimeters", + "tags": {}, + "location": "East US 2 EUAP", + "properties": { + "perimeterGuid": "guid", + "provisioningState": "Succeeded" + } + } + ], + "nextLink": "{baseurl}/subscriptions/subId/providers/Microsoft.Network/networkSecurityPerimeters?api-version=2021-02-01-preview&$skipToken=10" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkSecurityPerimeterPatch.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkSecurityPerimeterPatch.json new file mode 100644 index 000000000000..4c32a318a47b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkSecurityPerimeterPatch.json @@ -0,0 +1,31 @@ +{ + "title": "Patch Network Security Perimeter", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkSecurityPerimeterName": "nsp1", + "parameters": { + "tags": { + "description": "nsp1" + } + } + }, + "responses": { + "200": { + "body": { + "name": "TestNetworkSecurityPerimeter", + "id": "/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter", + "type": "Microsoft.Network/networkSecurityPerimeters", + "tags": { + "description": "nsp1" + }, + "location": "East US 2 EUAP", + "properties": { + "perimeterGuid": "guid", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkSecurityPerimeterPut.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkSecurityPerimeterPut.json new file mode 100644 index 000000000000..9336e4d47489 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkSecurityPerimeterPut.json @@ -0,0 +1,40 @@ +{ + "title": "Create/Update Network Security Perimeter", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkSecurityPerimeterName": "nsp1", + "parameters": { + "properties": {} + } + }, + "responses": { + "200": { + "body": { + "name": "TestNetworkSecurityPerimeter", + "id": "/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter", + "type": "Microsoft.Network/networkSecurityPerimeters", + "tags": {}, + "location": "East US 2 EUAP", + "properties": { + "perimeterGuid": "guid", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "name": "TestNetworkSecurityPerimeter", + "id": "/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter", + "type": "Microsoft.Network/networkSecurityPerimeters", + "tags": {}, + "location": "East US 2 EUAP", + "properties": { + "perimeterGuid": "guid", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAccessRuleDelete.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAccessRuleDelete.json new file mode 100644 index 000000000000..883c6a3cb22c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAccessRuleDelete.json @@ -0,0 +1,15 @@ +{ + "title": "Delete NSP access rule", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkSecurityPerimeterName": "nsp1", + "profileName": "profile1", + "accessRuleName": "accessRule1" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAccessRuleGet.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAccessRuleGet.json new file mode 100644 index 000000000000..df8b54e3fc34 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAccessRuleGet.json @@ -0,0 +1,33 @@ +{ + "title": "Get NSP Access Rule", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkSecurityPerimeterName": "nsp1", + "profileName": "profile1", + "accessRuleName": "accessRule1" + }, + "responses": { + "200": { + "body": { + "name": "accessRule1", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/profile1/accessRules/accessRule1", + "type": "Microsoft.Network/networkSecurityPerimeters/profiles/accessRules", + "properties": { + "provisioningState": "Succeeded", + "direction": "Outbound", + "addressPrefixes": [], + "fullyQualifiedDomainNames": [ + "paasrp1.contoso.org", + "paasrp2.contoso.org" + ], + "subscriptions": [], + "networkSecurityPerimeters": [], + "emailAddresses": [], + "phoneNumbers": [] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAccessRuleList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAccessRuleList.json new file mode 100644 index 000000000000..fc7151f1e756 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAccessRuleList.json @@ -0,0 +1,55 @@ +{ + "title": "List NSP Access Rules", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkSecurityPerimeterName": "nsp1", + "profileName": "profile1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "accessRule1", + "id": "/subscriptions/rg1/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/profile1/accessRules/accessRule1", + "type": "Microsoft.Network/networkSecurityPerimeters/profiles/accessRules", + "properties": { + "provisioningState": "Succeeded", + "direction": "Inbound", + "addressPrefixes": [ + "10.11.0.0/16", + "10.10.1.0/24" + ], + "fullyQualifiedDomainNames": [], + "subscriptions": [], + "networkSecurityPerimeters": [], + "emailAddresses": [], + "phoneNumbers": [] + } + }, + { + "name": "accessRule2", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/profile1/accessRules/accessRule2", + "type": "Microsoft.Network/networkSecurityPerimeters/profiles/accessRules", + "properties": { + "provisioningState": "Succeeded", + "direction": "Outbound", + "addressPrefixes": [], + "fullyQualifiedDomainNames": [ + "paasrp1.contoso.org", + "paasrp2.contoso.org" + ], + "subscriptions": [], + "networkSecurityPerimeters": [], + "emailAddresses": [], + "phoneNumbers": [] + } + } + ], + "nextLink": "{baseurl}/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/profile1/accessRules?api-version=2021-02-01-preview&$skipToken=10" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAccessRulePut.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAccessRulePut.json new file mode 100644 index 000000000000..7a0165c6a85d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAccessRulePut.json @@ -0,0 +1,62 @@ +{ + "title": "Create/Update NSP access rule", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkSecurityPerimeterName": "nsp1", + "profileName": "profile1", + "accessRuleName": "accessRule1", + "parameters": { + "properties": { + "direction": "Inbound", + "addressPrefixes": [ + "10.11.0.0/16", + "10.10.1.0/24" + ] + } + } + }, + "responses": { + "200": { + "body": { + "name": "accessRule1", + "id": "/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/profile1/accessRules/accessRule1", + "type": "Microsoft.Network/networkSecurityPerimeters/profiles/accessRules", + "properties": { + "provisioningState": "Succeeded", + "direction": "Inbound", + "addressPrefixes": [ + "10.11.0.0/16", + "10.10.1.0/24" + ], + "fullyQualifiedDomainNames": [], + "subscriptions": [], + "networkSecurityPerimeters": [], + "emailAddresses": [], + "phoneNumbers": [] + } + } + }, + "201": { + "body": { + "name": "accessRule1", + "id": "/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/profile1/accessRules/accessRule1", + "type": "Microsoft.Network/networkSecurityPerimeters/profiles/accessRules", + "properties": { + "provisioningState": "Succeeded", + "direction": "Inbound", + "addressPrefixes": [ + "10.11.0.0/16", + "10.10.1.0/24" + ], + "fullyQualifiedDomainNames": [], + "subscriptions": [], + "networkSecurityPerimeters": [], + "emailAddresses": [], + "phoneNumbers": [] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAccessRuleReconcile.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAccessRuleReconcile.json new file mode 100644 index 000000000000..a416485ea007 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAccessRuleReconcile.json @@ -0,0 +1,19 @@ +{ + "title": "Reconcile NSP access rule", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkSecurityPerimeterName": "nsp1", + "profileName": "profile1", + "accessRuleName": "accessRuleName1", + "parameters": { + "properties": {} + } + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAssociationDelete.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAssociationDelete.json new file mode 100644 index 000000000000..2a0f14f633f3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAssociationDelete.json @@ -0,0 +1,20 @@ +{ + "title": "Delete NSP resource association", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkSecurityPerimeterName": "nsp1", + "associationName": "association1", + "operationId": "operationId1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/resourceAssociations/{associationName}/operationResults/{operationId}?api-version={api-version}" + } + }, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAssociationGet.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAssociationGet.json new file mode 100644 index 000000000000..c7120c822352 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAssociationGet.json @@ -0,0 +1,30 @@ +{ + "title": "Get NSP resource association", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkSecurityPerimeterName": "nsp1", + "associationName": "association1" + }, + "responses": { + "200": { + "body": { + "name": "association1", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/resourceAssociations/association1", + "type": "Microsoft.Network/networkSecurityPerimeters/resourceAssociations", + "properties": { + "provisioningState": "Succeeded", + "privateLinkResource": { + "id": "/subscriptions/{paasSubscriptionId}/resourceGroups/{paasResourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}" + }, + "profile": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/{profileName}" + }, + "accessMode": "Enforced", + "hasProvisioningIssues": "no" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAssociationList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAssociationList.json new file mode 100644 index 000000000000..f83947796108 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAssociationList.json @@ -0,0 +1,66 @@ +{ + "title": "List NSP resource associations", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkSecurityPerimeterName": "nsp1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "association1", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/resourceAssociations/association1", + "type": "Microsoft.Network/networkSecurityPerimeters/resourceAssociations", + "properties": { + "provisioningState": "Succeeded", + "privateLinkResource": { + "id": "/subscriptions/{paasSubscriptionId}/resourceGroups/{paasResourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}" + }, + "profile": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/{profileName}" + }, + "accessMode": "Enforced", + "hasProvisioningIssues": "no" + } + }, + { + "name": "association2", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/resourceAssociations/association2", + "type": "Microsoft.Network/networkSecurityPerimeters/resourceAssociations", + "properties": { + "provisioningState": "Succeeded", + "privateLinkResource": { + "id": "/subscriptions/{paasSubscriptionId}/resourceGroups/{paasResourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}" + }, + "profile": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/{profileName}" + }, + "accessMode": "Audit", + "hasProvisioningIssues": "no" + } + }, + { + "name": "association3", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/resourceAssociations/association3", + "type": "Microsoft.Network/networkSecurityPerimeters/resourceAssociations", + "properties": { + "provisioningState": "Failed", + "privateLinkResource": { + "id": "/subscriptions/{paasSubscriptionId}/resourceGroups/{paasResourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}" + }, + "profile": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/{profileName}" + }, + "accessMode": "Learning", + "hasProvisioningIssues": "yes" + } + } + ], + "nextLink": "{baseurl}/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/resourceAssociations?api-version=2021-02-01-preview&$skipToken=10" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAssociationPut.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAssociationPut.json new file mode 100644 index 000000000000..f076e51a615a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAssociationPut.json @@ -0,0 +1,59 @@ +{ + "title": "Create/Update NSP association", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkSecurityPerimeterName": "nsp1", + "associationName": "association1", + "parameters": { + "properties": { + "privateLinkResource": { + "id": "/subscriptions/{paasSubscriptionId}/resourceGroups/{paasResourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}" + }, + "profile": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/{profileName}" + }, + "accessMode": "Enforced" + } + } + }, + "responses": { + "200": { + "body": { + "name": "association1", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/resourceAssociations/association1", + "type": "Microsoft.Network/networkSecurityPerimeters/resourceAssociations", + "properties": { + "provisioningState": "Succeeded", + "privateLinkResource": { + "id": "/subscriptions/{paasSubscriptionId}/resourceGroups/{paasResourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}" + }, + "profile": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/{profileName}" + }, + "accessMode": "Enforced", + "hasProvisioningIssues": "no" + } + } + }, + "201": { + "body": { + "name": "association1", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/resourceAssociations/association1", + "type": "Microsoft.Network/networkSecurityPerimeters/resourceAssociations", + "properties": { + "provisioningState": "Succeeded", + "privateLinkResource": { + "id": "/subscriptions/{paasSubscriptionId}/resourceGroups/{paasResourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}" + }, + "profile": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/{profileName}" + }, + "accessMode": "Enforced", + "hasProvisioningIssues": "no" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAssociationReconcile.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAssociationReconcile.json new file mode 100644 index 000000000000..9dc80cfbe7fe --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAssociationReconcile.json @@ -0,0 +1,18 @@ +{ + "title": "Reconcile NSP association", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkSecurityPerimeterName": "nsp1", + "associationName": "association1", + "parameters": { + "properties": {} + } + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspLinkDelete.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspLinkDelete.json new file mode 100644 index 000000000000..e174fd3b540f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspLinkDelete.json @@ -0,0 +1,19 @@ +{ + "title": "Delete NSP link", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkSecurityPerimeterName": "nsp1", + "linkName": "link1" + }, + "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": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspLinkGet.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspLinkGet.json new file mode 100644 index 000000000000..cc143bac1112 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspLinkGet.json @@ -0,0 +1,39 @@ +{ + "title": "Get NSP Link", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkSecurityPerimeterName": "nsp1", + "linkName": "link1" + }, + "responses": { + "200": { + "body": { + "name": "link1", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/links/link1", + "type": "Microsoft.Network/networkSecurityPerimeters/links", + "properties": { + "provisioningState": "Succeeded", + "autoApprovedRemotePerimeterResourceId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp2", + "remotePerimeterGuid": "guid", + "remotePerimeterLocation": "westus2", + "localInboundProfiles": [ + "*" + ], + "localOutboundProfiles": [ + "*" + ], + "remoteInboundProfiles": [ + "*" + ], + "remoteOutboundProfiles": [ + "*" + ], + "description": "Auto Approved", + "status": "Approved" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspLinkList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspLinkList.json new file mode 100644 index 000000000000..43383d338647 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspLinkList.json @@ -0,0 +1,43 @@ +{ + "title": "List NSP Links", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkSecurityPerimeterName": "nsp1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "link1", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/links/link1", + "type": "Microsoft.Network/networkSecurityPerimeters/links", + "properties": { + "provisioningState": "Succeeded", + "autoApprovedRemotePerimeterResourceId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp2", + "remotePerimeterGuid": "guid", + "remotePerimeterLocation": "westus2", + "localInboundProfiles": [ + "*" + ], + "localOutboundProfiles": [ + "*" + ], + "remoteInboundProfiles": [ + "*" + ], + "remoteOutboundProfiles": [ + "*" + ], + "description": "Auto Approved", + "status": "Approved" + } + } + ], + "nextLink": "{baseurl}/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/links?api-version=2021-02-01-preview&$skipToken=10" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspLinkPut.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspLinkPut.json new file mode 100644 index 000000000000..aff6b13aa0ad --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspLinkPut.json @@ -0,0 +1,71 @@ +{ + "title": "Create/Update NSP link", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkSecurityPerimeterName": "nsp1", + "linkName": "link1", + "parameters": { + "properties": { + "autoApprovedRemotePerimeterResourceId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp2" + } + } + }, + "responses": { + "200": { + "body": { + "name": "link1", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/links/link1", + "type": "Microsoft.Network/networkSecurityPerimeters/links", + "properties": { + "provisioningState": "Succeeded", + "autoApprovedRemotePerimeterResourceId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp2", + "remotePerimeterGuid": "guid", + "remotePerimeterLocation": "westus2", + "localInboundProfiles": [ + "*" + ], + "localOutboundProfiles": [ + "*" + ], + "remoteInboundProfiles": [ + "*" + ], + "remoteOutboundProfiles": [ + "*" + ], + "description": "Auto Approved", + "status": "Approved" + } + } + }, + "201": { + "body": { + "name": "link1", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/links/link1", + "type": "Microsoft.Network/networkSecurityPerimeters/links", + "properties": { + "provisioningState": "Succeeded", + "autoApprovedRemotePerimeterResourceId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp2", + "remotePerimeterGuid": "guid", + "remotePerimeterLocation": "westus2", + "localInboundProfiles": [ + "*" + ], + "localOutboundProfiles": [ + "*" + ], + "remoteInboundProfiles": [ + "*" + ], + "remoteOutboundProfiles": [ + "*" + ], + "description": "Auto Approved", + "status": "Approved" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspLinkReferenceDelete.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspLinkReferenceDelete.json new file mode 100644 index 000000000000..28bdc542d0aa --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspLinkReferenceDelete.json @@ -0,0 +1,19 @@ +{ + "title": "Delete NSP linkReference", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkSecurityPerimeterName": "nsp2", + "linkReferenceName": "link1-guid" + }, + "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": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspLinkReferenceGet.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspLinkReferenceGet.json new file mode 100644 index 000000000000..f150110ca1f3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspLinkReferenceGet.json @@ -0,0 +1,39 @@ +{ + "title": "Get NSP LinkReference", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkSecurityPerimeterName": "nsp2", + "linkReferenceName": "link1-guid" + }, + "responses": { + "200": { + "body": { + "name": "link1-guid", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp2/linkreferences/link1-guid", + "type": "Microsoft.Network/networkSecurityPerimeters/linkreferences", + "properties": { + "provisioningState": "Succeeded", + "remotePerimeterResourceId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1", + "remotePerimeterGuid": "guid", + "remotePerimeterLocation": "westus2", + "localInboundProfiles": [ + "*" + ], + "localOutboundProfiles": [ + "*" + ], + "remoteInboundProfiles": [ + "*" + ], + "remoteOutboundProfiles": [ + "*" + ], + "description": "Auto Approved", + "status": "Approved" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspLinkReferenceList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspLinkReferenceList.json new file mode 100644 index 000000000000..762c86db5656 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspLinkReferenceList.json @@ -0,0 +1,43 @@ +{ + "title": "List NSP LinkReferences", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkSecurityPerimeterName": "nsp2" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "link1-guid", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp2/linkreferences/link1-guid", + "type": "Microsoft.Network/networkSecurityPerimeters/linkreferences", + "properties": { + "provisioningState": "Succeeded", + "remotePerimeterResourceId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1", + "remotePerimeterGuid": "guid", + "remotePerimeterLocation": "westus2", + "localInboundProfiles": [ + "*" + ], + "localOutboundProfiles": [ + "*" + ], + "remoteInboundProfiles": [ + "*" + ], + "remoteOutboundProfiles": [ + "*" + ], + "description": "Auto Approved", + "status": "Approved" + } + } + ], + "nextLink": "{baseurl}/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp2/linkreferences?api-version=2021-02-01-preview&$skipToken=10" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspProfileDelete.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspProfileDelete.json new file mode 100644 index 000000000000..3aa62ed51f31 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspProfileDelete.json @@ -0,0 +1,14 @@ +{ + "title": "Delete NSP profile", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkSecurityPerimeterName": "nsp1", + "profileName": "profile1" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspProfileGet.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspProfileGet.json new file mode 100644 index 000000000000..ce38774c590c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspProfileGet.json @@ -0,0 +1,24 @@ +{ + "title": "Get NSP Profile", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkSecurityPerimeterName": "nsp1", + "profileName": "profile1" + }, + "responses": { + "200": { + "body": { + "name": "nsp1", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/profile1", + "type": "Microsoft.Network/networkSecurityPerimeters/profiles", + "location": "resource location", + "properties": { + "accessRulesVersion": "0", + "diagnosticSettingsVersion": "0" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspProfileList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspProfileList.json new file mode 100644 index 000000000000..931ad7eb3002 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspProfileList.json @@ -0,0 +1,38 @@ +{ + "title": "List NSP Profiles", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkSecurityPerimeterName": "nsp1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "profile1", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/profile1", + "type": "Microsoft.Network/networkSecurityPerimeters/profiles", + "location": "resource location", + "properties": { + "accessRulesVersion": "0", + "diagnosticSettingsVersion": "0" + } + }, + { + "name": "profile2", + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/profile2", + "type": "Microsoft.Network/networkSecurityPerimeters/profiles", + "location": "resource location", + "properties": { + "accessRulesVersion": "0", + "diagnosticSettingsVersion": "0" + } + } + ], + "nextLink": "{baseurl}/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles?api-version=2021-02-01-preview&$skipToken=10" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspProfilePut.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspProfilePut.json new file mode 100644 index 000000000000..54bfe3eb654e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspProfilePut.json @@ -0,0 +1,39 @@ +{ + "title": "Create/Update NSP profile", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "resourceGroupName": "rg1", + "networkSecurityPerimeterName": "nsp1", + "profileName": "profile1", + "parameters": { + "properties": {} + } + }, + "responses": { + "200": { + "body": { + "name": "profile1", + "id": "/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/profile1", + "type": "Microsoft.Network/networkSecurityPerimeters/profiles", + "location": "East US 2 EUAP", + "properties": { + "accessRulesVersion": "0", + "diagnosticSettingsVersion": "0" + } + } + }, + "201": { + "body": { + "name": "profile1", + "id": "/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/profile1", + "type": "Microsoft.Network/networkSecurityPerimeters/profiles", + "location": "East US 2 EUAP", + "properties": { + "accessRulesVersion": "0", + "diagnosticSettingsVersion": "0" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/PerimeterAssociableResourcesList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/PerimeterAssociableResourcesList.json new file mode 100644 index 000000000000..c3ad3a1eed37 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/PerimeterAssociableResourcesList.json @@ -0,0 +1,44 @@ +{ + "title": "List of resources onboarded for network security perimeter feature (perimeter associable resources).", + "parameters": { + "api-version": "2021-02-01-preview", + "subscriptionId": "subId", + "location": "westus" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.Sql.servers", + "id": "/subscriptions/{subscriptionID}/providers/Microsoft.Network/perimeterAssociableResourceTypes/Microsoft.Sql.servers", + "type": "Microsoft.Network/PerimeterAssociableResourceTypes", + "properties": { + "resourceType": "Microsoft.Sql/servers", + "displayName": "Microsoft.Sql/servers", + "publicDnsZones": [ + "database.windows.net" + ] + } + }, + { + "name": "Microsoft.Storage.accounts", + "id": "/subscriptions/{subscriptionId}/providers/Microsoft.Network/perimeterAssociableResourceTypes/Microsoft.Storage.storageAccounts", + "type": "Microsoft.Network/PerimeterAssociableResourceTypes", + "properties": { + "resourceType": "Microsoft.Storage/accounts", + "displayName": "Microsoft.Storage/accounts", + "publicDnsZones": [ + "blob.core.windows.net", + "table.core.windows.net", + "queue.core.windows.net", + "file.core.windows.net" + ] + } + } + ], + "nextLink": "{baseurl}/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/perimeterAssociableResourceTypes?api-version=2021-02-01-preview&$skipToken=10" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/network.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/network.json new file mode 100644 index 000000000000..4c98e9a3b595 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/network.json @@ -0,0 +1,438 @@ +{ + "swagger": "2.0", + "info": { + "title": "NetworkManagementClient", + "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", + "version": "2021-02-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": {}, + "definitions": { + "ErrorDetails": { + "properties": { + "code": { + "type": "string", + "description": "Error code." + }, + "target": { + "type": "string", + "description": "Error target." + }, + "message": { + "type": "string", + "description": "Error message." + } + }, + "description": "Common error details representation." + }, + "Error": { + "properties": { + "code": { + "type": "string", + "description": "Error code." + }, + "message": { + "type": "string", + "description": "Error message." + }, + "target": { + "type": "string", + "description": "Error target." + }, + "details": { + "type": "array", + "items": { + "$ref": "#/definitions/ErrorDetails" + }, + "description": "Error details." + }, + "innerError": { + "type": "string", + "description": "Inner error message." + } + }, + "description": "Common error representation." + }, + "CloudError": { + "x-ms-external": true, + "properties": { + "error": { + "$ref": "#/definitions/CloudErrorBody", + "description": "Cloud error body." + } + }, + "description": "An error response from the service." + }, + "CloudErrorBody": { + "x-ms-external": true, + "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", + "items": { + "$ref": "#/definitions/CloudErrorBody" + }, + "description": "A list of additional details about the error." + } + }, + "description": "An error response from the service." + }, + "AzureAsyncOperationResult": { + "properties": { + "status": { + "type": "string", + "description": "Status of the Azure async operation.", + "enum": [ + "InProgress", + "Succeeded", + "Failed" + ], + "x-ms-enum": { + "name": "NetworkOperationStatus", + "modelAsString": true + } + }, + "error": { + "$ref": "#/definitions/Error", + "description": "Details of the error occurred during specified asynchronous operation." + } + }, + "description": "The response body contains the status of the specified asynchronous operation, indicating whether it has succeeded, is in progress, or has failed. Note that this status is distinct from the HTTP status code returned for the Get Operation Status operation itself. If the asynchronous operation succeeded, the response body includes the HTTP status code for the successful request. If the asynchronous operation failed, the response body includes the HTTP status code for the failed request and error information regarding the failure." + }, + "Resource": { + "properties": { + "id": { + "type": "string", + "description": "Resource ID." + }, + "name": { + "readOnly": true, + "type": "string", + "description": "Resource name." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Resource type." + }, + "location": { + "type": "string", + "description": "Resource location." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags." + } + }, + "description": "Common resource representation.", + "x-ms-azure-resource": true + }, + "ProxyResource": { + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "Resource ID." + }, + "name": { + "readOnly": true, + "type": "string", + "description": "Resource name." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Resource type." + }, + "etag": { + "readOnly": true, + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + } + }, + "description": "Proxy resource representation.", + "x-ms-azure-resource": true + }, + "SubResource": { + "properties": { + "id": { + "type": "string", + "description": "Resource ID." + } + }, + "description": "Reference to another subresource.", + "x-ms-azure-resource": true + }, + "TagsObject": { + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags." + } + }, + "description": "Tags object for patch operations." + }, + "SystemData": { + "description": "Metadata pertaining to creation and last modification of the resource.", + "type": "object", + "readOnly": true, + "properties": { + "createdBy": { + "type": "string", + "description": "The identity that created the resource." + }, + "createdByType": { + "type": "string", + "description": "The type of identity that created the resource.", + "enum": [ + "User", + "Application", + "ManagedIdentity", + "Key" + ], + "x-ms-enum": { + "name": "createdByType", + "modelAsString": true + } + }, + "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": { + "type": "string", + "description": "The type of identity that last modified the resource.", + "enum": [ + "User", + "Application", + "ManagedIdentity", + "Key" + ], + "x-ms-enum": { + "name": "createdByType", + "modelAsString": true + } + }, + "lastModifiedAt": { + "type": "string", + "format": "date-time", + "description": "The type of identity that last modified the resource." + } + } + }, + "ManagedServiceIdentity": { + "properties": { + "principalId": { + "readOnly": true, + "type": "string", + "description": "The principal id of the system assigned identity. This property will only be provided for a system assigned identity." + }, + "tenantId": { + "readOnly": true, + "type": "string", + "description": "The tenant id of the system assigned identity. This property will only be provided for a system assigned identity." + }, + "type": { + "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 + } + }, + "userAssignedIdentities": { + "type": "object", + "additionalProperties": { + "type": "object", + "properties": { + "principalId": { + "readOnly": true, + "type": "string", + "description": "The principal id of user assigned identity." + }, + "clientId": { + "readOnly": true, + "type": "string", + "description": "The client id of user assigned identity." + } + } + }, + "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}'." + } + }, + "description": "Identity for the resource." + }, + "ProvisioningState": { + "type": "string", + "readOnly": true, + "description": "The current provisioning state.", + "enum": [ + "Succeeded", + "Updating", + "Deleting", + "Failed" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + } + }, + "Access": { + "type": "string", + "description": "Access to be allowed or denied.", + "enum": [ + "Allow", + "Deny" + ], + "x-ms-enum": { + "name": "Access", + "modelAsString": true + } + }, + "AuthenticationMethod": { + "type": "string", + "description": "VPN client authentication method.", + "enum": [ + "EAPTLS", + "EAPMSCHAPv2" + ], + "x-ms-enum": { + "name": "AuthenticationMethod", + "modelAsString": true + } + }, + "IPAllocationMethod": { + "type": "string", + "description": "IP address allocation method.", + "enum": [ + "Static", + "Dynamic" + ], + "x-ms-enum": { + "name": "IPAllocationMethod", + "modelAsString": true + } + }, + "IPVersion": { + "type": "string", + "description": "IP address version.", + "enum": [ + "IPv4", + "IPv6" + ], + "x-ms-enum": { + "name": "IPVersion", + "modelAsString": true + } + }, + "ExtendedLocationType": { + "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 + } + }, + "ExtendedLocation": { + "description": "ExtendedLocation complex type.", + "properties": { + "name": { + "type": "string", + "description": "The name of the extended location." + }, + "type": { + "$ref": "#/definitions/ExtendedLocationType", + "description": "The type of the extended location." + } + } + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Client API version." + }, + "ApiVersionVmssParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "enum": [ + "2017-03-30" + ], + "x-ms-enum": { + "name": "ApiVersion", + "modelAsString": true + }, + "description": "Client API version." + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/networkManager.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/networkManager.json new file mode 100644 index 000000000000..afea315d69a7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/networkManager.json @@ -0,0 +1,705 @@ +{ + "swagger": "2.0", + "info": { + "title": "NetworkManager", + "description": "The Microsoft Azure Virtual Network Manager API provides a RESTful set of web services that interact with Microsoft Azure Network Manager service to manage your network resources.", + "version": "2021-02-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}": { + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkManagerNameParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "get": { + "tags": [ + "NetworkManagers" + ], + "operationId": "NetworkManagers_Get", + "description": "Gets the specified Network Manager.", + "responses": { + "200": { + "description": "OK - Returns information about the network manager.", + "schema": { + "$ref": "#/definitions/NetworkManager" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "NetworkManagersGet": { + "$ref": "./examples/NetworkManagerGet.json" + } + } + }, + "put": { + "tags": [ + "NetworkManagers" + ], + "operationId": "NetworkManagers_CreateOrUpdate", + "description": "Creates or updates a Network Manager.", + "parameters": [ + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkManager" + }, + "description": "Parameters supplied to specify which network manager is." + } + ], + "responses": { + "200": { + "description": "Updated - Returns information about the network manager.", + "schema": { + "$ref": "#/definitions/NetworkManager" + } + }, + "201": { + "description": "Created - Returns information about the network manager.", + "schema": { + "$ref": "#/definitions/NetworkManager" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Put Network Manager": { + "$ref": "./examples/NetworkManagerPut.json" + } + } + }, + "delete": { + "tags": [ + "NetworkManagers" + ], + "operationId": "NetworkManagers_Delete", + "description": "Deletes a network manager.", + "responses": { + "200": { + "description": "Delete Succeed." + }, + "204": { + "description": "Request successful. The resource does not exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "NetworkManagersDelete": { + "$ref": "./examples/NetworkManagerDelete.json" + } + } + }, + "patch": { + "tags": [ + "NetworkManagers" + ], + "operationId": "NetworkManagers_PatchTags", + "description": "Patch a NetworkManager Tags.", + "parameters": [ + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "./network.json#/definitions/TagsObject" + }, + "description": "Parameters supplied to update network manager tags." + } + ], + "responses": { + "200": { + "description": "Updated - Returns information about the network manager.", + "schema": { + "$ref": "#/definitions/NetworkManager" + } + }, + "default": { + "description": "Resource Provider error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "NetworkManagesPatch": { + "$ref": "./examples/NetworkManagerPatch.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/commit": { + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkManagerNameParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "post": { + "tags": [ + "NetworkManagers" + ], + "operationId": "NetworkManagerCommits_Post", + "description": "Post a Network Manager Commit.", + "parameters": [ + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkManagerCommit" + }, + "description": "Parameters supplied to specify which Managed Network commit is." + } + ], + "responses": { + "202": { + "description": "Accepted and the operation will complete asynchronously", + "schema": { + "$ref": "#/definitions/NetworkManagerCommit" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "NetworkManageCommitPost": { + "$ref": "./examples/NetworkManagerCommitPost.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/listDeploymentStatus": { + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkManagerNameParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "post": { + "tags": [ + "NetworkManagers" + ], + "operationId": "NetworkManagerDeploymentStatus_List", + "description": "Post to List of Network Manager Deployment Status.", + "parameters": [ + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkManagerDeploymentStatusParameter" + }, + "description": "Parameters supplied to specify which Managed Network deployment status is." + } + ], + "responses": { + "200": { + "description": "OK - Returns a list of deployment status.", + "schema": { + "$ref": "#/definitions/NetworkManagerDeploymentStatusListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "NetworkManagerDeploymentStatusList": { + "$ref": "./examples/NetworkManagerDeploymentStatusList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkManagers": { + "get": { + "tags": [ + "NetworkManagers" + ], + "operationId": "NetworkManagers_ListBySubscription", + "description": "List all network managers in a subscription.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ListTopParameter" + }, + { + "$ref": "#/parameters/ListSkipTokenParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the network managers.", + "schema": { + "$ref": "#/definitions/NetworkManagerListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "NetworkManagersList": { + "$ref": "./examples/NetworkManagerListAll.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers": { + "get": { + "tags": [ + "NetworkManagers" + ], + "operationId": "NetworkManagers_List", + "description": "List network managers in a resource group.", + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ListTopParameter" + }, + { + "$ref": "#/parameters/ListSkipTokenParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns a list of network managers.", + "schema": { + "$ref": "#/definitions/NetworkManagerListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "List Network Manager": { + "$ref": "./examples/NetworkManagerList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/listEffectiveVirtualNetworks": { + "post": { + "tags": [ + "NetworkManagers" + ], + "operationId": "EffectiveVirtualNetworks_ListByNetworkManager", + "description": "List effective virtual networks in a network manager.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkManagerNameParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ListTopParameter" + }, + { + "$ref": "#/parameters/ListSkipTokenParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/EffectiveVirtualNetworksParameter" + }, + "description": "Effective Virtual Networks Parameter." + } + ], + "responses": { + "200": { + "description": "OK - Returns a list of effective virtual networks.", + "schema": { + "$ref": "./networkManagerGroup.json#/definitions/EffectiveVirtualNetworksListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "List Effective Virtual Networks By Network Manager": { + "$ref": "./examples/NetworkManagerEffectiveVirtualNetworksListByNetworkManager.json" + } + } + } + } + }, + "definitions": { + "NetworkManager": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/NetworkManagerProperties", + "description": "The network manager properties" + }, + "etag": { + "readOnly": true, + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + }, + "systemData": { + "readOnly": true, + "description": "The system metadata related to this resource.", + "$ref": "./network.json#/definitions/SystemData" + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "description": "The Managed Network resource" + }, + "NetworkManagerListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/NetworkManager" + }, + "description": "Gets a page of NetworkManager" + }, + "nextLink": { + "type": "string", + "description": "Gets the URL to get the next page of results." + } + }, + "description": "Result of the request to list NetworkManager. It contains a list of network managers and a URL link to get the next set of results." + }, + "NetworkManagerProperties": { + "type": "object", + "properties": { + "displayName": { + "type": "string", + "description": "A friendly name for the network manager." + }, + "description": { + "type": "string", + "description": "A description of the network manager." + }, + "networkManagerScopes": { + "properties": { + "managementGroups": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of management groups." + }, + "subscriptions": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of subscriptions." + } + }, + "description": "Scope of Network Manager." + }, + "networkManagerScopeAccesses": { + "type": "array", + "items": { + "type": "string", + "$ref": "#/definitions/ConfigurationType" + }, + "description": "Scope Access." + }, + "provisioningState": { + "readOnly": true, + "$ref": "./network.json#/definitions/ProvisioningState", + "description": "The provisioning state of the scope assignment resource." + } + }, + "description": "Properties of Managed Network" + }, + "NetworkManagerCommit": { + "properties": { + "commitId": { + "type": "string", + "readOnly": true, + "description": "Commit Id." + }, + "targetLocations": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of target locations." + }, + "configurationIds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of configuration ids." + }, + "commitType": { + "type": "string", + "$ref": "#/definitions/ConfigurationType", + "description": "Commit Type." + } + }, + "description": "Network Manager Commit." + }, + "NetworkManagerDeploymentStatusParameter": { + "properties": { + "regions": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of locations." + }, + "deploymentTypes": { + "type": "array", + "items": { + "$ref": "#/definitions/ConfigurationType" + }, + "description": "List of deployment types." + }, + "skipToken": { + "description": "Continuation token for pagination, capturing the next page size and offset, as well as the context of the query.", + "type": "string" + } + }, + "description": "Network Manager Deployment Status Parameter." + }, + "NetworkManagerDeploymentStatusListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/NetworkManagerDeploymentStatus" + }, + "description": "Gets a page of Network Manager Deployment Status" + }, + "skipToken": { + "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.", + "type": "string" + } + }, + "description": "A list of Network Manager Deployment Status" + }, + "NetworkManagerDeploymentStatus": { + "properties": { + "commitTime": { + "type": "string", + "format": "date-time", + "description": "Commit Time." + }, + "region": { + "type": "string", + "description": "Region Name." + }, + "deploymentStatus": { + "type": "string", + "enum": [ + "NotStarted", + "Deploying", + "Deployed", + "Failed" + ], + "x-ms-enum": { + "name": "DeploymentStatus", + "modelAsString": true + }, + "description": "Deployment Status." + }, + "configurationIds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of configuration ids." + }, + "deploymentType": { + "type": "string", + "$ref": "#/definitions/ConfigurationType" + }, + "errorMessage": { + "type": "string", + "description": "Error Message." + } + }, + "description": "Network Manager Deployment Status." + }, + "ConfigurationType": { + "type": "string", + "enum": [ + "SecurityAdmin", + "SecurityUser", + "Connectivity" + ], + "x-ms-enum": { + "name": "ConfigurationType", + "modelAsString": true + }, + "description": "Configuration Deployment Type." + }, + "EffectiveVirtualNetworksParameter": { + "properties": { + "conditionalMembers": { + "type": "string", + "description": "Conditional Members." + }, + "skipToken": { + "description": "Continuation token for pagination, capturing the next page size and offset, as well as the context of the query.", + "type": "string" + } + }, + "description": "Effective Virtual Networks Parameter." + } + }, + "parameters": { + "ResourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group.", + "x-ms-parameter-location": "method" + }, + "NetworkManagerNameParameter": { + "name": "networkManagerName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network manager.", + "x-ms-parameter-location": "method" + }, + "ListTopParameter": { + "name": "$top", + "description": "An optional query parameter which specifies the maximum number of records to be returned by the server.", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "minimum": 1, + "maximum": 20, + "x-ms-parameter-location": "method" + }, + "ListSkipTokenParameter": { + "name": "$skipToken", + "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.", + "in": "query", + "required": false, + "type": "string", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/networkManagerActiveConfiguration.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/networkManagerActiveConfiguration.json new file mode 100644 index 000000000000..c898bfcbbde5 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/networkManagerActiveConfiguration.json @@ -0,0 +1,503 @@ +{ + "swagger": "2.0", + "info": { + "title": "NetworkManagerActiveConfiguration", + "description": "The Microsoft Azure Network Manager Active Configuration API provides a RESTful set of web services that interact with Microsoft Azure Network Manager service to list all active configuration by network manager.", + "version": "2021-02-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/listActiveConnectivityConfigurations": { + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkManagerNameParameter" + } + ], + "post": { + "tags": [ + "NetworkManagerActiveConnectivityConfigurations" + ], + "parameters": [ + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ActiveConfigurationParameter" + }, + "description": "Active Configuration Parameter." + } + ], + "operationId": "ActiveConnectivityConfigurations_List", + "description": "Lists active connectivity configurations in a network manager.", + "responses": { + "200": { + "description": "Post successful. The operation returns the specified Managed Network active connectivity configuration resource.", + "schema": { + "$ref": "#/definitions/ActiveConnectivityConfigurationsListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "List Active Connectivity Configurations": { + "$ref": "./examples/NetworkManagerActiveConnectivityConfigurationsList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/listActiveSecurityAdminRules": { + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkManagerNameParameter" + } + ], + "post": { + "tags": [ + "NetworkManagerActiveConfigurations" + ], + "parameters": [ + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ActiveConfigurationParameter" + }, + "description": "Active Configuration Parameter." + } + ], + "operationId": "ActiveSecurityAdminRules_List", + "description": "Lists active security admin rules in a network manager.", + "responses": { + "200": { + "description": "Post successful. The operation returns the specified Managed Network active security admin rules resource.", + "schema": { + "$ref": "#/definitions/ActiveSecurityAdminRulesListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "List Active Security Admin Rules": { + "$ref": "./examples/NetworkManagerActiveSecurityAdminRulesList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/listActiveSecurityUserRules": { + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkManagerNameParameter" + } + ], + "post": { + "tags": [ + "NetworkManagerActiveSecurityUserRules" + ], + "parameters": [ + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ActiveConfigurationParameter" + }, + "description": "Active Configuration Parameter." + } + ], + "operationId": "ActiveSecurityUserRules_List", + "description": "Lists Active Security User Rules in a network manager.", + "responses": { + "200": { + "description": "Post successful. The operation returns the specified Managed Network active security user rules resource.", + "schema": { + "$ref": "#/definitions/ActiveSecurityUserRulesListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "List Active Security User Rules": { + "$ref": "./examples/NetworkManagerActiveSecurityUserRulesList.json" + } + } + } + } + }, + "definitions": { + "ActiveConfigurationParameter": { + "properties": { + "regions": { + "type": "array", + "items": { + "type": "string", + "description": "region Name." + }, + "description": "List of regions." + }, + "skipToken": { + "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.", + "type": "string" + } + }, + "description": "Effective Virtual Networks Parameter." + }, + "ActiveConnectivityConfiguration": { + "type": "object", + "properties": { + "commitTime": { + "type": "string", + "description": "Deployment time string.", + "format": "date-time" + }, + "region": { + "type": "string", + "description": "Deployment region." + } + }, + "allOf": [ + { + "$ref": "./networkManagerEffectiveConfiguration.json#/definitions/EffectiveConnectivityConfiguration" + } + ], + "description": "Active connectivity configuration." + }, + "ActiveConnectivityConfigurationsListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ActiveConnectivityConfiguration" + }, + "description": "Gets a page of active connectivity configurations." + }, + "skipToken": { + "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.", + "type": "string" + } + }, + "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." + }, + "ActiveSecurityAdminRulesListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ActiveBaseSecurityAdminRule" + }, + "description": "Gets a page of active security admin rules." + }, + "skipToken": { + "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.", + "type": "string" + } + }, + "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." + }, + "ActiveSecurityUserRulesListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ActiveBaseSecurityUserRule" + }, + "description": "Gets a page of active security user rules." + }, + "skipToken": { + "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.", + "type": "string" + } + }, + "description": "Result of the request to list active security user rules. It contains a list of active security user rules and a skiptoken to get the next set of results." + }, + "ActiveBaseSecurityAdminRule": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Resource ID." + }, + "commitTime": { + "type": "string", + "description": "Deployment time string.", + "format": "date-time" + }, + "region": { + "type": "string", + "description": "Deployment region." + }, + "configurationDisplayName": { + "type": "string", + "description": "A display name of the security admin configuration." + }, + "configurationDescription": { + "type": "string", + "description": "A description of the security admin configuration." + }, + "ruleCollectionDisplayName": { + "type": "string", + "description": "A display name of the rule collection." + }, + "ruleCollectionDescription": { + "type": "string", + "description": "A description of the rule collection." + }, + "ruleCollectionAppliesToGroups": { + "type": "array", + "items": { + "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/NetworkManagerSecurityGroupItem" + }, + "description": "Groups for rule collection" + }, + "ruleGroups": { + "type": "array", + "items": { + "$ref": "./networkManagerEffectiveConfiguration.json#/definitions/ConfigurationGroup" + }, + "description": "Effective configuration groups." + }, + "kind": { + "type": "string", + "description": "Whether the rule is custom or default.", + "enum": [ + "Custom", + "Default" + ], + "x-ms-enum": { + "name": "EffectiveAdminRuleKind", + "modelAsString": true + } + } + }, + "required": [ + "kind" + ], + "discriminator": "kind", + "description": "Network base admin rule." + }, + "ActiveSecurityAdminRule": { + "type": "object", + "properties": { + "properties": { + "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/AdminPropertiesFormat", + "x-ms-client-flatten": true, + "description": "Indicates the properties of the security admin rule" + } + }, + "allOf": [ + { + "$ref": "#/definitions/ActiveBaseSecurityAdminRule" + } + ], + "description": "Network admin rule.", + "x-ms-discriminator-value": "Custom" + }, + "ActiveDefaultSecurityAdminRule": { + "type": "object", + "properties": { + "properties": { + "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/DefaultAdminPropertiesFormat", + "x-ms-client-flatten": true, + "description": "Indicates the properties of the default security admin rule" + } + }, + "allOf": [ + { + "$ref": "#/definitions/ActiveBaseSecurityAdminRule" + } + ], + "description": "Network default admin rule.", + "x-ms-discriminator-value": "Default" + }, + "ActiveBaseSecurityUserRule": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Resource ID." + }, + "commitTime": { + "type": "string", + "description": "Deployment time string.", + "format": "date-time" + }, + "region": { + "type": "string", + "description": "Deployment region." + }, + "configurationDisplayName": { + "type": "string", + "description": "A display name of the security user configuration." + }, + "configurationDescription": { + "type": "string", + "description": "A description of the security user configuration." + }, + "ruleCollectionDisplayName": { + "type": "string", + "description": "A display name of the rule collection." + }, + "ruleCollectionDescription": { + "type": "string", + "description": "A description of the rule collection." + }, + "ruleCollectionAppliesToGroups": { + "type": "array", + "items": { + "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/NetworkManagerSecurityGroupItem" + }, + "description": "Groups for rule collection" + }, + "ruleGroups": { + "type": "array", + "items": { + "$ref": "./networkManagerEffectiveConfiguration.json#/definitions/ConfigurationGroup" + }, + "description": "Effective configuration groups." + }, + "kind": { + "type": "string", + "description": "Whether the rule is custom or default.", + "enum": [ + "Custom", + "Default" + ], + "x-ms-enum": { + "name": "EffectiveUserRuleKind", + "modelAsString": true + } + } + }, + "required": [ + "kind" + ], + "discriminator": "kind", + "description": "Network base rule." + }, + "ActiveSecurityUserRule": { + "type": "object", + "properties": { + "properties": { + "$ref": "./networkManagerSecurityUserConfiguration.json#/definitions/UserRulePropertiesFormat", + "x-ms-client-flatten": true, + "description": "Indicates the properties of the security user rule" + } + }, + "allOf": [ + { + "$ref": "#/definitions/ActiveBaseSecurityUserRule" + } + ], + "description": "Network security user rule.", + "x-ms-discriminator-value": "Custom" + }, + "ActiveDefaultSecurityUserRule": { + "type": "object", + "properties": { + "properties": { + "$ref": "./networkManagerSecurityUserConfiguration.json#/definitions/DefaultUserRulePropertiesFormat", + "x-ms-client-flatten": true, + "description": "Indicates the properties of the security default user rule" + } + }, + "allOf": [ + { + "$ref": "#/definitions/ActiveBaseSecurityUserRule" + } + ], + "description": "Network security default user rule.", + "x-ms-discriminator-value": "Default" + } + }, + "parameters": { + "ResourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group.", + "x-ms-parameter-location": "method" + }, + "NetworkManagerNameParameter": { + "name": "networkManagerName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network manager.", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/networkManagerConnectivityConfiguration.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/networkManagerConnectivityConfiguration.json new file mode 100644 index 000000000000..05e0bf874eb4 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/networkManagerConnectivityConfiguration.json @@ -0,0 +1,416 @@ +{ + "swagger": "2.0", + "info": { + "title": "ConnectivityConfiguration", + "description": "The Microsoft Azure Virtual Network Manager Connectivity Configuration API provides a RESTful set of web services that interact with Microsoft Azure Network Manager service to manage your network resources.", + "version": "2021-02-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/connectivityConfigurations/{configurationName}": { + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkManagerNameParameter" + }, + { + "$ref": "#/parameters/ConnectivityConfigurationNameParameter" + } + ], + "get": { + "tags": [ + "ConnectivityConfigurations" + ], + "operationId": "ConnectivityConfigurations_Get", + "description": "Gets a Network Connectivity Configuration, specified by the resource group, network manager name, and connectivity Configuration name", + "responses": { + "200": { + "description": "Get successful. The operation returns the specified Managed Network Connectivity Configuration resource.", + "schema": { + "$ref": "#/definitions/ConnectivityConfiguration" + } + }, + "default": { + "description": "Resource Provider error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "ConnectivityConfigurationsGet": { + "$ref": "./examples/NetworkManagerConnectivityConfigurationGet.json" + } + } + }, + "put": { + "tags": [ + "ConnectivityConfigurations" + ], + "operationId": "ConnectivityConfigurations_CreateOrUpdate", + "description": "Creates/Updates a new network manager connectivity configuration", + "parameters": [ + { + "name": "connectivityConfiguration", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ConnectivityConfiguration" + }, + "description": "Parameters supplied to create/update a network manager connectivity configuration" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting network manager connectivity configuration.", + "schema": { + "$ref": "#/definitions/ConnectivityConfiguration" + } + }, + "201": { + "description": "Create successful. The operation returns the resulting network manager connectivity configuration.", + "schema": { + "$ref": "#/definitions/ConnectivityConfiguration" + } + }, + "default": { + "description": "Resource Provider error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "ConnectivityConfigurationsPut": { + "$ref": "./examples/NetworkManagerConnectivityConfigurationPut.json" + } + } + }, + "delete": { + "tags": [ + "ConnectivityConfigurations" + ], + "operationId": "ConnectivityConfigurations_Delete", + "description": "Deletes a network manager connectivity configuration, specified by the resource group, network manager name, and connectivity configuration name", + "responses": { + "200": { + "description": "Delete successful." + }, + "204": { + "description": "Request successful. The resource does not exist." + }, + "default": { + "description": "Resource Provider error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "ConnectivityConfigurationsDelete": { + "$ref": "./examples/NetworkManagerConnectivityConfigurationDelete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/connectivityConfigurations": { + "get": { + "tags": [ + "ConnectivityConfigurations" + ], + "operationId": "ConnectivityConfigurations_List", + "description": "Lists all the network manager connectivity configuration in a specified network manager.", + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkManagerNameParameter" + }, + { + "$ref": "#/parameters/ListTopParameter" + }, + { + "$ref": "#/parameters/ListSkipTokenParameter" + } + ], + "responses": { + "200": { + "description": "Get successful. The operation returns all network manager connectivity configuration resources in the specified network manager, in a paginated format", + "schema": { + "$ref": "#/definitions/ConnectivityConfigurationListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "ConnectivityConfigurationsList": { + "$ref": "./examples/NetworkManagerConnectivityConfigurationList.json" + } + } + } + } + }, + "definitions": { + "ConnectivityConfigurationListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ConnectivityConfiguration" + }, + "description": "Gets a page of Connectivity Configurations" + }, + "nextLink": { + "type": "string", + "description": "Gets the URL to get the next page of results." + } + }, + "description": "Result of the request to list network manager connectivity configurations. It contains a list of configurations and a link to get the next set of results." + }, + "ConnectivityConfiguration": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ConnectivityConfigurationProperties", + "description": "Properties of a network manager connectivity configuration" + }, + "systemData": { + "readOnly": true, + "description": "The system metadata related to this resource.", + "$ref": "./network.json#/definitions/SystemData" + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/ProxyResource" + } + ], + "description": "The network manager connectivity configuration resource" + }, + "ConnectivityConfigurationProperties": { + "properties": { + "displayName": { + "type": "string", + "description": "A friendly name for the resource." + }, + "description": { + "type": "string", + "description": "A description of the connectivity configuration." + }, + "connectivityTopology": { + "type": "string", + "enum": [ + "HubAndSpoke", + "Mesh" + ], + "x-ms-enum": { + "name": "ConnectivityTopology", + "modelAsString": true + }, + "description": "Connectivity topology type." + }, + "hubs": { + "type": "array", + "items": { + "$ref": "#/definitions/Hub" + }, + "description": "List of hubItems" + }, + "isGlobal": { + "type": "string", + "enum": [ + "False", + "True" + ], + "x-ms-enum": { + "name": "IsGlobal", + "modelAsString": true + }, + "description": "Flag if global mesh is supported." + }, + "appliesToGroups": { + "type": "array", + "items": { + "$ref": "#/definitions/connectivityGroupItem" + }, + "description": "Groups for configuration" + }, + "provisioningState": { + "readOnly": true, + "$ref": "./network.json#/definitions/ProvisioningState", + "description": "The provisioning state of the connectivity configuration resource." + }, + "deleteExistingPeering": { + "type": "string", + "enum": [ + "False", + "True" + ], + "x-ms-enum": { + "name": "DeleteExistingPeering", + "modelAsString": true + }, + "description": "Flag if need to remove current existing peerings." + } + }, + "required": [ + "connectivityTopology" + ], + "description": "Properties of network manager connectivity configuration" + }, + "Hub": { + "type": "object", + "properties": { + "resourceId": { + "type": "string", + "description": "Resource Id." + }, + "resourceType": { + "type": "string", + "description": "Resource Type." + } + }, + "description": "Hub Item." + }, + "connectivityGroupItem": { + "type": "object", + "properties": { + "networkGroupId": { + "type": "string", + "description": "Network group Id." + }, + "useHubGateway": { + "type": "string", + "enum": [ + "False", + "True" + ], + "x-ms-enum": { + "name": "UseHubGateway", + "modelAsString": true + }, + "description": "Flag if need to use hub gateway." + }, + "isGlobal": { + "type": "string", + "enum": [ + "False", + "True" + ], + "x-ms-enum": { + "name": "IsGlobal", + "modelAsString": true + }, + "description": "Flag if global is supported." + }, + "groupConnectivity": { + "type": "string", + "enum": [ + "None", + "DirectlyConnected" + ], + "x-ms-enum": { + "name": "GroupConnectivity", + "modelAsString": true + }, + "description": "Group connectivity type." + } + } + } + }, + "parameters": { + "ConnectivityConfigurationNameParameter": { + "name": "configurationName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network manager connectivity configuration.", + "x-ms-parameter-location": "method" + }, + "ResourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group.", + "x-ms-parameter-location": "method" + }, + "NetworkManagerNameParameter": { + "name": "networkManagerName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network manager.", + "x-ms-parameter-location": "method" + }, + "ListTopParameter": { + "name": "$top", + "description": "An optional query parameter which specifies the maximum number of records to be returned by the server.", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "minimum": 1, + "maximum": 20, + "x-ms-parameter-location": "method" + }, + "ListSkipTokenParameter": { + "name": "$skipToken", + "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.", + "in": "query", + "required": false, + "type": "string", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/networkManagerEffectiveConfiguration.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/networkManagerEffectiveConfiguration.json new file mode 100644 index 000000000000..e7459bb64abd --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/networkManagerEffectiveConfiguration.json @@ -0,0 +1,325 @@ +{ + "swagger": "2.0", + "info": { + "title": "NetworkManagerEffectiveConfiguration", + "description": "The Microsoft Azure Network Manager effective configuration API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", + "version": "2021-02-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/listNetworkManagerEffectiveConnectivityConfigurations": { + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/VirtualNetworkNameParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "post": { + "tags": [ + "NetworkManagerEffectiveConnectivityConfiguration" + ], + "parameters": [ + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "./networkManagerGroup.json#/definitions/QueryRequestOptions" + }, + "description": "Parameters supplied to list correct page." + } + ], + "operationId": "EffectiveConnectivityConfigurations_List", + "description": "List all effective connectivity configurations applied on a virtual network.", + "responses": { + "200": { + "description": "OK - Returns information about the configurations.", + "schema": { + "$ref": "#/definitions/NetworkManagerEffectiveConnectivityConfigurationListResult" + } + }, + "default": { + "description": "Resource Provider error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "List effective connectivity configuration": { + "$ref": "./examples/NetworkManagerEffectiveConnectivityConfigurationsList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/listNetworkManagerEffectiveSecurityAdminRules": { + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/VirtualNetworkNameParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "post": { + "tags": [ + "NetworkManagerEffectiveSecurityAdminRules" + ], + "parameters": [ + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "./networkManagerGroup.json#/definitions/QueryRequestOptions" + }, + "description": "Parameters supplied to list correct page." + } + ], + "operationId": "NetworkManagerEffectiveSecurityAdminRules_List", + "description": "List all effective security admin rules applied on a virtual network.", + "responses": { + "200": { + "description": "OK - Returns information about the configurations.", + "schema": { + "$ref": "#/definitions/NetworkManagerEffectiveSecurityAdminRulesListResult" + } + }, + "default": { + "description": "Resource Provider error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "List effective security admin rules": { + "$ref": "./examples/NetworkManagerEffectiveSecurityAdminRulesList.json" + } + } + } + } + }, + "definitions": { + "NetworkManagerEffectiveConnectivityConfigurationListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/EffectiveConnectivityConfiguration" + }, + "description": "Gets a page of NetworkManagerEffectiveConnectivityConfiguration" + }, + "skipToken": { + "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.", + "type": "string" + } + }, + "description": "Result of the request to list networkManagerEffectiveConnectivityConfiguration. It contains a list of groups and a skiptoken to get the next set of results." + }, + "NetworkManagerEffectiveSecurityAdminRulesListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/EffectiveBaseSecurityAdminRule" + }, + "description": "Gets a page of NetworkManagerEffectiveSecurityAdminRules" + }, + "skipToken": { + "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.", + "type": "string" + } + }, + "description": "Result of the request to list networkManagerEffectiveSecurityAdminRules. It contains a list of groups and a skiptoken to get the next set of results." + }, + "EffectiveConnectivityConfiguration": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Resource ID." + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "./networkManagerConnectivityConfiguration.json#/definitions/ConnectivityConfigurationProperties", + "description": "Properties of a network manager connectivity configuration" + }, + "configurationGroups": { + "type": "array", + "items": { + "$ref": "#/definitions/ConfigurationGroup" + }, + "description": "Effective configuration groups." + } + }, + "description": "The network manager effective connectivity configuration" + }, + "EffectiveBaseSecurityAdminRule": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Resource ID." + }, + "configurationDisplayName": { + "type": "string", + "description": "A display name of the security admin configuration." + }, + "configurationDescription": { + "type": "string", + "description": "A description of the security admin configuration." + }, + "ruleCollectionDisplayName": { + "type": "string", + "description": "A display name of the rule collection." + }, + "ruleCollectionDescription": { + "type": "string", + "description": "A description of the rule collection." + }, + "ruleCollectionAppliesToGroups": { + "type": "array", + "items": { + "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/NetworkManagerSecurityGroupItem" + }, + "description": "Groups for rule collection" + }, + "ruleGroups": { + "type": "array", + "items": { + "$ref": "#/definitions/ConfigurationGroup" + }, + "description": "Effective configuration groups." + }, + "kind": { + "type": "string", + "description": "Whether the rule is custom or default.", + "enum": [ + "Custom", + "Default" + ], + "x-ms-enum": { + "name": "EffectiveAdminRuleKind", + "modelAsString": true + } + } + }, + "required": [ + "kind" + ], + "discriminator": "kind", + "description": "Network base admin rule." + }, + "EffectiveSecurityAdminRule": { + "type": "object", + "properties": { + "properties": { + "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/AdminPropertiesFormat", + "x-ms-client-flatten": true, + "description": "Indicates the properties of the security admin rule" + } + }, + "allOf": [ + { + "$ref": "#/definitions/EffectiveBaseSecurityAdminRule" + } + ], + "description": "Network admin rule.", + "x-ms-discriminator-value": "Custom" + }, + "EffectiveDefaultSecurityAdminRule": { + "type": "object", + "properties": { + "properties": { + "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/DefaultAdminPropertiesFormat", + "x-ms-client-flatten": true, + "description": "Indicates the properties of the default security admin rule" + } + }, + "allOf": [ + { + "$ref": "#/definitions/EffectiveBaseSecurityAdminRule" + } + ], + "description": "Network default admin rule.", + "x-ms-discriminator-value": "Default" + }, + "ConfigurationGroup": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Resource ID." + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "./networkManagerGroup.json#/definitions/NetworkGroupProperties", + "description": "The network configuration group properties" + } + }, + "description": "The network configuration group resource" + } + }, + "parameters": { + "ResourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group.", + "x-ms-parameter-location": "method" + }, + "VirtualNetworkNameParameter": { + "name": "virtualNetworkName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual network.", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/networkManagerGroup.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/networkManagerGroup.json new file mode 100644 index 000000000000..8c2b26ad18fc --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/networkManagerGroup.json @@ -0,0 +1,455 @@ +{ + "swagger": "2.0", + "info": { + "title": "NetworkGroup", + "description": "The Microsoft Azure Network Group API provides a RESTful set of web services that interact with Microsoft Azure Network Manager service to manage your network resources.", + "version": "2021-02-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/networkGroups/{networkGroupName}": { + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkManagerNameParameter" + }, + { + "$ref": "#/parameters/NetworkGroupNameParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "get": { + "tags": [ + "NetworkGroups" + ], + "operationId": "NetworkGroups_Get", + "description": "Gets the specified network group.", + "responses": { + "200": { + "description": "OK - Returns information about the network group.", + "schema": { + "$ref": "#/definitions/NetworkGroup" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "NetworkGroupsGet": { + "$ref": "./examples/NetworkManagerGroupGet.json" + } + } + }, + "put": { + "tags": [ + "NetworkGroups" + ], + "operationId": "NetworkGroups_CreateOrUpdate", + "description": "Creates or updates a network group.", + "parameters": [ + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkGroup" + }, + "description": "Parameters supplied to the specify which network group need to create" + }, + { + "name": "If-Match", + "in": "header", + "required": false, + "type": "string", + "x-ms-client-name": "IfMatch", + "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." + } + ], + "responses": { + "200": { + "description": "Updated - Returns information about the network group.", + "schema": { + "$ref": "#/definitions/NetworkGroup" + }, + "headers": { + "ETag": { + "description": "The current entity tag.", + "type": "string" + } + } + }, + "201": { + "description": "Created - Returns information about the network group.", + "schema": { + "$ref": "#/definitions/NetworkGroup" + }, + "headers": { + "ETag": { + "description": "The current entity tag.", + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "NetworkGroupsPut": { + "$ref": "./examples/NetworkManagerGroupPut.json" + } + } + }, + "delete": { + "tags": [ + "NetworkGroups" + ], + "operationId": "NetworkGroups_Delete", + "description": "Deletes a network group.", + "responses": { + "200": { + "description": "Delete Succeed." + }, + "204": { + "description": "Request successful. The resource does not exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "NetworkGroupsDelete": { + "$ref": "./examples/NetworkManagerGroupDelete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/networkGroups": { + "get": { + "tags": [ + "NetworkGroups" + ], + "operationId": "NetworkGroups_List", + "description": "Lists the specified network group.", + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkManagerNameParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ListTopParameter" + }, + { + "$ref": "#/parameters/ListSkipTokenParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the network group.", + "schema": { + "$ref": "#/definitions/NetworkGroupListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "NetworkGroupsList": { + "$ref": "./examples/NetworkManagerGroupList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/networkGroups/{networkGroupName}/listEffectiveVirtualNetworks": { + "post": { + "tags": [ + "NetworkGroups" + ], + "operationId": "EffectiveVirtualNetworks_ListByNetworkGroup", + "description": "Lists all effective virtual networks by specified network group.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkManagerNameParameter" + }, + { + "$ref": "#/parameters/NetworkGroupNameParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/QueryRequestOptions" + }, + "description": "Parameters supplied to list correct page." + } + ], + "responses": { + "200": { + "description": "OK - Returns information about the effective virtual networks.", + "schema": { + "$ref": "#/definitions/EffectiveVirtualNetworksListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "NetworkGroupsList": { + "$ref": "./examples/NetworkManagerEffectiveVirtualNetworksList.json" + } + } + } + } + }, + "definitions": { + "NetworkGroup": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/NetworkGroupProperties", + "description": "The Network Group properties" + }, + "systemData": { + "readOnly": true, + "description": "The system metadata related to this resource.", + "$ref": "./network.json#/definitions/SystemData" + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/ProxyResource" + } + ], + "description": "The network group resource" + }, + "NetworkGroupListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/NetworkGroup" + }, + "description": "Gets a page of NetworkGroup" + }, + "nextLink": { + "type": "string", + "description": "Gets the URL to get the next set of results." + } + }, + "description": "Result of the request to list NetworkGroup. It contains a list of groups and a URL link to get the next set of results." + }, + "NetworkGroupProperties": { + "type": "object", + "properties": { + "displayName": { + "type": "string", + "description": "A friendly name for the network group." + }, + "description": { + "type": "string", + "description": "A description of the network group." + }, + "memberType": { + "type": "string", + "description": "Group member type." + }, + "groupMembers": { + "type": "array", + "items": { + "$ref": "#/definitions/groupMembersItem" + }, + "description": "Group members of network group." + }, + "conditionalMembership": { + "type": "string", + "description": "Network group conditional filter." + }, + "provisioningState": { + "readOnly": true, + "$ref": "./network.json#/definitions/ProvisioningState", + "description": "The provisioning state of the scope assignment resource." + } + }, + "description": "Properties of network group" + }, + "groupMembersItem": { + "type": "object", + "properties": { + "resourceId": { + "type": "string", + "description": "Resource Id." + } + }, + "description": "GroupMembers Item." + }, + "QueryRequestOptions": { + "properties": { + "skipToken": { + "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.", + "type": "string" + } + }, + "description": "Query Request Options" + }, + "EffectiveVirtualNetworksListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/EffectiveVirtualNetwork" + }, + "description": "Gets a page of EffectiveVirtualNetwork" + }, + "skipToken": { + "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.", + "type": "string" + } + }, + "description": "Result of the request to list Effective Virtual Network. It contains a list of groups and a URL link to get the next set of results." + }, + "EffectiveVirtualNetwork": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Effective vnet Id." + }, + "location": { + "type": "string", + "description": "Location of vnet." + }, + "membershipType": { + "type": "string", + "description": "Membership Type.", + "enum": [ + "Static", + "Dynamic" + ], + "x-ms-enum": { + "name": "MembershipType", + "modelAsString": true + } + } + }, + "description": "Effective Virtual Network" + } + }, + "parameters": { + "ResourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group.", + "x-ms-parameter-location": "method" + }, + "NetworkManagerNameParameter": { + "name": "networkManagerName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network manager.", + "x-ms-parameter-location": "method" + }, + "NetworkGroupNameParameter": { + "name": "networkGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network group to get.", + "x-ms-parameter-location": "method" + }, + "ListTopParameter": { + "name": "$top", + "description": "An optional query parameter which specifies the maximum number of records to be returned by the server.", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "minimum": 1, + "maximum": 20, + "x-ms-parameter-location": "method" + }, + "ListSkipTokenParameter": { + "name": "$skipToken", + "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.", + "in": "query", + "required": false, + "type": "string", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/networkManagerSecurityAdminConfiguration.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/networkManagerSecurityAdminConfiguration.json new file mode 100644 index 000000000000..cf7706d09e19 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/networkManagerSecurityAdminConfiguration.json @@ -0,0 +1,1064 @@ +{ + "swagger": "2.0", + "info": { + "title": "SecurityAdminConfiguration", + "version": "2021-02-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations": { + "get": { + "tags": [ + "SecurityAdminConfigurations" + ], + "operationId": "SecurityAdminConfigurations_List", + "description": "Lists all the network manager security admin configurations in a network manager, in a paginated format.", + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkManagerNameParameter" + }, + { + "$ref": "#/parameters/ListTopParameter" + }, + { + "$ref": "#/parameters/ListSkipTokenParameter" + } + ], + "responses": { + "200": { + "description": "Get successful. The operation returns all security admin configuration resources in the specified network manager, in a paginated format", + "schema": { + "$ref": "#/definitions/SecurityConfigurationListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List security admin configurations in a network manager": { + "$ref": "./examples/NetworkManagerSecurityAdminConfigurationList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations/{configurationName}": { + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkManagerNameParameter" + }, + { + "$ref": "#/parameters/SecurityConfigurationParameter" + } + ], + "get": { + "tags": [ + "SecurityAdminConfigurations" + ], + "description": "Retrieves a network manager security admin configuration.", + "operationId": "SecurityAdminConfigurations_Get", + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/SecurityConfiguration" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Get security admin configurations": { + "$ref": "./examples/NetworkManagerSecurityAdminConfigurationGet.json" + } + } + }, + "put": { + "tags": [ + "SecurityAdminConfigurations" + ], + "description": "Creates or updates a network manager security admin configuration.", + "operationId": "SecurityAdminConfigurations_CreateOrUpdate", + "parameters": [ + { + "name": "securityAdminConfiguration", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/SecurityConfiguration" + }, + "description": "The security admin configuration to create or update" + } + ], + "responses": { + "200": { + "description": "Updated Admin Configuration", + "schema": { + "$ref": "#/definitions/SecurityConfiguration" + } + }, + "201": { + "description": "Created Admin Configuration", + "schema": { + "$ref": "#/definitions/SecurityConfiguration" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Create network manager security admin configuration": { + "$ref": "./examples/NetworkManagerSecurityAdminConfigurationPut.json" + } + } + }, + "delete": { + "tags": [ + "SecurityAdminConfigurations" + ], + "description": "Deletes a network manager security admin configuration.", + "operationId": "SecurityAdminConfigurations_Delete", + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "Request successful. Resource does not exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Delete network manager security admin configuration": { + "$ref": "./examples/NetworkManagerSecurityAdminConfigurationDelete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations/{configurationName}/ruleCollections": { + "get": { + "tags": [ + "AdminRuleCollections" + ], + "operationId": "AdminRuleCollections_List", + "description": "Lists all the rule collections in a security admin configuration, in a paginated format.", + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkManagerNameParameter" + }, + { + "$ref": "#/parameters/SecurityConfigurationParameter" + }, + { + "$ref": "#/parameters/ListTopParameter" + }, + { + "$ref": "#/parameters/ListSkipTokenParameter" + } + ], + "responses": { + "200": { + "description": "Get successful. The operation returns all ruleCollections in the specified security configuration, in a paginated format", + "schema": { + "$ref": "#/definitions/RuleCollectionListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List security admin rule collections": { + "$ref": "./examples/NetworkManagerAdminRuleCollectionList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}": { + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkManagerNameParameter" + }, + { + "$ref": "#/parameters/SecurityConfigurationParameter" + }, + { + "$ref": "#/parameters/RuleCollectionParameter" + } + ], + "get": { + "tags": [ + "AdminRuleCollections" + ], + "description": "Gets a network manager security admin configuration rule collection.", + "operationId": "AdminRuleCollections_Get", + "responses": { + "200": { + "description": "Successful operation", + "schema": { + "$ref": "#/definitions/RuleCollection" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Gets security admin rule collection": { + "$ref": "./examples/NetworkManagerAdminRuleCollectionGet.json" + } + } + }, + "put": { + "tags": [ + "AdminRuleCollections" + ], + "description": "Creates or updates an admin rule collection.", + "operationId": "AdminRuleCollections_CreateOrUpdate", + "parameters": [ + { + "name": "ruleCollection", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/RuleCollection" + }, + "description": "The Rule Collection to create or update" + } + ], + "responses": { + "200": { + "description": "Updated Rule Collection", + "schema": { + "$ref": "#/definitions/RuleCollection" + } + }, + "201": { + "description": "Created Rule Collection", + "schema": { + "$ref": "#/definitions/RuleCollection" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Create or Update an admin rule collection": { + "$ref": "./examples/NetworkManagerAdminRuleCollectionPut.json" + } + } + }, + "delete": { + "tags": [ + "AdminRuleCollections" + ], + "description": "Deletes an admin rule collection.", + "operationId": "AdminRuleCollections_Delete", + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "Request successful. Resource does not exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Deletes an admin rule collection": { + "$ref": "./examples/NetworkManagerAdminRuleCollectionDelete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}/rules": { + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkManagerNameParameter" + }, + { + "$ref": "#/parameters/SecurityConfigurationParameter" + }, + { + "$ref": "#/parameters/RuleCollectionParameter" + }, + { + "$ref": "#/parameters/ListTopParameter" + }, + { + "$ref": "#/parameters/ListSkipTokenParameter" + } + ], + "get": { + "tags": [ + "AdminRules" + ], + "description": "List all network manager security configuration admin rules.", + "operationId": "AdminRules_List", + "responses": { + "200": { + "description": "Successful operation", + "schema": { + "$ref": "#/definitions/AdminRuleListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "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}": { + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkManagerNameParameter" + }, + { + "$ref": "#/parameters/SecurityConfigurationParameter" + }, + { + "$ref": "#/parameters/RuleCollectionParameter" + }, + { + "$ref": "#/parameters/SecurityConfigurationsRuleParameter" + } + ], + "get": { + "tags": [ + "AdminRules" + ], + "description": "Gets a network manager security configuration admin rule.", + "operationId": "AdminRules_Get", + "responses": { + "200": { + "description": "Successful operation", + "schema": { + "$ref": "#/definitions/BaseAdminRule" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Gets security admin rule": { + "$ref": "./examples/NetworkManagerAdminRuleGet.json" + }, + "Gets security default admin rule": { + "$ref": "./examples/NetworkManagerDefaultAdminRuleGet.json" + } + } + }, + "put": { + "tags": [ + "AdminRules" + ], + "description": "Creates or updates an admin rule.", + "operationId": "AdminRules_CreateOrUpdate", + "parameters": [ + { + "name": "adminRule", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/BaseAdminRule" + }, + "description": "The admin rule to create or update" + } + ], + "responses": { + "200": { + "description": "Updated rule", + "schema": { + "$ref": "#/definitions/BaseAdminRule" + } + }, + "201": { + "description": "Created rule", + "schema": { + "$ref": "#/definitions/BaseAdminRule" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Create an admin rule": { + "$ref": "./examples/NetworkManagerAdminRulePut.json" + }, + "Create a default admin rule": { + "$ref": "./examples/NetworkManagerDefaultAdminRulePut.json" + } + } + }, + "delete": { + "tags": [ + "AdminRules" + ], + "description": "Deletes an admin rule.", + "operationId": "AdminRules_Delete", + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "Request successful. Resource does not exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Deletes an admin rule": { + "$ref": "./examples/NetworkManagerAdminRuleDelete.json" + } + } + } + } + }, + "definitions": { + "SecurityConfiguration": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/SecurityConfigurationPropertiesFormat", + "description": "Indicates the properties for the network manager security Configuration." + }, + "systemData": { + "readOnly": true, + "description": "The system metadata related to this resource.", + "$ref": "./network.json#/definitions/SystemData" + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/ProxyResource" + } + ], + "description": "Defines the security configuration" + }, + "SecurityConfigurationPropertiesFormat": { + "properties": { + "displayName": { + "type": "string", + "description": "A display name of the security configuration." + }, + "description": { + "type": "string", + "description": "A description of the security configuration." + }, + "securityType": { + "type": "string", + "description": "Security Type.", + "enum": [ + "AdminPolicy", + "UserPolicy" + ], + "x-ms-enum": { + "name": "SecurityType", + "modelAsString": true + } + }, + "deleteExistingNSGs": { + "type": "string", + "enum": [ + "False", + "True" + ], + "x-ms-enum": { + "name": "DeleteExistingNSGs", + "modelAsString": true + }, + "description": "Flag if need to delete existing network security groups." + }, + "provisioningState": { + "readOnly": true, + "$ref": "./network.json#/definitions/ProvisioningState", + "description": "The provisioning state of the resource." + } + }, + "description": "Defines the security Configuration properties." + }, + "SecurityConfigurationListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/SecurityConfiguration" + }, + "description": "Gets a page of security configurations" + }, + "nextLink": { + "type": "string", + "description": "Gets the URL to get the next page of results." + } + }, + "description": "A list of network manager security configurations" + }, + "AdminRuleListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/BaseAdminRule" + }, + "description": "A list of admin rules" + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "security configuration admin rule list result." + }, + "RuleCollectionListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/RuleCollection" + }, + "description": "A list of network manager security configuration rule collections" + }, + "nextLink": { + "type": "string", + "description": "Gets the URL to get the next set of results." + } + }, + "description": "Security configuration rule collection list result." + }, + "RuleCollection": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/RuleCollectionPropertiesFormat", + "description": "Indicates the properties for the network manager rule collection." + }, + "systemData": { + "readOnly": true, + "description": "The system metadata related to this resource.", + "$ref": "./network.json#/definitions/SystemData" + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/ProxyResource" + } + ], + "description": "Defines the rule collection." + }, + "RuleCollectionPropertiesFormat": { + "properties": { + "displayName": { + "type": "string", + "description": "A display name of the rule collection." + }, + "description": { + "type": "string", + "description": "A description of the rule collection." + }, + "appliesToGroups": { + "type": "array", + "items": { + "$ref": "#/definitions/NetworkManagerSecurityGroupItem" + }, + "description": "Groups for configuration" + }, + "provisioningState": { + "readOnly": true, + "$ref": "./network.json#/definitions/ProvisioningState", + "description": "The provisioning state of the resource." + } + }, + "description": "Defines the rule collection properties." + }, + "BaseAdminRule": { + "properties": { + "kind": { + "type": "string", + "description": "Whether the rule is custom or default.", + "enum": [ + "Custom", + "Default" + ], + "x-ms-enum": { + "name": "AdminRuleKind", + "modelAsString": true + } + }, + "systemData": { + "readOnly": true, + "description": "The system metadata related to this resource.", + "$ref": "./network.json#/definitions/SystemData" + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/ProxyResource" + } + ], + "required": [ + "kind" + ], + "discriminator": "kind", + "description": "Network base admin rule." + }, + "AdminRule": { + "properties": { + "properties": { + "$ref": "#/definitions/AdminPropertiesFormat", + "x-ms-client-flatten": true, + "description": "Indicates the properties of the security admin rule" + } + }, + "allOf": [ + { + "$ref": "#/definitions/BaseAdminRule" + } + ], + "description": "Network admin rule.", + "x-ms-discriminator-value": "Custom" + }, + "AdminPropertiesFormat": { + "properties": { + "displayName": { + "type": "string", + "description": "A friendly name for the rule." + }, + "description": { + "type": "string", + "description": "A description for this rule. Restricted to 140 chars." + }, + "protocol": { + "type": "string", + "$ref": "#/definitions/RuleProtocol", + "description": "Network protocol this rule applies to." + }, + "sources": { + "type": "array", + "items": { + "$ref": "#/definitions/AddressPrefixItem" + }, + "description": "The CIDR or source IP ranges." + }, + "destinations": { + "type": "array", + "items": { + "$ref": "#/definitions/AddressPrefixItem" + }, + "description": "The destination address prefixes. CIDR or destination IP ranges." + }, + "sourcePortRanges": { + "type": "array", + "items": { + "type": "string", + "description": "The source port." + }, + "description": "The source port ranges." + }, + "destinationPortRanges": { + "type": "array", + "items": { + "type": "string", + "description": "The destination port." + }, + "description": "The destination port ranges." + }, + "access": { + "$ref": "#/definitions/SecurityConfigurationRuleAccess", + "description": "Indicates the access allowed for this particular rule" + }, + "priority": { + "type": "integer", + "format": "int32", + "minimum": 1, + "maximum": 4096, + "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." + }, + "direction": { + "$ref": "#/definitions/SecurityConfigurationRuleDirection", + "description": "Indicates if the traffic matched against the rule in inbound or outbound." + }, + "provisioningState": { + "readOnly": true, + "$ref": "./network.json#/definitions/ProvisioningState", + "description": "The provisioning state of the resource." + } + }, + "required": [ + "protocol", + "access", + "direction" + ], + "description": "Security admin rule resource." + }, + "DefaultAdminRule": { + "properties": { + "properties": { + "$ref": "#/definitions/DefaultAdminPropertiesFormat", + "x-ms-client-flatten": true, + "description": "Indicates the properties of the security admin rule" + } + }, + "allOf": [ + { + "$ref": "#/definitions/BaseAdminRule" + } + ], + "description": "Network default admin rule.", + "x-ms-discriminator-value": "Default" + }, + "DefaultAdminPropertiesFormat": { + "type": "object", + "properties": { + "displayName": { + "type": "string", + "readOnly": true, + "description": "A friendly name for the rule." + }, + "description": { + "type": "string", + "readOnly": true, + "description": "A description for this rule. Restricted to 140 chars." + }, + "flag": { + "type": "string", + "description": "Default rule flag." + }, + "protocol": { + "type": "string", + "readOnly": true, + "$ref": "#/definitions/RuleProtocol", + "description": "Network protocol this rule applies to." + }, + "sources": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/AddressPrefixItem" + }, + "description": "The CIDR or source IP ranges." + }, + "destinations": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/AddressPrefixItem" + }, + "description": "The destination address prefixes. CIDR or destination IP ranges." + }, + "sourcePortRanges": { + "type": "array", + "readOnly": true, + "items": { + "type": "string", + "description": "The source port." + }, + "description": "The source port ranges." + }, + "destinationPortRanges": { + "type": "array", + "readOnly": true, + "items": { + "type": "string", + "description": "The destination port." + }, + "description": "The destination port ranges." + }, + "access": { + "$ref": "#/definitions/SecurityConfigurationRuleAccess", + "readOnly": true, + "description": "Indicates the access allowed for this particular rule" + }, + "priority": { + "type": "integer", + "format": "int32", + "readOnly": true, + "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." + }, + "direction": { + "$ref": "#/definitions/SecurityConfigurationRuleDirection", + "readOnly": true, + "description": "Indicates if the traffic matched against the rule in inbound or outbound." + }, + "provisioningState": { + "readOnly": true, + "$ref": "./network.json#/definitions/ProvisioningState", + "description": "The provisioning state of the resource." + } + }, + "description": "Security default admin rule resource." + }, + "SecurityConfigurationRuleAccess": { + "type": "string", + "description": "Whether network traffic is allowed or denied.", + "enum": [ + "Allow", + "Deny", + "AlwaysAllow" + ], + "x-ms-enum": { + "name": "SecurityConfigurationRuleAccess", + "modelAsString": true + } + }, + "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 + } + }, + "RuleProtocol": { + "type": "string", + "description": "Network protocol this rule applies to.", + "enum": [ + "Tcp", + "Udp", + "Icmp", + "Esp", + "Any", + "Ah" + ], + "x-ms-enum": { + "name": "SecurityConfigurationRuleProtocol", + "modelAsString": true + } + }, + "NetworkManagerSecurityGroupItem": { + "type": "object", + "properties": { + "networkGroupId": { + "type": "string", + "description": "Network manager group Id." + } + }, + "description": "Network manager security group item." + }, + "AddressPrefixItem": { + "type": "object", + "properties": { + "addressPrefix": { + "type": "string", + "description": "Address prefix." + }, + "addressPrefixType": { + "type": "string", + "description": "Address prefix type.", + "enum": [ + "IPPrefix", + "ServiceTag" + ], + "x-ms-enum": { + "name": "AddressPrefixType", + "modelAsString": true + } + } + }, + "description": "Address prefix item." + } + }, + "parameters": { + "SecurityConfigurationParameter": { + "name": "configurationName", + "in": "path", + "description": "The name of the network manager security Configuration.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "RuleCollectionParameter": { + "name": "ruleCollectionName", + "in": "path", + "description": "The name of the network manager security Configuration rule collection.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "SecurityConfigurationsRuleParameter": { + "name": "ruleName", + "in": "path", + "description": "The name of the rule.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "ResourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group.", + "x-ms-parameter-location": "method" + }, + "NetworkManagerNameParameter": { + "name": "networkManagerName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network manager.", + "x-ms-parameter-location": "method" + }, + "ListTopParameter": { + "name": "$top", + "description": "An optional query parameter which specifies the maximum number of records to be returned by the server.", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "minimum": 1, + "maximum": 20, + "x-ms-parameter-location": "method" + }, + "ListSkipTokenParameter": { + "name": "$skipToken", + "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.", + "in": "query", + "required": false, + "type": "string", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/networkManagerSecurityUserConfiguration.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/networkManagerSecurityUserConfiguration.json new file mode 100644 index 000000000000..b155cbd891c6 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/networkManagerSecurityUserConfiguration.json @@ -0,0 +1,830 @@ +{ + "swagger": "2.0", + "info": { + "title": "SecurityUserConfiguration", + "version": "2021-02-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations": { + "get": { + "tags": [ + "SecurityUserConfigurations" + ], + "operationId": "SecurityUserConfigurations_List", + "description": "Lists all the network manager security user configurations in a network manager, in a paginated format.", + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkManagerNameParameter" + }, + { + "$ref": "#/parameters/ListTopParameter" + }, + { + "$ref": "#/parameters/ListSkipTokenParameter" + } + ], + "responses": { + "200": { + "description": "Get successful. The operation returns all security user configurations in the specified network manager, in a paginated format", + "schema": { + "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/SecurityConfigurationListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List security user configurations in a network manager": { + "$ref": "./examples/NetworkManagerSecurityUserConfigurationList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}": { + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkManagerNameParameter" + }, + { + "$ref": "#/parameters/SecurityConfigurationParameter" + } + ], + "get": { + "tags": [ + "SecurityUserConfigurations" + ], + "description": "Retrieves a network manager security user configuration.", + "operationId": "SecurityUserConfigurations_Get", + "responses": { + "200": { + "description": "Successful operation", + "schema": { + "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/SecurityConfiguration" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Get security user configurations": { + "$ref": "./examples/NetworkManagerSecurityUserConfigurationGet.json" + } + } + }, + "put": { + "tags": [ + "SecurityUserConfigurations" + ], + "description": "Creates or updates a network manager security user configuration.", + "operationId": "SecurityUserConfigurations_CreateOrUpdate", + "parameters": [ + { + "name": "securityUserConfiguration", + "in": "body", + "required": true, + "schema": { + "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/SecurityConfiguration" + }, + "description": "The security user configuration to create or update" + } + ], + "responses": { + "200": { + "description": "Updated Configuration", + "schema": { + "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/SecurityConfiguration" + } + }, + "201": { + "description": "Created Configuration", + "schema": { + "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/SecurityConfiguration" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Create network manager security user configuration": { + "$ref": "./examples/NetworkManagerSecurityUserConfigurationPut.json" + } + } + }, + "delete": { + "tags": [ + "SecurityUserConfigurations" + ], + "description": "Deletes a network manager security user configuration.", + "operationId": "SecurityUserConfigurations_Delete", + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "Request successful. Resource does not exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Delete network manager security user configuration": { + "$ref": "./examples/NetworkManagerSecurityUserConfigurationDelete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}/ruleCollections": { + "get": { + "tags": [ + "UserRuleCollections" + ], + "operationId": "UserRuleCollections_List", + "description": "Lists all the user rule collections in a security configuration, in a paginated format.", + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkManagerNameParameter" + }, + { + "$ref": "#/parameters/SecurityConfigurationParameter" + }, + { + "$ref": "#/parameters/ListTopParameter" + }, + { + "$ref": "#/parameters/ListSkipTokenParameter" + } + ], + "responses": { + "200": { + "description": "Get successful. The operation returns all ruleCollections in the specified security configuration, in a paginated format", + "schema": { + "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/RuleCollectionListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List rule collections in a security configuration": { + "$ref": "./examples/NetworkManagerUserRuleCollectionList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}": { + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkManagerNameParameter" + }, + { + "$ref": "#/parameters/SecurityConfigurationParameter" + }, + { + "$ref": "#/parameters/RuleCollectionParameter" + } + ], + "get": { + "tags": [ + "RuleCollections" + ], + "description": "Gets a network manager security user configuration rule collection.", + "operationId": "UserRuleCollections_Get", + "responses": { + "200": { + "description": "Successful operation", + "schema": { + "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/RuleCollection" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Gets security user rule collection": { + "$ref": "./examples/NetworkManagerUserRuleCollectionGet.json" + } + } + }, + "put": { + "tags": [ + "UserRuleCollections" + ], + "description": "Creates or updates a user rule collection.", + "operationId": "UserRuleCollections_CreateOrUpdate", + "parameters": [ + { + "name": "userRuleCollection", + "in": "body", + "required": true, + "schema": { + "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/RuleCollection" + }, + "description": "The User Rule Collection to create or update" + } + ], + "responses": { + "200": { + "description": "Updated User Rule Collection", + "schema": { + "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/RuleCollection" + } + }, + "201": { + "description": "Created User Rule Collection", + "schema": { + "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/RuleCollection" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Create or Update a User Rule Collection": { + "$ref": "./examples/NetworkManagerUserRuleCollectionPut.json" + } + } + }, + "delete": { + "tags": [ + "UserRuleCollections" + ], + "description": "Deletes a user rule collection.", + "operationId": "UserRuleCollections_Delete", + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "Request successful. Resource does not exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Deletes a user rule collection": { + "$ref": "./examples/NetworkManagerUserRuleCollectionDelete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}/rules": { + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkManagerNameParameter" + }, + { + "$ref": "#/parameters/SecurityConfigurationParameter" + }, + { + "$ref": "#/parameters/RuleCollectionParameter" + }, + { + "$ref": "#/parameters/ListTopParameter" + }, + { + "$ref": "#/parameters/ListSkipTokenParameter" + } + ], + "get": { + "tags": [ + "UserRules" + ], + "description": "Lists all user rules in a rule collection.", + "operationId": "UserRules_List", + "responses": { + "200": { + "description": "Successful operation", + "schema": { + "$ref": "#/definitions/UserRuleListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "List security user rules": { + "$ref": "./examples/NetworkManagerUserRuleList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}/rules/{ruleName}": { + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkManagerNameParameter" + }, + { + "$ref": "#/parameters/SecurityConfigurationParameter" + }, + { + "$ref": "#/parameters/RuleCollectionParameter" + }, + { + "$ref": "#/parameters/SecurityConfigurationsRuleParameter" + } + ], + "get": { + "tags": [ + "UserRules" + ], + "description": "Gets a user rule.", + "operationId": "UserRules_Get", + "responses": { + "200": { + "description": "Successful operation", + "schema": { + "$ref": "#/definitions/BaseUserRule" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Gets a user rule": { + "$ref": "./examples/NetworkManagerUserRuleGet.json" + }, + "Gets a default user rule": { + "$ref": "./examples/NetworkManagerDefaultUserRuleGet.json" + } + } + }, + "put": { + "tags": [ + "UserRules" + ], + "description": "Creates or updates a user rule.", + "operationId": "UserRules_CreateOrUpdate", + "parameters": [ + { + "name": "userRule", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/BaseUserRule" + }, + "description": "The user rule to create or update" + } + ], + "responses": { + "200": { + "description": "Updated rule", + "schema": { + "$ref": "#/definitions/BaseUserRule" + } + }, + "201": { + "description": "Created rule", + "schema": { + "$ref": "#/definitions/BaseUserRule" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Create a user rule": { + "$ref": "./examples/NetworkManagerUserRulePut.json" + }, + "Create a default user rule": { + "$ref": "./examples/NetworkManagerDefaultUserRulePut.json" + } + } + }, + "delete": { + "tags": [ + "UserRules" + ], + "description": "Deletes a user rule.", + "operationId": "UserRules_Delete", + "responses": { + "200": { + "description": "Delete Succeed." + }, + "204": { + "description": "Request successful. Resource does not exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Delete a user rule": { + "$ref": "./examples/NetworkManagerUserRuleDelete.json" + } + } + } + } + }, + "definitions": { + "BaseUserRule": { + "properties": { + "kind": { + "type": "string", + "description": "Whether the rule is custom or default.", + "enum": [ + "Custom", + "Default" + ], + "x-ms-enum": { + "name": "UserRuleKind", + "modelAsString": true + } + }, + "systemData": { + "readOnly": true, + "description": "The system metadata related to this resource.", + "$ref": "./network.json#/definitions/SystemData" + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/ProxyResource" + } + ], + "required": [ + "kind" + ], + "discriminator": "kind", + "description": "Network base rule." + }, + "UserRuleListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/BaseUserRule" + }, + "description": "A list of user rules" + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "security user rule list result." + }, + "UserRule": { + "properties": { + "properties": { + "$ref": "#/definitions/UserRulePropertiesFormat", + "x-ms-client-flatten": true, + "description": "Indicates the properties of the security user rule" + } + }, + "allOf": [ + { + "$ref": "#/definitions/BaseUserRule" + } + ], + "description": "Network security user rule.", + "x-ms-discriminator-value": "Custom" + }, + "UserRulePropertiesFormat": { + "type": "object", + "properties": { + "displayName": { + "type": "string", + "description": "A friendly name for the rule." + }, + "description": { + "type": "string", + "description": "A description for this rule." + }, + "protocol": { + "type": "string", + "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/RuleProtocol", + "description": "Network protocol this rule applies to." + }, + "sources": { + "type": "array", + "items": { + "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/AddressPrefixItem" + }, + "description": "The CIDR or source IP ranges." + }, + "destinations": { + "type": "array", + "items": { + "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/AddressPrefixItem" + }, + "description": "The destination address prefixes. CIDR or destination IP ranges." + }, + "sourcePortRanges": { + "type": "array", + "items": { + "type": "string", + "description": "The source port." + }, + "description": "The source port ranges." + }, + "destinationPortRanges": { + "type": "array", + "items": { + "type": "string", + "description": "The destination port." + }, + "description": "The destination port ranges." + }, + "direction": { + "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/SecurityConfigurationRuleDirection", + "description": "Indicates if the traffic matched against the rule in inbound or outbound." + }, + "provisioningState": { + "readOnly": true, + "$ref": "./network.json#/definitions/ProvisioningState", + "description": "The provisioning state of the security configuration user rule resource." + } + }, + "required": [ + "protocol", + "direction" + ], + "description": "Security rule resource." + }, + "DefaultUserRule": { + "properties": { + "properties": { + "$ref": "#/definitions/DefaultUserRulePropertiesFormat", + "x-ms-client-flatten": true, + "description": "Indicates the properties of the security default user rule" + } + }, + "allOf": [ + { + "$ref": "#/definitions/BaseUserRule" + } + ], + "description": "Network security default user rule.", + "x-ms-discriminator-value": "Default" + }, + "DefaultUserRulePropertiesFormat": { + "type": "object", + "properties": { + "displayName": { + "type": "string", + "readOnly": true, + "description": "A friendly name for the rule." + }, + "description": { + "type": "string", + "readOnly": true, + "description": "A description for this rule. Restricted to 140 chars." + }, + "flag": { + "type": "string", + "description": "Default rule flag." + }, + "protocol": { + "type": "string", + "readOnly": true, + "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/RuleProtocol", + "description": "Network protocol this rule applies to." + }, + "sources": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/AddressPrefixItem" + }, + "description": "The CIDR or source IP ranges." + }, + "destinations": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/AddressPrefixItem" + }, + "description": "The destination address prefixes. CIDR or destination IP ranges." + }, + "sourcePortRanges": { + "type": "array", + "readOnly": true, + "items": { + "type": "string", + "description": "The source port." + }, + "description": "The source port ranges." + }, + "destinationPortRanges": { + "type": "array", + "readOnly": true, + "items": { + "type": "string", + "description": "The destination port." + }, + "description": "The destination port ranges." + }, + "direction": { + "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/SecurityConfigurationRuleDirection", + "readOnly": true, + "description": "Indicates if the traffic matched against the rule in inbound or outbound." + }, + "provisioningState": { + "readOnly": true, + "$ref": "./network.json#/definitions/ProvisioningState", + "description": "The provisioning state of the security configuration user rule resource." + } + }, + "description": "Security default user rule resource." + } + }, + "parameters": { + "SecurityConfigurationParameter": { + "name": "configurationName", + "in": "path", + "description": "The name of the network manager security Configuration.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "RuleCollectionParameter": { + "name": "ruleCollectionName", + "in": "path", + "description": "The name of the network manager security Configuration rule collection.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "SecurityConfigurationsRuleParameter": { + "name": "ruleName", + "in": "path", + "description": "The name of the rule.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "ResourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group.", + "x-ms-parameter-location": "method" + }, + "NetworkManagerNameParameter": { + "name": "networkManagerName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network manager.", + "x-ms-parameter-location": "method" + }, + "ListTopParameter": { + "name": "$top", + "description": "An optional query parameter which specifies the maximum number of records to be returned by the server.", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "minimum": 1, + "maximum": 20, + "x-ms-parameter-location": "method" + }, + "ListSkipTokenParameter": { + "name": "$skipToken", + "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.", + "in": "query", + "required": false, + "type": "string", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/networkSecurityPerimeter.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/networkSecurityPerimeter.json new file mode 100644 index 000000000000..7d7ad0a16ddf --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/networkSecurityPerimeter.json @@ -0,0 +1,2069 @@ +{ + "swagger": "2.0", + "info": { + "title": "NetworkSecurityPerimeter", + "description": "The Network Security Perimeter API provides a RESTful set of web services that interact with network security perimeter resource.", + "version": "2021-02-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}": { + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkSecurityPerimeterNameParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "get": { + "tags": [ + "NetworkSecurityPerimeters" + ], + "operationId": "NetworkSecurityPerimeters_Get", + "description": "Gets the specified network security perimeter by the name.", + "responses": { + "200": { + "description": "Request is successful. Returns the resulting network security perimeter resource.", + "schema": { + "$ref": "#/definitions/NetworkSecurityPerimeter" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "NetworkSecurityPerimeterGet": { + "$ref": "./examples/NetworkSecurityPerimeterGet.json" + } + } + }, + "put": { + "tags": [ + "NetworkSecurityPerimeters" + ], + "operationId": "NetworkSecurityPerimeters_CreateOrUpdate", + "description": "Creates or updates a Network Security Perimeter.", + "parameters": [ + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkSecurityPerimeter" + }, + "description": "Parameter supplied to create or update the network security perimeter." + } + ], + "responses": { + "200": { + "description": "Resource Updated. Returns the network security perimeter.", + "schema": { + "$ref": "#/definitions/NetworkSecurityPerimeter" + } + }, + "201": { + "description": "Resource Created. Returns the network security perimeter.", + "schema": { + "$ref": "#/definitions/NetworkSecurityPerimeter" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Put Network Security Perimeter": { + "$ref": "./examples/NetworkSecurityPerimeterPut.json" + } + } + }, + "delete": { + "tags": [ + "NetworkSecurityPerimeters" + ], + "operationId": "NetworkSecurityPerimeters_Delete", + "description": "Deletes a network security perimeter.", + "responses": { + "200": { + "description": "Delete Succeed." + }, + "204": { + "description": "Request successful. The resource does not exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "NetworkSecurityPerimeterDelete": { + "$ref": "./examples/NetworkSecurityPerimeterDelete.json" + } + } + }, + "patch": { + "tags": [ + "NetworkSecurityPerimeters" + ], + "operationId": "NetworkSecurityPerimeters_Patch", + "description": "Patch Tags for a Network Security Perimeter.", + "parameters": [ + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateTagsRequest" + }, + "description": "Parameter supplied to the network security perimeter." + } + ], + "responses": { + "200": { + "description": "Request is successful. Returns the resulting network security perimeter resource.", + "schema": { + "$ref": "#/definitions/NetworkSecurityPerimeter" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Patch Network Security Perimeter": { + "$ref": "./examples/NetworkSecurityPerimeterPatch.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkSecurityPerimeters": { + "get": { + "tags": [ + "NetworkSecurityPerimeters" + ], + "operationId": "NetworkSecurityPerimeters_ListBySubscription", + "description": "List all network security perimeters in a subscription.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ListTopParameter" + }, + { + "$ref": "#/parameters/ListSkipTokenParameter" + } + ], + "responses": { + "200": { + "description": "Request is successful. Returns the list of the network security perimeters.", + "schema": { + "$ref": "#/definitions/NetworkSecurityPerimeterListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "NetworkSecurityPerimetersList": { + "$ref": "./examples/NetworkSecurityPerimeterListAll.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters": { + "get": { + "tags": [ + "NetworkSecurityPerimeters" + ], + "operationId": "NetworkSecurityPerimeters_List", + "description": "List network security perimeters in a resource group.", + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ListTopParameter" + }, + { + "$ref": "#/parameters/ListSkipTokenParameter" + } + ], + "responses": { + "200": { + "description": "Request is successful. Returns a list of network security perimeters.", + "schema": { + "$ref": "#/definitions/NetworkSecurityPerimeterListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "List Network Security Perimeter": { + "$ref": "./examples/NetworkSecurityPerimeterList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/profiles/{profileName}": { + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkSecurityPerimeterNameParameter" + }, + { + "$ref": "#/parameters/ProfileNameParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "get": { + "tags": [ + "NspProfiles" + ], + "operationId": "NspProfiles_Get", + "description": "Gets the specified NSP profile.", + "responses": { + "200": { + "description": "OK - Returns information about the NSP profile.", + "schema": { + "$ref": "#/definitions/NspProfile" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "NspProfilesGet": { + "$ref": "./examples/NspProfileGet.json" + } + } + }, + "put": { + "tags": [ + "NspProfiles" + ], + "operationId": "NspProfiles_CreateOrUpdate", + "description": "Creates or updates a network profile.", + "parameters": [ + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/NspProfile" + }, + "description": "Parameters that hold the NspProfile resource to be created/updated." + } + ], + "responses": { + "200": { + "description": "Update - Profile is immutable resource. Returns the existing profile resource.", + "schema": { + "$ref": "#/definitions/NspProfile" + } + }, + "201": { + "description": "Create - Returns the NspProfile resource created.", + "schema": { + "$ref": "#/definitions/NspProfile" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "NspProfilesPut": { + "$ref": "./examples/NspProfilePut.json" + } + } + }, + "delete": { + "tags": [ + "NspProfiles" + ], + "operationId": "NspProfiles_Delete", + "description": "Deletes an NSP profile.", + "responses": { + "200": { + "description": "Delete Succeed." + }, + "204": { + "description": "Request successful. The resource does not exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "NspProfilesDelete": { + "$ref": "./examples/NspProfileDelete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/profiles": { + "get": { + "tags": [ + "NspProfiles" + ], + "operationId": "NspProfiles_List", + "description": "Lists the NSP profiles in the specified network security perimeter.", + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkSecurityPerimeterNameParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ListTopParameter" + }, + { + "$ref": "#/parameters/ListSkipTokenParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns the list of NSP profiles.", + "schema": { + "$ref": "#/definitions/NspProfileListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "NspProfilesList": { + "$ref": "./examples/NspProfileList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/profiles/{profileName}/accessRules/{accessRuleName}": { + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkSecurityPerimeterNameParameter" + }, + { + "$ref": "#/parameters/ProfileNameParameter" + }, + { + "$ref": "#/parameters/AccessRuleNameParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "get": { + "tags": [ + "NspAccessRules" + ], + "operationId": "NspAccessRules_Get", + "description": "Gets the specified NSP access rule by name.", + "responses": { + "200": { + "description": "OK - Returns information about the NSP access rule.", + "schema": { + "$ref": "#/definitions/NspAccessRule" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "NspAccessRuleGet": { + "$ref": "./examples/NspAccessRuleGet.json" + } + } + }, + "put": { + "tags": [ + "NspAccessRules" + ], + "operationId": "NspAccessRules_CreateOrUpdate", + "description": "Creates or updates a network access rule.", + "parameters": [ + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/NspAccessRule" + }, + "description": "Parameters that hold the NspAccessRule resource to be created/updated." + } + ], + "responses": { + "200": { + "description": "Updated - Existing access rule is updated. Returns the resource.", + "schema": { + "$ref": "#/definitions/NspAccessRule" + } + }, + "201": { + "description": "Create - Returns the NspAccessRule resource created.", + "schema": { + "$ref": "#/definitions/NspAccessRule" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "NspAccessRulePut": { + "$ref": "./examples/NspAccessRulePut.json" + } + } + }, + "delete": { + "tags": [ + "NspAccessRules" + ], + "operationId": "NspAccessRules_Delete", + "description": "Deletes an NSP access rule.", + "responses": { + "200": { + "description": "Delete Succeed." + }, + "204": { + "description": "Request successful. The resource does not exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "NspAccessRulesDelete": { + "$ref": "./examples/NspAccessRuleDelete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/profiles/{profileName}/accessRules": { + "get": { + "tags": [ + "NspAccessRules" + ], + "operationId": "NspAccessRules_List", + "description": "Lists the NSP access rules in the specified NSP profile.", + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkSecurityPerimeterNameParameter" + }, + { + "$ref": "#/parameters/ProfileNameParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ListTopParameter" + }, + { + "$ref": "#/parameters/ListSkipTokenParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns the list of NSP access rules.", + "schema": { + "$ref": "#/definitions/NspAccessRuleListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "NspAccessRulesList": { + "$ref": "./examples/NspAccessRuleList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/resourceAssociations/{associationName}": { + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkSecurityPerimeterNameParameter" + }, + { + "$ref": "#/parameters/AssociationNameParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "get": { + "tags": [ + "NspAssociations" + ], + "operationId": "NspAssociations_Get", + "description": "Gets the specified NSP association by name.", + "responses": { + "200": { + "description": "OK - Returns information about the NSP resource association.", + "schema": { + "$ref": "#/definitions/NspAssociation" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "NspAssociationGet": { + "$ref": "./examples/NspAssociationGet.json" + } + } + }, + "put": { + "tags": [ + "NspAssociations" + ], + "operationId": "NspAssociations_CreateOrUpdate", + "description": "Creates or updates a NSP resource association.", + "parameters": [ + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/NspAssociation" + }, + "description": "Parameters that hold the NspAssociation resource to be created/updated." + } + ], + "responses": { + "200": { + "description": "Updated - Existing resource association is updated. Returns the resource.", + "schema": { + "$ref": "#/definitions/NspAssociation" + } + }, + "201": { + "description": "Create - Returns the NspAssociation resource created.", + "schema": { + "$ref": "#/definitions/NspAssociation" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "NspAssociationPut": { + "$ref": "./examples/NspAssociationPut.json" + } + } + }, + "delete": { + "tags": [ + "NspAssociations" + ], + "operationId": "NspAssociations_Delete", + "description": "Deletes an NSP association resource.", + "responses": { + "200": { + "description": "Delete Succeed." + }, + "202": { + "description": "Delete in progress.", + "headers": { + "location": { + "description": "location header", + "type": "string" + } + } + }, + "204": { + "description": "Request successful. The resource does not exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "NspAssociationDelete": { + "$ref": "./examples/NspAssociationDelete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/resourceAssociations": { + "get": { + "tags": [ + "NspAssociations" + ], + "operationId": "NspAssociations_List", + "description": "Lists the NSP resource associations.", + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkSecurityPerimeterNameParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ListTopParameter" + }, + { + "$ref": "#/parameters/ListSkipTokenParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns the list of NSP resource associations.", + "schema": { + "$ref": "#/definitions/NspAssociationsListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "NspAssociationList": { + "$ref": "./examples/NspAssociationList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/resourceAssociations/{associationName}/reconcile": { + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkSecurityPerimeterNameParameter" + }, + { + "$ref": "#/parameters/AssociationNameParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "post": { + "tags": [ + "NspAssociationReconcile" + ], + "operationId": "NspAssociationReconcile_Post", + "description": "Reconcile NSP association", + "parameters": [ + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/NspAssociationReconcile" + }, + "description": "Parameters for NSP association reconcile" + } + ], + "responses": { + "200": { + "description": "Reconcile NSP association.", + "schema": { + "$ref": "#/definitions/NspAssociationReconcile" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "NspAssociationReconcile": { + "$ref": "./examples/NspAssociationReconcile.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/perimeterAssociableResourceTypes": { + "get": { + "operationId": "PerimeterAssociableResourceTypes_List", + "description": "Gets the list of resources that are onboarded with NSP. These resources can be associated with a network security perimeter", + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/LocationParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. Returns the list of resources that are onboarded with network security perimeter feature.", + "schema": { + "$ref": "#/definitions/PerimeterAssociableResourcesListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Check Dns Name Availability": { + "$ref": "./examples/PerimeterAssociableResourcesList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/profiles/{profileName}/accessRules/{accessRuleName}/reconcile": { + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkSecurityPerimeterNameParameter" + }, + { + "$ref": "#/parameters/ProfileNameParameter" + }, + { + "$ref": "#/parameters/AccessRuleNameParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "post": { + "tags": [ + "NspAccessRulesReconcile" + ], + "operationId": "NspAccessRulesReconcile_Post", + "description": "Reconcile NSP access rules", + "parameters": [ + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/NspAccessRuleReconcile" + }, + "description": "Parameters for NSP access rule reconcile" + } + ], + "responses": { + "200": { + "description": "Reconcile NSP access rule.", + "schema": { + "$ref": "#/definitions/NspAccessRuleReconcile" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "NspAccessRuleReconcile": { + "$ref": "./examples/NspAccessRuleReconcile.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/links/{linkName}": { + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkSecurityPerimeterNameParameter" + }, + { + "$ref": "#/parameters/LinkNameParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "get": { + "tags": [ + "NspLinks" + ], + "operationId": "NspLinks_Get", + "description": "Gets the specified NSP link resource.", + "responses": { + "200": { + "description": "OK - Returns NSP link resource.", + "schema": { + "$ref": "#/definitions/NspLink" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "NspLinksGet": { + "$ref": "./examples/NspLinkGet.json" + } + } + }, + "put": { + "tags": [ + "NspLinks" + ], + "operationId": "NspLinks_CreateOrUpdate", + "description": "Creates or updates NSP link resource.", + "parameters": [ + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/NspLink" + }, + "description": "Parameters that hold the NspLink resource to be created/updated." + } + ], + "responses": { + "200": { + "description": "Updated - Existing NspLink resource is updated. Returns the resource.", + "schema": { + "$ref": "#/definitions/NspLink" + } + }, + "201": { + "description": "Create - Returns the NspLink resource created.", + "schema": { + "$ref": "#/definitions/NspLink" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "NspLinksPut": { + "$ref": "./examples/NspLinkPut.json" + } + } + }, + "delete": { + "tags": [ + "NspLinks" + ], + "operationId": "NspLinks_Delete", + "description": "Deletes an NSP Link resource.", + "responses": { + "200": { + "description": "Delete Succeed." + }, + "202": { + "description": "Delete in progress.", + "headers": { + "location": { + "description": "location header", + "type": "string" + } + } + }, + "204": { + "description": "Request successful. The resource does not exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "NspLinkDelete": { + "$ref": "./examples/NspLinkDelete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/links": { + "get": { + "tags": [ + "NspLinks" + ], + "operationId": "NspLinks_List", + "description": "Lists the NSP Link resources in the specified network security perimeter.", + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkSecurityPerimeterNameParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ListTopParameter" + }, + { + "$ref": "#/parameters/ListSkipTokenParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns the list of NSP link resources.", + "schema": { + "$ref": "#/definitions/NspLinkListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "NspLinkList": { + "$ref": "./examples/NspLinkList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/linkReferences/{linkReferenceName}": { + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkSecurityPerimeterNameParameter" + }, + { + "$ref": "#/parameters/LinkReferenceNameParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "get": { + "tags": [ + "NspLinkReferences" + ], + "operationId": "NspLinkReferences_Get", + "description": "Gets the specified NSP linkReference resource.", + "responses": { + "200": { + "description": "OK - Returns the NSP linkReference resource.", + "schema": { + "$ref": "#/definitions/NspLinkReference" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "NspLinkReferencesGet": { + "$ref": "./examples/NspLinkReferenceGet.json" + } + } + }, + "delete": { + "tags": [ + "NspLinkReferences" + ], + "operationId": "NspLinkReferences_Delete", + "description": "Deletes an NSP LinkReference resource.", + "responses": { + "200": { + "description": "Delete Succeed." + }, + "202": { + "description": "Delete in progress.", + "headers": { + "location": { + "description": "location header", + "type": "string" + } + } + }, + "204": { + "description": "Request successful. The resource does not exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "NspLinkReferenceDelete": { + "$ref": "./examples/NspLinkReferenceDelete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/linkReferences": { + "get": { + "tags": [ + "NspLinkReferences" + ], + "operationId": "NspLinkReferences_List", + "description": "Lists the NSP LinkReference resources in the specified network security perimeter.", + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkSecurityPerimeterNameParameter" + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ListTopParameter" + }, + { + "$ref": "#/parameters/ListSkipTokenParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns the list of NSP linkReference resources.", + "schema": { + "$ref": "#/definitions/NspLinkReferenceListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "NspLinkReferenceList": { + "$ref": "./examples/NspLinkReferenceList.json" + } + } + } + } + }, + "definitions": { + "NetworkSecurityPerimeter": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/NetworkSecurityPerimeterProperties", + "description": "The network security perimeter properties" + }, + "location": { + "type": "string", + "description": "The location in which NSP is created." + }, + "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": { + "readOnly": true, + "type": "string", + "description": "Network security perimeter identifier." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Resource type." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "description": "The Network Security Perimeter resource" + }, + "NetworkSecurityPerimeterListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/NetworkSecurityPerimeter" + }, + "description": "Gets a page of NetworkSecurityPerimeter" + }, + "nextLink": { + "type": "string", + "description": "Gets the URL to get the next page of results." + } + }, + "description": "Result of the request to list NetworkSecurityPerimeter. It contains a list of network security perimeters and a URL link to get the next set of results." + }, + "NetworkSecurityPerimeterProperties": { + "type": "object", + "properties": { + "provisioningState": { + "readOnly": true, + "$ref": "#/definitions/NSPProvisioningState", + "description": "The provisioning state of the scope assignment resource." + }, + "perimeterGuid": { + "readOnly": true, + "type": "string", + "description": "perimeter guid of the network security perimeter." + } + }, + "description": "Properties of network security perimeter." + }, + "UpdateTagsRequest": { + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "Network security perimeter identifier." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "List of tags for Network Security Perimeter" + } + }, + "description": "Update tags request." + }, + "NspProfile": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/NspProfileProperties", + "description": "Properties of the network security perimeter profile" + }, + "name": { + "type": "string", + "description": "The name of the profile resource that is unique within a perimeter. This name can be used to access the resource." + }, + "id": { + "readOnly": true, + "type": "string", + "description": "Identifier of the network security perimeter profile in ARM id format." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Resource type." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "description": "The network security perimeter profile resource" + }, + "NspProfileListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/NspProfile" + }, + "description": "Gets a page of NSP profile" + }, + "nextLink": { + "type": "string", + "description": "Gets the URL to get the next page of results." + } + }, + "description": "Result of the request to list NSP profiles. Contains a list of NSP profiles and a URL link to get the next set of results." + }, + "NspProfileProperties": { + "type": "object", + "properties": { + "accessRulesVersion": { + "readOnly": true, + "type": "string", + "description": "Version number that increases with every update to access rules within the profile." + }, + "diagnosticSettingsVersion": { + "readOnly": true, + "type": "string", + "description": "Version number that increases with every update to diagnostic settings within the profile." + } + }, + "description": "Properties of NSP profile." + }, + "NspAccessRule": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/NspAccessRuleProperties", + "description": "Properties of the NSP access rule." + }, + "name": { + "type": "string", + "description": "The name of the access rule that is unique within a profile. This name can be used to access the resource." + }, + "id": { + "readOnly": true, + "type": "string", + "description": "NSP access rule identifier." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Resource type." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "description": "The NSP access rule resource" + }, + "NspAccessRuleListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/NspAccessRule" + }, + "description": "Gets a page of NSP access rule" + }, + "nextLink": { + "type": "string", + "description": "Gets the URL to get the next page of results." + } + }, + "description": "Result of the request to list NSP access rules. Contains a list of NSP access rules and a URL link to get the next set of results." + }, + "NspAccessRuleProperties": { + "type": "object", + "properties": { + "provisioningState": { + "readOnly": true, + "$ref": "#/definitions/NSPProvisioningState", + "description": "The provisioning state of the scope assignment resource." + }, + "direction": { + "type": "string", + "enum": [ + "Inbound", + "Outbound" + ], + "x-ms-enum": { + "name": "AccessRuleDirection", + "modelAsString": true + }, + "description": "Direction that specifies whether the access rules is inbound/outbound." + }, + "addressPrefixes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Inbound address prefixes (IPv4/IPv6)" + }, + "fullyQualifiedDomainNames": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Outbound rules fully qualified domain name format." + }, + "subscriptions": { + "type": "array", + "items": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/SubscriptionId" + }, + "description": "List of subscription ids" + }, + "networkSecurityPerimeters": { + "readOnly": true, + "type": "array", + "items": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/PerimeterBasedAccessRule" + }, + "description": "Rule specified by the perimeter id." + }, + "emailAddresses": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Outbound rules email address format." + }, + "phoneNumbers": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Outbound rules phone number format." + } + }, + "description": "Properties of NSP access rule." + }, + "SubscriptionId": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Subscription id in the ARM id format." + } + } + }, + "PerimeterBasedAccessRule": { + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "NSP id in the ARM id format." + }, + "perimeterGuid": { + "readOnly": true, + "type": "string", + "description": "Resource guid of the NSP supplied." + }, + "location": { + "readOnly": true, + "type": "string", + "description": "Location of the NSP supplied." + } + } + }, + "NspAssociation": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/NspAssociationProperties", + "description": "Properties of the NSP resource association." + }, + "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": { + "readOnly": true, + "type": "string", + "description": "NSP resource association identifier." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Resource type." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "description": "The NSP resource association resource" + }, + "NspAssociationsListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/NspAssociation" + }, + "description": "Gets a page of NSP resource associations" + }, + "nextLink": { + "type": "string", + "description": "Gets the URL to get the next page of results." + } + }, + "description": "Result of the request to list NSP resource associations. Contains a list of NSP resource associations and a URL link to get the next set of results." + }, + "NspAssociationProperties": { + "type": "object", + "properties": { + "provisioningState": { + "readOnly": true, + "$ref": "#/definitions/NSPProvisioningState", + "description": "The provisioning state of the resource association resource." + }, + "privateLinkResource": { + "$ref": "./network.json#/definitions/SubResource", + "description": "The PaaS resource to be associated." + }, + "profile": { + "$ref": "./network.json#/definitions/SubResource", + "description": "Profile id to which the PaaS resource is associated." + }, + "accessMode": { + "type": "string", + "enum": [ + "Learning", + "Enforced", + "Audit" + ], + "x-ms-enum": { + "name": "AssociationAccessMode", + "modelAsString": true + }, + "description": "Access mode on the association." + }, + "hasProvisioningIssues": { + "readOnly": true, + "type": "string", + "description": "Specifies if there are provisioning issues" + } + } + }, + "NspAssociationReconcile": { + "type": "object", + "properties": {}, + "description": "Request object for NSP association." + }, + "PerimeterAssociableResource": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/PerimeterAssociableResourceProperties", + "description": "Properties of the perimeter associable resource." + }, + "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": { + "readOnly": true, + "type": "string", + "description": "Identifier of the perimeter associable resource." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Resource type." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "description": "Resource that is onboarded to use network security perimeter. Also referred as perimeter associable resource." + }, + "PerimeterAssociableResourcesListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/PerimeterAssociableResource" + }, + "description": "Gets paged list of perimeter associable resources." + }, + "nextLink": { + "type": "string", + "description": "Gets the URL to get the next page of results." + } + }, + "description": "Paged list of perimeter associable resources." + }, + "PerimeterAssociableResourceProperties": { + "type": "object", + "properties": { + "displayName": { + "readOnly": true, + "type": "string", + "description": "A friendly name for the properties of perimeter associable resources." + }, + "resourceType": { + "readOnly": true, + "type": "string", + "description": "Resource type/provider name." + }, + "publicDnsZones": { + "readOnly": true, + "type": "array", + "items": { + "type": "string" + }, + "description": "Public DNS zone names of the resources." + } + }, + "description": "Properties of the perimeter associable resources." + }, + "NSPProvisioningState": { + "type": "string", + "readOnly": true, + "description": "The current provisioning state.", + "enum": [ + "Succeeded", + "Creating", + "Updating", + "Deleting", + "Accepted", + "Failed" + ], + "x-ms-enum": { + "name": "nspProvisioningState", + "modelAsString": true + } + }, + "NSPLinkProvisioningState": { + "type": "string", + "readOnly": true, + "description": "The current provisioning state of NSP Link/LinkReference.", + "enum": [ + "Succeeded", + "Creating", + "Updating", + "Deleting", + "Accepted", + "Failed", + "WaitForRemoteCompletion" + ], + "x-ms-enum": { + "name": "nspLinkProvisioningState", + "modelAsString": true + } + }, + "NspAccessRuleReconcile": { + "type": "object", + "properties": {}, + "description": "Request object for NSP reconcile." + }, + "NspLink": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/NspLinkProperties", + "description": "Properties of the network security perimeter link resource." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/ProxyResource" + } + ], + "description": "The network security perimeter link resource" + }, + "NspLinkListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/NspLink" + }, + "description": "Gets a page of NSP Link resources." + }, + "nextLink": { + "type": "string", + "description": "Gets the URL to get the next page of results." + } + }, + "description": "Result of the request to list NSP link resources. Contains a list of NSP link resources and a URL link to get the next set of results." + }, + "NspLinkProperties": { + "type": "object", + "properties": { + "provisioningState": { + "readOnly": true, + "$ref": "#/definitions/NSPLinkProvisioningState", + "description": "The provisioning state of the NSP Link resource." + }, + "autoApprovedRemotePerimeterResourceId": { + "type": "string", + "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" + ] + }, + "remotePerimeterGuid": { + "readOnly": true, + "type": "string", + "description": "Remote NSP Guid with which the link gets created." + }, + "remotePerimeterLocation": { + "readOnly": true, + "type": "string", + "description": "Remote NSP location with which the link gets created." + }, + "localInboundProfiles": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Local Inbound profile names to which Inbound is allowed. Use ['*'] to allow inbound to all profiles. It's default value is ['*'].", + "uniqueItems": true + }, + "localOutboundProfiles": { + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true, + "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 + }, + "remoteInboundProfiles": { + "type": "array", + "items": { + "type": "string" + }, + "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. It's default value is ['*'].", + "uniqueItems": true + }, + "remoteOutboundProfiles": { + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true, + "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 + }, + "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": { + "type": "string", + "readOnly": true, + "description": "The NSP link state.", + "enum": [ + "Approved", + "Pending", + "Rejected", + "Disconnected" + ], + "x-ms-enum": { + "name": "nspLinkStatus", + "modelAsString": true + } + } + }, + "description": "Properties of NSP Link resource." + }, + "NspLinkReference": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/NspLinkReferenceProperties", + "description": "Properties of the network security perimeter linkReference resource." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/ProxyResource" + } + ], + "description": "The network security perimeter linkReference resource" + }, + "NspLinkReferenceListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/NspLinkReference" + }, + "description": "Gets a page of NSP LinkReference resources." + }, + "nextLink": { + "type": "string", + "description": "Gets the URL to get the next page of results." + } + }, + "description": "Result of the request to list NSP linkReference resources. Contains a list of NSP linkReference resources and a URL link to get the next set of results." + }, + "NspLinkReferenceProperties": { + "type": "object", + "properties": { + "provisioningState": { + "readOnly": true, + "$ref": "#/definitions/NSPLinkProvisioningState", + "description": "The provisioning state of the NSP LinkReference resource." + }, + "remotePerimeterResourceId": { + "readOnly": true, + "type": "string", + "description": "Perimeter ARM Id for the remote NSP with which the link is created." + }, + "remotePerimeterGuid": { + "readOnly": true, + "type": "string", + "description": "Remote NSP Guid with which the link is created." + }, + "remotePerimeterLocation": { + "readOnly": true, + "type": "string", + "description": "Remote NSP location with which the link gets created." + }, + "localInboundProfiles": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Local Inbound profile names to which Inbound is allowed. Use ['*'] to allow inbound to all profiles. It's default value is ['*'].", + "uniqueItems": true + }, + "localOutboundProfiles": { + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true, + "description": "Local Outbound profile names from which Outbound is allowed. Use ['*'] to allow outbound from all profiles. It's default value is ['*'].", + "uniqueItems": true + }, + "remoteInboundProfiles": { + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true, + "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 remote perimeter." + }, + "remoteOutboundProfiles": { + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true, + "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 remote perimeter." + }, + "description": { + "type": "string", + "readOnly": true, + "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'." + }, + "status": { + "type": "string", + "description": "The NSP linkReference state. It cannot be changed if link is created in auto-approval mode.", + "enum": [ + "Approved", + "Pending", + "Rejected", + "Disconnected" + ], + "x-ms-enum": { + "name": "nspLinkStatus", + "modelAsString": true + } + } + }, + "description": "Properties of NSP LinkReference resource." + } + }, + "parameters": { + "ResourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group.", + "x-ms-parameter-location": "method" + }, + "NetworkSecurityPerimeterNameParameter": { + "name": "networkSecurityPerimeterName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network security perimeter.", + "x-ms-parameter-location": "method" + }, + "ProfileNameParameter": { + "name": "profileName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the NSP profile.", + "x-ms-parameter-location": "method" + }, + "AccessRuleNameParameter": { + "name": "accessRuleName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the NSP access rule.", + "x-ms-parameter-location": "method" + }, + "AssociationNameParameter": { + "name": "associationName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the NSP association.", + "x-ms-parameter-location": "method" + }, + "LinkNameParameter": { + "name": "linkName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the NSP link.", + "x-ms-parameter-location": "method" + }, + "LinkReferenceNameParameter": { + "name": "linkReferenceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the NSP linkReference.", + "x-ms-parameter-location": "method" + }, + "ListTopParameter": { + "name": "$top", + "description": "An optional query parameter which specifies the maximum number of records to be returned by the server.", + "in": "query", + "required": false, + "type": "integer", + "format": "int32", + "minimum": 1, + "maximum": 20, + "x-ms-parameter-location": "method" + }, + "ListSkipTokenParameter": { + "name": "$skipToken", + "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.", + "in": "query", + "required": false, + "type": "string", + "x-ms-parameter-location": "method" + }, + "NetworkSecurityPerimeterProfileParameter": { + "name": "networkSecurityPerimeterProfile", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network security perimeter profile.", + "x-ms-parameter-location": "method" + }, + "LocationParameter": { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "The location of network security perimeter.", + "x-ms-parameter-location": "method" + } + } +} From fde955d3961bc0ff4c8dd2c4d76756580a6eb887 Mon Sep 17 00:00:00 2001 From: Kaushal Kumar Date: Wed, 18 Oct 2023 15:01:45 +0530 Subject: [PATCH 2/3] version update from the base version --- ...rActiveConnectivityConfigurationsList.json | 68 -- ...rkManagerActiveSecurityAdminRulesList.json | 84 -- ...orkManagerActiveSecurityUserRulesList.json | 81 -- ...tworkManagerAdminRuleCollectionDelete.json | 14 - .../NetworkManagerAdminRuleCollectionGet.json | 37 - ...NetworkManagerAdminRuleCollectionList.json | 41 - .../NetworkManagerAdminRuleCollectionPut.json | 72 -- .../NetworkManagerAdminRuleDelete.json | 15 - .../examples/NetworkManagerAdminRuleGet.json | 56 - .../examples/NetworkManagerAdminRuleList.json | 59 - .../examples/NetworkManagerAdminRulePut.json | 125 -- .../examples/NetworkManagerCommitPost.json | 32 - ...anagerConnectivityConfigurationDelete.json | 14 - ...rkManagerConnectivityConfigurationGet.json | 49 - ...kManagerConnectivityConfigurationList.json | 53 - ...rkManagerConnectivityConfigurationPut.json | 109 -- .../NetworkManagerDefaultAdminRuleGet.json | 57 - .../NetworkManagerDefaultAdminRulePut.json | 105 -- .../NetworkManagerDefaultUserRuleGet.json | 55 - .../NetworkManagerDefaultUserRulePut.json | 101 -- .../examples/NetworkManagerDelete.json | 13 - .../NetworkManagerDeploymentStatusList.json | 51 - ...fectiveConnectivityConfigurationsList.json | 63 - ...anagerEffectiveSecurityAdminRulesList.json | 79 -- ...rkManagerEffectiveVirtualNetworksList.json | 27 - ...veVirtualNetworksListByNetworkManager.json | 27 - .../examples/NetworkManagerGet.json | 42 - .../examples/NetworkManagerGroupDelete.json | 14 - .../examples/NetworkManagerGroupGet.json | 39 - .../examples/NetworkManagerGroupList.json | 43 - .../examples/NetworkManagerGroupPut.json | 85 -- .../examples/NetworkManagerList.json | 47 - .../examples/NetworkManagerListAll.json | 46 - .../examples/NetworkManagerPatch.json | 54 - .../examples/NetworkManagerPut.json | 92 -- ...nagerSecurityAdminConfigurationDelete.json | 13 - ...kManagerSecurityAdminConfigurationGet.json | 33 - ...ManagerSecurityAdminConfigurationList.json | 37 - ...kManagerSecurityAdminConfigurationPut.json | 62 - ...anagerSecurityUserConfigurationDelete.json | 13 - ...rkManagerSecurityUserConfigurationGet.json | 33 - ...kManagerSecurityUserConfigurationList.json | 37 - ...rkManagerSecurityUserConfigurationPut.json | 62 - ...etworkManagerUserRuleCollectionDelete.json | 14 - .../NetworkManagerUserRuleCollectionGet.json | 37 - .../NetworkManagerUserRuleCollectionList.json | 41 - .../NetworkManagerUserRuleCollectionPut.json | 72 -- .../NetworkManagerUserRuleDelete.json | 15 - .../examples/NetworkManagerUserRuleGet.json | 54 - .../examples/NetworkManagerUserRuleList.json | 57 - .../examples/NetworkManagerUserRulePut.json | 119 -- .../NetworkSecurityPerimeterDelete.json | 2 +- .../examples/NetworkSecurityPerimeterGet.json | 2 +- .../NetworkSecurityPerimeterList.json | 4 +- .../NetworkSecurityPerimeterListAll.json | 4 +- .../NetworkSecurityPerimeterPatch.json | 2 +- .../examples/NetworkSecurityPerimeterPut.json | 2 +- .../examples/NspAccessRuleDelete.json | 2 +- .../examples/NspAccessRuleGet.json | 2 +- .../examples/NspAccessRuleList.json | 4 +- .../examples/NspAccessRulePut.json | 2 +- .../examples/NspAccessRuleReconcile.json | 2 +- .../examples/NspAssociationDelete.json | 2 +- .../examples/NspAssociationGet.json | 2 +- .../examples/NspAssociationList.json | 4 +- .../examples/NspAssociationPut.json | 2 +- .../examples/NspAssociationReconcile.json | 2 +- .../examples/NspLinkDelete.json | 2 +- .../examples/NspLinkGet.json | 2 +- .../examples/NspLinkList.json | 4 +- .../examples/NspLinkPut.json | 2 +- .../examples/NspLinkReferenceDelete.json | 2 +- .../examples/NspLinkReferenceGet.json | 2 +- .../examples/NspLinkReferenceList.json | 4 +- .../examples/NspProfileDelete.json | 2 +- .../examples/NspProfileGet.json | 2 +- .../examples/NspProfileList.json | 4 +- .../examples/NspProfilePut.json | 2 +- .../PerimeterAssociableResourcesList.json | 4 +- .../preview/2023-07-01-preview/network.json | 2 +- .../2023-07-01-preview/networkManager.json | 705 ----------- .../networkManagerActiveConfiguration.json | 503 -------- ...tworkManagerConnectivityConfiguration.json | 416 ------- .../networkManagerEffectiveConfiguration.json | 325 ----- .../networkManagerGroup.json | 455 ------- ...workManagerSecurityAdminConfiguration.json | 1064 ----------------- ...tworkManagerSecurityUserConfiguration.json | 830 ------------- .../networkSecurityPerimeter.json | 2 +- ...rActiveConnectivityConfigurationsList.json | 68 -- ...rkManagerActiveSecurityAdminRulesList.json | 84 -- ...orkManagerActiveSecurityUserRulesList.json | 81 -- ...tworkManagerAdminRuleCollectionDelete.json | 14 - .../NetworkManagerAdminRuleCollectionGet.json | 37 - ...NetworkManagerAdminRuleCollectionList.json | 41 - .../NetworkManagerAdminRuleCollectionPut.json | 72 -- .../NetworkManagerAdminRuleDelete.json | 15 - .../examples/NetworkManagerAdminRuleGet.json | 56 - .../examples/NetworkManagerAdminRuleList.json | 59 - .../examples/NetworkManagerAdminRulePut.json | 125 -- .../examples/NetworkManagerCommitPost.json | 32 - ...anagerConnectivityConfigurationDelete.json | 14 - ...rkManagerConnectivityConfigurationGet.json | 49 - ...kManagerConnectivityConfigurationList.json | 53 - ...rkManagerConnectivityConfigurationPut.json | 109 -- .../NetworkManagerDefaultAdminRuleGet.json | 57 - .../NetworkManagerDefaultAdminRulePut.json | 105 -- .../NetworkManagerDefaultUserRuleGet.json | 55 - .../NetworkManagerDefaultUserRulePut.json | 101 -- .../examples/NetworkManagerDelete.json | 13 - .../NetworkManagerDeploymentStatusList.json | 51 - ...fectiveConnectivityConfigurationsList.json | 63 - ...anagerEffectiveSecurityAdminRulesList.json | 79 -- ...rkManagerEffectiveVirtualNetworksList.json | 27 - ...veVirtualNetworksListByNetworkManager.json | 27 - .../examples/NetworkManagerGet.json | 42 - .../examples/NetworkManagerGroupDelete.json | 14 - .../examples/NetworkManagerGroupGet.json | 39 - .../examples/NetworkManagerGroupList.json | 43 - .../examples/NetworkManagerGroupPut.json | 85 -- .../examples/NetworkManagerList.json | 47 - .../examples/NetworkManagerListAll.json | 46 - .../examples/NetworkManagerPatch.json | 54 - .../examples/NetworkManagerPut.json | 92 -- ...nagerSecurityAdminConfigurationDelete.json | 13 - ...kManagerSecurityAdminConfigurationGet.json | 33 - ...ManagerSecurityAdminConfigurationList.json | 37 - ...kManagerSecurityAdminConfigurationPut.json | 62 - ...anagerSecurityUserConfigurationDelete.json | 13 - ...rkManagerSecurityUserConfigurationGet.json | 33 - ...kManagerSecurityUserConfigurationList.json | 37 - ...rkManagerSecurityUserConfigurationPut.json | 62 - ...etworkManagerUserRuleCollectionDelete.json | 14 - .../NetworkManagerUserRuleCollectionGet.json | 37 - .../NetworkManagerUserRuleCollectionList.json | 41 - .../NetworkManagerUserRuleCollectionPut.json | 72 -- .../NetworkManagerUserRuleDelete.json | 15 - .../examples/NetworkManagerUserRuleGet.json | 54 - .../examples/NetworkManagerUserRuleList.json | 57 - .../examples/NetworkManagerUserRulePut.json | 119 -- .../NetworkSecurityPerimeterDelete.json | 2 +- .../examples/NetworkSecurityPerimeterGet.json | 2 +- .../NetworkSecurityPerimeterList.json | 4 +- .../NetworkSecurityPerimeterListAll.json | 4 +- .../NetworkSecurityPerimeterPatch.json | 2 +- .../examples/NetworkSecurityPerimeterPut.json | 2 +- .../examples/NspAccessRuleDelete.json | 2 +- .../examples/NspAccessRuleGet.json | 2 +- .../examples/NspAccessRuleList.json | 4 +- .../examples/NspAccessRulePut.json | 2 +- .../examples/NspAccessRuleReconcile.json | 2 +- .../examples/NspAssociationDelete.json | 2 +- .../examples/NspAssociationGet.json | 2 +- .../examples/NspAssociationList.json | 4 +- .../examples/NspAssociationPut.json | 2 +- .../examples/NspAssociationReconcile.json | 2 +- .../examples/NspLinkDelete.json | 2 +- .../examples/NspLinkGet.json | 2 +- .../examples/NspLinkList.json | 4 +- .../examples/NspLinkPut.json | 2 +- .../examples/NspLinkReferenceDelete.json | 2 +- .../examples/NspLinkReferenceGet.json | 2 +- .../examples/NspLinkReferenceList.json | 4 +- .../examples/NspProfileDelete.json | 2 +- .../examples/NspProfileGet.json | 2 +- .../examples/NspProfileList.json | 4 +- .../examples/NspProfilePut.json | 2 +- .../PerimeterAssociableResourcesList.json | 4 +- .../preview/2023-08-01-preview/network.json | 2 +- .../2023-08-01-preview/networkManager.json | 705 ----------- .../networkManagerActiveConfiguration.json | 503 -------- ...tworkManagerConnectivityConfiguration.json | 416 ------- .../networkManagerEffectiveConfiguration.json | 325 ----- .../networkManagerGroup.json | 455 ------- ...workManagerSecurityAdminConfiguration.json | 1064 ----------------- ...tworkManagerSecurityUserConfiguration.json | 830 ------------- .../networkSecurityPerimeter.json | 2 +- 176 files changed, 76 insertions(+), 13968 deletions(-) delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerActiveConnectivityConfigurationsList.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerActiveSecurityAdminRulesList.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerActiveSecurityUserRulesList.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerAdminRuleCollectionDelete.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerAdminRuleCollectionGet.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerAdminRuleCollectionList.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerAdminRuleCollectionPut.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerAdminRuleDelete.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerAdminRuleGet.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerAdminRuleList.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerAdminRulePut.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerCommitPost.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerConnectivityConfigurationDelete.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerConnectivityConfigurationGet.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerConnectivityConfigurationList.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerConnectivityConfigurationPut.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerDefaultAdminRuleGet.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerDefaultAdminRulePut.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerDefaultUserRuleGet.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerDefaultUserRulePut.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerDelete.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerDeploymentStatusList.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerEffectiveConnectivityConfigurationsList.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerEffectiveSecurityAdminRulesList.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerEffectiveVirtualNetworksList.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerEffectiveVirtualNetworksListByNetworkManager.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerGet.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerGroupDelete.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerGroupGet.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerGroupList.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerGroupPut.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerList.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerListAll.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerPatch.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerPut.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerSecurityAdminConfigurationDelete.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerSecurityAdminConfigurationGet.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerSecurityAdminConfigurationList.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerSecurityAdminConfigurationPut.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerSecurityUserConfigurationDelete.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerSecurityUserConfigurationGet.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerSecurityUserConfigurationList.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerSecurityUserConfigurationPut.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerUserRuleCollectionDelete.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerUserRuleCollectionGet.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerUserRuleCollectionList.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerUserRuleCollectionPut.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerUserRuleDelete.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerUserRuleGet.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerUserRuleList.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerUserRulePut.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/networkManager.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/networkManagerActiveConfiguration.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/networkManagerConnectivityConfiguration.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/networkManagerEffectiveConfiguration.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/networkManagerGroup.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/networkManagerSecurityAdminConfiguration.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/networkManagerSecurityUserConfiguration.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerActiveConnectivityConfigurationsList.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerActiveSecurityAdminRulesList.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerActiveSecurityUserRulesList.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerAdminRuleCollectionDelete.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerAdminRuleCollectionGet.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerAdminRuleCollectionList.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerAdminRuleCollectionPut.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerAdminRuleDelete.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerAdminRuleGet.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerAdminRuleList.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerAdminRulePut.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerCommitPost.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerConnectivityConfigurationDelete.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerConnectivityConfigurationGet.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerConnectivityConfigurationList.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerConnectivityConfigurationPut.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerDefaultAdminRuleGet.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerDefaultAdminRulePut.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerDefaultUserRuleGet.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerDefaultUserRulePut.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerDelete.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerDeploymentStatusList.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerEffectiveConnectivityConfigurationsList.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerEffectiveSecurityAdminRulesList.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerEffectiveVirtualNetworksList.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerEffectiveVirtualNetworksListByNetworkManager.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerGet.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerGroupDelete.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerGroupGet.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerGroupList.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerGroupPut.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerList.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerListAll.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerPatch.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerPut.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerSecurityAdminConfigurationDelete.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerSecurityAdminConfigurationGet.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerSecurityAdminConfigurationList.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerSecurityAdminConfigurationPut.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerSecurityUserConfigurationDelete.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerSecurityUserConfigurationGet.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerSecurityUserConfigurationList.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerSecurityUserConfigurationPut.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerUserRuleCollectionDelete.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerUserRuleCollectionGet.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerUserRuleCollectionList.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerUserRuleCollectionPut.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerUserRuleDelete.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerUserRuleGet.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerUserRuleList.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerUserRulePut.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/networkManager.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/networkManagerActiveConfiguration.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/networkManagerConnectivityConfiguration.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/networkManagerEffectiveConfiguration.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/networkManagerGroup.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/networkManagerSecurityAdminConfiguration.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/networkManagerSecurityUserConfiguration.json diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerActiveConnectivityConfigurationsList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerActiveConnectivityConfigurationsList.json deleted file mode 100644 index 56911d99554c..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerActiveConnectivityConfigurationsList.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "title": "Get Azure Virtual Network Manager Active Connectivity Configuration", - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subscriptionA", - "resourceGroupName": "myResourceGroup", - "networkManagerName": "testNetworkManager", - "parameters": { - "regions": [ - "westus" - ], - "skipToken": "fakeSkipTokenCode" - } - }, - "responses": { - "200": { - "body": { - "value": [ - { - "region": "westus", - "commitTime": "2020-07-10T18:03:22.2578238+05:30", - "id": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/connectivityConfigurations/myTestConnectivityConfig", - "properties": { - "displayName": "myTestConnectivityConfig", - "description": "Sample Configuration", - "connectivityTopology": "HubAndSpoke", - "hubs": [ - { - "resourceId": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myTestConnectivityConfig", - "resourceType": "Microsoft.Network/virtualNetworks" - } - ], - "isGlobal": "True", - "deleteExistingPeering": "True", - "appliesToGroups": [ - { - "networkGroupId": "/subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/groups/group1", - "useHubGateway": "True", - "groupConnectivity": "None", - "isGlobal": "False" - } - ], - "provisioningState": "Succeeded" - }, - "configurationGroups": [ - { - "id": "/subscriptions/subscriptionA/resourceGroup/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1", - "properties": { - "displayName": "My Network Group", - "description": "A group for all test Virtual Networks", - "memberType": "Microsoft.Network/virtualNetworks", - "groupMembers": [ - { - "resourceId": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/virtualnetwork/vnet1" - } - ], - "conditionalMembership": "", - "provisioningState": "Succeeded" - } - } - ] - } - ], - "skipToken": "FakeSkipTokenCode" - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerActiveSecurityAdminRulesList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerActiveSecurityAdminRulesList.json deleted file mode 100644 index 40360627aab9..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerActiveSecurityAdminRulesList.json +++ /dev/null @@ -1,84 +0,0 @@ -{ - "title": "Get Azure Virtual Network Manager Active Security Admin Rules", - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subscriptionA", - "resourceGroupName": "myResourceGroup", - "networkManagerName": "testNetworkManager", - "parameters": { - "regions": [ - "westus" - ], - "skipToken": "fakeSkipTokenCode" - } - }, - "responses": { - "200": { - "body": { - "value": [ - { - "region": "westus", - "commitTime": "2020-07-10T18:03:22.2578238+05:30", - "id": "/subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleAdminRule", - "configurationDisplayName": "SampleConfig", - "configurationDescription": "SampleDescription", - "ruleCollectionDisplayName": "SampleRuleCollection", - "ruleCollectionDescription": "SampleRuleCollectionDescription", - "ruleCollectionAppliesToGroups": [ - { - "networkGroupId": "/subscriptions/subscriptionA/resourceGroup/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1" - } - ], - "kind": "Default", - "properties": { - "displayName": "SampleAdminRule", - "description": "Sample Admin Rule", - "flag": "AllowVnetInbound", - "protocol": "Tcp", - "sources": [ - { - "addressPrefixType": "IPPrefix", - "addressPrefix": "*" - } - ], - "destinations": [ - { - "addressPrefixType": "IPPrefix", - "addressPrefix": "*" - } - ], - "sourcePortRanges": [ - "0-65535" - ], - "destinationPortRanges": [ - "22" - ], - "direction": "Inbound", - "access": "Deny", - "priority": 1, - "provisioningState": "Succeeded" - }, - "ruleGroups": [ - { - "id": "/subscriptions/subscriptionA/resourceGroup/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1", - "properties": { - "displayName": "My Network Group", - "description": "A group for all test Virtual Networks", - "memberType": "Microsoft.Network/virtualNetworks", - "groupMembers": [ - { - "resourceId": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/virtualnetwork/vnet1" - } - ], - "conditionalMembership": "", - "provisioningState": "Succeeded" - } - } - ] - } - ], - "skipToken": "FakeSkipTokenCode" - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerActiveSecurityUserRulesList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerActiveSecurityUserRulesList.json deleted file mode 100644 index 41aa16fdca54..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerActiveSecurityUserRulesList.json +++ /dev/null @@ -1,81 +0,0 @@ -{ - "title": "Get Azure Virtual Network Manager Active Security User Rules", - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subscriptionA", - "resourceGroupName": "myResourceGroup", - "networkManagerName": "testNetworkManager", - "parameters": { - "regions": [ - "westus" - ], - "skipToken": "fakeSkipTokenCode" - } - }, - "responses": { - "200": { - "body": { - "value": [ - { - "region": "westus", - "commitTime": "2020-07-10T18:03:22.2578238+05:30", - "id": "/subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/securityUserConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleUserRule", - "configurationDisplayName": "SampleConfig", - "configurationDescription": "SampleDescription", - "ruleCollectionDisplayName": "SampleRuleCollection", - "ruleCollectionDescription": "SampleRuleCollectionDescription", - "ruleCollectionAppliesToGroups": [ - { - "networkGroupId": "/subscriptions/subscriptionA/resourceGroup/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1" - } - ], - "kind": "Custom", - "properties": { - "displayName": "SampleUserRule", - "description": "Sample User Rule", - "protocol": "Tcp", - "sources": [ - { - "addressPrefixType": "IPPrefix", - "addressPrefix": "*" - } - ], - "destinations": [ - { - "addressPrefixType": "IPPrefix", - "addressPrefix": "*" - } - ], - "sourcePortRanges": [ - "0-65535" - ], - "destinationPortRanges": [ - "22" - ], - "direction": "Inbound", - "provisioningState": "Succeeded" - }, - "ruleGroups": [ - { - "id": "/subscriptions/subscriptionA/resourceGroup/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1", - "properties": { - "displayName": "My Network Group", - "description": "A group for all test Virtual Networks", - "memberType": "Microsoft.Network/virtualNetworks", - "groupMembers": [ - { - "resourceId": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/virtualnetwork/vnet1" - } - ], - "conditionalMembership": "", - "provisioningState": "Succeeded" - } - } - ] - } - ], - "skipToken": "FakeSkipTokenCode" - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerAdminRuleCollectionDelete.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerAdminRuleCollectionDelete.json deleted file mode 100644 index 200dc0249bc9..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerAdminRuleCollectionDelete.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subId", - "resourceGroupName": "rg1", - "networkManagerName": "testNetworkManager", - "configurationName": "myTestSecurityConfig", - "ruleCollectionName": "testRuleCollection" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerAdminRuleCollectionGet.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerAdminRuleCollectionGet.json deleted file mode 100644 index d17b0c5e7817..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerAdminRuleCollectionGet.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subId", - "resourceGroupName": "rg1", - "networkManagerName": "testNetworkManager", - "ruleCollectionName": "testRuleCollection", - "configurationName": "myTestSecurityConfig" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection", - "name": "testRuleCollection", - "type": "Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "displayName": "testRuleCollection", - "description": "A sample rule collection", - "provisioningState": "Succeeded", - "appliesToGroups": [ - { - "networkGroupId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" - } - ] - } - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerAdminRuleCollectionList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerAdminRuleCollectionList.json deleted file mode 100644 index 34cfcf4f51f7..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerAdminRuleCollectionList.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subId", - "resourceGroupName": "rg1", - "networkManagerName": "testNetworkManager", - "configurationName": "myTestSecurityConfig" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection", - "name": "testRuleCollection", - "type": "Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "displayName": "testRuleCollection", - "description": "A sample rule collection", - "provisioningState": "Succeeded", - "appliesToGroups": [ - { - "networkGroupId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" - } - ] - } - } - ], - "nextLink": "{baseurl}/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections?api-version=2021-02-01-preview&$skipToken=10" - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerAdminRuleCollectionPut.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerAdminRuleCollectionPut.json deleted file mode 100644 index b3c85257c820..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerAdminRuleCollectionPut.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subId", - "resourceGroupName": "rg1", - "configurationName": "myTestSecurityConfig", - "networkManagerName": "testNetworkManager", - "ruleCollectionName": "testRuleCollection", - "ruleCollection": { - "properties": { - "description": "A sample policy", - "appliesToGroups": [ - { - "networkGroupId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManager/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection", - "name": "myTestSecurityConfig", - "type": "Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "displayName": "myTestSecurityConfig", - "description": "A sample policy", - "provisioningState": "Succeeded", - "appliesToGroups": [ - { - "networkGroupId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" - } - ] - } - } - }, - "201": { - "body": { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManager/testNetworkManager/securityConfigurations/myTestSecurityConfig", - "name": "myTestSecurityConfig", - "type": "Microsoft.Network/networkManagers/securityAdminConfigurations", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "displayName": "myTestSecurityConfig", - "description": "A sample policy", - "provisioningState": "Succeeded", - "appliesToGroups": [ - { - "networkGroupId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" - } - ] - } - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerAdminRuleDelete.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerAdminRuleDelete.json deleted file mode 100644 index f8cc0dfa5d1d..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerAdminRuleDelete.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subId", - "resourceGroupName": "rg1", - "configurationName": "myTestSecurityConfig", - "networkManagerName": "testNetworkManager", - "ruleCollectionName": "testRuleCollection", - "ruleName": "SampleAdminRule" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerAdminRuleGet.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerAdminRuleGet.json deleted file mode 100644 index a7dea3683b32..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerAdminRuleGet.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subId", - "resourceGroupName": "rg1", - "configurationName": "myTestSecurityConfig", - "networkManagerName": "testNetworkManager", - "ruleCollectionName": "testRuleCollection", - "ruleName": "SampleAdminRule" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleAdminRule", - "type": "Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections/rules", - "name": "SampleAdminRule", - "kind": "Custom", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "displayName": "SampleAdminRule", - "description": "This is Sample Admin Rule", - "protocol": "Tcp", - "sources": [ - { - "addressPrefixType": "IPPrefix", - "addressPrefix": "*" - } - ], - "destinations": [ - { - "addressPrefixType": "IPPrefix", - "addressPrefix": "*" - } - ], - "sourcePortRanges": [ - "0-65535" - ], - "destinationPortRanges": [ - "22" - ], - "access": "Deny", - "priority": 1, - "direction": "Inbound", - "provisioningState": "Succeeded" - } - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerAdminRuleList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerAdminRuleList.json deleted file mode 100644 index 38f8fef50044..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerAdminRuleList.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subId", - "resourceGroupName": "rg1", - "networkManagerName": "testNetworkManager", - "ruleCollectionName": "testRuleCollection", - "configurationName": "myTestSecurityConfig" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkmanagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleAdminRule", - "type": "Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections/rules", - "name": "SampleAdminRule", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "kind": "Custom", - "properties": { - "description": "This is Sample Admin Rule", - "protocol": "Tcp", - "sources": [ - { - "addressPrefixType": "IPPrefix", - "addressPrefix": "*" - } - ], - "destinations": [ - { - "addressPrefixType": "IPPrefix", - "addressPrefix": "*" - } - ], - "sourcePortRanges": [ - "0-65535" - ], - "destinationPortRanges": [ - "22" - ], - "access": "Deny", - "priority": 1, - "direction": "Inbound", - "provisioningState": "Succeeded" - } - } - ], - "nextLink": "{baseurl}/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkManagers/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules?api-version=2021-02-01-preview&$skipToken=10" - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerAdminRulePut.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerAdminRulePut.json deleted file mode 100644 index 7d38b0c7d5cf..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerAdminRulePut.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subId", - "resourceGroupName": "rg1", - "networkManagerName": "testNetworkManager", - "configurationName": "myTestSecurityConfig", - "ruleCollectionName": "testRuleCollection", - "ruleName": "SampleAdminRule", - "adminRule": { - "kind": "Custom", - "properties": { - "description": "This is Sample Admin Rule", - "protocol": "Tcp", - "sources": [ - { - "addressPrefixType": "ServiceTag", - "addressPrefix": "Internet" - } - ], - "destinations": [ - { - "addressPrefixType": "IPPrefix", - "addressPrefix": "*" - } - ], - "sourcePortRanges": [ - "0-65535" - ], - "destinationPortRanges": [ - "22" - ], - "access": "Deny", - "priority": 1, - "direction": "Inbound" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleAdminRule", - "type": "Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections/rules", - "name": "SampleAdminRule", - "kind": "Custom", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "description": "This is Sample Admin Rule", - "protocol": "Tcp", - "sources": [ - { - "addressPrefixType": "ServiceTag", - "addressPrefix": "Internet" - } - ], - "destinations": [ - { - "addressPrefixType": "IPPrefix", - "addressPrefix": "*" - } - ], - "sourcePortRanges": [ - "0-65535" - ], - "destinationPortRanges": [ - "22" - ], - "access": "Deny", - "priority": 1, - "direction": "Inbound", - "provisioningState": "Succeeded" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/rules/SampleAdminRule", - "type": "Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections/rules", - "name": "SampleAdminRule", - "kind": "Custom", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "description": "This is Sample Admin Rule", - "protocol": "Tcp", - "sources": [ - { - "addressPrefixType": "ServiceTag", - "addressPrefix": "Internet" - } - ], - "destinations": [ - { - "addressPrefixType": "IPPrefix", - "addressPrefix": "*" - } - ], - "sourcePortRanges": [ - "0-65535" - ], - "destinationPortRanges": [ - "22" - ], - "access": "Deny", - "priority": 1, - "direction": "Inbound", - "provisioningState": "Succeeded" - } - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerCommitPost.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerCommitPost.json deleted file mode 100644 index c079fa9aa503..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerCommitPost.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "title": "Post Azure Virtual Network Manager Commit", - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subscriptionC", - "resourceGroupName": "resoureGroupSample", - "networkManagerName": "testNetworkManager", - "parameters": { - "targetLocations": [ - "useast" - ], - "configurationIds": [ - "/subscriptions/subscriptionC/resourceGroups/resoureGroupSample/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/SampleSecurityAdminConfig" - ], - "commitType": "SecurityAdmin" - } - }, - "responses": { - "202": { - "body": { - "commitId": "testCommitId", - "targetLocations": [ - "useast" - ], - "configurationIds": [ - "/subscriptions/subscriptionC/resourceGroups/resoureGroupSample/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/SampleSecurityAdminConfig" - ], - "commitType": "SecurityAdmin" - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerConnectivityConfigurationDelete.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerConnectivityConfigurationDelete.json deleted file mode 100644 index 7022bcd7539b..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerConnectivityConfigurationDelete.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "title": "Get Azure Virtual Network Manager Connectivity Configuration", - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subscriptionA", - "resourceGroupName": "myResourceGroup", - "networkManagerName": "testNetworkManager", - "configurationName": "myTestConnectivityConfig" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerConnectivityConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerConnectivityConfigurationGet.json deleted file mode 100644 index c893db0c2a36..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerConnectivityConfigurationGet.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "title": "Get Azure Virtual Network Manager Connectivity Configuration", - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subscriptionA", - "resourceGroupName": "myResourceGroup", - "networkManagerName": "testNetworkManager", - "configurationName": "myTestConnectivityConfig" - }, - "responses": { - "200": { - "body": { - "name": "myTestConnectivityConfig", - "id": "/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/connectivityConfigurations/myTestConnectivityConfig", - "type": "Microsoft.Network/networkManagers/connectivityConfigurations", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "displayName": "myTestConnectivityConfig", - "description": "Sample Configuration", - "connectivityTopology": "HubAndSpoke", - "hubs": [ - { - "resourceId": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myHubVnet", - "resourceType": "Microsoft.Network/virtualNetworks" - } - ], - "isGlobal": "True", - "deleteExistingPeering": "True", - "appliesToGroups": [ - { - "networkGroupId": "/subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1", - "useHubGateway": "True", - "groupConnectivity": "None", - "isGlobal": "False" - } - ], - "provisioningState": "Succeeded" - } - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerConnectivityConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerConnectivityConfigurationList.json deleted file mode 100644 index b3eeedcce836..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerConnectivityConfigurationList.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "title": "Get Azure Virtual Network Manager Connecitivity Configuration List", - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subscriptionA", - "resourceGroupName": "myResourceGroup", - "networkManagerName": "testNetworkManager" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "myTestConnectivityConfig", - "id": "subscription/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/connectivityConfigurations/myTestConnectivityConfig", - "type": "Microsoft.Network/networkManagers/connectivityConfigurations", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "displayName": "myTestConnectivityConfig", - "description": "Sample Configuration", - "connectivityTopology": "HubAndSpoke", - "hubs": [ - { - "resourceId": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myHubVnet", - "resourceType": "Microsoft.Network/virtualNetworks" - } - ], - "deleteExistingPeering": "True", - "isGlobal": "True", - "appliesToGroups": [ - { - "networkGroupId": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/netwrokGroups/group1", - "useHubGateway": "True", - "groupConnectivity": "None", - "isGlobal": "False" - } - ], - "provisioningState": "Succeeded" - } - } - ], - "nextLink": "{baseurl}/subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/managedNetworks/testNetworkManager/connectivityConfigurations?api-version=2021-02-01-preview&$skipToken=10" - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerConnectivityConfigurationPut.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerConnectivityConfigurationPut.json deleted file mode 100644 index dee544021977..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerConnectivityConfigurationPut.json +++ /dev/null @@ -1,109 +0,0 @@ -{ - "title": "Create/Update Azure Virtual Network Manager Connectivity Configuration", - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subscriptionA", - "resourceGroupName": "myResourceGroup", - "networkManagerName": "testNetworkManager", - "configurationName": "myTestConnectivityConfig", - "connectivityConfiguration": { - "properties": { - "displayName": "myTestConnectivityConfig", - "description": "Sample Configuration", - "connectivityTopology": "HubAndSpoke", - "hubs": [ - { - "resourceId": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myTestConnectivityConfig", - "resourceType": "Microsoft.Network/virtualNetworks" - } - ], - "deleteExistingPeering": "True", - "isGlobal": "True", - "appliesToGroups": [ - { - "networkGroupId": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1", - "useHubGateway": "True", - "groupConnectivity": "None", - "isGlobal": "False" - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "name": "myTestConnectivityConfig", - "id": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/connectivityConfigurations/myTestConnectivityConfig", - "type": "Microsoft.Network/networkManagers/connectivityConfigurations", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "displayName": "myTestConnectivityConfig", - "description": "Sample Connectivity Configuration", - "connectivityTopology": "HubAndSpoke", - "hubs": [ - { - "resourceId": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myTestConnectivityConfig", - "resourceType": "Microsoft.Network/virtualNetworks" - } - ], - "deleteExistingPeering": "True", - "isGlobal": "True", - "appliesToGroups": [ - { - "networkGroupId": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/groups/group1", - "useHubGateway": "True", - "groupConnectivity": "None", - "isGlobal": "False" - } - ], - "provisioningState": "Succeeded" - } - } - }, - "201": { - "body": { - "name": "myTestConnectivityConfig", - "id": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/connectivityConfigurations/myTestConnectivityConfig", - "type": "Microsoft.Network/networkManagers/connectivityConfigurations", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "displayName": "myTestConnectivityConfig", - "description": "Sample Configuration", - "connectivityTopology": "HubAndSpoke", - "hubs": [ - { - "resourceId": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myTestConnectivityConfig", - "resourceType": "Microsoft.Network/virtualNetworks" - } - ], - "deleteExistingPeering": "True", - "isGlobal": "True", - "appliesToGroups": [ - { - "networkGroupId": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1", - "useHubGateway": "True", - "groupConnectivity": "None", - "isGlobal": "False" - } - ], - "provisioningState": "Succeeded" - } - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerDefaultAdminRuleGet.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerDefaultAdminRuleGet.json deleted file mode 100644 index cffdf54e631f..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerDefaultAdminRuleGet.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subId", - "resourceGroupName": "rg1", - "configurationName": "myTestSecurityConfig", - "networkManagerName": "testNetworkManager", - "ruleCollectionName": "testRuleCollection", - "ruleName": "SampleDefaultAdminRule" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleDefaultAdminRule", - "type": "Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections/rules", - "name": "SampleDefaultAdminRule", - "kind": "Default", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "flag": "AllowVnetInbound", - "displayName": "SampleDefaultAdminRule", - "description": "This is Sample Default Admin Rule", - "protocol": "Tcp", - "sources": [ - { - "addressPrefixType": "IPPrefix", - "addressPrefix": "*" - } - ], - "destinations": [ - { - "addressPrefixType": "IPPrefix", - "addressPrefix": "*" - } - ], - "sourcePortRanges": [ - "0-65535" - ], - "destinationPortRanges": [ - "22" - ], - "access": "Deny", - "priority": 1, - "direction": "Inbound", - "provisioningState": "Succeeded" - } - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerDefaultAdminRulePut.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerDefaultAdminRulePut.json deleted file mode 100644 index 224559196dc7..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerDefaultAdminRulePut.json +++ /dev/null @@ -1,105 +0,0 @@ -{ - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subId", - "resourceGroupName": "rg1", - "networkManagerName": "testNetworkManager", - "configurationName": "myTestSecurityConfig", - "ruleCollectionName": "testRuleCollection", - "ruleName": "SampleDefaultAdminRule", - "adminRule": { - "kind": "Default", - "properties": { - "flag": "AllowVnetInbound" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleDefaultAdminRule", - "type": "Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections/rules", - "name": "SampleDefaultAdminRule", - "kind": "Default", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "flag": "AllowVnetInbound", - "description": "This is Sample Default Admin Rule", - "protocol": "Tcp", - "sources": [ - { - "addressPrefixType": "ServiceTag", - "addressPrefix": "Internet" - } - ], - "destinations": [ - { - "addressPrefixType": "IPPrefix", - "addressPrefix": "*" - } - ], - "sourcePortRanges": [ - "0-65535" - ], - "destinationPortRanges": [ - "22" - ], - "access": "Deny", - "priority": 1, - "direction": "Inbound", - "provisioningState": "Succeeded" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/rules/SampleDefaultAdminRule", - "type": "Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections/rules", - "name": "SampleDefaultAdminRule", - "kind": "Default", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "flag": "AllowVnetInbound", - "description": "This is Sample Default Admin Rule", - "protocol": "Tcp", - "sources": [ - { - "addressPrefixType": "ServiceTag", - "addressPrefix": "Internet" - } - ], - "destinations": [ - { - "addressPrefixType": "IPPrefix", - "addressPrefix": "*" - } - ], - "sourcePortRanges": [ - "0-65535" - ], - "destinationPortRanges": [ - "22" - ], - "access": "Deny", - "priority": 1, - "direction": "Inbound", - "provisioningState": "Succeeded" - } - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerDefaultUserRuleGet.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerDefaultUserRuleGet.json deleted file mode 100644 index c8adcacd2598..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerDefaultUserRuleGet.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subId", - "resourceGroupName": "rg1", - "ruleCollectionName": "testRuleCollection", - "configurationName": "myTestSecurityConfig", - "networkManagerName": "testNetworkManager", - "ruleName": "SampleDefaultUserRule" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/SecurityUserConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleDefaultUserRule", - "type": "Microsoft.Network/networkManagers/SecurityUserConfigurations/ruleCollections/rules", - "name": "SampleDefaultUserRule", - "kind": "Default", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "flag": "AllowVnetInbound", - "displayName": "SampleDefaultUserRule", - "description": "Sample Default User Rule", - "protocol": "Tcp", - "sources": [ - { - "addressPrefixType": "IPPrefix", - "addressPrefix": "*" - } - ], - "destinations": [ - { - "addressPrefixType": "IPPrefix", - "addressPrefix": "*" - } - ], - "sourcePortRanges": [ - "0-65535" - ], - "destinationPortRanges": [ - "22" - ], - "direction": "Inbound", - "provisioningState": "Succeeded" - } - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerDefaultUserRulePut.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerDefaultUserRulePut.json deleted file mode 100644 index 63ad4ba63cda..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerDefaultUserRulePut.json +++ /dev/null @@ -1,101 +0,0 @@ -{ - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subId", - "resourceGroupName": "rg1", - "networkManagerName": "testNetworkManager", - "configurationName": "myTestSecurityConfig", - "ruleCollectionName": "testRuleCollection", - "ruleName": "SampleDefaultUserRule", - "userRule": { - "kind": "Default", - "properties": { - "flag": "AllowVnetInbound" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/SecurityUserConfigurations/Policy1/ruleCollections/testRuleCollection/rules/SampleUserRule", - "type": "Microsoft.Network/networkManagers/securityUserConfigurations/ruleCollections/rules", - "name": "SampleDefaultUserRule", - "kind": "Default", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "flag": "AllowVnetInbound", - "description": "Sample Default User Rule", - "protocol": "Tcp", - "sources": [ - { - "addressPrefixType": "IPPrefix", - "addressPrefix": "*" - } - ], - "destinations": [ - { - "addressPrefixType": "IPPrefix", - "addressPrefix": "*" - } - ], - "sourcePortRanges": [ - "0-65535" - ], - "destinationPortRanges": [ - "22" - ], - "direction": "Inbound", - "provisioningState": "Succeeded" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityUserConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleDefaultUserRule", - "type": "Microsoft.Network/networkManagers/securityUserConfigurations/ruleCollections/rules", - "name": "SampleDefaultUserRule", - "kind": "Default", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "flag": "AllowVnetInbound", - "description": "Sample User Rule", - "protocol": "Tcp", - "sources": [ - { - "addressPrefixType": "IPPrefix", - "addressPrefix": "*" - } - ], - "destinations": [ - { - "addressPrefixType": "IPPrefix", - "addressPrefix": "*" - } - ], - "sourcePortRanges": [ - "0-65535" - ], - "destinationPortRanges": [ - "22" - ], - "direction": "Inbound", - "provisioningState": "Succeeded" - } - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerDelete.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerDelete.json deleted file mode 100644 index 57986cdd8548..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerDelete.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "title": "Delete Azure Virtual Network Manager", - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "networkManagerName": "testNetworkManager" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerDeploymentStatusList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerDeploymentStatusList.json deleted file mode 100644 index 9f0bec264fd2..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerDeploymentStatusList.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "title": "Post Azure Virtual Network Manager Deployment Status", - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subscriptionC", - "resourceGroupName": "resoureGroupSample", - "networkManagerName": "testNetworkManager", - "parameters": { - "regions": [ - "eastus", - "westus" - ], - "deploymentTypes": [ - "Connectivity", - "AdminPolicy" - ], - "skipToken": "FakeSkipTokenCode" - } - }, - "responses": { - "200": { - "body": { - "value": [ - { - "deploymentType": "AdminPolicy", - "configurationIds": [ - "SecConfig1", - "SecConfig2" - ], - "commitTime": "2021-01-26T06:58:50.883Z", - "region": "eastus", - "deploymentStatus": "Deploying", - "errorMessage": "" - }, - { - "deploymentType": "Connectivity", - "configurationIds": [ - "ConnConfig1", - "ConnConfig2" - ], - "commitTime": "2021-01-26T06:58:50.883Z", - "region": "eastus", - "deploymentStatus": "Deployed", - "errorMessage": "" - } - ], - "skipToken": "NextFakeSkipTokenCode" - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerEffectiveConnectivityConfigurationsList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerEffectiveConnectivityConfigurationsList.json deleted file mode 100644 index 0ba12cb2a778..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerEffectiveConnectivityConfigurationsList.json +++ /dev/null @@ -1,63 +0,0 @@ -{ - "title": "List Azure Virtual Network Manager Effective Configuration", - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subscriptionA", - "resourceGroupName": "myResourceGroup", - "virtualNetworkName": "testVirtualNetwork", - "parameters": { - "skipToken": "FakeSkipTokenCode" - } - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/connectivityConfigurations/myTestConnectivityConfig", - "properties": { - "displayName": "myTestConnectivityConfig", - "description": "Sample Configuration", - "connectivityTopology": "HubAndSpoke", - "hubs": [ - { - "resourceId": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myHubVnet", - "resourceType": "Microsoft.Network/virtualNetworks" - } - ], - "isGlobal": "True", - "deleteExistingPeering": "True", - "appliesToGroups": [ - { - "networkGroupId": "/subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/groups/group1", - "useHubGateway": "True", - "groupConnectivity": "None", - "isGlobal": "False" - } - ], - "provisioningState": "Succeeded" - }, - "configurationGroups": [ - { - "id": "/subscriptions/subscriptionA/resourceGroup/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1", - "properties": { - "displayName": "My Network Group", - "description": "A group for all test Virtual Networks", - "memberType": "Microsoft.Network/virtualNetworks", - "groupMembers": [ - { - "resourceId": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/virtualnetwork/vnet1" - } - ], - "conditionalMembership": "", - "provisioningState": "Succeeded" - } - } - ] - } - ], - "skipToken": "FakeSkipTokenCode" - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerEffectiveSecurityAdminRulesList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerEffectiveSecurityAdminRulesList.json deleted file mode 100644 index d0f8644289f2..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerEffectiveSecurityAdminRulesList.json +++ /dev/null @@ -1,79 +0,0 @@ -{ - "title": "List Azure Virtual Network Manager Effective Configuration", - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subscriptionA", - "resourceGroupName": "myResourceGroup", - "virtualNetworkName": "testVirtualNetwork", - "parameters": { - "skipToken": "FakeSkipTokenCode" - } - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleAdminRule", - "configurationDisplayName": "SampleConfig", - "configurationDescription": "SampleDescription", - "ruleCollectionDisplayName": "SampleRuleCollection", - "ruleCollectionDescription": "SampleRuleCollectionDescription", - "ruleCollectionAppliesToGroups": [ - { - "networkGroupId": "/subscriptions/subscriptionA/resourceGroup/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1" - } - ], - "kind": "Default", - "properties": { - "displayName": "SampleAdminRule", - "description": "Sample Admin Rule", - "flag": "AllowVnetInbound", - "protocol": "Tcp", - "sources": [ - { - "addressPrefixType": "IPPrefix", - "addressPrefix": "*" - } - ], - "destinations": [ - { - "addressPrefixType": "IPPrefix", - "addressPrefix": "*" - } - ], - "sourcePortRanges": [ - "0-65535" - ], - "destinationPortRanges": [ - "22" - ], - "direction": "Inbound", - "access": "Deny", - "priority": 1, - "provisioningState": "Succeeded" - }, - "ruleGroups": [ - { - "id": "/subscriptions/subscriptionA/resourceGroup/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1", - "properties": { - "displayName": "My Network Group", - "description": "A group for all test Virtual Networks", - "memberType": "VirtualNetwork", - "groupMembers": [ - { - "resourceId": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/virtualnetwork/vnet1" - } - ], - "conditionalMembership": "", - "provisioningState": "Succeeded" - } - } - ] - } - ], - "skipToken": "FakeSkipTokenCode" - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerEffectiveVirtualNetworksList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerEffectiveVirtualNetworksList.json deleted file mode 100644 index 0434514f8011..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerEffectiveVirtualNetworksList.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "title": "List Effective Virtual Networks List By Network Groups", - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subscriptionC", - "resourceGroupName": "rg1", - "networkManagerName": "testNetworkManager", - "networkGroupName": "TestNetworkGroup", - "parameters": { - "skipToken": "FakeSkipTokenCode" - } - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subscriptionC/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/testNetworkManager", - "location": "useast2", - "membershipType": "Static" - } - ], - "skipToken": "NextFakeSkipTokenCode" - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerEffectiveVirtualNetworksListByNetworkManager.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerEffectiveVirtualNetworksListByNetworkManager.json deleted file mode 100644 index dee2ec946812..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerEffectiveVirtualNetworksListByNetworkManager.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "title": "List Effective Virtual Networks List By Network Groups", - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subscriptionC", - "resourceGroupName": "rg1", - "networkManagerName": "testNetworkManager", - "parameters": { - "conditionalMembers": "location='useast2'", - "skipToken": "FakeSkipTokenCode" - } - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subscriptionC/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/testNetworkManager", - "location": "useast2", - "membershipType": "Static" - } - ], - "skipToken": "NextFakeSkipTokenCode" - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerGet.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerGet.json deleted file mode 100644 index 12e7364dd843..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerGet.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "title": "Get Azure Virtual Network Manager", - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subscriptionC", - "resourceGroupName": "rg1", - "networkManagerName": "testNetworkManager" - }, - "responses": { - "200": { - "body": { - "name": "testNetworkManager", - "id": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager", - "type": "Microsoft.Network/networkManagers", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "displayName": "TestNetworkManager", - "description": "My Test Network Manager", - "networkManagerScopes": { - "managementGroups": [ - "/providers/Microsoft.Management/managementGroups/sampleMG" - ], - "subscriptions": [ - "/subscriptions/00000000-0000-0000-0000-000000000000" - ] - }, - "networkManagerScopeAccesses": [ - "SecurityAdmin" - ], - "provisioningState": "Succeeded" - } - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerGroupDelete.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerGroupDelete.json deleted file mode 100644 index 2e8b3e1d8237..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerGroupDelete.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "title": "Delete Azure Virtual Network Manager Group", - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "networkManagerName": "testNetworkManager", - "networkGroupName": "TestNetworkGroup" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerGroupGet.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerGroupGet.json deleted file mode 100644 index e69da703e107..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerGroupGet.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "title": "Get Azure Virtual Network Manager Network Group", - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subscriptionC", - "resourceGroupName": "rg1", - "networkManagerName": "testNetworkManager", - "networkGroupName": "TestNetworkGroup" - }, - "responses": { - "200": { - "body": { - "name": "TestNetworkGroup", - "id": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/TestNetworkGroup", - "type": "Microsoft.Network/networkManagers/networkGroups", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "displayName": "My Network Group", - "description": "A sample group", - "memberType": "VirtualNetwork", - "groupMembers": [ - { - "resourceId": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/virtualnetworks/vnet1" - } - ], - "conditionalMembership": "", - "provisioningState": "Succeeded" - } - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerGroupList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerGroupList.json deleted file mode 100644 index 5e4dd8701d5c..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerGroupList.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "title": "List Azure Virtual Network Manager Network Groups", - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subscriptionC", - "resourceGroupName": "rg1", - "networkManagerName": "testNetworkManager" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "TestNetworkGroup", - "id": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/TestNetworkGroup", - "type": "Microsoft.Network/networkManagers/networkGroups", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "displayName": "My Network Group", - "description": "A sample group", - "memberType": "VirtualNetwork", - "groupMembers": [ - { - "resourceId": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/virtualnetworks/vnet1" - } - ], - "conditionalMembership": "", - "provisioningState": "Succeeded" - } - } - ], - "nextLink": "{baseurl}/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups?api-version=2021-02-01-preview&$skipToken=10" - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerGroupPut.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerGroupPut.json deleted file mode 100644 index fc7ae985854d..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerGroupPut.json +++ /dev/null @@ -1,85 +0,0 @@ -{ - "title": "Create/Update Azure Virtual Network Manager Network Group", - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subscriptionC", - "resourceGroupName": "rg1", - "networkManagerName": "testNetworkManager", - "networkGroupName": "TestNetworkGroup", - "parameters": { - "properties": { - "displayName": "My Network Group", - "description": "A sample group", - "memberType": "VirtualNetwork", - "groupMembers": [ - { - "resourceId": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/virtualnetworks/vnet1" - } - ], - "conditionalMembership": "" - } - } - }, - "responses": { - "200": { - "headers": { - "ETag": "be3cfaa2-3d02-4624-92d7-a26766306c8b" - }, - "body": { - "name": "TestNetworkGroup", - "id": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/TestNetworkGroup", - "type": "Microsoft.Network/networkManagers/networkGroups", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "displayName": "My Network Group", - "description": "A sample group", - "memberType": "VirtualNetwork", - "groupMembers": [ - { - "resourceId": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/virtualnetworks/vnet1" - } - ], - "conditionalMembership": "", - "provisioningState": "Succeeded" - } - } - }, - "201": { - "headers": { - "ETag": "be3cfaa2-3d02-4624-92d7-a26766306c8b" - }, - "body": { - "name": "TestNetworkGroup", - "id": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/TestNetworkGroup", - "type": "Microsoft.Network/networkManagers/networkGroups", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "displayName": "My Network Group", - "description": "A sample group", - "memberType": "VirtualNetwork", - "groupMembers": [ - { - "resourceId": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/virtualnetwork/vnet1" - } - ], - "conditionalMembership": "", - "provisioningState": "Succeeded" - } - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerList.json deleted file mode 100644 index 52a446ed3473..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerList.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "title": "List Azure Virtual Network Manager", - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subscriptionC", - "resourceGroupName": "rg1" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "testNetworkManager", - "id": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager", - "type": "Microsoft.Network/networkManagers", - "etag": "sadf-asdf-asdf-asdf", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "displayName": "TestNetworkManager", - "description": "My Test Network Manager", - "networkManagerScopes": { - "managementGroups": [ - "/providers/Microsoft.Management/managementGroups/sampleMG" - ], - "subscriptions": [ - "/subscriptions/00000000-0000-0000-0000-000000000000" - ] - }, - "networkManagerScopeAccesses": [ - "Connectivity" - ], - "provisioningState": "Succeeded" - } - } - ], - "nextLink": "{baseurl}/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers?api-version=2021-02-01-preview&$skipToken=10" - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerListAll.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerListAll.json deleted file mode 100644 index 335c3598212a..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerListAll.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "List Azure Virtual Network Manager in Subscription", - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subscriptionC" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "testNetworkManager", - "id": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager", - "type": "Microsoft.Network/networkManagers", - "etag": "sadf-asdf-asdf-asdf", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "displayName": "TestNetworkManager", - "description": "My Test Network Manager", - "networkManagerScopes": { - "managementGroups": [ - "/providers/Microsoft.Management/managementGroups/sampleMG" - ], - "subscriptions": [ - "/subscriptions/00000000-0000-0000-0000-000000000000" - ] - }, - "networkManagerScopeAccesses": [ - "SecurityAdmin" - ], - "provisioningState": "Succeeded" - } - } - ], - "nextLink": "{baseurl}/subscriptions/subscriptionC/providers/Microsoft.Network/networkManagers?api-version=2021-02-01-preview&$skipToken=10" - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerPatch.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerPatch.json deleted file mode 100644 index 716eaaf4dba8..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerPatch.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "title": "Patch Managed Network Tags", - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subscriptionC", - "resourceGroupName": "rg1", - "networkManagerName": "testNetworkManager", - "parameters": { - "tags": { - "tag1": "value1", - "tag2": "value2" - } - } - }, - "responses": { - "200": { - "body": { - "name": "testNetworkManager", - "id": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager", - "type": "Microsoft.Network/networkManager", - "etag": "W/\"00000000-0000-0000-0000-000000000000\"", - "location": "westus", - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "displayName": "TestNetworkManager", - "description": "My Test Network Manager", - "networkManagerScopes": { - "managementGroups": [ - "/providers/Microsoft.Management/managementGroups/sampleMG" - ], - "subscriptions": [ - "/subscriptions/00000000-0000-0000-0000-000000000000" - ] - }, - "networkManagerScopeAccesses": [ - "SecurityAdmin" - ], - "provisioningState": "Succeeded" - } - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerPut.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerPut.json deleted file mode 100644 index e7f8a08f7ee2..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerPut.json +++ /dev/null @@ -1,92 +0,0 @@ -{ - "title": "Create/Update Azure Virtual Network Manager", - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subscriptionC", - "resourceGroupName": "rg1", - "networkManagerName": "TestNetworkManager", - "parameters": { - "properties": { - "displayName": "TestNetworkManager", - "description": "My Test Network Manager", - "networkManagerScopes": { - "managementGroups": [ - "/providers/Microsoft.Management/managementGroups/sampleMG" - ], - "subscriptions": [ - "/subscriptions/00000000-0000-0000-0000-000000000000" - ] - }, - "networkManagerScopeAccesses": [ - "Connectivity" - ] - } - } - }, - "responses": { - "200": { - "body": { - "name": "TestNetworkManager", - "id": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/TestNetworkManager", - "type": "Microsoft.Network/networkManagers", - "etag": "sadf-asdf-asdf-asdf", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "displayName": "TestNetworkManager", - "description": "My Test Network Manager", - "networkManagerScopes": { - "managementGroups": [ - "/providers/Microsoft.Management/managementGroups/sampleMG" - ], - "subscriptions": [ - "/subscriptions/00000000-0000-0000-0000-000000000000" - ] - }, - "networkManagerScopeAccesses": [ - "Connectivity" - ], - "provisioningState": "Succeeded" - } - } - }, - "201": { - "body": { - "name": "TestNetworkManager", - "id": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/TestNetworkManager", - "type": "Microsoft.Network/networkManagers", - "etag": "sadf-asdf-asdf-asdf", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "displayName": "TestNetworkManager", - "description": "My Test Network Manager", - "networkManagerScopes": { - "managementGroups": [ - "/providers/Microsoft.Management/managementGroups/sampleMG" - ], - "subscriptions": [ - "/subscriptions/00000000-0000-0000-0000-000000000000" - ] - }, - "networkManagerScopeAccesses": [ - "Connectivity" - ], - "provisioningState": "Succeeded" - } - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerSecurityAdminConfigurationDelete.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerSecurityAdminConfigurationDelete.json deleted file mode 100644 index 938bd903784c..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerSecurityAdminConfigurationDelete.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subId", - "resourceGroupName": "rg1", - "networkManagerName": "testNetworkManager", - "configurationName": "myTestSecurityConfig" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerSecurityAdminConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerSecurityAdminConfigurationGet.json deleted file mode 100644 index 44ceaafd13d9..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerSecurityAdminConfigurationGet.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subId", - "resourceGroupName": "rg1", - "networkManagerName": "testNetworkManager", - "configurationName": "myTestSecurityConfig" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig", - "name": "myTestSecurityConfig", - "type": "Microsoft.Network/networkManagers/securityAdminConfigurations", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "displayName": "myTestSecurityConfig", - "description": "A sample policy", - "provisioningState": "Succeeded", - "securityType": "AdminPolicy", - "deleteExistingNSGs": "True" - } - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerSecurityAdminConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerSecurityAdminConfigurationList.json deleted file mode 100644 index 3d50290a5e51..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerSecurityAdminConfigurationList.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subId", - "resourceGroupName": "rg1", - "networkManagerName": "testNetworkManager" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig", - "name": "myTestSecurityConfig", - "type": "Microsoft.Network/networkManagers/securityAdminConfigurations", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "displayName": "Sample policy", - "description": "A sample policy", - "provisioningState": "Succeeded", - "securityType": "AdminPolicy", - "deleteExistingNSGs": "True" - } - } - ], - "nextLink": "{baseurl}/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations?api-version=2021-02-01-preview&$skipToken=10" - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerSecurityAdminConfigurationPut.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerSecurityAdminConfigurationPut.json deleted file mode 100644 index 10769ed69bea..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerSecurityAdminConfigurationPut.json +++ /dev/null @@ -1,62 +0,0 @@ -{ - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subId", - "resourceGroupName": "rg1", - "configurationName": "myTestSecurityConfig", - "networkManagerName": "testNetworkManager", - "securityAdminConfiguration": { - "properties": { - "description": "A sample policy", - "securityType": "AdminPolicy", - "deleteExistingNSGs": "True" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManager/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig", - "name": "myTestSecurityConfig", - "type": "Microsoft.Network/networkManagers/securityAdminConfigurations", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "displayName": "myTestSecurityConfig", - "description": "A sample policy", - "provisioningState": "Succeeded", - "securityType": "AdminPolicy", - "deleteExistingNSGs": "True" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManager/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig", - "name": "myTestSecurityConfig", - "type": "Microsoft.Network/networkManagers/securityAdminConfigurations", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "displayName": "myTestSecurityConfig", - "description": "A sample policy", - "provisioningState": "Succeeded", - "securityType": "AdminPolicy", - "deleteExistingNSGs": "True" - } - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerSecurityUserConfigurationDelete.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerSecurityUserConfigurationDelete.json deleted file mode 100644 index 938bd903784c..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerSecurityUserConfigurationDelete.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subId", - "resourceGroupName": "rg1", - "networkManagerName": "testNetworkManager", - "configurationName": "myTestSecurityConfig" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerSecurityUserConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerSecurityUserConfigurationGet.json deleted file mode 100644 index b43b504e3503..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerSecurityUserConfigurationGet.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subId", - "resourceGroupName": "rg1", - "networkManagerName": "testNetworkManager", - "configurationName": "myTestSecurityConfig" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityUserConfigurations/myTestSecurityConfig", - "name": "myTestSecurityConfig", - "type": "Microsoft.Network/networkManagers/securityUserConfigurations", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "displayName": "myTestSecurityConfig", - "description": "A sample policy", - "provisioningState": "Succeeded", - "securityType": "UserPolicy", - "deleteExistingNSGs": "True" - } - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerSecurityUserConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerSecurityUserConfigurationList.json deleted file mode 100644 index a18279f244de..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerSecurityUserConfigurationList.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subId", - "resourceGroupName": "rg1", - "networkManagerName": "testNetworkManager" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityUserConfigurations/myTestSecurityConfig", - "name": "myTestSecurityConfig", - "type": "Microsoft.Network/networkManagers/securityUserConfigurations", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "displayName": "Sample policy", - "description": "A sample policy", - "provisioningState": "Succeeded", - "securityType": "UserPolicy", - "deleteExistingNSGs": "True" - } - } - ], - "nextLink": "{baseurl}/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityUserConfigurations?api-version=2021-02-01-preview&$skipToken=10" - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerSecurityUserConfigurationPut.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerSecurityUserConfigurationPut.json deleted file mode 100644 index dbdfceff66c0..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerSecurityUserConfigurationPut.json +++ /dev/null @@ -1,62 +0,0 @@ -{ - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subId", - "resourceGroupName": "rg1", - "configurationName": "myTestSecurityConfig", - "networkManagerName": "testNetworkManager", - "securityUserConfiguration": { - "properties": { - "description": "A sample policy", - "securityType": "UserPolicy", - "deleteExistingNSGs": "True" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManager/testNetworkManager/securityConfigurations/myTestSecurityConfig", - "name": "myTestSecurityConfig", - "type": "Microsoft.Network/networkManagers/securityConfigurations", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "displayName": "myTestSecurityConfig", - "description": "A sample policy", - "provisioningState": "Succeeded", - "securityType": "UserPolicy", - "deleteExistingNSGs": "True" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManager/testNetworkManager/securityConfigurations/myTestSecurityConfig", - "name": "myTestSecurityConfig", - "type": "Microsoft.Network/networkManagers/securityConfigurations", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "displayName": "myTestSecurityConfig", - "description": "A sample policy", - "provisioningState": "Succeeded", - "securityType": "UserPolicy", - "deleteExistingNSGs": "True" - } - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerUserRuleCollectionDelete.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerUserRuleCollectionDelete.json deleted file mode 100644 index 200dc0249bc9..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerUserRuleCollectionDelete.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subId", - "resourceGroupName": "rg1", - "networkManagerName": "testNetworkManager", - "configurationName": "myTestSecurityConfig", - "ruleCollectionName": "testRuleCollection" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerUserRuleCollectionGet.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerUserRuleCollectionGet.json deleted file mode 100644 index 8b1af45420ca..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerUserRuleCollectionGet.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subId", - "resourceGroupName": "rg1", - "networkManagerName": "testNetworkManager", - "ruleCollectionName": "testRuleCollection", - "configurationName": "myTestSecurityConfig" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityUserConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection", - "name": "testRuleCollection", - "type": "Microsoft.Network/networkManagers/securityUserConfigurations/ruleCollections", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "displayName": "testRuleCollection", - "description": "A sample rule collection", - "provisioningState": "Succeeded", - "appliesToGroups": [ - { - "networkGroupId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" - } - ] - } - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerUserRuleCollectionList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerUserRuleCollectionList.json deleted file mode 100644 index 73729b7ed4d1..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerUserRuleCollectionList.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subId", - "resourceGroupName": "rg1", - "networkManagerName": "testNetworkManager", - "configurationName": "myTestSecurityConfig" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityUserConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection", - "name": "testRuleCollection", - "type": "Microsoft.Network/networkManagers/securityUserConfigurations/ruleCollections", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "displayName": "testRuleCollection", - "description": "A sample rule collection", - "provisioningState": "Succeeded", - "appliesToGroups": [ - { - "networkGroupId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" - } - ] - } - } - ], - "nextLink": "{baseurl}/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityUserConfigurations/myTestSecurityConfig/ruleCollections?api-version=2021-02-01-preview&$skipToken=10" - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerUserRuleCollectionPut.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerUserRuleCollectionPut.json deleted file mode 100644 index d91c5d8a74fd..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerUserRuleCollectionPut.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subId", - "resourceGroupName": "rg1", - "configurationName": "myTestSecurityConfig", - "networkManagerName": "testNetworkManager", - "ruleCollectionName": "testRuleCollection", - "userRuleCollection": { - "properties": { - "description": "A sample policy", - "appliesToGroups": [ - { - "networkGroupId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManager/testNetworkManager/securityUserConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection", - "name": "myTestSecurityConfig", - "type": "Microsoft.Network/networkManagers/securityUserConfigurations/ruleCollections", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "displayName": "myTestSecurityConfig", - "description": "A sample policy", - "provisioningState": "Succeeded", - "appliesToGroups": [ - { - "networkGroupId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" - } - ] - } - } - }, - "201": { - "body": { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManager/testNetworkManager/securityUserConfigurations/myTestSecurityConfig", - "name": "myTestSecurityConfig", - "type": "Microsoft.Network/networkManagers/securityUserConfigurations/ruleCollections", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "displayName": "myTestSecurityConfig", - "description": "A sample policy", - "provisioningState": "Succeeded", - "appliesToGroups": [ - { - "networkGroupId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" - } - ] - } - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerUserRuleDelete.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerUserRuleDelete.json deleted file mode 100644 index 3fbaf4ba00c0..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerUserRuleDelete.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subId", - "resourceGroupName": "rg1", - "configurationName": "myTestSecurityConfig", - "networkManagerName": "testNetworkManager", - "ruleCollectionName": "testRuleCollection", - "ruleName": "SampleUserRule" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerUserRuleGet.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerUserRuleGet.json deleted file mode 100644 index 10459a5f40ce..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerUserRuleGet.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subId", - "resourceGroupName": "rg1", - "ruleCollectionName": "testRuleCollection", - "configurationName": "myTestSecurityConfig", - "networkManagerName": "testNetworkManager", - "ruleName": "SampleUserRule" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/SecurityUserConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleUserRule", - "type": "Microsoft.Network/networkManagers/SecurityUserConfigurations/ruleCollections/rules", - "name": "SampleUserRule", - "kind": "Custom", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "displayName": "SampleUserRule", - "description": "Sample User Rule", - "protocol": "Tcp", - "sources": [ - { - "addressPrefixType": "IPPrefix", - "addressPrefix": "*" - } - ], - "destinations": [ - { - "addressPrefixType": "IPPrefix", - "addressPrefix": "*" - } - ], - "sourcePortRanges": [ - "0-65535" - ], - "destinationPortRanges": [ - "22" - ], - "direction": "Inbound", - "provisioningState": "Succeeded" - } - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerUserRuleList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerUserRuleList.json deleted file mode 100644 index 9ff254e5e12d..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerUserRuleList.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subId", - "resourceGroupName": "rg1", - "networkManagerName": "testNetworkManager", - "ruleCollectionName": "testRuleCollection", - "configurationName": "myTestSecurityConfig" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkmanagers/testNetworkManager/securityUserConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleUserRule", - "type": "Microsoft.Network/networkManagers/securityConfigurations/ruleCollections/rules", - "name": "SampleUserRule", - "kind": "Custom", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "description": "Sample User Rule", - "protocol": "Tcp", - "sources": [ - { - "addressPrefixType": "IPPrefix", - "addressPrefix": "*" - } - ], - "destinations": [ - { - "addressPrefixType": "IPPrefix", - "addressPrefix": "*" - } - ], - "sourcePortRanges": [ - "0-65535" - ], - "destinationPortRanges": [ - "22" - ], - "direction": "Inbound", - "provisioningState": "Succeeded" - } - } - ], - "nextLink": "{baseurl}/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityUserConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules?api-version=2021-02-01-preview&$skipToken=10" - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerUserRulePut.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerUserRulePut.json deleted file mode 100644 index c9538b7cac28..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkManagerUserRulePut.json +++ /dev/null @@ -1,119 +0,0 @@ -{ - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subId", - "resourceGroupName": "rg1", - "networkManagerName": "testNetworkManager", - "configurationName": "myTestSecurityConfig", - "ruleCollectionName": "testRuleCollection", - "ruleName": "SampleUserRule", - "userRule": { - "kind": "Custom", - "properties": { - "description": "Sample User Rule", - "protocol": "Tcp", - "sources": [ - { - "addressPrefixType": "IPPrefix", - "addressPrefix": "*" - } - ], - "destinations": [ - { - "addressPrefixType": "IPPrefix", - "addressPrefix": "*" - } - ], - "sourcePortRanges": [ - "0-65535" - ], - "destinationPortRanges": [ - "22" - ], - "direction": "Inbound" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/SecurityUserConfigurations/Policy1/ruleCollections/testRuleCollection/rules/SampleUserRule", - "type": "Microsoft.Network/networkManagers/SecurityUserConfigurations/ruleCollections/rules", - "name": "SampleUserRule", - "kind": "Custom", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "description": "Sample User Rule", - "protocol": "Tcp", - "sources": [ - { - "addressPrefixType": "IPPrefix", - "addressPrefix": "*" - } - ], - "destinations": [ - { - "addressPrefixType": "IPPrefix", - "addressPrefix": "*" - } - ], - "sourcePortRanges": [ - "0-65535" - ], - "destinationPortRanges": [ - "22" - ], - "direction": "Inbound", - "provisioningState": "Succeeded" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityUserConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleUserRule", - "type": "Microsoft.Network/networkManagers/SecurityUserConfigurations/ruleCollections/rules", - "name": "SampleUserRule", - "kind": "Custom", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "description": "Sample User Rule", - "protocol": "Tcp", - "sources": [ - { - "addressPrefixType": "IPPrefix", - "addressPrefix": "*" - } - ], - "destinations": [ - { - "addressPrefixType": "IPPrefix", - "addressPrefix": "*" - } - ], - "sourcePortRanges": [ - "0-65535" - ], - "destinationPortRanges": [ - "22" - ], - "direction": "Inbound", - "provisioningState": "Succeeded" - } - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkSecurityPerimeterDelete.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkSecurityPerimeterDelete.json index a8a08b56a6e2..2db93a5b212a 100644 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkSecurityPerimeterDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkSecurityPerimeterDelete.json @@ -1,7 +1,7 @@ { "title": "Delete Network Security Perimeter", "parameters": { - "api-version": "2021-02-01-preview", + "api-version": "2023-07-01-preview", "subscriptionId": "subId", "resourceGroupName": "rg1", "networkSecurityPerimeterName": "testNSP1" diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkSecurityPerimeterGet.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkSecurityPerimeterGet.json index 9fdab4ecb57b..9e5eb77c0b3a 100644 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkSecurityPerimeterGet.json +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkSecurityPerimeterGet.json @@ -1,7 +1,7 @@ { "title": "Get Network Security Perimeter", "parameters": { - "api-version": "2021-02-01-preview", + "api-version": "2023-07-01-preview", "subscriptionId": "subId", "resourceGroupName": "rg1", "networkSecurityPerimeterName": "nsp1" diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkSecurityPerimeterList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkSecurityPerimeterList.json index 19ecf72ad2c5..f36e9253a8eb 100644 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkSecurityPerimeterList.json +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkSecurityPerimeterList.json @@ -1,7 +1,7 @@ { "title": "List Network Security Perimeter", "parameters": { - "api-version": "2021-02-01-preview", + "api-version": "2023-07-01-preview", "subscriptionId": "subId", "resourceGroupName": "rg1" }, @@ -32,7 +32,7 @@ } } ], - "nextLink": "{baseurl}/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters?api-version=2021-02-01-preview&$skipToken=10" + "nextLink": "{baseurl}/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters?api-version=2023-07-01-preview&$skipToken=10" } } } diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkSecurityPerimeterListAll.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkSecurityPerimeterListAll.json index 8194a82e5b4b..322b5cdce505 100644 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkSecurityPerimeterListAll.json +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkSecurityPerimeterListAll.json @@ -1,7 +1,7 @@ { "title": "List all the Network Security Perimeters in a Subscription", "parameters": { - "api-version": "2021-02-01-preview", + "api-version": "2023-07-01-preview", "subscriptionId": "subId" }, "responses": { @@ -31,7 +31,7 @@ } } ], - "nextLink": "{baseurl}/subscriptions/subId/providers/Microsoft.Network/networkSecurityPerimeters?api-version=2021-02-01-preview&$skipToken=10" + "nextLink": "{baseurl}/subscriptions/subId/providers/Microsoft.Network/networkSecurityPerimeters?api-version=2023-07-01-preview&$skipToken=10" } } } diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkSecurityPerimeterPatch.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkSecurityPerimeterPatch.json index 4c32a318a47b..ddae2d4f4bdd 100644 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkSecurityPerimeterPatch.json +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkSecurityPerimeterPatch.json @@ -1,7 +1,7 @@ { "title": "Patch Network Security Perimeter", "parameters": { - "api-version": "2021-02-01-preview", + "api-version": "2023-07-01-preview", "subscriptionId": "subId", "resourceGroupName": "rg1", "networkSecurityPerimeterName": "nsp1", diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkSecurityPerimeterPut.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkSecurityPerimeterPut.json index 9336e4d47489..5091728ccb6a 100644 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkSecurityPerimeterPut.json +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NetworkSecurityPerimeterPut.json @@ -1,7 +1,7 @@ { "title": "Create/Update Network Security Perimeter", "parameters": { - "api-version": "2021-02-01-preview", + "api-version": "2023-07-01-preview", "subscriptionId": "subId", "resourceGroupName": "rg1", "networkSecurityPerimeterName": "nsp1", diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAccessRuleDelete.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAccessRuleDelete.json index 883c6a3cb22c..4b578ad8d6ad 100644 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAccessRuleDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAccessRuleDelete.json @@ -1,7 +1,7 @@ { "title": "Delete NSP access rule", "parameters": { - "api-version": "2021-02-01-preview", + "api-version": "2023-07-01-preview", "subscriptionId": "subId", "resourceGroupName": "rg1", "networkSecurityPerimeterName": "nsp1", diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAccessRuleGet.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAccessRuleGet.json index df8b54e3fc34..cb4562e65c5d 100644 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAccessRuleGet.json +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAccessRuleGet.json @@ -1,7 +1,7 @@ { "title": "Get NSP Access Rule", "parameters": { - "api-version": "2021-02-01-preview", + "api-version": "2023-07-01-preview", "subscriptionId": "subId", "resourceGroupName": "rg1", "networkSecurityPerimeterName": "nsp1", diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAccessRuleList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAccessRuleList.json index fc7151f1e756..014d5fd8ce82 100644 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAccessRuleList.json +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAccessRuleList.json @@ -1,7 +1,7 @@ { "title": "List NSP Access Rules", "parameters": { - "api-version": "2021-02-01-preview", + "api-version": "2023-07-01-preview", "subscriptionId": "subId", "resourceGroupName": "rg1", "networkSecurityPerimeterName": "nsp1", @@ -48,7 +48,7 @@ } } ], - "nextLink": "{baseurl}/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/profile1/accessRules?api-version=2021-02-01-preview&$skipToken=10" + "nextLink": "{baseurl}/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/profile1/accessRules?api-version=2023-07-01-preview&$skipToken=10" } } } diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAccessRulePut.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAccessRulePut.json index 7a0165c6a85d..5a7695020a4c 100644 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAccessRulePut.json +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAccessRulePut.json @@ -1,7 +1,7 @@ { "title": "Create/Update NSP access rule", "parameters": { - "api-version": "2021-02-01-preview", + "api-version": "2023-07-01-preview", "subscriptionId": "subId", "resourceGroupName": "rg1", "networkSecurityPerimeterName": "nsp1", diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAccessRuleReconcile.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAccessRuleReconcile.json index a416485ea007..24f9009f9ede 100644 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAccessRuleReconcile.json +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAccessRuleReconcile.json @@ -1,7 +1,7 @@ { "title": "Reconcile NSP access rule", "parameters": { - "api-version": "2021-02-01-preview", + "api-version": "2023-07-01-preview", "subscriptionId": "subId", "resourceGroupName": "rg1", "networkSecurityPerimeterName": "nsp1", diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAssociationDelete.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAssociationDelete.json index 2a0f14f633f3..1fc619039041 100644 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAssociationDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAssociationDelete.json @@ -1,7 +1,7 @@ { "title": "Delete NSP resource association", "parameters": { - "api-version": "2021-02-01-preview", + "api-version": "2023-07-01-preview", "subscriptionId": "subId", "resourceGroupName": "rg1", "networkSecurityPerimeterName": "nsp1", diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAssociationGet.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAssociationGet.json index c7120c822352..d856a17237ca 100644 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAssociationGet.json +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAssociationGet.json @@ -1,7 +1,7 @@ { "title": "Get NSP resource association", "parameters": { - "api-version": "2021-02-01-preview", + "api-version": "2023-07-01-preview", "subscriptionId": "subId", "resourceGroupName": "rg1", "networkSecurityPerimeterName": "nsp1", diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAssociationList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAssociationList.json index f83947796108..8f8f42ef156d 100644 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAssociationList.json +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAssociationList.json @@ -1,7 +1,7 @@ { "title": "List NSP resource associations", "parameters": { - "api-version": "2021-02-01-preview", + "api-version": "2023-07-01-preview", "subscriptionId": "subId", "resourceGroupName": "rg1", "networkSecurityPerimeterName": "nsp1" @@ -59,7 +59,7 @@ } } ], - "nextLink": "{baseurl}/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/resourceAssociations?api-version=2021-02-01-preview&$skipToken=10" + "nextLink": "{baseurl}/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/resourceAssociations?api-version=2023-07-01-preview&$skipToken=10" } } } diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAssociationPut.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAssociationPut.json index f076e51a615a..b95be9452591 100644 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAssociationPut.json +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAssociationPut.json @@ -1,7 +1,7 @@ { "title": "Create/Update NSP association", "parameters": { - "api-version": "2021-02-01-preview", + "api-version": "2023-07-01-preview", "subscriptionId": "subId", "resourceGroupName": "rg1", "networkSecurityPerimeterName": "nsp1", diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAssociationReconcile.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAssociationReconcile.json index 9dc80cfbe7fe..3b76bad3e85d 100644 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAssociationReconcile.json +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspAssociationReconcile.json @@ -1,7 +1,7 @@ { "title": "Reconcile NSP association", "parameters": { - "api-version": "2021-02-01-preview", + "api-version": "2023-07-01-preview", "subscriptionId": "subId", "resourceGroupName": "rg1", "networkSecurityPerimeterName": "nsp1", diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspLinkDelete.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspLinkDelete.json index e174fd3b540f..4a92393a1cbf 100644 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspLinkDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspLinkDelete.json @@ -1,7 +1,7 @@ { "title": "Delete NSP link", "parameters": { - "api-version": "2021-02-01-preview", + "api-version": "2023-07-01-preview", "subscriptionId": "subId", "resourceGroupName": "rg1", "networkSecurityPerimeterName": "nsp1", diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspLinkGet.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspLinkGet.json index cc143bac1112..9b19b7596946 100644 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspLinkGet.json +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspLinkGet.json @@ -1,7 +1,7 @@ { "title": "Get NSP Link", "parameters": { - "api-version": "2021-02-01-preview", + "api-version": "2023-07-01-preview", "subscriptionId": "subId", "resourceGroupName": "rg1", "networkSecurityPerimeterName": "nsp1", diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspLinkList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspLinkList.json index 43383d338647..98c3176e9456 100644 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspLinkList.json +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspLinkList.json @@ -1,7 +1,7 @@ { "title": "List NSP Links", "parameters": { - "api-version": "2021-02-01-preview", + "api-version": "2023-07-01-preview", "subscriptionId": "subId", "resourceGroupName": "rg1", "networkSecurityPerimeterName": "nsp1" @@ -36,7 +36,7 @@ } } ], - "nextLink": "{baseurl}/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/links?api-version=2021-02-01-preview&$skipToken=10" + "nextLink": "{baseurl}/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/links?api-version=2023-07-01-preview&$skipToken=10" } } } diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspLinkPut.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspLinkPut.json index aff6b13aa0ad..ead8047f63bb 100644 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspLinkPut.json +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspLinkPut.json @@ -1,7 +1,7 @@ { "title": "Create/Update NSP link", "parameters": { - "api-version": "2021-02-01-preview", + "api-version": "2023-07-01-preview", "subscriptionId": "subId", "resourceGroupName": "rg1", "networkSecurityPerimeterName": "nsp1", diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspLinkReferenceDelete.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspLinkReferenceDelete.json index 28bdc542d0aa..c937afbc14c8 100644 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspLinkReferenceDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspLinkReferenceDelete.json @@ -1,7 +1,7 @@ { "title": "Delete NSP linkReference", "parameters": { - "api-version": "2021-02-01-preview", + "api-version": "2023-07-01-preview", "subscriptionId": "subId", "resourceGroupName": "rg1", "networkSecurityPerimeterName": "nsp2", diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspLinkReferenceGet.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspLinkReferenceGet.json index f150110ca1f3..c30039d4d9dd 100644 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspLinkReferenceGet.json +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspLinkReferenceGet.json @@ -1,7 +1,7 @@ { "title": "Get NSP LinkReference", "parameters": { - "api-version": "2021-02-01-preview", + "api-version": "2023-07-01-preview", "subscriptionId": "subId", "resourceGroupName": "rg1", "networkSecurityPerimeterName": "nsp2", diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspLinkReferenceList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspLinkReferenceList.json index 762c86db5656..0fef1778216d 100644 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspLinkReferenceList.json +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspLinkReferenceList.json @@ -1,7 +1,7 @@ { "title": "List NSP LinkReferences", "parameters": { - "api-version": "2021-02-01-preview", + "api-version": "2023-07-01-preview", "subscriptionId": "subId", "resourceGroupName": "rg1", "networkSecurityPerimeterName": "nsp2" @@ -36,7 +36,7 @@ } } ], - "nextLink": "{baseurl}/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp2/linkreferences?api-version=2021-02-01-preview&$skipToken=10" + "nextLink": "{baseurl}/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp2/linkreferences?api-version=2023-07-01-preview&$skipToken=10" } } } diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspProfileDelete.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspProfileDelete.json index 3aa62ed51f31..6da48f57d58d 100644 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspProfileDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspProfileDelete.json @@ -1,7 +1,7 @@ { "title": "Delete NSP profile", "parameters": { - "api-version": "2021-02-01-preview", + "api-version": "2023-07-01-preview", "subscriptionId": "subId", "resourceGroupName": "rg1", "networkSecurityPerimeterName": "nsp1", diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspProfileGet.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspProfileGet.json index ce38774c590c..8a8abb280a3e 100644 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspProfileGet.json +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspProfileGet.json @@ -1,7 +1,7 @@ { "title": "Get NSP Profile", "parameters": { - "api-version": "2021-02-01-preview", + "api-version": "2023-07-01-preview", "subscriptionId": "subId", "resourceGroupName": "rg1", "networkSecurityPerimeterName": "nsp1", diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspProfileList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspProfileList.json index 931ad7eb3002..01827c37ad7e 100644 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspProfileList.json +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspProfileList.json @@ -1,7 +1,7 @@ { "title": "List NSP Profiles", "parameters": { - "api-version": "2021-02-01-preview", + "api-version": "2023-07-01-preview", "subscriptionId": "subId", "resourceGroupName": "rg1", "networkSecurityPerimeterName": "nsp1" @@ -31,7 +31,7 @@ } } ], - "nextLink": "{baseurl}/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles?api-version=2021-02-01-preview&$skipToken=10" + "nextLink": "{baseurl}/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles?api-version=2023-07-01-preview&$skipToken=10" } } } diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspProfilePut.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspProfilePut.json index 54bfe3eb654e..2cec3df3e208 100644 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspProfilePut.json +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/NspProfilePut.json @@ -1,7 +1,7 @@ { "title": "Create/Update NSP profile", "parameters": { - "api-version": "2021-02-01-preview", + "api-version": "2023-07-01-preview", "subscriptionId": "subId", "resourceGroupName": "rg1", "networkSecurityPerimeterName": "nsp1", diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/PerimeterAssociableResourcesList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/PerimeterAssociableResourcesList.json index c3ad3a1eed37..c82245dfd3d2 100644 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/PerimeterAssociableResourcesList.json +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/examples/PerimeterAssociableResourcesList.json @@ -1,7 +1,7 @@ { "title": "List of resources onboarded for network security perimeter feature (perimeter associable resources).", "parameters": { - "api-version": "2021-02-01-preview", + "api-version": "2023-07-01-preview", "subscriptionId": "subId", "location": "westus" }, @@ -37,7 +37,7 @@ } } ], - "nextLink": "{baseurl}/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/perimeterAssociableResourceTypes?api-version=2021-02-01-preview&$skipToken=10" + "nextLink": "{baseurl}/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/perimeterAssociableResourceTypes?api-version=2023-07-01-preview&$skipToken=10" } } } diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/network.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/network.json index 4c98e9a3b595..08278d92b720 100644 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/network.json +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/network.json @@ -3,7 +3,7 @@ "info": { "title": "NetworkManagementClient", "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", - "version": "2021-02-01-preview" + "version": "2023-07-01-preview" }, "host": "management.azure.com", "schemes": [ diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/networkManager.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/networkManager.json deleted file mode 100644 index afea315d69a7..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/networkManager.json +++ /dev/null @@ -1,705 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "NetworkManager", - "description": "The Microsoft Azure Virtual Network Manager API provides a RESTful set of web services that interact with Microsoft Azure Network Manager service to manage your network resources.", - "version": "2021-02-01-preview" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow.", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}": { - "parameters": [ - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/NetworkManagerNameParameter" - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - } - ], - "get": { - "tags": [ - "NetworkManagers" - ], - "operationId": "NetworkManagers_Get", - "description": "Gets the specified Network Manager.", - "responses": { - "200": { - "description": "OK - Returns information about the network manager.", - "schema": { - "$ref": "#/definitions/NetworkManager" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "NetworkManagersGet": { - "$ref": "./examples/NetworkManagerGet.json" - } - } - }, - "put": { - "tags": [ - "NetworkManagers" - ], - "operationId": "NetworkManagers_CreateOrUpdate", - "description": "Creates or updates a Network Manager.", - "parameters": [ - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/NetworkManager" - }, - "description": "Parameters supplied to specify which network manager is." - } - ], - "responses": { - "200": { - "description": "Updated - Returns information about the network manager.", - "schema": { - "$ref": "#/definitions/NetworkManager" - } - }, - "201": { - "description": "Created - Returns information about the network manager.", - "schema": { - "$ref": "#/definitions/NetworkManager" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Put Network Manager": { - "$ref": "./examples/NetworkManagerPut.json" - } - } - }, - "delete": { - "tags": [ - "NetworkManagers" - ], - "operationId": "NetworkManagers_Delete", - "description": "Deletes a network manager.", - "responses": { - "200": { - "description": "Delete Succeed." - }, - "204": { - "description": "Request successful. The resource does not exist." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "NetworkManagersDelete": { - "$ref": "./examples/NetworkManagerDelete.json" - } - } - }, - "patch": { - "tags": [ - "NetworkManagers" - ], - "operationId": "NetworkManagers_PatchTags", - "description": "Patch a NetworkManager Tags.", - "parameters": [ - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "./network.json#/definitions/TagsObject" - }, - "description": "Parameters supplied to update network manager tags." - } - ], - "responses": { - "200": { - "description": "Updated - Returns information about the network manager.", - "schema": { - "$ref": "#/definitions/NetworkManager" - } - }, - "default": { - "description": "Resource Provider error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "NetworkManagesPatch": { - "$ref": "./examples/NetworkManagerPatch.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/commit": { - "parameters": [ - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/NetworkManagerNameParameter" - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - } - ], - "post": { - "tags": [ - "NetworkManagers" - ], - "operationId": "NetworkManagerCommits_Post", - "description": "Post a Network Manager Commit.", - "parameters": [ - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/NetworkManagerCommit" - }, - "description": "Parameters supplied to specify which Managed Network commit is." - } - ], - "responses": { - "202": { - "description": "Accepted and the operation will complete asynchronously", - "schema": { - "$ref": "#/definitions/NetworkManagerCommit" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "NetworkManageCommitPost": { - "$ref": "./examples/NetworkManagerCommitPost.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/listDeploymentStatus": { - "parameters": [ - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/NetworkManagerNameParameter" - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - } - ], - "post": { - "tags": [ - "NetworkManagers" - ], - "operationId": "NetworkManagerDeploymentStatus_List", - "description": "Post to List of Network Manager Deployment Status.", - "parameters": [ - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/NetworkManagerDeploymentStatusParameter" - }, - "description": "Parameters supplied to specify which Managed Network deployment status is." - } - ], - "responses": { - "200": { - "description": "OK - Returns a list of deployment status.", - "schema": { - "$ref": "#/definitions/NetworkManagerDeploymentStatusListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "NetworkManagerDeploymentStatusList": { - "$ref": "./examples/NetworkManagerDeploymentStatusList.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkManagers": { - "get": { - "tags": [ - "NetworkManagers" - ], - "operationId": "NetworkManagers_ListBySubscription", - "description": "List all network managers in a subscription.", - "parameters": [ - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ListTopParameter" - }, - { - "$ref": "#/parameters/ListSkipTokenParameter" - } - ], - "responses": { - "200": { - "description": "OK - Returns information about the network managers.", - "schema": { - "$ref": "#/definitions/NetworkManagerListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "NetworkManagersList": { - "$ref": "./examples/NetworkManagerListAll.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers": { - "get": { - "tags": [ - "NetworkManagers" - ], - "operationId": "NetworkManagers_List", - "description": "List network managers in a resource group.", - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "parameters": [ - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ListTopParameter" - }, - { - "$ref": "#/parameters/ListSkipTokenParameter" - } - ], - "responses": { - "200": { - "description": "OK - Returns a list of network managers.", - "schema": { - "$ref": "#/definitions/NetworkManagerListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "List Network Manager": { - "$ref": "./examples/NetworkManagerList.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/listEffectiveVirtualNetworks": { - "post": { - "tags": [ - "NetworkManagers" - ], - "operationId": "EffectiveVirtualNetworks_ListByNetworkManager", - "description": "List effective virtual networks in a network manager.", - "parameters": [ - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/NetworkManagerNameParameter" - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ListTopParameter" - }, - { - "$ref": "#/parameters/ListSkipTokenParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/EffectiveVirtualNetworksParameter" - }, - "description": "Effective Virtual Networks Parameter." - } - ], - "responses": { - "200": { - "description": "OK - Returns a list of effective virtual networks.", - "schema": { - "$ref": "./networkManagerGroup.json#/definitions/EffectiveVirtualNetworksListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "List Effective Virtual Networks By Network Manager": { - "$ref": "./examples/NetworkManagerEffectiveVirtualNetworksListByNetworkManager.json" - } - } - } - } - }, - "definitions": { - "NetworkManager": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/NetworkManagerProperties", - "description": "The network manager properties" - }, - "etag": { - "readOnly": true, - "type": "string", - "description": "A unique read-only string that changes whenever the resource is updated." - }, - "systemData": { - "readOnly": true, - "description": "The system metadata related to this resource.", - "$ref": "./network.json#/definitions/SystemData" - } - }, - "allOf": [ - { - "$ref": "./network.json#/definitions/Resource" - } - ], - "description": "The Managed Network resource" - }, - "NetworkManagerListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/NetworkManager" - }, - "description": "Gets a page of NetworkManager" - }, - "nextLink": { - "type": "string", - "description": "Gets the URL to get the next page of results." - } - }, - "description": "Result of the request to list NetworkManager. It contains a list of network managers and a URL link to get the next set of results." - }, - "NetworkManagerProperties": { - "type": "object", - "properties": { - "displayName": { - "type": "string", - "description": "A friendly name for the network manager." - }, - "description": { - "type": "string", - "description": "A description of the network manager." - }, - "networkManagerScopes": { - "properties": { - "managementGroups": { - "type": "array", - "items": { - "type": "string" - }, - "description": "List of management groups." - }, - "subscriptions": { - "type": "array", - "items": { - "type": "string" - }, - "description": "List of subscriptions." - } - }, - "description": "Scope of Network Manager." - }, - "networkManagerScopeAccesses": { - "type": "array", - "items": { - "type": "string", - "$ref": "#/definitions/ConfigurationType" - }, - "description": "Scope Access." - }, - "provisioningState": { - "readOnly": true, - "$ref": "./network.json#/definitions/ProvisioningState", - "description": "The provisioning state of the scope assignment resource." - } - }, - "description": "Properties of Managed Network" - }, - "NetworkManagerCommit": { - "properties": { - "commitId": { - "type": "string", - "readOnly": true, - "description": "Commit Id." - }, - "targetLocations": { - "type": "array", - "items": { - "type": "string" - }, - "description": "List of target locations." - }, - "configurationIds": { - "type": "array", - "items": { - "type": "string" - }, - "description": "List of configuration ids." - }, - "commitType": { - "type": "string", - "$ref": "#/definitions/ConfigurationType", - "description": "Commit Type." - } - }, - "description": "Network Manager Commit." - }, - "NetworkManagerDeploymentStatusParameter": { - "properties": { - "regions": { - "type": "array", - "items": { - "type": "string" - }, - "description": "List of locations." - }, - "deploymentTypes": { - "type": "array", - "items": { - "$ref": "#/definitions/ConfigurationType" - }, - "description": "List of deployment types." - }, - "skipToken": { - "description": "Continuation token for pagination, capturing the next page size and offset, as well as the context of the query.", - "type": "string" - } - }, - "description": "Network Manager Deployment Status Parameter." - }, - "NetworkManagerDeploymentStatusListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/NetworkManagerDeploymentStatus" - }, - "description": "Gets a page of Network Manager Deployment Status" - }, - "skipToken": { - "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.", - "type": "string" - } - }, - "description": "A list of Network Manager Deployment Status" - }, - "NetworkManagerDeploymentStatus": { - "properties": { - "commitTime": { - "type": "string", - "format": "date-time", - "description": "Commit Time." - }, - "region": { - "type": "string", - "description": "Region Name." - }, - "deploymentStatus": { - "type": "string", - "enum": [ - "NotStarted", - "Deploying", - "Deployed", - "Failed" - ], - "x-ms-enum": { - "name": "DeploymentStatus", - "modelAsString": true - }, - "description": "Deployment Status." - }, - "configurationIds": { - "type": "array", - "items": { - "type": "string" - }, - "description": "List of configuration ids." - }, - "deploymentType": { - "type": "string", - "$ref": "#/definitions/ConfigurationType" - }, - "errorMessage": { - "type": "string", - "description": "Error Message." - } - }, - "description": "Network Manager Deployment Status." - }, - "ConfigurationType": { - "type": "string", - "enum": [ - "SecurityAdmin", - "SecurityUser", - "Connectivity" - ], - "x-ms-enum": { - "name": "ConfigurationType", - "modelAsString": true - }, - "description": "Configuration Deployment Type." - }, - "EffectiveVirtualNetworksParameter": { - "properties": { - "conditionalMembers": { - "type": "string", - "description": "Conditional Members." - }, - "skipToken": { - "description": "Continuation token for pagination, capturing the next page size and offset, as well as the context of the query.", - "type": "string" - } - }, - "description": "Effective Virtual Networks Parameter." - } - }, - "parameters": { - "ResourceGroupNameParameter": { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group.", - "x-ms-parameter-location": "method" - }, - "NetworkManagerNameParameter": { - "name": "networkManagerName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the network manager.", - "x-ms-parameter-location": "method" - }, - "ListTopParameter": { - "name": "$top", - "description": "An optional query parameter which specifies the maximum number of records to be returned by the server.", - "in": "query", - "required": false, - "type": "integer", - "format": "int32", - "minimum": 1, - "maximum": 20, - "x-ms-parameter-location": "method" - }, - "ListSkipTokenParameter": { - "name": "$skipToken", - "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.", - "in": "query", - "required": false, - "type": "string", - "x-ms-parameter-location": "method" - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/networkManagerActiveConfiguration.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/networkManagerActiveConfiguration.json deleted file mode 100644 index c898bfcbbde5..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/networkManagerActiveConfiguration.json +++ /dev/null @@ -1,503 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "NetworkManagerActiveConfiguration", - "description": "The Microsoft Azure Network Manager Active Configuration API provides a RESTful set of web services that interact with Microsoft Azure Network Manager service to list all active configuration by network manager.", - "version": "2021-02-01-preview" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow.", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/listActiveConnectivityConfigurations": { - "parameters": [ - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/NetworkManagerNameParameter" - } - ], - "post": { - "tags": [ - "NetworkManagerActiveConnectivityConfigurations" - ], - "parameters": [ - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ActiveConfigurationParameter" - }, - "description": "Active Configuration Parameter." - } - ], - "operationId": "ActiveConnectivityConfigurations_List", - "description": "Lists active connectivity configurations in a network manager.", - "responses": { - "200": { - "description": "Post successful. The operation returns the specified Managed Network active connectivity configuration resource.", - "schema": { - "$ref": "#/definitions/ActiveConnectivityConfigurationsListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "List Active Connectivity Configurations": { - "$ref": "./examples/NetworkManagerActiveConnectivityConfigurationsList.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/listActiveSecurityAdminRules": { - "parameters": [ - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/NetworkManagerNameParameter" - } - ], - "post": { - "tags": [ - "NetworkManagerActiveConfigurations" - ], - "parameters": [ - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ActiveConfigurationParameter" - }, - "description": "Active Configuration Parameter." - } - ], - "operationId": "ActiveSecurityAdminRules_List", - "description": "Lists active security admin rules in a network manager.", - "responses": { - "200": { - "description": "Post successful. The operation returns the specified Managed Network active security admin rules resource.", - "schema": { - "$ref": "#/definitions/ActiveSecurityAdminRulesListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "List Active Security Admin Rules": { - "$ref": "./examples/NetworkManagerActiveSecurityAdminRulesList.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/listActiveSecurityUserRules": { - "parameters": [ - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/NetworkManagerNameParameter" - } - ], - "post": { - "tags": [ - "NetworkManagerActiveSecurityUserRules" - ], - "parameters": [ - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ActiveConfigurationParameter" - }, - "description": "Active Configuration Parameter." - } - ], - "operationId": "ActiveSecurityUserRules_List", - "description": "Lists Active Security User Rules in a network manager.", - "responses": { - "200": { - "description": "Post successful. The operation returns the specified Managed Network active security user rules resource.", - "schema": { - "$ref": "#/definitions/ActiveSecurityUserRulesListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "List Active Security User Rules": { - "$ref": "./examples/NetworkManagerActiveSecurityUserRulesList.json" - } - } - } - } - }, - "definitions": { - "ActiveConfigurationParameter": { - "properties": { - "regions": { - "type": "array", - "items": { - "type": "string", - "description": "region Name." - }, - "description": "List of regions." - }, - "skipToken": { - "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.", - "type": "string" - } - }, - "description": "Effective Virtual Networks Parameter." - }, - "ActiveConnectivityConfiguration": { - "type": "object", - "properties": { - "commitTime": { - "type": "string", - "description": "Deployment time string.", - "format": "date-time" - }, - "region": { - "type": "string", - "description": "Deployment region." - } - }, - "allOf": [ - { - "$ref": "./networkManagerEffectiveConfiguration.json#/definitions/EffectiveConnectivityConfiguration" - } - ], - "description": "Active connectivity configuration." - }, - "ActiveConnectivityConfigurationsListResult": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ActiveConnectivityConfiguration" - }, - "description": "Gets a page of active connectivity configurations." - }, - "skipToken": { - "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.", - "type": "string" - } - }, - "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." - }, - "ActiveSecurityAdminRulesListResult": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ActiveBaseSecurityAdminRule" - }, - "description": "Gets a page of active security admin rules." - }, - "skipToken": { - "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.", - "type": "string" - } - }, - "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." - }, - "ActiveSecurityUserRulesListResult": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ActiveBaseSecurityUserRule" - }, - "description": "Gets a page of active security user rules." - }, - "skipToken": { - "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.", - "type": "string" - } - }, - "description": "Result of the request to list active security user rules. It contains a list of active security user rules and a skiptoken to get the next set of results." - }, - "ActiveBaseSecurityAdminRule": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Resource ID." - }, - "commitTime": { - "type": "string", - "description": "Deployment time string.", - "format": "date-time" - }, - "region": { - "type": "string", - "description": "Deployment region." - }, - "configurationDisplayName": { - "type": "string", - "description": "A display name of the security admin configuration." - }, - "configurationDescription": { - "type": "string", - "description": "A description of the security admin configuration." - }, - "ruleCollectionDisplayName": { - "type": "string", - "description": "A display name of the rule collection." - }, - "ruleCollectionDescription": { - "type": "string", - "description": "A description of the rule collection." - }, - "ruleCollectionAppliesToGroups": { - "type": "array", - "items": { - "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/NetworkManagerSecurityGroupItem" - }, - "description": "Groups for rule collection" - }, - "ruleGroups": { - "type": "array", - "items": { - "$ref": "./networkManagerEffectiveConfiguration.json#/definitions/ConfigurationGroup" - }, - "description": "Effective configuration groups." - }, - "kind": { - "type": "string", - "description": "Whether the rule is custom or default.", - "enum": [ - "Custom", - "Default" - ], - "x-ms-enum": { - "name": "EffectiveAdminRuleKind", - "modelAsString": true - } - } - }, - "required": [ - "kind" - ], - "discriminator": "kind", - "description": "Network base admin rule." - }, - "ActiveSecurityAdminRule": { - "type": "object", - "properties": { - "properties": { - "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/AdminPropertiesFormat", - "x-ms-client-flatten": true, - "description": "Indicates the properties of the security admin rule" - } - }, - "allOf": [ - { - "$ref": "#/definitions/ActiveBaseSecurityAdminRule" - } - ], - "description": "Network admin rule.", - "x-ms-discriminator-value": "Custom" - }, - "ActiveDefaultSecurityAdminRule": { - "type": "object", - "properties": { - "properties": { - "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/DefaultAdminPropertiesFormat", - "x-ms-client-flatten": true, - "description": "Indicates the properties of the default security admin rule" - } - }, - "allOf": [ - { - "$ref": "#/definitions/ActiveBaseSecurityAdminRule" - } - ], - "description": "Network default admin rule.", - "x-ms-discriminator-value": "Default" - }, - "ActiveBaseSecurityUserRule": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Resource ID." - }, - "commitTime": { - "type": "string", - "description": "Deployment time string.", - "format": "date-time" - }, - "region": { - "type": "string", - "description": "Deployment region." - }, - "configurationDisplayName": { - "type": "string", - "description": "A display name of the security user configuration." - }, - "configurationDescription": { - "type": "string", - "description": "A description of the security user configuration." - }, - "ruleCollectionDisplayName": { - "type": "string", - "description": "A display name of the rule collection." - }, - "ruleCollectionDescription": { - "type": "string", - "description": "A description of the rule collection." - }, - "ruleCollectionAppliesToGroups": { - "type": "array", - "items": { - "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/NetworkManagerSecurityGroupItem" - }, - "description": "Groups for rule collection" - }, - "ruleGroups": { - "type": "array", - "items": { - "$ref": "./networkManagerEffectiveConfiguration.json#/definitions/ConfigurationGroup" - }, - "description": "Effective configuration groups." - }, - "kind": { - "type": "string", - "description": "Whether the rule is custom or default.", - "enum": [ - "Custom", - "Default" - ], - "x-ms-enum": { - "name": "EffectiveUserRuleKind", - "modelAsString": true - } - } - }, - "required": [ - "kind" - ], - "discriminator": "kind", - "description": "Network base rule." - }, - "ActiveSecurityUserRule": { - "type": "object", - "properties": { - "properties": { - "$ref": "./networkManagerSecurityUserConfiguration.json#/definitions/UserRulePropertiesFormat", - "x-ms-client-flatten": true, - "description": "Indicates the properties of the security user rule" - } - }, - "allOf": [ - { - "$ref": "#/definitions/ActiveBaseSecurityUserRule" - } - ], - "description": "Network security user rule.", - "x-ms-discriminator-value": "Custom" - }, - "ActiveDefaultSecurityUserRule": { - "type": "object", - "properties": { - "properties": { - "$ref": "./networkManagerSecurityUserConfiguration.json#/definitions/DefaultUserRulePropertiesFormat", - "x-ms-client-flatten": true, - "description": "Indicates the properties of the security default user rule" - } - }, - "allOf": [ - { - "$ref": "#/definitions/ActiveBaseSecurityUserRule" - } - ], - "description": "Network security default user rule.", - "x-ms-discriminator-value": "Default" - } - }, - "parameters": { - "ResourceGroupNameParameter": { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group.", - "x-ms-parameter-location": "method" - }, - "NetworkManagerNameParameter": { - "name": "networkManagerName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the network manager.", - "x-ms-parameter-location": "method" - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/networkManagerConnectivityConfiguration.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/networkManagerConnectivityConfiguration.json deleted file mode 100644 index 05e0bf874eb4..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/networkManagerConnectivityConfiguration.json +++ /dev/null @@ -1,416 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "ConnectivityConfiguration", - "description": "The Microsoft Azure Virtual Network Manager Connectivity Configuration API provides a RESTful set of web services that interact with Microsoft Azure Network Manager service to manage your network resources.", - "version": "2021-02-01-preview" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow.", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/connectivityConfigurations/{configurationName}": { - "parameters": [ - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/NetworkManagerNameParameter" - }, - { - "$ref": "#/parameters/ConnectivityConfigurationNameParameter" - } - ], - "get": { - "tags": [ - "ConnectivityConfigurations" - ], - "operationId": "ConnectivityConfigurations_Get", - "description": "Gets a Network Connectivity Configuration, specified by the resource group, network manager name, and connectivity Configuration name", - "responses": { - "200": { - "description": "Get successful. The operation returns the specified Managed Network Connectivity Configuration resource.", - "schema": { - "$ref": "#/definitions/ConnectivityConfiguration" - } - }, - "default": { - "description": "Resource Provider error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "ConnectivityConfigurationsGet": { - "$ref": "./examples/NetworkManagerConnectivityConfigurationGet.json" - } - } - }, - "put": { - "tags": [ - "ConnectivityConfigurations" - ], - "operationId": "ConnectivityConfigurations_CreateOrUpdate", - "description": "Creates/Updates a new network manager connectivity configuration", - "parameters": [ - { - "name": "connectivityConfiguration", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ConnectivityConfiguration" - }, - "description": "Parameters supplied to create/update a network manager connectivity configuration" - } - ], - "responses": { - "200": { - "description": "Update successful. The operation returns the resulting network manager connectivity configuration.", - "schema": { - "$ref": "#/definitions/ConnectivityConfiguration" - } - }, - "201": { - "description": "Create successful. The operation returns the resulting network manager connectivity configuration.", - "schema": { - "$ref": "#/definitions/ConnectivityConfiguration" - } - }, - "default": { - "description": "Resource Provider error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "ConnectivityConfigurationsPut": { - "$ref": "./examples/NetworkManagerConnectivityConfigurationPut.json" - } - } - }, - "delete": { - "tags": [ - "ConnectivityConfigurations" - ], - "operationId": "ConnectivityConfigurations_Delete", - "description": "Deletes a network manager connectivity configuration, specified by the resource group, network manager name, and connectivity configuration name", - "responses": { - "200": { - "description": "Delete successful." - }, - "204": { - "description": "Request successful. The resource does not exist." - }, - "default": { - "description": "Resource Provider error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "ConnectivityConfigurationsDelete": { - "$ref": "./examples/NetworkManagerConnectivityConfigurationDelete.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/connectivityConfigurations": { - "get": { - "tags": [ - "ConnectivityConfigurations" - ], - "operationId": "ConnectivityConfigurations_List", - "description": "Lists all the network manager connectivity configuration in a specified network manager.", - "parameters": [ - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/NetworkManagerNameParameter" - }, - { - "$ref": "#/parameters/ListTopParameter" - }, - { - "$ref": "#/parameters/ListSkipTokenParameter" - } - ], - "responses": { - "200": { - "description": "Get successful. The operation returns all network manager connectivity configuration resources in the specified network manager, in a paginated format", - "schema": { - "$ref": "#/definitions/ConnectivityConfigurationListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "ConnectivityConfigurationsList": { - "$ref": "./examples/NetworkManagerConnectivityConfigurationList.json" - } - } - } - } - }, - "definitions": { - "ConnectivityConfigurationListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ConnectivityConfiguration" - }, - "description": "Gets a page of Connectivity Configurations" - }, - "nextLink": { - "type": "string", - "description": "Gets the URL to get the next page of results." - } - }, - "description": "Result of the request to list network manager connectivity configurations. It contains a list of configurations and a link to get the next set of results." - }, - "ConnectivityConfiguration": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ConnectivityConfigurationProperties", - "description": "Properties of a network manager connectivity configuration" - }, - "systemData": { - "readOnly": true, - "description": "The system metadata related to this resource.", - "$ref": "./network.json#/definitions/SystemData" - } - }, - "allOf": [ - { - "$ref": "./network.json#/definitions/ProxyResource" - } - ], - "description": "The network manager connectivity configuration resource" - }, - "ConnectivityConfigurationProperties": { - "properties": { - "displayName": { - "type": "string", - "description": "A friendly name for the resource." - }, - "description": { - "type": "string", - "description": "A description of the connectivity configuration." - }, - "connectivityTopology": { - "type": "string", - "enum": [ - "HubAndSpoke", - "Mesh" - ], - "x-ms-enum": { - "name": "ConnectivityTopology", - "modelAsString": true - }, - "description": "Connectivity topology type." - }, - "hubs": { - "type": "array", - "items": { - "$ref": "#/definitions/Hub" - }, - "description": "List of hubItems" - }, - "isGlobal": { - "type": "string", - "enum": [ - "False", - "True" - ], - "x-ms-enum": { - "name": "IsGlobal", - "modelAsString": true - }, - "description": "Flag if global mesh is supported." - }, - "appliesToGroups": { - "type": "array", - "items": { - "$ref": "#/definitions/connectivityGroupItem" - }, - "description": "Groups for configuration" - }, - "provisioningState": { - "readOnly": true, - "$ref": "./network.json#/definitions/ProvisioningState", - "description": "The provisioning state of the connectivity configuration resource." - }, - "deleteExistingPeering": { - "type": "string", - "enum": [ - "False", - "True" - ], - "x-ms-enum": { - "name": "DeleteExistingPeering", - "modelAsString": true - }, - "description": "Flag if need to remove current existing peerings." - } - }, - "required": [ - "connectivityTopology" - ], - "description": "Properties of network manager connectivity configuration" - }, - "Hub": { - "type": "object", - "properties": { - "resourceId": { - "type": "string", - "description": "Resource Id." - }, - "resourceType": { - "type": "string", - "description": "Resource Type." - } - }, - "description": "Hub Item." - }, - "connectivityGroupItem": { - "type": "object", - "properties": { - "networkGroupId": { - "type": "string", - "description": "Network group Id." - }, - "useHubGateway": { - "type": "string", - "enum": [ - "False", - "True" - ], - "x-ms-enum": { - "name": "UseHubGateway", - "modelAsString": true - }, - "description": "Flag if need to use hub gateway." - }, - "isGlobal": { - "type": "string", - "enum": [ - "False", - "True" - ], - "x-ms-enum": { - "name": "IsGlobal", - "modelAsString": true - }, - "description": "Flag if global is supported." - }, - "groupConnectivity": { - "type": "string", - "enum": [ - "None", - "DirectlyConnected" - ], - "x-ms-enum": { - "name": "GroupConnectivity", - "modelAsString": true - }, - "description": "Group connectivity type." - } - } - } - }, - "parameters": { - "ConnectivityConfigurationNameParameter": { - "name": "configurationName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the network manager connectivity configuration.", - "x-ms-parameter-location": "method" - }, - "ResourceGroupNameParameter": { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group.", - "x-ms-parameter-location": "method" - }, - "NetworkManagerNameParameter": { - "name": "networkManagerName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the network manager.", - "x-ms-parameter-location": "method" - }, - "ListTopParameter": { - "name": "$top", - "description": "An optional query parameter which specifies the maximum number of records to be returned by the server.", - "in": "query", - "required": false, - "type": "integer", - "format": "int32", - "minimum": 1, - "maximum": 20, - "x-ms-parameter-location": "method" - }, - "ListSkipTokenParameter": { - "name": "$skipToken", - "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.", - "in": "query", - "required": false, - "type": "string", - "x-ms-parameter-location": "method" - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/networkManagerEffectiveConfiguration.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/networkManagerEffectiveConfiguration.json deleted file mode 100644 index e7459bb64abd..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/networkManagerEffectiveConfiguration.json +++ /dev/null @@ -1,325 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "NetworkManagerEffectiveConfiguration", - "description": "The Microsoft Azure Network Manager effective configuration API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", - "version": "2021-02-01-preview" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow.", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/listNetworkManagerEffectiveConnectivityConfigurations": { - "parameters": [ - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/VirtualNetworkNameParameter" - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - } - ], - "post": { - "tags": [ - "NetworkManagerEffectiveConnectivityConfiguration" - ], - "parameters": [ - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "./networkManagerGroup.json#/definitions/QueryRequestOptions" - }, - "description": "Parameters supplied to list correct page." - } - ], - "operationId": "EffectiveConnectivityConfigurations_List", - "description": "List all effective connectivity configurations applied on a virtual network.", - "responses": { - "200": { - "description": "OK - Returns information about the configurations.", - "schema": { - "$ref": "#/definitions/NetworkManagerEffectiveConnectivityConfigurationListResult" - } - }, - "default": { - "description": "Resource Provider error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "List effective connectivity configuration": { - "$ref": "./examples/NetworkManagerEffectiveConnectivityConfigurationsList.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/listNetworkManagerEffectiveSecurityAdminRules": { - "parameters": [ - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/VirtualNetworkNameParameter" - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - } - ], - "post": { - "tags": [ - "NetworkManagerEffectiveSecurityAdminRules" - ], - "parameters": [ - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "./networkManagerGroup.json#/definitions/QueryRequestOptions" - }, - "description": "Parameters supplied to list correct page." - } - ], - "operationId": "NetworkManagerEffectiveSecurityAdminRules_List", - "description": "List all effective security admin rules applied on a virtual network.", - "responses": { - "200": { - "description": "OK - Returns information about the configurations.", - "schema": { - "$ref": "#/definitions/NetworkManagerEffectiveSecurityAdminRulesListResult" - } - }, - "default": { - "description": "Resource Provider error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "List effective security admin rules": { - "$ref": "./examples/NetworkManagerEffectiveSecurityAdminRulesList.json" - } - } - } - } - }, - "definitions": { - "NetworkManagerEffectiveConnectivityConfigurationListResult": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/EffectiveConnectivityConfiguration" - }, - "description": "Gets a page of NetworkManagerEffectiveConnectivityConfiguration" - }, - "skipToken": { - "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.", - "type": "string" - } - }, - "description": "Result of the request to list networkManagerEffectiveConnectivityConfiguration. It contains a list of groups and a skiptoken to get the next set of results." - }, - "NetworkManagerEffectiveSecurityAdminRulesListResult": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/EffectiveBaseSecurityAdminRule" - }, - "description": "Gets a page of NetworkManagerEffectiveSecurityAdminRules" - }, - "skipToken": { - "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.", - "type": "string" - } - }, - "description": "Result of the request to list networkManagerEffectiveSecurityAdminRules. It contains a list of groups and a skiptoken to get the next set of results." - }, - "EffectiveConnectivityConfiguration": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Resource ID." - }, - "properties": { - "x-ms-client-flatten": true, - "$ref": "./networkManagerConnectivityConfiguration.json#/definitions/ConnectivityConfigurationProperties", - "description": "Properties of a network manager connectivity configuration" - }, - "configurationGroups": { - "type": "array", - "items": { - "$ref": "#/definitions/ConfigurationGroup" - }, - "description": "Effective configuration groups." - } - }, - "description": "The network manager effective connectivity configuration" - }, - "EffectiveBaseSecurityAdminRule": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Resource ID." - }, - "configurationDisplayName": { - "type": "string", - "description": "A display name of the security admin configuration." - }, - "configurationDescription": { - "type": "string", - "description": "A description of the security admin configuration." - }, - "ruleCollectionDisplayName": { - "type": "string", - "description": "A display name of the rule collection." - }, - "ruleCollectionDescription": { - "type": "string", - "description": "A description of the rule collection." - }, - "ruleCollectionAppliesToGroups": { - "type": "array", - "items": { - "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/NetworkManagerSecurityGroupItem" - }, - "description": "Groups for rule collection" - }, - "ruleGroups": { - "type": "array", - "items": { - "$ref": "#/definitions/ConfigurationGroup" - }, - "description": "Effective configuration groups." - }, - "kind": { - "type": "string", - "description": "Whether the rule is custom or default.", - "enum": [ - "Custom", - "Default" - ], - "x-ms-enum": { - "name": "EffectiveAdminRuleKind", - "modelAsString": true - } - } - }, - "required": [ - "kind" - ], - "discriminator": "kind", - "description": "Network base admin rule." - }, - "EffectiveSecurityAdminRule": { - "type": "object", - "properties": { - "properties": { - "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/AdminPropertiesFormat", - "x-ms-client-flatten": true, - "description": "Indicates the properties of the security admin rule" - } - }, - "allOf": [ - { - "$ref": "#/definitions/EffectiveBaseSecurityAdminRule" - } - ], - "description": "Network admin rule.", - "x-ms-discriminator-value": "Custom" - }, - "EffectiveDefaultSecurityAdminRule": { - "type": "object", - "properties": { - "properties": { - "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/DefaultAdminPropertiesFormat", - "x-ms-client-flatten": true, - "description": "Indicates the properties of the default security admin rule" - } - }, - "allOf": [ - { - "$ref": "#/definitions/EffectiveBaseSecurityAdminRule" - } - ], - "description": "Network default admin rule.", - "x-ms-discriminator-value": "Default" - }, - "ConfigurationGroup": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Resource ID." - }, - "properties": { - "x-ms-client-flatten": true, - "$ref": "./networkManagerGroup.json#/definitions/NetworkGroupProperties", - "description": "The network configuration group properties" - } - }, - "description": "The network configuration group resource" - } - }, - "parameters": { - "ResourceGroupNameParameter": { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group.", - "x-ms-parameter-location": "method" - }, - "VirtualNetworkNameParameter": { - "name": "virtualNetworkName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the virtual network.", - "x-ms-parameter-location": "method" - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/networkManagerGroup.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/networkManagerGroup.json deleted file mode 100644 index 8c2b26ad18fc..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/networkManagerGroup.json +++ /dev/null @@ -1,455 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "NetworkGroup", - "description": "The Microsoft Azure Network Group API provides a RESTful set of web services that interact with Microsoft Azure Network Manager service to manage your network resources.", - "version": "2021-02-01-preview" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow.", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/networkGroups/{networkGroupName}": { - "parameters": [ - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/NetworkManagerNameParameter" - }, - { - "$ref": "#/parameters/NetworkGroupNameParameter" - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - } - ], - "get": { - "tags": [ - "NetworkGroups" - ], - "operationId": "NetworkGroups_Get", - "description": "Gets the specified network group.", - "responses": { - "200": { - "description": "OK - Returns information about the network group.", - "schema": { - "$ref": "#/definitions/NetworkGroup" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "NetworkGroupsGet": { - "$ref": "./examples/NetworkManagerGroupGet.json" - } - } - }, - "put": { - "tags": [ - "NetworkGroups" - ], - "operationId": "NetworkGroups_CreateOrUpdate", - "description": "Creates or updates a network group.", - "parameters": [ - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/NetworkGroup" - }, - "description": "Parameters supplied to the specify which network group need to create" - }, - { - "name": "If-Match", - "in": "header", - "required": false, - "type": "string", - "x-ms-client-name": "IfMatch", - "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." - } - ], - "responses": { - "200": { - "description": "Updated - Returns information about the network group.", - "schema": { - "$ref": "#/definitions/NetworkGroup" - }, - "headers": { - "ETag": { - "description": "The current entity tag.", - "type": "string" - } - } - }, - "201": { - "description": "Created - Returns information about the network group.", - "schema": { - "$ref": "#/definitions/NetworkGroup" - }, - "headers": { - "ETag": { - "description": "The current entity tag.", - "type": "string" - } - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "NetworkGroupsPut": { - "$ref": "./examples/NetworkManagerGroupPut.json" - } - } - }, - "delete": { - "tags": [ - "NetworkGroups" - ], - "operationId": "NetworkGroups_Delete", - "description": "Deletes a network group.", - "responses": { - "200": { - "description": "Delete Succeed." - }, - "204": { - "description": "Request successful. The resource does not exist." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "NetworkGroupsDelete": { - "$ref": "./examples/NetworkManagerGroupDelete.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/networkGroups": { - "get": { - "tags": [ - "NetworkGroups" - ], - "operationId": "NetworkGroups_List", - "description": "Lists the specified network group.", - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "parameters": [ - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/NetworkManagerNameParameter" - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ListTopParameter" - }, - { - "$ref": "#/parameters/ListSkipTokenParameter" - } - ], - "responses": { - "200": { - "description": "OK - Returns information about the network group.", - "schema": { - "$ref": "#/definitions/NetworkGroupListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "NetworkGroupsList": { - "$ref": "./examples/NetworkManagerGroupList.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/networkGroups/{networkGroupName}/listEffectiveVirtualNetworks": { - "post": { - "tags": [ - "NetworkGroups" - ], - "operationId": "EffectiveVirtualNetworks_ListByNetworkGroup", - "description": "Lists all effective virtual networks by specified network group.", - "parameters": [ - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/NetworkManagerNameParameter" - }, - { - "$ref": "#/parameters/NetworkGroupNameParameter" - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/QueryRequestOptions" - }, - "description": "Parameters supplied to list correct page." - } - ], - "responses": { - "200": { - "description": "OK - Returns information about the effective virtual networks.", - "schema": { - "$ref": "#/definitions/EffectiveVirtualNetworksListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "NetworkGroupsList": { - "$ref": "./examples/NetworkManagerEffectiveVirtualNetworksList.json" - } - } - } - } - }, - "definitions": { - "NetworkGroup": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/NetworkGroupProperties", - "description": "The Network Group properties" - }, - "systemData": { - "readOnly": true, - "description": "The system metadata related to this resource.", - "$ref": "./network.json#/definitions/SystemData" - } - }, - "allOf": [ - { - "$ref": "./network.json#/definitions/ProxyResource" - } - ], - "description": "The network group resource" - }, - "NetworkGroupListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/NetworkGroup" - }, - "description": "Gets a page of NetworkGroup" - }, - "nextLink": { - "type": "string", - "description": "Gets the URL to get the next set of results." - } - }, - "description": "Result of the request to list NetworkGroup. It contains a list of groups and a URL link to get the next set of results." - }, - "NetworkGroupProperties": { - "type": "object", - "properties": { - "displayName": { - "type": "string", - "description": "A friendly name for the network group." - }, - "description": { - "type": "string", - "description": "A description of the network group." - }, - "memberType": { - "type": "string", - "description": "Group member type." - }, - "groupMembers": { - "type": "array", - "items": { - "$ref": "#/definitions/groupMembersItem" - }, - "description": "Group members of network group." - }, - "conditionalMembership": { - "type": "string", - "description": "Network group conditional filter." - }, - "provisioningState": { - "readOnly": true, - "$ref": "./network.json#/definitions/ProvisioningState", - "description": "The provisioning state of the scope assignment resource." - } - }, - "description": "Properties of network group" - }, - "groupMembersItem": { - "type": "object", - "properties": { - "resourceId": { - "type": "string", - "description": "Resource Id." - } - }, - "description": "GroupMembers Item." - }, - "QueryRequestOptions": { - "properties": { - "skipToken": { - "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.", - "type": "string" - } - }, - "description": "Query Request Options" - }, - "EffectiveVirtualNetworksListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/EffectiveVirtualNetwork" - }, - "description": "Gets a page of EffectiveVirtualNetwork" - }, - "skipToken": { - "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.", - "type": "string" - } - }, - "description": "Result of the request to list Effective Virtual Network. It contains a list of groups and a URL link to get the next set of results." - }, - "EffectiveVirtualNetwork": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Effective vnet Id." - }, - "location": { - "type": "string", - "description": "Location of vnet." - }, - "membershipType": { - "type": "string", - "description": "Membership Type.", - "enum": [ - "Static", - "Dynamic" - ], - "x-ms-enum": { - "name": "MembershipType", - "modelAsString": true - } - } - }, - "description": "Effective Virtual Network" - } - }, - "parameters": { - "ResourceGroupNameParameter": { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group.", - "x-ms-parameter-location": "method" - }, - "NetworkManagerNameParameter": { - "name": "networkManagerName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the network manager.", - "x-ms-parameter-location": "method" - }, - "NetworkGroupNameParameter": { - "name": "networkGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the network group to get.", - "x-ms-parameter-location": "method" - }, - "ListTopParameter": { - "name": "$top", - "description": "An optional query parameter which specifies the maximum number of records to be returned by the server.", - "in": "query", - "required": false, - "type": "integer", - "format": "int32", - "minimum": 1, - "maximum": 20, - "x-ms-parameter-location": "method" - }, - "ListSkipTokenParameter": { - "name": "$skipToken", - "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.", - "in": "query", - "required": false, - "type": "string", - "x-ms-parameter-location": "method" - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/networkManagerSecurityAdminConfiguration.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/networkManagerSecurityAdminConfiguration.json deleted file mode 100644 index cf7706d09e19..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/networkManagerSecurityAdminConfiguration.json +++ /dev/null @@ -1,1064 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "SecurityAdminConfiguration", - "version": "2021-02-01-preview" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow.", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations": { - "get": { - "tags": [ - "SecurityAdminConfigurations" - ], - "operationId": "SecurityAdminConfigurations_List", - "description": "Lists all the network manager security admin configurations in a network manager, in a paginated format.", - "parameters": [ - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/NetworkManagerNameParameter" - }, - { - "$ref": "#/parameters/ListTopParameter" - }, - { - "$ref": "#/parameters/ListSkipTokenParameter" - } - ], - "responses": { - "200": { - "description": "Get successful. The operation returns all security admin configuration resources in the specified network manager, in a paginated format", - "schema": { - "$ref": "#/definitions/SecurityConfigurationListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "List security admin configurations in a network manager": { - "$ref": "./examples/NetworkManagerSecurityAdminConfigurationList.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations/{configurationName}": { - "parameters": [ - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/NetworkManagerNameParameter" - }, - { - "$ref": "#/parameters/SecurityConfigurationParameter" - } - ], - "get": { - "tags": [ - "SecurityAdminConfigurations" - ], - "description": "Retrieves a network manager security admin configuration.", - "operationId": "SecurityAdminConfigurations_Get", - "responses": { - "200": { - "description": "successful operation", - "schema": { - "$ref": "#/definitions/SecurityConfiguration" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Get security admin configurations": { - "$ref": "./examples/NetworkManagerSecurityAdminConfigurationGet.json" - } - } - }, - "put": { - "tags": [ - "SecurityAdminConfigurations" - ], - "description": "Creates or updates a network manager security admin configuration.", - "operationId": "SecurityAdminConfigurations_CreateOrUpdate", - "parameters": [ - { - "name": "securityAdminConfiguration", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/SecurityConfiguration" - }, - "description": "The security admin configuration to create or update" - } - ], - "responses": { - "200": { - "description": "Updated Admin Configuration", - "schema": { - "$ref": "#/definitions/SecurityConfiguration" - } - }, - "201": { - "description": "Created Admin Configuration", - "schema": { - "$ref": "#/definitions/SecurityConfiguration" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Create network manager security admin configuration": { - "$ref": "./examples/NetworkManagerSecurityAdminConfigurationPut.json" - } - } - }, - "delete": { - "tags": [ - "SecurityAdminConfigurations" - ], - "description": "Deletes a network manager security admin configuration.", - "operationId": "SecurityAdminConfigurations_Delete", - "responses": { - "200": { - "description": "OK" - }, - "204": { - "description": "Request successful. Resource does not exist." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Delete network manager security admin configuration": { - "$ref": "./examples/NetworkManagerSecurityAdminConfigurationDelete.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations/{configurationName}/ruleCollections": { - "get": { - "tags": [ - "AdminRuleCollections" - ], - "operationId": "AdminRuleCollections_List", - "description": "Lists all the rule collections in a security admin configuration, in a paginated format.", - "parameters": [ - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/NetworkManagerNameParameter" - }, - { - "$ref": "#/parameters/SecurityConfigurationParameter" - }, - { - "$ref": "#/parameters/ListTopParameter" - }, - { - "$ref": "#/parameters/ListSkipTokenParameter" - } - ], - "responses": { - "200": { - "description": "Get successful. The operation returns all ruleCollections in the specified security configuration, in a paginated format", - "schema": { - "$ref": "#/definitions/RuleCollectionListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "List security admin rule collections": { - "$ref": "./examples/NetworkManagerAdminRuleCollectionList.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}": { - "parameters": [ - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/NetworkManagerNameParameter" - }, - { - "$ref": "#/parameters/SecurityConfigurationParameter" - }, - { - "$ref": "#/parameters/RuleCollectionParameter" - } - ], - "get": { - "tags": [ - "AdminRuleCollections" - ], - "description": "Gets a network manager security admin configuration rule collection.", - "operationId": "AdminRuleCollections_Get", - "responses": { - "200": { - "description": "Successful operation", - "schema": { - "$ref": "#/definitions/RuleCollection" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Gets security admin rule collection": { - "$ref": "./examples/NetworkManagerAdminRuleCollectionGet.json" - } - } - }, - "put": { - "tags": [ - "AdminRuleCollections" - ], - "description": "Creates or updates an admin rule collection.", - "operationId": "AdminRuleCollections_CreateOrUpdate", - "parameters": [ - { - "name": "ruleCollection", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/RuleCollection" - }, - "description": "The Rule Collection to create or update" - } - ], - "responses": { - "200": { - "description": "Updated Rule Collection", - "schema": { - "$ref": "#/definitions/RuleCollection" - } - }, - "201": { - "description": "Created Rule Collection", - "schema": { - "$ref": "#/definitions/RuleCollection" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Create or Update an admin rule collection": { - "$ref": "./examples/NetworkManagerAdminRuleCollectionPut.json" - } - } - }, - "delete": { - "tags": [ - "AdminRuleCollections" - ], - "description": "Deletes an admin rule collection.", - "operationId": "AdminRuleCollections_Delete", - "responses": { - "200": { - "description": "OK" - }, - "204": { - "description": "Request successful. Resource does not exist." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Deletes an admin rule collection": { - "$ref": "./examples/NetworkManagerAdminRuleCollectionDelete.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}/rules": { - "parameters": [ - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/NetworkManagerNameParameter" - }, - { - "$ref": "#/parameters/SecurityConfigurationParameter" - }, - { - "$ref": "#/parameters/RuleCollectionParameter" - }, - { - "$ref": "#/parameters/ListTopParameter" - }, - { - "$ref": "#/parameters/ListSkipTokenParameter" - } - ], - "get": { - "tags": [ - "AdminRules" - ], - "description": "List all network manager security configuration admin rules.", - "operationId": "AdminRules_List", - "responses": { - "200": { - "description": "Successful operation", - "schema": { - "$ref": "#/definitions/AdminRuleListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "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}": { - "parameters": [ - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/NetworkManagerNameParameter" - }, - { - "$ref": "#/parameters/SecurityConfigurationParameter" - }, - { - "$ref": "#/parameters/RuleCollectionParameter" - }, - { - "$ref": "#/parameters/SecurityConfigurationsRuleParameter" - } - ], - "get": { - "tags": [ - "AdminRules" - ], - "description": "Gets a network manager security configuration admin rule.", - "operationId": "AdminRules_Get", - "responses": { - "200": { - "description": "Successful operation", - "schema": { - "$ref": "#/definitions/BaseAdminRule" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Gets security admin rule": { - "$ref": "./examples/NetworkManagerAdminRuleGet.json" - }, - "Gets security default admin rule": { - "$ref": "./examples/NetworkManagerDefaultAdminRuleGet.json" - } - } - }, - "put": { - "tags": [ - "AdminRules" - ], - "description": "Creates or updates an admin rule.", - "operationId": "AdminRules_CreateOrUpdate", - "parameters": [ - { - "name": "adminRule", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/BaseAdminRule" - }, - "description": "The admin rule to create or update" - } - ], - "responses": { - "200": { - "description": "Updated rule", - "schema": { - "$ref": "#/definitions/BaseAdminRule" - } - }, - "201": { - "description": "Created rule", - "schema": { - "$ref": "#/definitions/BaseAdminRule" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Create an admin rule": { - "$ref": "./examples/NetworkManagerAdminRulePut.json" - }, - "Create a default admin rule": { - "$ref": "./examples/NetworkManagerDefaultAdminRulePut.json" - } - } - }, - "delete": { - "tags": [ - "AdminRules" - ], - "description": "Deletes an admin rule.", - "operationId": "AdminRules_Delete", - "responses": { - "200": { - "description": "OK" - }, - "204": { - "description": "Request successful. Resource does not exist." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Deletes an admin rule": { - "$ref": "./examples/NetworkManagerAdminRuleDelete.json" - } - } - } - } - }, - "definitions": { - "SecurityConfiguration": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/SecurityConfigurationPropertiesFormat", - "description": "Indicates the properties for the network manager security Configuration." - }, - "systemData": { - "readOnly": true, - "description": "The system metadata related to this resource.", - "$ref": "./network.json#/definitions/SystemData" - } - }, - "allOf": [ - { - "$ref": "./network.json#/definitions/ProxyResource" - } - ], - "description": "Defines the security configuration" - }, - "SecurityConfigurationPropertiesFormat": { - "properties": { - "displayName": { - "type": "string", - "description": "A display name of the security configuration." - }, - "description": { - "type": "string", - "description": "A description of the security configuration." - }, - "securityType": { - "type": "string", - "description": "Security Type.", - "enum": [ - "AdminPolicy", - "UserPolicy" - ], - "x-ms-enum": { - "name": "SecurityType", - "modelAsString": true - } - }, - "deleteExistingNSGs": { - "type": "string", - "enum": [ - "False", - "True" - ], - "x-ms-enum": { - "name": "DeleteExistingNSGs", - "modelAsString": true - }, - "description": "Flag if need to delete existing network security groups." - }, - "provisioningState": { - "readOnly": true, - "$ref": "./network.json#/definitions/ProvisioningState", - "description": "The provisioning state of the resource." - } - }, - "description": "Defines the security Configuration properties." - }, - "SecurityConfigurationListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/SecurityConfiguration" - }, - "description": "Gets a page of security configurations" - }, - "nextLink": { - "type": "string", - "description": "Gets the URL to get the next page of results." - } - }, - "description": "A list of network manager security configurations" - }, - "AdminRuleListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/BaseAdminRule" - }, - "description": "A list of admin rules" - }, - "nextLink": { - "type": "string", - "description": "The URL to get the next set of results." - } - }, - "description": "security configuration admin rule list result." - }, - "RuleCollectionListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/RuleCollection" - }, - "description": "A list of network manager security configuration rule collections" - }, - "nextLink": { - "type": "string", - "description": "Gets the URL to get the next set of results." - } - }, - "description": "Security configuration rule collection list result." - }, - "RuleCollection": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/RuleCollectionPropertiesFormat", - "description": "Indicates the properties for the network manager rule collection." - }, - "systemData": { - "readOnly": true, - "description": "The system metadata related to this resource.", - "$ref": "./network.json#/definitions/SystemData" - } - }, - "allOf": [ - { - "$ref": "./network.json#/definitions/ProxyResource" - } - ], - "description": "Defines the rule collection." - }, - "RuleCollectionPropertiesFormat": { - "properties": { - "displayName": { - "type": "string", - "description": "A display name of the rule collection." - }, - "description": { - "type": "string", - "description": "A description of the rule collection." - }, - "appliesToGroups": { - "type": "array", - "items": { - "$ref": "#/definitions/NetworkManagerSecurityGroupItem" - }, - "description": "Groups for configuration" - }, - "provisioningState": { - "readOnly": true, - "$ref": "./network.json#/definitions/ProvisioningState", - "description": "The provisioning state of the resource." - } - }, - "description": "Defines the rule collection properties." - }, - "BaseAdminRule": { - "properties": { - "kind": { - "type": "string", - "description": "Whether the rule is custom or default.", - "enum": [ - "Custom", - "Default" - ], - "x-ms-enum": { - "name": "AdminRuleKind", - "modelAsString": true - } - }, - "systemData": { - "readOnly": true, - "description": "The system metadata related to this resource.", - "$ref": "./network.json#/definitions/SystemData" - } - }, - "allOf": [ - { - "$ref": "./network.json#/definitions/ProxyResource" - } - ], - "required": [ - "kind" - ], - "discriminator": "kind", - "description": "Network base admin rule." - }, - "AdminRule": { - "properties": { - "properties": { - "$ref": "#/definitions/AdminPropertiesFormat", - "x-ms-client-flatten": true, - "description": "Indicates the properties of the security admin rule" - } - }, - "allOf": [ - { - "$ref": "#/definitions/BaseAdminRule" - } - ], - "description": "Network admin rule.", - "x-ms-discriminator-value": "Custom" - }, - "AdminPropertiesFormat": { - "properties": { - "displayName": { - "type": "string", - "description": "A friendly name for the rule." - }, - "description": { - "type": "string", - "description": "A description for this rule. Restricted to 140 chars." - }, - "protocol": { - "type": "string", - "$ref": "#/definitions/RuleProtocol", - "description": "Network protocol this rule applies to." - }, - "sources": { - "type": "array", - "items": { - "$ref": "#/definitions/AddressPrefixItem" - }, - "description": "The CIDR or source IP ranges." - }, - "destinations": { - "type": "array", - "items": { - "$ref": "#/definitions/AddressPrefixItem" - }, - "description": "The destination address prefixes. CIDR or destination IP ranges." - }, - "sourcePortRanges": { - "type": "array", - "items": { - "type": "string", - "description": "The source port." - }, - "description": "The source port ranges." - }, - "destinationPortRanges": { - "type": "array", - "items": { - "type": "string", - "description": "The destination port." - }, - "description": "The destination port ranges." - }, - "access": { - "$ref": "#/definitions/SecurityConfigurationRuleAccess", - "description": "Indicates the access allowed for this particular rule" - }, - "priority": { - "type": "integer", - "format": "int32", - "minimum": 1, - "maximum": 4096, - "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." - }, - "direction": { - "$ref": "#/definitions/SecurityConfigurationRuleDirection", - "description": "Indicates if the traffic matched against the rule in inbound or outbound." - }, - "provisioningState": { - "readOnly": true, - "$ref": "./network.json#/definitions/ProvisioningState", - "description": "The provisioning state of the resource." - } - }, - "required": [ - "protocol", - "access", - "direction" - ], - "description": "Security admin rule resource." - }, - "DefaultAdminRule": { - "properties": { - "properties": { - "$ref": "#/definitions/DefaultAdminPropertiesFormat", - "x-ms-client-flatten": true, - "description": "Indicates the properties of the security admin rule" - } - }, - "allOf": [ - { - "$ref": "#/definitions/BaseAdminRule" - } - ], - "description": "Network default admin rule.", - "x-ms-discriminator-value": "Default" - }, - "DefaultAdminPropertiesFormat": { - "type": "object", - "properties": { - "displayName": { - "type": "string", - "readOnly": true, - "description": "A friendly name for the rule." - }, - "description": { - "type": "string", - "readOnly": true, - "description": "A description for this rule. Restricted to 140 chars." - }, - "flag": { - "type": "string", - "description": "Default rule flag." - }, - "protocol": { - "type": "string", - "readOnly": true, - "$ref": "#/definitions/RuleProtocol", - "description": "Network protocol this rule applies to." - }, - "sources": { - "type": "array", - "readOnly": true, - "items": { - "$ref": "#/definitions/AddressPrefixItem" - }, - "description": "The CIDR or source IP ranges." - }, - "destinations": { - "type": "array", - "readOnly": true, - "items": { - "$ref": "#/definitions/AddressPrefixItem" - }, - "description": "The destination address prefixes. CIDR or destination IP ranges." - }, - "sourcePortRanges": { - "type": "array", - "readOnly": true, - "items": { - "type": "string", - "description": "The source port." - }, - "description": "The source port ranges." - }, - "destinationPortRanges": { - "type": "array", - "readOnly": true, - "items": { - "type": "string", - "description": "The destination port." - }, - "description": "The destination port ranges." - }, - "access": { - "$ref": "#/definitions/SecurityConfigurationRuleAccess", - "readOnly": true, - "description": "Indicates the access allowed for this particular rule" - }, - "priority": { - "type": "integer", - "format": "int32", - "readOnly": true, - "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." - }, - "direction": { - "$ref": "#/definitions/SecurityConfigurationRuleDirection", - "readOnly": true, - "description": "Indicates if the traffic matched against the rule in inbound or outbound." - }, - "provisioningState": { - "readOnly": true, - "$ref": "./network.json#/definitions/ProvisioningState", - "description": "The provisioning state of the resource." - } - }, - "description": "Security default admin rule resource." - }, - "SecurityConfigurationRuleAccess": { - "type": "string", - "description": "Whether network traffic is allowed or denied.", - "enum": [ - "Allow", - "Deny", - "AlwaysAllow" - ], - "x-ms-enum": { - "name": "SecurityConfigurationRuleAccess", - "modelAsString": true - } - }, - "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 - } - }, - "RuleProtocol": { - "type": "string", - "description": "Network protocol this rule applies to.", - "enum": [ - "Tcp", - "Udp", - "Icmp", - "Esp", - "Any", - "Ah" - ], - "x-ms-enum": { - "name": "SecurityConfigurationRuleProtocol", - "modelAsString": true - } - }, - "NetworkManagerSecurityGroupItem": { - "type": "object", - "properties": { - "networkGroupId": { - "type": "string", - "description": "Network manager group Id." - } - }, - "description": "Network manager security group item." - }, - "AddressPrefixItem": { - "type": "object", - "properties": { - "addressPrefix": { - "type": "string", - "description": "Address prefix." - }, - "addressPrefixType": { - "type": "string", - "description": "Address prefix type.", - "enum": [ - "IPPrefix", - "ServiceTag" - ], - "x-ms-enum": { - "name": "AddressPrefixType", - "modelAsString": true - } - } - }, - "description": "Address prefix item." - } - }, - "parameters": { - "SecurityConfigurationParameter": { - "name": "configurationName", - "in": "path", - "description": "The name of the network manager security Configuration.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "RuleCollectionParameter": { - "name": "ruleCollectionName", - "in": "path", - "description": "The name of the network manager security Configuration rule collection.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "SecurityConfigurationsRuleParameter": { - "name": "ruleName", - "in": "path", - "description": "The name of the rule.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "ResourceGroupNameParameter": { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group.", - "x-ms-parameter-location": "method" - }, - "NetworkManagerNameParameter": { - "name": "networkManagerName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the network manager.", - "x-ms-parameter-location": "method" - }, - "ListTopParameter": { - "name": "$top", - "description": "An optional query parameter which specifies the maximum number of records to be returned by the server.", - "in": "query", - "required": false, - "type": "integer", - "format": "int32", - "minimum": 1, - "maximum": 20, - "x-ms-parameter-location": "method" - }, - "ListSkipTokenParameter": { - "name": "$skipToken", - "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.", - "in": "query", - "required": false, - "type": "string", - "x-ms-parameter-location": "method" - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/networkManagerSecurityUserConfiguration.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/networkManagerSecurityUserConfiguration.json deleted file mode 100644 index b155cbd891c6..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/networkManagerSecurityUserConfiguration.json +++ /dev/null @@ -1,830 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "SecurityUserConfiguration", - "version": "2021-02-01-preview" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow.", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations": { - "get": { - "tags": [ - "SecurityUserConfigurations" - ], - "operationId": "SecurityUserConfigurations_List", - "description": "Lists all the network manager security user configurations in a network manager, in a paginated format.", - "parameters": [ - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/NetworkManagerNameParameter" - }, - { - "$ref": "#/parameters/ListTopParameter" - }, - { - "$ref": "#/parameters/ListSkipTokenParameter" - } - ], - "responses": { - "200": { - "description": "Get successful. The operation returns all security user configurations in the specified network manager, in a paginated format", - "schema": { - "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/SecurityConfigurationListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "List security user configurations in a network manager": { - "$ref": "./examples/NetworkManagerSecurityUserConfigurationList.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}": { - "parameters": [ - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/NetworkManagerNameParameter" - }, - { - "$ref": "#/parameters/SecurityConfigurationParameter" - } - ], - "get": { - "tags": [ - "SecurityUserConfigurations" - ], - "description": "Retrieves a network manager security user configuration.", - "operationId": "SecurityUserConfigurations_Get", - "responses": { - "200": { - "description": "Successful operation", - "schema": { - "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/SecurityConfiguration" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Get security user configurations": { - "$ref": "./examples/NetworkManagerSecurityUserConfigurationGet.json" - } - } - }, - "put": { - "tags": [ - "SecurityUserConfigurations" - ], - "description": "Creates or updates a network manager security user configuration.", - "operationId": "SecurityUserConfigurations_CreateOrUpdate", - "parameters": [ - { - "name": "securityUserConfiguration", - "in": "body", - "required": true, - "schema": { - "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/SecurityConfiguration" - }, - "description": "The security user configuration to create or update" - } - ], - "responses": { - "200": { - "description": "Updated Configuration", - "schema": { - "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/SecurityConfiguration" - } - }, - "201": { - "description": "Created Configuration", - "schema": { - "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/SecurityConfiguration" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Create network manager security user configuration": { - "$ref": "./examples/NetworkManagerSecurityUserConfigurationPut.json" - } - } - }, - "delete": { - "tags": [ - "SecurityUserConfigurations" - ], - "description": "Deletes a network manager security user configuration.", - "operationId": "SecurityUserConfigurations_Delete", - "responses": { - "200": { - "description": "OK" - }, - "204": { - "description": "Request successful. Resource does not exist." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Delete network manager security user configuration": { - "$ref": "./examples/NetworkManagerSecurityUserConfigurationDelete.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}/ruleCollections": { - "get": { - "tags": [ - "UserRuleCollections" - ], - "operationId": "UserRuleCollections_List", - "description": "Lists all the user rule collections in a security configuration, in a paginated format.", - "parameters": [ - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/NetworkManagerNameParameter" - }, - { - "$ref": "#/parameters/SecurityConfigurationParameter" - }, - { - "$ref": "#/parameters/ListTopParameter" - }, - { - "$ref": "#/parameters/ListSkipTokenParameter" - } - ], - "responses": { - "200": { - "description": "Get successful. The operation returns all ruleCollections in the specified security configuration, in a paginated format", - "schema": { - "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/RuleCollectionListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "List rule collections in a security configuration": { - "$ref": "./examples/NetworkManagerUserRuleCollectionList.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}": { - "parameters": [ - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/NetworkManagerNameParameter" - }, - { - "$ref": "#/parameters/SecurityConfigurationParameter" - }, - { - "$ref": "#/parameters/RuleCollectionParameter" - } - ], - "get": { - "tags": [ - "RuleCollections" - ], - "description": "Gets a network manager security user configuration rule collection.", - "operationId": "UserRuleCollections_Get", - "responses": { - "200": { - "description": "Successful operation", - "schema": { - "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/RuleCollection" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Gets security user rule collection": { - "$ref": "./examples/NetworkManagerUserRuleCollectionGet.json" - } - } - }, - "put": { - "tags": [ - "UserRuleCollections" - ], - "description": "Creates or updates a user rule collection.", - "operationId": "UserRuleCollections_CreateOrUpdate", - "parameters": [ - { - "name": "userRuleCollection", - "in": "body", - "required": true, - "schema": { - "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/RuleCollection" - }, - "description": "The User Rule Collection to create or update" - } - ], - "responses": { - "200": { - "description": "Updated User Rule Collection", - "schema": { - "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/RuleCollection" - } - }, - "201": { - "description": "Created User Rule Collection", - "schema": { - "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/RuleCollection" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Create or Update a User Rule Collection": { - "$ref": "./examples/NetworkManagerUserRuleCollectionPut.json" - } - } - }, - "delete": { - "tags": [ - "UserRuleCollections" - ], - "description": "Deletes a user rule collection.", - "operationId": "UserRuleCollections_Delete", - "responses": { - "200": { - "description": "OK" - }, - "204": { - "description": "Request successful. Resource does not exist." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Deletes a user rule collection": { - "$ref": "./examples/NetworkManagerUserRuleCollectionDelete.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}/rules": { - "parameters": [ - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/NetworkManagerNameParameter" - }, - { - "$ref": "#/parameters/SecurityConfigurationParameter" - }, - { - "$ref": "#/parameters/RuleCollectionParameter" - }, - { - "$ref": "#/parameters/ListTopParameter" - }, - { - "$ref": "#/parameters/ListSkipTokenParameter" - } - ], - "get": { - "tags": [ - "UserRules" - ], - "description": "Lists all user rules in a rule collection.", - "operationId": "UserRules_List", - "responses": { - "200": { - "description": "Successful operation", - "schema": { - "$ref": "#/definitions/UserRuleListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "List security user rules": { - "$ref": "./examples/NetworkManagerUserRuleList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}/rules/{ruleName}": { - "parameters": [ - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/NetworkManagerNameParameter" - }, - { - "$ref": "#/parameters/SecurityConfigurationParameter" - }, - { - "$ref": "#/parameters/RuleCollectionParameter" - }, - { - "$ref": "#/parameters/SecurityConfigurationsRuleParameter" - } - ], - "get": { - "tags": [ - "UserRules" - ], - "description": "Gets a user rule.", - "operationId": "UserRules_Get", - "responses": { - "200": { - "description": "Successful operation", - "schema": { - "$ref": "#/definitions/BaseUserRule" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Gets a user rule": { - "$ref": "./examples/NetworkManagerUserRuleGet.json" - }, - "Gets a default user rule": { - "$ref": "./examples/NetworkManagerDefaultUserRuleGet.json" - } - } - }, - "put": { - "tags": [ - "UserRules" - ], - "description": "Creates or updates a user rule.", - "operationId": "UserRules_CreateOrUpdate", - "parameters": [ - { - "name": "userRule", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/BaseUserRule" - }, - "description": "The user rule to create or update" - } - ], - "responses": { - "200": { - "description": "Updated rule", - "schema": { - "$ref": "#/definitions/BaseUserRule" - } - }, - "201": { - "description": "Created rule", - "schema": { - "$ref": "#/definitions/BaseUserRule" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Create a user rule": { - "$ref": "./examples/NetworkManagerUserRulePut.json" - }, - "Create a default user rule": { - "$ref": "./examples/NetworkManagerDefaultUserRulePut.json" - } - } - }, - "delete": { - "tags": [ - "UserRules" - ], - "description": "Deletes a user rule.", - "operationId": "UserRules_Delete", - "responses": { - "200": { - "description": "Delete Succeed." - }, - "204": { - "description": "Request successful. Resource does not exist." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Delete a user rule": { - "$ref": "./examples/NetworkManagerUserRuleDelete.json" - } - } - } - } - }, - "definitions": { - "BaseUserRule": { - "properties": { - "kind": { - "type": "string", - "description": "Whether the rule is custom or default.", - "enum": [ - "Custom", - "Default" - ], - "x-ms-enum": { - "name": "UserRuleKind", - "modelAsString": true - } - }, - "systemData": { - "readOnly": true, - "description": "The system metadata related to this resource.", - "$ref": "./network.json#/definitions/SystemData" - } - }, - "allOf": [ - { - "$ref": "./network.json#/definitions/ProxyResource" - } - ], - "required": [ - "kind" - ], - "discriminator": "kind", - "description": "Network base rule." - }, - "UserRuleListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/BaseUserRule" - }, - "description": "A list of user rules" - }, - "nextLink": { - "type": "string", - "description": "The URL to get the next set of results." - } - }, - "description": "security user rule list result." - }, - "UserRule": { - "properties": { - "properties": { - "$ref": "#/definitions/UserRulePropertiesFormat", - "x-ms-client-flatten": true, - "description": "Indicates the properties of the security user rule" - } - }, - "allOf": [ - { - "$ref": "#/definitions/BaseUserRule" - } - ], - "description": "Network security user rule.", - "x-ms-discriminator-value": "Custom" - }, - "UserRulePropertiesFormat": { - "type": "object", - "properties": { - "displayName": { - "type": "string", - "description": "A friendly name for the rule." - }, - "description": { - "type": "string", - "description": "A description for this rule." - }, - "protocol": { - "type": "string", - "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/RuleProtocol", - "description": "Network protocol this rule applies to." - }, - "sources": { - "type": "array", - "items": { - "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/AddressPrefixItem" - }, - "description": "The CIDR or source IP ranges." - }, - "destinations": { - "type": "array", - "items": { - "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/AddressPrefixItem" - }, - "description": "The destination address prefixes. CIDR or destination IP ranges." - }, - "sourcePortRanges": { - "type": "array", - "items": { - "type": "string", - "description": "The source port." - }, - "description": "The source port ranges." - }, - "destinationPortRanges": { - "type": "array", - "items": { - "type": "string", - "description": "The destination port." - }, - "description": "The destination port ranges." - }, - "direction": { - "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/SecurityConfigurationRuleDirection", - "description": "Indicates if the traffic matched against the rule in inbound or outbound." - }, - "provisioningState": { - "readOnly": true, - "$ref": "./network.json#/definitions/ProvisioningState", - "description": "The provisioning state of the security configuration user rule resource." - } - }, - "required": [ - "protocol", - "direction" - ], - "description": "Security rule resource." - }, - "DefaultUserRule": { - "properties": { - "properties": { - "$ref": "#/definitions/DefaultUserRulePropertiesFormat", - "x-ms-client-flatten": true, - "description": "Indicates the properties of the security default user rule" - } - }, - "allOf": [ - { - "$ref": "#/definitions/BaseUserRule" - } - ], - "description": "Network security default user rule.", - "x-ms-discriminator-value": "Default" - }, - "DefaultUserRulePropertiesFormat": { - "type": "object", - "properties": { - "displayName": { - "type": "string", - "readOnly": true, - "description": "A friendly name for the rule." - }, - "description": { - "type": "string", - "readOnly": true, - "description": "A description for this rule. Restricted to 140 chars." - }, - "flag": { - "type": "string", - "description": "Default rule flag." - }, - "protocol": { - "type": "string", - "readOnly": true, - "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/RuleProtocol", - "description": "Network protocol this rule applies to." - }, - "sources": { - "type": "array", - "readOnly": true, - "items": { - "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/AddressPrefixItem" - }, - "description": "The CIDR or source IP ranges." - }, - "destinations": { - "type": "array", - "readOnly": true, - "items": { - "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/AddressPrefixItem" - }, - "description": "The destination address prefixes. CIDR or destination IP ranges." - }, - "sourcePortRanges": { - "type": "array", - "readOnly": true, - "items": { - "type": "string", - "description": "The source port." - }, - "description": "The source port ranges." - }, - "destinationPortRanges": { - "type": "array", - "readOnly": true, - "items": { - "type": "string", - "description": "The destination port." - }, - "description": "The destination port ranges." - }, - "direction": { - "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/SecurityConfigurationRuleDirection", - "readOnly": true, - "description": "Indicates if the traffic matched against the rule in inbound or outbound." - }, - "provisioningState": { - "readOnly": true, - "$ref": "./network.json#/definitions/ProvisioningState", - "description": "The provisioning state of the security configuration user rule resource." - } - }, - "description": "Security default user rule resource." - } - }, - "parameters": { - "SecurityConfigurationParameter": { - "name": "configurationName", - "in": "path", - "description": "The name of the network manager security Configuration.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "RuleCollectionParameter": { - "name": "ruleCollectionName", - "in": "path", - "description": "The name of the network manager security Configuration rule collection.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "SecurityConfigurationsRuleParameter": { - "name": "ruleName", - "in": "path", - "description": "The name of the rule.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "ResourceGroupNameParameter": { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group.", - "x-ms-parameter-location": "method" - }, - "NetworkManagerNameParameter": { - "name": "networkManagerName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the network manager.", - "x-ms-parameter-location": "method" - }, - "ListTopParameter": { - "name": "$top", - "description": "An optional query parameter which specifies the maximum number of records to be returned by the server.", - "in": "query", - "required": false, - "type": "integer", - "format": "int32", - "minimum": 1, - "maximum": 20, - "x-ms-parameter-location": "method" - }, - "ListSkipTokenParameter": { - "name": "$skipToken", - "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.", - "in": "query", - "required": false, - "type": "string", - "x-ms-parameter-location": "method" - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/networkSecurityPerimeter.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/networkSecurityPerimeter.json index 7d7ad0a16ddf..98530d9b7e6d 100644 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/networkSecurityPerimeter.json +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-07-01-preview/networkSecurityPerimeter.json @@ -3,7 +3,7 @@ "info": { "title": "NetworkSecurityPerimeter", "description": "The Network Security Perimeter API provides a RESTful set of web services that interact with network security perimeter resource.", - "version": "2021-02-01-preview" + "version": "2023-07-01-preview" }, "host": "management.azure.com", "schemes": [ diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerActiveConnectivityConfigurationsList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerActiveConnectivityConfigurationsList.json deleted file mode 100644 index 56911d99554c..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerActiveConnectivityConfigurationsList.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "title": "Get Azure Virtual Network Manager Active Connectivity Configuration", - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subscriptionA", - "resourceGroupName": "myResourceGroup", - "networkManagerName": "testNetworkManager", - "parameters": { - "regions": [ - "westus" - ], - "skipToken": "fakeSkipTokenCode" - } - }, - "responses": { - "200": { - "body": { - "value": [ - { - "region": "westus", - "commitTime": "2020-07-10T18:03:22.2578238+05:30", - "id": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/connectivityConfigurations/myTestConnectivityConfig", - "properties": { - "displayName": "myTestConnectivityConfig", - "description": "Sample Configuration", - "connectivityTopology": "HubAndSpoke", - "hubs": [ - { - "resourceId": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myTestConnectivityConfig", - "resourceType": "Microsoft.Network/virtualNetworks" - } - ], - "isGlobal": "True", - "deleteExistingPeering": "True", - "appliesToGroups": [ - { - "networkGroupId": "/subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/groups/group1", - "useHubGateway": "True", - "groupConnectivity": "None", - "isGlobal": "False" - } - ], - "provisioningState": "Succeeded" - }, - "configurationGroups": [ - { - "id": "/subscriptions/subscriptionA/resourceGroup/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1", - "properties": { - "displayName": "My Network Group", - "description": "A group for all test Virtual Networks", - "memberType": "Microsoft.Network/virtualNetworks", - "groupMembers": [ - { - "resourceId": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/virtualnetwork/vnet1" - } - ], - "conditionalMembership": "", - "provisioningState": "Succeeded" - } - } - ] - } - ], - "skipToken": "FakeSkipTokenCode" - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerActiveSecurityAdminRulesList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerActiveSecurityAdminRulesList.json deleted file mode 100644 index 40360627aab9..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerActiveSecurityAdminRulesList.json +++ /dev/null @@ -1,84 +0,0 @@ -{ - "title": "Get Azure Virtual Network Manager Active Security Admin Rules", - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subscriptionA", - "resourceGroupName": "myResourceGroup", - "networkManagerName": "testNetworkManager", - "parameters": { - "regions": [ - "westus" - ], - "skipToken": "fakeSkipTokenCode" - } - }, - "responses": { - "200": { - "body": { - "value": [ - { - "region": "westus", - "commitTime": "2020-07-10T18:03:22.2578238+05:30", - "id": "/subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleAdminRule", - "configurationDisplayName": "SampleConfig", - "configurationDescription": "SampleDescription", - "ruleCollectionDisplayName": "SampleRuleCollection", - "ruleCollectionDescription": "SampleRuleCollectionDescription", - "ruleCollectionAppliesToGroups": [ - { - "networkGroupId": "/subscriptions/subscriptionA/resourceGroup/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1" - } - ], - "kind": "Default", - "properties": { - "displayName": "SampleAdminRule", - "description": "Sample Admin Rule", - "flag": "AllowVnetInbound", - "protocol": "Tcp", - "sources": [ - { - "addressPrefixType": "IPPrefix", - "addressPrefix": "*" - } - ], - "destinations": [ - { - "addressPrefixType": "IPPrefix", - "addressPrefix": "*" - } - ], - "sourcePortRanges": [ - "0-65535" - ], - "destinationPortRanges": [ - "22" - ], - "direction": "Inbound", - "access": "Deny", - "priority": 1, - "provisioningState": "Succeeded" - }, - "ruleGroups": [ - { - "id": "/subscriptions/subscriptionA/resourceGroup/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1", - "properties": { - "displayName": "My Network Group", - "description": "A group for all test Virtual Networks", - "memberType": "Microsoft.Network/virtualNetworks", - "groupMembers": [ - { - "resourceId": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/virtualnetwork/vnet1" - } - ], - "conditionalMembership": "", - "provisioningState": "Succeeded" - } - } - ] - } - ], - "skipToken": "FakeSkipTokenCode" - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerActiveSecurityUserRulesList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerActiveSecurityUserRulesList.json deleted file mode 100644 index 41aa16fdca54..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerActiveSecurityUserRulesList.json +++ /dev/null @@ -1,81 +0,0 @@ -{ - "title": "Get Azure Virtual Network Manager Active Security User Rules", - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subscriptionA", - "resourceGroupName": "myResourceGroup", - "networkManagerName": "testNetworkManager", - "parameters": { - "regions": [ - "westus" - ], - "skipToken": "fakeSkipTokenCode" - } - }, - "responses": { - "200": { - "body": { - "value": [ - { - "region": "westus", - "commitTime": "2020-07-10T18:03:22.2578238+05:30", - "id": "/subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/securityUserConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleUserRule", - "configurationDisplayName": "SampleConfig", - "configurationDescription": "SampleDescription", - "ruleCollectionDisplayName": "SampleRuleCollection", - "ruleCollectionDescription": "SampleRuleCollectionDescription", - "ruleCollectionAppliesToGroups": [ - { - "networkGroupId": "/subscriptions/subscriptionA/resourceGroup/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1" - } - ], - "kind": "Custom", - "properties": { - "displayName": "SampleUserRule", - "description": "Sample User Rule", - "protocol": "Tcp", - "sources": [ - { - "addressPrefixType": "IPPrefix", - "addressPrefix": "*" - } - ], - "destinations": [ - { - "addressPrefixType": "IPPrefix", - "addressPrefix": "*" - } - ], - "sourcePortRanges": [ - "0-65535" - ], - "destinationPortRanges": [ - "22" - ], - "direction": "Inbound", - "provisioningState": "Succeeded" - }, - "ruleGroups": [ - { - "id": "/subscriptions/subscriptionA/resourceGroup/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1", - "properties": { - "displayName": "My Network Group", - "description": "A group for all test Virtual Networks", - "memberType": "Microsoft.Network/virtualNetworks", - "groupMembers": [ - { - "resourceId": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/virtualnetwork/vnet1" - } - ], - "conditionalMembership": "", - "provisioningState": "Succeeded" - } - } - ] - } - ], - "skipToken": "FakeSkipTokenCode" - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerAdminRuleCollectionDelete.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerAdminRuleCollectionDelete.json deleted file mode 100644 index 200dc0249bc9..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerAdminRuleCollectionDelete.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subId", - "resourceGroupName": "rg1", - "networkManagerName": "testNetworkManager", - "configurationName": "myTestSecurityConfig", - "ruleCollectionName": "testRuleCollection" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerAdminRuleCollectionGet.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerAdminRuleCollectionGet.json deleted file mode 100644 index d17b0c5e7817..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerAdminRuleCollectionGet.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subId", - "resourceGroupName": "rg1", - "networkManagerName": "testNetworkManager", - "ruleCollectionName": "testRuleCollection", - "configurationName": "myTestSecurityConfig" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection", - "name": "testRuleCollection", - "type": "Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "displayName": "testRuleCollection", - "description": "A sample rule collection", - "provisioningState": "Succeeded", - "appliesToGroups": [ - { - "networkGroupId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" - } - ] - } - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerAdminRuleCollectionList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerAdminRuleCollectionList.json deleted file mode 100644 index 34cfcf4f51f7..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerAdminRuleCollectionList.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subId", - "resourceGroupName": "rg1", - "networkManagerName": "testNetworkManager", - "configurationName": "myTestSecurityConfig" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection", - "name": "testRuleCollection", - "type": "Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "displayName": "testRuleCollection", - "description": "A sample rule collection", - "provisioningState": "Succeeded", - "appliesToGroups": [ - { - "networkGroupId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" - } - ] - } - } - ], - "nextLink": "{baseurl}/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections?api-version=2021-02-01-preview&$skipToken=10" - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerAdminRuleCollectionPut.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerAdminRuleCollectionPut.json deleted file mode 100644 index b3c85257c820..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerAdminRuleCollectionPut.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subId", - "resourceGroupName": "rg1", - "configurationName": "myTestSecurityConfig", - "networkManagerName": "testNetworkManager", - "ruleCollectionName": "testRuleCollection", - "ruleCollection": { - "properties": { - "description": "A sample policy", - "appliesToGroups": [ - { - "networkGroupId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManager/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection", - "name": "myTestSecurityConfig", - "type": "Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "displayName": "myTestSecurityConfig", - "description": "A sample policy", - "provisioningState": "Succeeded", - "appliesToGroups": [ - { - "networkGroupId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" - } - ] - } - } - }, - "201": { - "body": { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManager/testNetworkManager/securityConfigurations/myTestSecurityConfig", - "name": "myTestSecurityConfig", - "type": "Microsoft.Network/networkManagers/securityAdminConfigurations", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "displayName": "myTestSecurityConfig", - "description": "A sample policy", - "provisioningState": "Succeeded", - "appliesToGroups": [ - { - "networkGroupId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" - } - ] - } - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerAdminRuleDelete.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerAdminRuleDelete.json deleted file mode 100644 index f8cc0dfa5d1d..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerAdminRuleDelete.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subId", - "resourceGroupName": "rg1", - "configurationName": "myTestSecurityConfig", - "networkManagerName": "testNetworkManager", - "ruleCollectionName": "testRuleCollection", - "ruleName": "SampleAdminRule" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerAdminRuleGet.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerAdminRuleGet.json deleted file mode 100644 index a7dea3683b32..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerAdminRuleGet.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subId", - "resourceGroupName": "rg1", - "configurationName": "myTestSecurityConfig", - "networkManagerName": "testNetworkManager", - "ruleCollectionName": "testRuleCollection", - "ruleName": "SampleAdminRule" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleAdminRule", - "type": "Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections/rules", - "name": "SampleAdminRule", - "kind": "Custom", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "displayName": "SampleAdminRule", - "description": "This is Sample Admin Rule", - "protocol": "Tcp", - "sources": [ - { - "addressPrefixType": "IPPrefix", - "addressPrefix": "*" - } - ], - "destinations": [ - { - "addressPrefixType": "IPPrefix", - "addressPrefix": "*" - } - ], - "sourcePortRanges": [ - "0-65535" - ], - "destinationPortRanges": [ - "22" - ], - "access": "Deny", - "priority": 1, - "direction": "Inbound", - "provisioningState": "Succeeded" - } - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerAdminRuleList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerAdminRuleList.json deleted file mode 100644 index 38f8fef50044..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerAdminRuleList.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subId", - "resourceGroupName": "rg1", - "networkManagerName": "testNetworkManager", - "ruleCollectionName": "testRuleCollection", - "configurationName": "myTestSecurityConfig" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkmanagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleAdminRule", - "type": "Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections/rules", - "name": "SampleAdminRule", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "kind": "Custom", - "properties": { - "description": "This is Sample Admin Rule", - "protocol": "Tcp", - "sources": [ - { - "addressPrefixType": "IPPrefix", - "addressPrefix": "*" - } - ], - "destinations": [ - { - "addressPrefixType": "IPPrefix", - "addressPrefix": "*" - } - ], - "sourcePortRanges": [ - "0-65535" - ], - "destinationPortRanges": [ - "22" - ], - "access": "Deny", - "priority": 1, - "direction": "Inbound", - "provisioningState": "Succeeded" - } - } - ], - "nextLink": "{baseurl}/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkManagers/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules?api-version=2021-02-01-preview&$skipToken=10" - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerAdminRulePut.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerAdminRulePut.json deleted file mode 100644 index 7d38b0c7d5cf..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerAdminRulePut.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subId", - "resourceGroupName": "rg1", - "networkManagerName": "testNetworkManager", - "configurationName": "myTestSecurityConfig", - "ruleCollectionName": "testRuleCollection", - "ruleName": "SampleAdminRule", - "adminRule": { - "kind": "Custom", - "properties": { - "description": "This is Sample Admin Rule", - "protocol": "Tcp", - "sources": [ - { - "addressPrefixType": "ServiceTag", - "addressPrefix": "Internet" - } - ], - "destinations": [ - { - "addressPrefixType": "IPPrefix", - "addressPrefix": "*" - } - ], - "sourcePortRanges": [ - "0-65535" - ], - "destinationPortRanges": [ - "22" - ], - "access": "Deny", - "priority": 1, - "direction": "Inbound" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleAdminRule", - "type": "Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections/rules", - "name": "SampleAdminRule", - "kind": "Custom", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "description": "This is Sample Admin Rule", - "protocol": "Tcp", - "sources": [ - { - "addressPrefixType": "ServiceTag", - "addressPrefix": "Internet" - } - ], - "destinations": [ - { - "addressPrefixType": "IPPrefix", - "addressPrefix": "*" - } - ], - "sourcePortRanges": [ - "0-65535" - ], - "destinationPortRanges": [ - "22" - ], - "access": "Deny", - "priority": 1, - "direction": "Inbound", - "provisioningState": "Succeeded" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/rules/SampleAdminRule", - "type": "Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections/rules", - "name": "SampleAdminRule", - "kind": "Custom", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "description": "This is Sample Admin Rule", - "protocol": "Tcp", - "sources": [ - { - "addressPrefixType": "ServiceTag", - "addressPrefix": "Internet" - } - ], - "destinations": [ - { - "addressPrefixType": "IPPrefix", - "addressPrefix": "*" - } - ], - "sourcePortRanges": [ - "0-65535" - ], - "destinationPortRanges": [ - "22" - ], - "access": "Deny", - "priority": 1, - "direction": "Inbound", - "provisioningState": "Succeeded" - } - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerCommitPost.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerCommitPost.json deleted file mode 100644 index c079fa9aa503..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerCommitPost.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "title": "Post Azure Virtual Network Manager Commit", - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subscriptionC", - "resourceGroupName": "resoureGroupSample", - "networkManagerName": "testNetworkManager", - "parameters": { - "targetLocations": [ - "useast" - ], - "configurationIds": [ - "/subscriptions/subscriptionC/resourceGroups/resoureGroupSample/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/SampleSecurityAdminConfig" - ], - "commitType": "SecurityAdmin" - } - }, - "responses": { - "202": { - "body": { - "commitId": "testCommitId", - "targetLocations": [ - "useast" - ], - "configurationIds": [ - "/subscriptions/subscriptionC/resourceGroups/resoureGroupSample/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/SampleSecurityAdminConfig" - ], - "commitType": "SecurityAdmin" - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerConnectivityConfigurationDelete.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerConnectivityConfigurationDelete.json deleted file mode 100644 index 7022bcd7539b..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerConnectivityConfigurationDelete.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "title": "Get Azure Virtual Network Manager Connectivity Configuration", - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subscriptionA", - "resourceGroupName": "myResourceGroup", - "networkManagerName": "testNetworkManager", - "configurationName": "myTestConnectivityConfig" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerConnectivityConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerConnectivityConfigurationGet.json deleted file mode 100644 index c893db0c2a36..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerConnectivityConfigurationGet.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "title": "Get Azure Virtual Network Manager Connectivity Configuration", - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subscriptionA", - "resourceGroupName": "myResourceGroup", - "networkManagerName": "testNetworkManager", - "configurationName": "myTestConnectivityConfig" - }, - "responses": { - "200": { - "body": { - "name": "myTestConnectivityConfig", - "id": "/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/connectivityConfigurations/myTestConnectivityConfig", - "type": "Microsoft.Network/networkManagers/connectivityConfigurations", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "displayName": "myTestConnectivityConfig", - "description": "Sample Configuration", - "connectivityTopology": "HubAndSpoke", - "hubs": [ - { - "resourceId": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myHubVnet", - "resourceType": "Microsoft.Network/virtualNetworks" - } - ], - "isGlobal": "True", - "deleteExistingPeering": "True", - "appliesToGroups": [ - { - "networkGroupId": "/subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1", - "useHubGateway": "True", - "groupConnectivity": "None", - "isGlobal": "False" - } - ], - "provisioningState": "Succeeded" - } - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerConnectivityConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerConnectivityConfigurationList.json deleted file mode 100644 index b3eeedcce836..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerConnectivityConfigurationList.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "title": "Get Azure Virtual Network Manager Connecitivity Configuration List", - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subscriptionA", - "resourceGroupName": "myResourceGroup", - "networkManagerName": "testNetworkManager" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "myTestConnectivityConfig", - "id": "subscription/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/connectivityConfigurations/myTestConnectivityConfig", - "type": "Microsoft.Network/networkManagers/connectivityConfigurations", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "displayName": "myTestConnectivityConfig", - "description": "Sample Configuration", - "connectivityTopology": "HubAndSpoke", - "hubs": [ - { - "resourceId": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myHubVnet", - "resourceType": "Microsoft.Network/virtualNetworks" - } - ], - "deleteExistingPeering": "True", - "isGlobal": "True", - "appliesToGroups": [ - { - "networkGroupId": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/netwrokGroups/group1", - "useHubGateway": "True", - "groupConnectivity": "None", - "isGlobal": "False" - } - ], - "provisioningState": "Succeeded" - } - } - ], - "nextLink": "{baseurl}/subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/managedNetworks/testNetworkManager/connectivityConfigurations?api-version=2021-02-01-preview&$skipToken=10" - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerConnectivityConfigurationPut.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerConnectivityConfigurationPut.json deleted file mode 100644 index dee544021977..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerConnectivityConfigurationPut.json +++ /dev/null @@ -1,109 +0,0 @@ -{ - "title": "Create/Update Azure Virtual Network Manager Connectivity Configuration", - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subscriptionA", - "resourceGroupName": "myResourceGroup", - "networkManagerName": "testNetworkManager", - "configurationName": "myTestConnectivityConfig", - "connectivityConfiguration": { - "properties": { - "displayName": "myTestConnectivityConfig", - "description": "Sample Configuration", - "connectivityTopology": "HubAndSpoke", - "hubs": [ - { - "resourceId": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myTestConnectivityConfig", - "resourceType": "Microsoft.Network/virtualNetworks" - } - ], - "deleteExistingPeering": "True", - "isGlobal": "True", - "appliesToGroups": [ - { - "networkGroupId": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1", - "useHubGateway": "True", - "groupConnectivity": "None", - "isGlobal": "False" - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "name": "myTestConnectivityConfig", - "id": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/connectivityConfigurations/myTestConnectivityConfig", - "type": "Microsoft.Network/networkManagers/connectivityConfigurations", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "displayName": "myTestConnectivityConfig", - "description": "Sample Connectivity Configuration", - "connectivityTopology": "HubAndSpoke", - "hubs": [ - { - "resourceId": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myTestConnectivityConfig", - "resourceType": "Microsoft.Network/virtualNetworks" - } - ], - "deleteExistingPeering": "True", - "isGlobal": "True", - "appliesToGroups": [ - { - "networkGroupId": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/groups/group1", - "useHubGateway": "True", - "groupConnectivity": "None", - "isGlobal": "False" - } - ], - "provisioningState": "Succeeded" - } - } - }, - "201": { - "body": { - "name": "myTestConnectivityConfig", - "id": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/connectivityConfigurations/myTestConnectivityConfig", - "type": "Microsoft.Network/networkManagers/connectivityConfigurations", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "displayName": "myTestConnectivityConfig", - "description": "Sample Configuration", - "connectivityTopology": "HubAndSpoke", - "hubs": [ - { - "resourceId": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myTestConnectivityConfig", - "resourceType": "Microsoft.Network/virtualNetworks" - } - ], - "deleteExistingPeering": "True", - "isGlobal": "True", - "appliesToGroups": [ - { - "networkGroupId": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1", - "useHubGateway": "True", - "groupConnectivity": "None", - "isGlobal": "False" - } - ], - "provisioningState": "Succeeded" - } - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerDefaultAdminRuleGet.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerDefaultAdminRuleGet.json deleted file mode 100644 index cffdf54e631f..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerDefaultAdminRuleGet.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subId", - "resourceGroupName": "rg1", - "configurationName": "myTestSecurityConfig", - "networkManagerName": "testNetworkManager", - "ruleCollectionName": "testRuleCollection", - "ruleName": "SampleDefaultAdminRule" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleDefaultAdminRule", - "type": "Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections/rules", - "name": "SampleDefaultAdminRule", - "kind": "Default", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "flag": "AllowVnetInbound", - "displayName": "SampleDefaultAdminRule", - "description": "This is Sample Default Admin Rule", - "protocol": "Tcp", - "sources": [ - { - "addressPrefixType": "IPPrefix", - "addressPrefix": "*" - } - ], - "destinations": [ - { - "addressPrefixType": "IPPrefix", - "addressPrefix": "*" - } - ], - "sourcePortRanges": [ - "0-65535" - ], - "destinationPortRanges": [ - "22" - ], - "access": "Deny", - "priority": 1, - "direction": "Inbound", - "provisioningState": "Succeeded" - } - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerDefaultAdminRulePut.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerDefaultAdminRulePut.json deleted file mode 100644 index 224559196dc7..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerDefaultAdminRulePut.json +++ /dev/null @@ -1,105 +0,0 @@ -{ - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subId", - "resourceGroupName": "rg1", - "networkManagerName": "testNetworkManager", - "configurationName": "myTestSecurityConfig", - "ruleCollectionName": "testRuleCollection", - "ruleName": "SampleDefaultAdminRule", - "adminRule": { - "kind": "Default", - "properties": { - "flag": "AllowVnetInbound" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleDefaultAdminRule", - "type": "Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections/rules", - "name": "SampleDefaultAdminRule", - "kind": "Default", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "flag": "AllowVnetInbound", - "description": "This is Sample Default Admin Rule", - "protocol": "Tcp", - "sources": [ - { - "addressPrefixType": "ServiceTag", - "addressPrefix": "Internet" - } - ], - "destinations": [ - { - "addressPrefixType": "IPPrefix", - "addressPrefix": "*" - } - ], - "sourcePortRanges": [ - "0-65535" - ], - "destinationPortRanges": [ - "22" - ], - "access": "Deny", - "priority": 1, - "direction": "Inbound", - "provisioningState": "Succeeded" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/rules/SampleDefaultAdminRule", - "type": "Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections/rules", - "name": "SampleDefaultAdminRule", - "kind": "Default", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "flag": "AllowVnetInbound", - "description": "This is Sample Default Admin Rule", - "protocol": "Tcp", - "sources": [ - { - "addressPrefixType": "ServiceTag", - "addressPrefix": "Internet" - } - ], - "destinations": [ - { - "addressPrefixType": "IPPrefix", - "addressPrefix": "*" - } - ], - "sourcePortRanges": [ - "0-65535" - ], - "destinationPortRanges": [ - "22" - ], - "access": "Deny", - "priority": 1, - "direction": "Inbound", - "provisioningState": "Succeeded" - } - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerDefaultUserRuleGet.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerDefaultUserRuleGet.json deleted file mode 100644 index c8adcacd2598..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerDefaultUserRuleGet.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subId", - "resourceGroupName": "rg1", - "ruleCollectionName": "testRuleCollection", - "configurationName": "myTestSecurityConfig", - "networkManagerName": "testNetworkManager", - "ruleName": "SampleDefaultUserRule" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/SecurityUserConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleDefaultUserRule", - "type": "Microsoft.Network/networkManagers/SecurityUserConfigurations/ruleCollections/rules", - "name": "SampleDefaultUserRule", - "kind": "Default", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "flag": "AllowVnetInbound", - "displayName": "SampleDefaultUserRule", - "description": "Sample Default User Rule", - "protocol": "Tcp", - "sources": [ - { - "addressPrefixType": "IPPrefix", - "addressPrefix": "*" - } - ], - "destinations": [ - { - "addressPrefixType": "IPPrefix", - "addressPrefix": "*" - } - ], - "sourcePortRanges": [ - "0-65535" - ], - "destinationPortRanges": [ - "22" - ], - "direction": "Inbound", - "provisioningState": "Succeeded" - } - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerDefaultUserRulePut.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerDefaultUserRulePut.json deleted file mode 100644 index 63ad4ba63cda..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerDefaultUserRulePut.json +++ /dev/null @@ -1,101 +0,0 @@ -{ - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subId", - "resourceGroupName": "rg1", - "networkManagerName": "testNetworkManager", - "configurationName": "myTestSecurityConfig", - "ruleCollectionName": "testRuleCollection", - "ruleName": "SampleDefaultUserRule", - "userRule": { - "kind": "Default", - "properties": { - "flag": "AllowVnetInbound" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/SecurityUserConfigurations/Policy1/ruleCollections/testRuleCollection/rules/SampleUserRule", - "type": "Microsoft.Network/networkManagers/securityUserConfigurations/ruleCollections/rules", - "name": "SampleDefaultUserRule", - "kind": "Default", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "flag": "AllowVnetInbound", - "description": "Sample Default User Rule", - "protocol": "Tcp", - "sources": [ - { - "addressPrefixType": "IPPrefix", - "addressPrefix": "*" - } - ], - "destinations": [ - { - "addressPrefixType": "IPPrefix", - "addressPrefix": "*" - } - ], - "sourcePortRanges": [ - "0-65535" - ], - "destinationPortRanges": [ - "22" - ], - "direction": "Inbound", - "provisioningState": "Succeeded" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityUserConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleDefaultUserRule", - "type": "Microsoft.Network/networkManagers/securityUserConfigurations/ruleCollections/rules", - "name": "SampleDefaultUserRule", - "kind": "Default", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "flag": "AllowVnetInbound", - "description": "Sample User Rule", - "protocol": "Tcp", - "sources": [ - { - "addressPrefixType": "IPPrefix", - "addressPrefix": "*" - } - ], - "destinations": [ - { - "addressPrefixType": "IPPrefix", - "addressPrefix": "*" - } - ], - "sourcePortRanges": [ - "0-65535" - ], - "destinationPortRanges": [ - "22" - ], - "direction": "Inbound", - "provisioningState": "Succeeded" - } - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerDelete.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerDelete.json deleted file mode 100644 index 57986cdd8548..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerDelete.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "title": "Delete Azure Virtual Network Manager", - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "networkManagerName": "testNetworkManager" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerDeploymentStatusList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerDeploymentStatusList.json deleted file mode 100644 index 9f0bec264fd2..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerDeploymentStatusList.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "title": "Post Azure Virtual Network Manager Deployment Status", - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subscriptionC", - "resourceGroupName": "resoureGroupSample", - "networkManagerName": "testNetworkManager", - "parameters": { - "regions": [ - "eastus", - "westus" - ], - "deploymentTypes": [ - "Connectivity", - "AdminPolicy" - ], - "skipToken": "FakeSkipTokenCode" - } - }, - "responses": { - "200": { - "body": { - "value": [ - { - "deploymentType": "AdminPolicy", - "configurationIds": [ - "SecConfig1", - "SecConfig2" - ], - "commitTime": "2021-01-26T06:58:50.883Z", - "region": "eastus", - "deploymentStatus": "Deploying", - "errorMessage": "" - }, - { - "deploymentType": "Connectivity", - "configurationIds": [ - "ConnConfig1", - "ConnConfig2" - ], - "commitTime": "2021-01-26T06:58:50.883Z", - "region": "eastus", - "deploymentStatus": "Deployed", - "errorMessage": "" - } - ], - "skipToken": "NextFakeSkipTokenCode" - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerEffectiveConnectivityConfigurationsList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerEffectiveConnectivityConfigurationsList.json deleted file mode 100644 index 0ba12cb2a778..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerEffectiveConnectivityConfigurationsList.json +++ /dev/null @@ -1,63 +0,0 @@ -{ - "title": "List Azure Virtual Network Manager Effective Configuration", - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subscriptionA", - "resourceGroupName": "myResourceGroup", - "virtualNetworkName": "testVirtualNetwork", - "parameters": { - "skipToken": "FakeSkipTokenCode" - } - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/connectivityConfigurations/myTestConnectivityConfig", - "properties": { - "displayName": "myTestConnectivityConfig", - "description": "Sample Configuration", - "connectivityTopology": "HubAndSpoke", - "hubs": [ - { - "resourceId": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myHubVnet", - "resourceType": "Microsoft.Network/virtualNetworks" - } - ], - "isGlobal": "True", - "deleteExistingPeering": "True", - "appliesToGroups": [ - { - "networkGroupId": "/subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/groups/group1", - "useHubGateway": "True", - "groupConnectivity": "None", - "isGlobal": "False" - } - ], - "provisioningState": "Succeeded" - }, - "configurationGroups": [ - { - "id": "/subscriptions/subscriptionA/resourceGroup/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1", - "properties": { - "displayName": "My Network Group", - "description": "A group for all test Virtual Networks", - "memberType": "Microsoft.Network/virtualNetworks", - "groupMembers": [ - { - "resourceId": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/virtualnetwork/vnet1" - } - ], - "conditionalMembership": "", - "provisioningState": "Succeeded" - } - } - ] - } - ], - "skipToken": "FakeSkipTokenCode" - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerEffectiveSecurityAdminRulesList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerEffectiveSecurityAdminRulesList.json deleted file mode 100644 index d0f8644289f2..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerEffectiveSecurityAdminRulesList.json +++ /dev/null @@ -1,79 +0,0 @@ -{ - "title": "List Azure Virtual Network Manager Effective Configuration", - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subscriptionA", - "resourceGroupName": "myResourceGroup", - "virtualNetworkName": "testVirtualNetwork", - "parameters": { - "skipToken": "FakeSkipTokenCode" - } - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleAdminRule", - "configurationDisplayName": "SampleConfig", - "configurationDescription": "SampleDescription", - "ruleCollectionDisplayName": "SampleRuleCollection", - "ruleCollectionDescription": "SampleRuleCollectionDescription", - "ruleCollectionAppliesToGroups": [ - { - "networkGroupId": "/subscriptions/subscriptionA/resourceGroup/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1" - } - ], - "kind": "Default", - "properties": { - "displayName": "SampleAdminRule", - "description": "Sample Admin Rule", - "flag": "AllowVnetInbound", - "protocol": "Tcp", - "sources": [ - { - "addressPrefixType": "IPPrefix", - "addressPrefix": "*" - } - ], - "destinations": [ - { - "addressPrefixType": "IPPrefix", - "addressPrefix": "*" - } - ], - "sourcePortRanges": [ - "0-65535" - ], - "destinationPortRanges": [ - "22" - ], - "direction": "Inbound", - "access": "Deny", - "priority": 1, - "provisioningState": "Succeeded" - }, - "ruleGroups": [ - { - "id": "/subscriptions/subscriptionA/resourceGroup/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1", - "properties": { - "displayName": "My Network Group", - "description": "A group for all test Virtual Networks", - "memberType": "VirtualNetwork", - "groupMembers": [ - { - "resourceId": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/virtualnetwork/vnet1" - } - ], - "conditionalMembership": "", - "provisioningState": "Succeeded" - } - } - ] - } - ], - "skipToken": "FakeSkipTokenCode" - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerEffectiveVirtualNetworksList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerEffectiveVirtualNetworksList.json deleted file mode 100644 index 0434514f8011..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerEffectiveVirtualNetworksList.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "title": "List Effective Virtual Networks List By Network Groups", - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subscriptionC", - "resourceGroupName": "rg1", - "networkManagerName": "testNetworkManager", - "networkGroupName": "TestNetworkGroup", - "parameters": { - "skipToken": "FakeSkipTokenCode" - } - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subscriptionC/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/testNetworkManager", - "location": "useast2", - "membershipType": "Static" - } - ], - "skipToken": "NextFakeSkipTokenCode" - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerEffectiveVirtualNetworksListByNetworkManager.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerEffectiveVirtualNetworksListByNetworkManager.json deleted file mode 100644 index dee2ec946812..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerEffectiveVirtualNetworksListByNetworkManager.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "title": "List Effective Virtual Networks List By Network Groups", - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subscriptionC", - "resourceGroupName": "rg1", - "networkManagerName": "testNetworkManager", - "parameters": { - "conditionalMembers": "location='useast2'", - "skipToken": "FakeSkipTokenCode" - } - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subscriptionC/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/testNetworkManager", - "location": "useast2", - "membershipType": "Static" - } - ], - "skipToken": "NextFakeSkipTokenCode" - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerGet.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerGet.json deleted file mode 100644 index 12e7364dd843..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerGet.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "title": "Get Azure Virtual Network Manager", - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subscriptionC", - "resourceGroupName": "rg1", - "networkManagerName": "testNetworkManager" - }, - "responses": { - "200": { - "body": { - "name": "testNetworkManager", - "id": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager", - "type": "Microsoft.Network/networkManagers", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "displayName": "TestNetworkManager", - "description": "My Test Network Manager", - "networkManagerScopes": { - "managementGroups": [ - "/providers/Microsoft.Management/managementGroups/sampleMG" - ], - "subscriptions": [ - "/subscriptions/00000000-0000-0000-0000-000000000000" - ] - }, - "networkManagerScopeAccesses": [ - "SecurityAdmin" - ], - "provisioningState": "Succeeded" - } - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerGroupDelete.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerGroupDelete.json deleted file mode 100644 index 2e8b3e1d8237..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerGroupDelete.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "title": "Delete Azure Virtual Network Manager Group", - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "networkManagerName": "testNetworkManager", - "networkGroupName": "TestNetworkGroup" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerGroupGet.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerGroupGet.json deleted file mode 100644 index e69da703e107..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerGroupGet.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "title": "Get Azure Virtual Network Manager Network Group", - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subscriptionC", - "resourceGroupName": "rg1", - "networkManagerName": "testNetworkManager", - "networkGroupName": "TestNetworkGroup" - }, - "responses": { - "200": { - "body": { - "name": "TestNetworkGroup", - "id": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/TestNetworkGroup", - "type": "Microsoft.Network/networkManagers/networkGroups", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "displayName": "My Network Group", - "description": "A sample group", - "memberType": "VirtualNetwork", - "groupMembers": [ - { - "resourceId": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/virtualnetworks/vnet1" - } - ], - "conditionalMembership": "", - "provisioningState": "Succeeded" - } - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerGroupList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerGroupList.json deleted file mode 100644 index 5e4dd8701d5c..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerGroupList.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "title": "List Azure Virtual Network Manager Network Groups", - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subscriptionC", - "resourceGroupName": "rg1", - "networkManagerName": "testNetworkManager" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "TestNetworkGroup", - "id": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/TestNetworkGroup", - "type": "Microsoft.Network/networkManagers/networkGroups", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "displayName": "My Network Group", - "description": "A sample group", - "memberType": "VirtualNetwork", - "groupMembers": [ - { - "resourceId": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/virtualnetworks/vnet1" - } - ], - "conditionalMembership": "", - "provisioningState": "Succeeded" - } - } - ], - "nextLink": "{baseurl}/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups?api-version=2021-02-01-preview&$skipToken=10" - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerGroupPut.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerGroupPut.json deleted file mode 100644 index fc7ae985854d..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerGroupPut.json +++ /dev/null @@ -1,85 +0,0 @@ -{ - "title": "Create/Update Azure Virtual Network Manager Network Group", - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subscriptionC", - "resourceGroupName": "rg1", - "networkManagerName": "testNetworkManager", - "networkGroupName": "TestNetworkGroup", - "parameters": { - "properties": { - "displayName": "My Network Group", - "description": "A sample group", - "memberType": "VirtualNetwork", - "groupMembers": [ - { - "resourceId": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/virtualnetworks/vnet1" - } - ], - "conditionalMembership": "" - } - } - }, - "responses": { - "200": { - "headers": { - "ETag": "be3cfaa2-3d02-4624-92d7-a26766306c8b" - }, - "body": { - "name": "TestNetworkGroup", - "id": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/TestNetworkGroup", - "type": "Microsoft.Network/networkManagers/networkGroups", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "displayName": "My Network Group", - "description": "A sample group", - "memberType": "VirtualNetwork", - "groupMembers": [ - { - "resourceId": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/virtualnetworks/vnet1" - } - ], - "conditionalMembership": "", - "provisioningState": "Succeeded" - } - } - }, - "201": { - "headers": { - "ETag": "be3cfaa2-3d02-4624-92d7-a26766306c8b" - }, - "body": { - "name": "TestNetworkGroup", - "id": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/TestNetworkGroup", - "type": "Microsoft.Network/networkManagers/networkGroups", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "displayName": "My Network Group", - "description": "A sample group", - "memberType": "VirtualNetwork", - "groupMembers": [ - { - "resourceId": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/virtualnetwork/vnet1" - } - ], - "conditionalMembership": "", - "provisioningState": "Succeeded" - } - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerList.json deleted file mode 100644 index 52a446ed3473..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerList.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "title": "List Azure Virtual Network Manager", - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subscriptionC", - "resourceGroupName": "rg1" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "testNetworkManager", - "id": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager", - "type": "Microsoft.Network/networkManagers", - "etag": "sadf-asdf-asdf-asdf", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "displayName": "TestNetworkManager", - "description": "My Test Network Manager", - "networkManagerScopes": { - "managementGroups": [ - "/providers/Microsoft.Management/managementGroups/sampleMG" - ], - "subscriptions": [ - "/subscriptions/00000000-0000-0000-0000-000000000000" - ] - }, - "networkManagerScopeAccesses": [ - "Connectivity" - ], - "provisioningState": "Succeeded" - } - } - ], - "nextLink": "{baseurl}/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers?api-version=2021-02-01-preview&$skipToken=10" - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerListAll.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerListAll.json deleted file mode 100644 index 335c3598212a..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerListAll.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "List Azure Virtual Network Manager in Subscription", - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subscriptionC" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "testNetworkManager", - "id": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager", - "type": "Microsoft.Network/networkManagers", - "etag": "sadf-asdf-asdf-asdf", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "displayName": "TestNetworkManager", - "description": "My Test Network Manager", - "networkManagerScopes": { - "managementGroups": [ - "/providers/Microsoft.Management/managementGroups/sampleMG" - ], - "subscriptions": [ - "/subscriptions/00000000-0000-0000-0000-000000000000" - ] - }, - "networkManagerScopeAccesses": [ - "SecurityAdmin" - ], - "provisioningState": "Succeeded" - } - } - ], - "nextLink": "{baseurl}/subscriptions/subscriptionC/providers/Microsoft.Network/networkManagers?api-version=2021-02-01-preview&$skipToken=10" - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerPatch.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerPatch.json deleted file mode 100644 index 716eaaf4dba8..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerPatch.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "title": "Patch Managed Network Tags", - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subscriptionC", - "resourceGroupName": "rg1", - "networkManagerName": "testNetworkManager", - "parameters": { - "tags": { - "tag1": "value1", - "tag2": "value2" - } - } - }, - "responses": { - "200": { - "body": { - "name": "testNetworkManager", - "id": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager", - "type": "Microsoft.Network/networkManager", - "etag": "W/\"00000000-0000-0000-0000-000000000000\"", - "location": "westus", - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "displayName": "TestNetworkManager", - "description": "My Test Network Manager", - "networkManagerScopes": { - "managementGroups": [ - "/providers/Microsoft.Management/managementGroups/sampleMG" - ], - "subscriptions": [ - "/subscriptions/00000000-0000-0000-0000-000000000000" - ] - }, - "networkManagerScopeAccesses": [ - "SecurityAdmin" - ], - "provisioningState": "Succeeded" - } - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerPut.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerPut.json deleted file mode 100644 index e7f8a08f7ee2..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerPut.json +++ /dev/null @@ -1,92 +0,0 @@ -{ - "title": "Create/Update Azure Virtual Network Manager", - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subscriptionC", - "resourceGroupName": "rg1", - "networkManagerName": "TestNetworkManager", - "parameters": { - "properties": { - "displayName": "TestNetworkManager", - "description": "My Test Network Manager", - "networkManagerScopes": { - "managementGroups": [ - "/providers/Microsoft.Management/managementGroups/sampleMG" - ], - "subscriptions": [ - "/subscriptions/00000000-0000-0000-0000-000000000000" - ] - }, - "networkManagerScopeAccesses": [ - "Connectivity" - ] - } - } - }, - "responses": { - "200": { - "body": { - "name": "TestNetworkManager", - "id": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/TestNetworkManager", - "type": "Microsoft.Network/networkManagers", - "etag": "sadf-asdf-asdf-asdf", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "displayName": "TestNetworkManager", - "description": "My Test Network Manager", - "networkManagerScopes": { - "managementGroups": [ - "/providers/Microsoft.Management/managementGroups/sampleMG" - ], - "subscriptions": [ - "/subscriptions/00000000-0000-0000-0000-000000000000" - ] - }, - "networkManagerScopeAccesses": [ - "Connectivity" - ], - "provisioningState": "Succeeded" - } - } - }, - "201": { - "body": { - "name": "TestNetworkManager", - "id": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/TestNetworkManager", - "type": "Microsoft.Network/networkManagers", - "etag": "sadf-asdf-asdf-asdf", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "displayName": "TestNetworkManager", - "description": "My Test Network Manager", - "networkManagerScopes": { - "managementGroups": [ - "/providers/Microsoft.Management/managementGroups/sampleMG" - ], - "subscriptions": [ - "/subscriptions/00000000-0000-0000-0000-000000000000" - ] - }, - "networkManagerScopeAccesses": [ - "Connectivity" - ], - "provisioningState": "Succeeded" - } - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerSecurityAdminConfigurationDelete.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerSecurityAdminConfigurationDelete.json deleted file mode 100644 index 938bd903784c..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerSecurityAdminConfigurationDelete.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subId", - "resourceGroupName": "rg1", - "networkManagerName": "testNetworkManager", - "configurationName": "myTestSecurityConfig" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerSecurityAdminConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerSecurityAdminConfigurationGet.json deleted file mode 100644 index 44ceaafd13d9..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerSecurityAdminConfigurationGet.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subId", - "resourceGroupName": "rg1", - "networkManagerName": "testNetworkManager", - "configurationName": "myTestSecurityConfig" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig", - "name": "myTestSecurityConfig", - "type": "Microsoft.Network/networkManagers/securityAdminConfigurations", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "displayName": "myTestSecurityConfig", - "description": "A sample policy", - "provisioningState": "Succeeded", - "securityType": "AdminPolicy", - "deleteExistingNSGs": "True" - } - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerSecurityAdminConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerSecurityAdminConfigurationList.json deleted file mode 100644 index 3d50290a5e51..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerSecurityAdminConfigurationList.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subId", - "resourceGroupName": "rg1", - "networkManagerName": "testNetworkManager" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig", - "name": "myTestSecurityConfig", - "type": "Microsoft.Network/networkManagers/securityAdminConfigurations", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "displayName": "Sample policy", - "description": "A sample policy", - "provisioningState": "Succeeded", - "securityType": "AdminPolicy", - "deleteExistingNSGs": "True" - } - } - ], - "nextLink": "{baseurl}/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations?api-version=2021-02-01-preview&$skipToken=10" - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerSecurityAdminConfigurationPut.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerSecurityAdminConfigurationPut.json deleted file mode 100644 index 10769ed69bea..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerSecurityAdminConfigurationPut.json +++ /dev/null @@ -1,62 +0,0 @@ -{ - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subId", - "resourceGroupName": "rg1", - "configurationName": "myTestSecurityConfig", - "networkManagerName": "testNetworkManager", - "securityAdminConfiguration": { - "properties": { - "description": "A sample policy", - "securityType": "AdminPolicy", - "deleteExistingNSGs": "True" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManager/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig", - "name": "myTestSecurityConfig", - "type": "Microsoft.Network/networkManagers/securityAdminConfigurations", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "displayName": "myTestSecurityConfig", - "description": "A sample policy", - "provisioningState": "Succeeded", - "securityType": "AdminPolicy", - "deleteExistingNSGs": "True" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManager/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig", - "name": "myTestSecurityConfig", - "type": "Microsoft.Network/networkManagers/securityAdminConfigurations", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "displayName": "myTestSecurityConfig", - "description": "A sample policy", - "provisioningState": "Succeeded", - "securityType": "AdminPolicy", - "deleteExistingNSGs": "True" - } - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerSecurityUserConfigurationDelete.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerSecurityUserConfigurationDelete.json deleted file mode 100644 index 938bd903784c..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerSecurityUserConfigurationDelete.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subId", - "resourceGroupName": "rg1", - "networkManagerName": "testNetworkManager", - "configurationName": "myTestSecurityConfig" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerSecurityUserConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerSecurityUserConfigurationGet.json deleted file mode 100644 index b43b504e3503..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerSecurityUserConfigurationGet.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subId", - "resourceGroupName": "rg1", - "networkManagerName": "testNetworkManager", - "configurationName": "myTestSecurityConfig" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityUserConfigurations/myTestSecurityConfig", - "name": "myTestSecurityConfig", - "type": "Microsoft.Network/networkManagers/securityUserConfigurations", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "displayName": "myTestSecurityConfig", - "description": "A sample policy", - "provisioningState": "Succeeded", - "securityType": "UserPolicy", - "deleteExistingNSGs": "True" - } - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerSecurityUserConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerSecurityUserConfigurationList.json deleted file mode 100644 index a18279f244de..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerSecurityUserConfigurationList.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subId", - "resourceGroupName": "rg1", - "networkManagerName": "testNetworkManager" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityUserConfigurations/myTestSecurityConfig", - "name": "myTestSecurityConfig", - "type": "Microsoft.Network/networkManagers/securityUserConfigurations", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "displayName": "Sample policy", - "description": "A sample policy", - "provisioningState": "Succeeded", - "securityType": "UserPolicy", - "deleteExistingNSGs": "True" - } - } - ], - "nextLink": "{baseurl}/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityUserConfigurations?api-version=2021-02-01-preview&$skipToken=10" - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerSecurityUserConfigurationPut.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerSecurityUserConfigurationPut.json deleted file mode 100644 index dbdfceff66c0..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerSecurityUserConfigurationPut.json +++ /dev/null @@ -1,62 +0,0 @@ -{ - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subId", - "resourceGroupName": "rg1", - "configurationName": "myTestSecurityConfig", - "networkManagerName": "testNetworkManager", - "securityUserConfiguration": { - "properties": { - "description": "A sample policy", - "securityType": "UserPolicy", - "deleteExistingNSGs": "True" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManager/testNetworkManager/securityConfigurations/myTestSecurityConfig", - "name": "myTestSecurityConfig", - "type": "Microsoft.Network/networkManagers/securityConfigurations", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "displayName": "myTestSecurityConfig", - "description": "A sample policy", - "provisioningState": "Succeeded", - "securityType": "UserPolicy", - "deleteExistingNSGs": "True" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManager/testNetworkManager/securityConfigurations/myTestSecurityConfig", - "name": "myTestSecurityConfig", - "type": "Microsoft.Network/networkManagers/securityConfigurations", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "displayName": "myTestSecurityConfig", - "description": "A sample policy", - "provisioningState": "Succeeded", - "securityType": "UserPolicy", - "deleteExistingNSGs": "True" - } - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerUserRuleCollectionDelete.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerUserRuleCollectionDelete.json deleted file mode 100644 index 200dc0249bc9..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerUserRuleCollectionDelete.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subId", - "resourceGroupName": "rg1", - "networkManagerName": "testNetworkManager", - "configurationName": "myTestSecurityConfig", - "ruleCollectionName": "testRuleCollection" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerUserRuleCollectionGet.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerUserRuleCollectionGet.json deleted file mode 100644 index 8b1af45420ca..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerUserRuleCollectionGet.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subId", - "resourceGroupName": "rg1", - "networkManagerName": "testNetworkManager", - "ruleCollectionName": "testRuleCollection", - "configurationName": "myTestSecurityConfig" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityUserConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection", - "name": "testRuleCollection", - "type": "Microsoft.Network/networkManagers/securityUserConfigurations/ruleCollections", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "displayName": "testRuleCollection", - "description": "A sample rule collection", - "provisioningState": "Succeeded", - "appliesToGroups": [ - { - "networkGroupId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" - } - ] - } - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerUserRuleCollectionList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerUserRuleCollectionList.json deleted file mode 100644 index 73729b7ed4d1..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerUserRuleCollectionList.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subId", - "resourceGroupName": "rg1", - "networkManagerName": "testNetworkManager", - "configurationName": "myTestSecurityConfig" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityUserConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection", - "name": "testRuleCollection", - "type": "Microsoft.Network/networkManagers/securityUserConfigurations/ruleCollections", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "displayName": "testRuleCollection", - "description": "A sample rule collection", - "provisioningState": "Succeeded", - "appliesToGroups": [ - { - "networkGroupId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" - } - ] - } - } - ], - "nextLink": "{baseurl}/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityUserConfigurations/myTestSecurityConfig/ruleCollections?api-version=2021-02-01-preview&$skipToken=10" - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerUserRuleCollectionPut.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerUserRuleCollectionPut.json deleted file mode 100644 index d91c5d8a74fd..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerUserRuleCollectionPut.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subId", - "resourceGroupName": "rg1", - "configurationName": "myTestSecurityConfig", - "networkManagerName": "testNetworkManager", - "ruleCollectionName": "testRuleCollection", - "userRuleCollection": { - "properties": { - "description": "A sample policy", - "appliesToGroups": [ - { - "networkGroupId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManager/testNetworkManager/securityUserConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection", - "name": "myTestSecurityConfig", - "type": "Microsoft.Network/networkManagers/securityUserConfigurations/ruleCollections", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "displayName": "myTestSecurityConfig", - "description": "A sample policy", - "provisioningState": "Succeeded", - "appliesToGroups": [ - { - "networkGroupId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" - } - ] - } - } - }, - "201": { - "body": { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManager/testNetworkManager/securityUserConfigurations/myTestSecurityConfig", - "name": "myTestSecurityConfig", - "type": "Microsoft.Network/networkManagers/securityUserConfigurations/ruleCollections", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "displayName": "myTestSecurityConfig", - "description": "A sample policy", - "provisioningState": "Succeeded", - "appliesToGroups": [ - { - "networkGroupId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" - } - ] - } - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerUserRuleDelete.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerUserRuleDelete.json deleted file mode 100644 index 3fbaf4ba00c0..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerUserRuleDelete.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subId", - "resourceGroupName": "rg1", - "configurationName": "myTestSecurityConfig", - "networkManagerName": "testNetworkManager", - "ruleCollectionName": "testRuleCollection", - "ruleName": "SampleUserRule" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerUserRuleGet.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerUserRuleGet.json deleted file mode 100644 index 10459a5f40ce..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerUserRuleGet.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subId", - "resourceGroupName": "rg1", - "ruleCollectionName": "testRuleCollection", - "configurationName": "myTestSecurityConfig", - "networkManagerName": "testNetworkManager", - "ruleName": "SampleUserRule" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/SecurityUserConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleUserRule", - "type": "Microsoft.Network/networkManagers/SecurityUserConfigurations/ruleCollections/rules", - "name": "SampleUserRule", - "kind": "Custom", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "displayName": "SampleUserRule", - "description": "Sample User Rule", - "protocol": "Tcp", - "sources": [ - { - "addressPrefixType": "IPPrefix", - "addressPrefix": "*" - } - ], - "destinations": [ - { - "addressPrefixType": "IPPrefix", - "addressPrefix": "*" - } - ], - "sourcePortRanges": [ - "0-65535" - ], - "destinationPortRanges": [ - "22" - ], - "direction": "Inbound", - "provisioningState": "Succeeded" - } - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerUserRuleList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerUserRuleList.json deleted file mode 100644 index 9ff254e5e12d..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerUserRuleList.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subId", - "resourceGroupName": "rg1", - "networkManagerName": "testNetworkManager", - "ruleCollectionName": "testRuleCollection", - "configurationName": "myTestSecurityConfig" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkmanagers/testNetworkManager/securityUserConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleUserRule", - "type": "Microsoft.Network/networkManagers/securityConfigurations/ruleCollections/rules", - "name": "SampleUserRule", - "kind": "Custom", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "description": "Sample User Rule", - "protocol": "Tcp", - "sources": [ - { - "addressPrefixType": "IPPrefix", - "addressPrefix": "*" - } - ], - "destinations": [ - { - "addressPrefixType": "IPPrefix", - "addressPrefix": "*" - } - ], - "sourcePortRanges": [ - "0-65535" - ], - "destinationPortRanges": [ - "22" - ], - "direction": "Inbound", - "provisioningState": "Succeeded" - } - } - ], - "nextLink": "{baseurl}/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityUserConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules?api-version=2021-02-01-preview&$skipToken=10" - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerUserRulePut.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerUserRulePut.json deleted file mode 100644 index c9538b7cac28..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkManagerUserRulePut.json +++ /dev/null @@ -1,119 +0,0 @@ -{ - "parameters": { - "api-version": "2021-02-01-preview", - "subscriptionId": "subId", - "resourceGroupName": "rg1", - "networkManagerName": "testNetworkManager", - "configurationName": "myTestSecurityConfig", - "ruleCollectionName": "testRuleCollection", - "ruleName": "SampleUserRule", - "userRule": { - "kind": "Custom", - "properties": { - "description": "Sample User Rule", - "protocol": "Tcp", - "sources": [ - { - "addressPrefixType": "IPPrefix", - "addressPrefix": "*" - } - ], - "destinations": [ - { - "addressPrefixType": "IPPrefix", - "addressPrefix": "*" - } - ], - "sourcePortRanges": [ - "0-65535" - ], - "destinationPortRanges": [ - "22" - ], - "direction": "Inbound" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/SecurityUserConfigurations/Policy1/ruleCollections/testRuleCollection/rules/SampleUserRule", - "type": "Microsoft.Network/networkManagers/SecurityUserConfigurations/ruleCollections/rules", - "name": "SampleUserRule", - "kind": "Custom", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "description": "Sample User Rule", - "protocol": "Tcp", - "sources": [ - { - "addressPrefixType": "IPPrefix", - "addressPrefix": "*" - } - ], - "destinations": [ - { - "addressPrefixType": "IPPrefix", - "addressPrefix": "*" - } - ], - "sourcePortRanges": [ - "0-65535" - ], - "destinationPortRanges": [ - "22" - ], - "direction": "Inbound", - "provisioningState": "Succeeded" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityUserConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleUserRule", - "type": "Microsoft.Network/networkManagers/SecurityUserConfigurations/ruleCollections/rules", - "name": "SampleUserRule", - "kind": "Custom", - "systemData": { - "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "createdByType": "User", - "createdAt": "2021-01-11T18:52:27Z", - "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-11T18:52:27Z" - }, - "properties": { - "description": "Sample User Rule", - "protocol": "Tcp", - "sources": [ - { - "addressPrefixType": "IPPrefix", - "addressPrefix": "*" - } - ], - "destinations": [ - { - "addressPrefixType": "IPPrefix", - "addressPrefix": "*" - } - ], - "sourcePortRanges": [ - "0-65535" - ], - "destinationPortRanges": [ - "22" - ], - "direction": "Inbound", - "provisioningState": "Succeeded" - } - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkSecurityPerimeterDelete.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkSecurityPerimeterDelete.json index a8a08b56a6e2..e1b5cbc391ca 100644 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkSecurityPerimeterDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkSecurityPerimeterDelete.json @@ -1,7 +1,7 @@ { "title": "Delete Network Security Perimeter", "parameters": { - "api-version": "2021-02-01-preview", + "api-version": "2023-08-01-preview", "subscriptionId": "subId", "resourceGroupName": "rg1", "networkSecurityPerimeterName": "testNSP1" diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkSecurityPerimeterGet.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkSecurityPerimeterGet.json index 9fdab4ecb57b..1e9ddfab2f9b 100644 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkSecurityPerimeterGet.json +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkSecurityPerimeterGet.json @@ -1,7 +1,7 @@ { "title": "Get Network Security Perimeter", "parameters": { - "api-version": "2021-02-01-preview", + "api-version": "2023-08-01-preview", "subscriptionId": "subId", "resourceGroupName": "rg1", "networkSecurityPerimeterName": "nsp1" diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkSecurityPerimeterList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkSecurityPerimeterList.json index 19ecf72ad2c5..a435a9e84cf6 100644 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkSecurityPerimeterList.json +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkSecurityPerimeterList.json @@ -1,7 +1,7 @@ { "title": "List Network Security Perimeter", "parameters": { - "api-version": "2021-02-01-preview", + "api-version": "2023-08-01-preview", "subscriptionId": "subId", "resourceGroupName": "rg1" }, @@ -32,7 +32,7 @@ } } ], - "nextLink": "{baseurl}/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters?api-version=2021-02-01-preview&$skipToken=10" + "nextLink": "{baseurl}/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters?api-version=2023-08-01-preview&$skipToken=10" } } } diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkSecurityPerimeterListAll.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkSecurityPerimeterListAll.json index 8194a82e5b4b..ccc2f6479178 100644 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkSecurityPerimeterListAll.json +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkSecurityPerimeterListAll.json @@ -1,7 +1,7 @@ { "title": "List all the Network Security Perimeters in a Subscription", "parameters": { - "api-version": "2021-02-01-preview", + "api-version": "2023-08-01-preview", "subscriptionId": "subId" }, "responses": { @@ -31,7 +31,7 @@ } } ], - "nextLink": "{baseurl}/subscriptions/subId/providers/Microsoft.Network/networkSecurityPerimeters?api-version=2021-02-01-preview&$skipToken=10" + "nextLink": "{baseurl}/subscriptions/subId/providers/Microsoft.Network/networkSecurityPerimeters?api-version=2023-08-01-preview&$skipToken=10" } } } diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkSecurityPerimeterPatch.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkSecurityPerimeterPatch.json index 4c32a318a47b..86900847a86f 100644 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkSecurityPerimeterPatch.json +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkSecurityPerimeterPatch.json @@ -1,7 +1,7 @@ { "title": "Patch Network Security Perimeter", "parameters": { - "api-version": "2021-02-01-preview", + "api-version": "2023-08-01-preview", "subscriptionId": "subId", "resourceGroupName": "rg1", "networkSecurityPerimeterName": "nsp1", diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkSecurityPerimeterPut.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkSecurityPerimeterPut.json index 9336e4d47489..7d4cf388344a 100644 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkSecurityPerimeterPut.json +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NetworkSecurityPerimeterPut.json @@ -1,7 +1,7 @@ { "title": "Create/Update Network Security Perimeter", "parameters": { - "api-version": "2021-02-01-preview", + "api-version": "2023-08-01-preview", "subscriptionId": "subId", "resourceGroupName": "rg1", "networkSecurityPerimeterName": "nsp1", diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAccessRuleDelete.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAccessRuleDelete.json index 883c6a3cb22c..672f8b0419aa 100644 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAccessRuleDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAccessRuleDelete.json @@ -1,7 +1,7 @@ { "title": "Delete NSP access rule", "parameters": { - "api-version": "2021-02-01-preview", + "api-version": "2023-08-01-preview", "subscriptionId": "subId", "resourceGroupName": "rg1", "networkSecurityPerimeterName": "nsp1", diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAccessRuleGet.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAccessRuleGet.json index df8b54e3fc34..b1758fd1c78d 100644 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAccessRuleGet.json +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAccessRuleGet.json @@ -1,7 +1,7 @@ { "title": "Get NSP Access Rule", "parameters": { - "api-version": "2021-02-01-preview", + "api-version": "2023-08-01-preview", "subscriptionId": "subId", "resourceGroupName": "rg1", "networkSecurityPerimeterName": "nsp1", diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAccessRuleList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAccessRuleList.json index fc7151f1e756..4f729140ff65 100644 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAccessRuleList.json +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAccessRuleList.json @@ -1,7 +1,7 @@ { "title": "List NSP Access Rules", "parameters": { - "api-version": "2021-02-01-preview", + "api-version": "2023-08-01-preview", "subscriptionId": "subId", "resourceGroupName": "rg1", "networkSecurityPerimeterName": "nsp1", @@ -48,7 +48,7 @@ } } ], - "nextLink": "{baseurl}/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/profile1/accessRules?api-version=2021-02-01-preview&$skipToken=10" + "nextLink": "{baseurl}/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/profile1/accessRules?api-version=2023-08-01-preview&$skipToken=10" } } } diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAccessRulePut.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAccessRulePut.json index 7a0165c6a85d..ec499be1ec7d 100644 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAccessRulePut.json +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAccessRulePut.json @@ -1,7 +1,7 @@ { "title": "Create/Update NSP access rule", "parameters": { - "api-version": "2021-02-01-preview", + "api-version": "2023-08-01-preview", "subscriptionId": "subId", "resourceGroupName": "rg1", "networkSecurityPerimeterName": "nsp1", diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAccessRuleReconcile.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAccessRuleReconcile.json index a416485ea007..c00bcaf701c3 100644 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAccessRuleReconcile.json +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAccessRuleReconcile.json @@ -1,7 +1,7 @@ { "title": "Reconcile NSP access rule", "parameters": { - "api-version": "2021-02-01-preview", + "api-version": "2023-08-01-preview", "subscriptionId": "subId", "resourceGroupName": "rg1", "networkSecurityPerimeterName": "nsp1", diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAssociationDelete.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAssociationDelete.json index 2a0f14f633f3..767e90f16bab 100644 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAssociationDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAssociationDelete.json @@ -1,7 +1,7 @@ { "title": "Delete NSP resource association", "parameters": { - "api-version": "2021-02-01-preview", + "api-version": "2023-08-01-preview", "subscriptionId": "subId", "resourceGroupName": "rg1", "networkSecurityPerimeterName": "nsp1", diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAssociationGet.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAssociationGet.json index c7120c822352..5d9044d8babb 100644 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAssociationGet.json +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAssociationGet.json @@ -1,7 +1,7 @@ { "title": "Get NSP resource association", "parameters": { - "api-version": "2021-02-01-preview", + "api-version": "2023-08-01-preview", "subscriptionId": "subId", "resourceGroupName": "rg1", "networkSecurityPerimeterName": "nsp1", diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAssociationList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAssociationList.json index f83947796108..8d7eddaba902 100644 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAssociationList.json +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAssociationList.json @@ -1,7 +1,7 @@ { "title": "List NSP resource associations", "parameters": { - "api-version": "2021-02-01-preview", + "api-version": "2023-08-01-preview", "subscriptionId": "subId", "resourceGroupName": "rg1", "networkSecurityPerimeterName": "nsp1" @@ -59,7 +59,7 @@ } } ], - "nextLink": "{baseurl}/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/resourceAssociations?api-version=2021-02-01-preview&$skipToken=10" + "nextLink": "{baseurl}/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/resourceAssociations?api-version=2023-08-01-preview&$skipToken=10" } } } diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAssociationPut.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAssociationPut.json index f076e51a615a..8752d66b4e72 100644 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAssociationPut.json +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAssociationPut.json @@ -1,7 +1,7 @@ { "title": "Create/Update NSP association", "parameters": { - "api-version": "2021-02-01-preview", + "api-version": "2023-08-01-preview", "subscriptionId": "subId", "resourceGroupName": "rg1", "networkSecurityPerimeterName": "nsp1", diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAssociationReconcile.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAssociationReconcile.json index 9dc80cfbe7fe..aa8b29194f8e 100644 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAssociationReconcile.json +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAssociationReconcile.json @@ -1,7 +1,7 @@ { "title": "Reconcile NSP association", "parameters": { - "api-version": "2021-02-01-preview", + "api-version": "2023-08-01-preview", "subscriptionId": "subId", "resourceGroupName": "rg1", "networkSecurityPerimeterName": "nsp1", diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspLinkDelete.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspLinkDelete.json index e174fd3b540f..cd222844927d 100644 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspLinkDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspLinkDelete.json @@ -1,7 +1,7 @@ { "title": "Delete NSP link", "parameters": { - "api-version": "2021-02-01-preview", + "api-version": "2023-08-01-preview", "subscriptionId": "subId", "resourceGroupName": "rg1", "networkSecurityPerimeterName": "nsp1", diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspLinkGet.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspLinkGet.json index cc143bac1112..cb9905aeab32 100644 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspLinkGet.json +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspLinkGet.json @@ -1,7 +1,7 @@ { "title": "Get NSP Link", "parameters": { - "api-version": "2021-02-01-preview", + "api-version": "2023-08-01-preview", "subscriptionId": "subId", "resourceGroupName": "rg1", "networkSecurityPerimeterName": "nsp1", diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspLinkList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspLinkList.json index 43383d338647..b622f3cdb391 100644 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspLinkList.json +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspLinkList.json @@ -1,7 +1,7 @@ { "title": "List NSP Links", "parameters": { - "api-version": "2021-02-01-preview", + "api-version": "2023-08-01-preview", "subscriptionId": "subId", "resourceGroupName": "rg1", "networkSecurityPerimeterName": "nsp1" @@ -36,7 +36,7 @@ } } ], - "nextLink": "{baseurl}/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/links?api-version=2021-02-01-preview&$skipToken=10" + "nextLink": "{baseurl}/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/links?api-version=2023-08-01-preview&$skipToken=10" } } } diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspLinkPut.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspLinkPut.json index aff6b13aa0ad..75f309aaed62 100644 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspLinkPut.json +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspLinkPut.json @@ -1,7 +1,7 @@ { "title": "Create/Update NSP link", "parameters": { - "api-version": "2021-02-01-preview", + "api-version": "2023-08-01-preview", "subscriptionId": "subId", "resourceGroupName": "rg1", "networkSecurityPerimeterName": "nsp1", diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspLinkReferenceDelete.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspLinkReferenceDelete.json index 28bdc542d0aa..6e1d9b00b3d9 100644 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspLinkReferenceDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspLinkReferenceDelete.json @@ -1,7 +1,7 @@ { "title": "Delete NSP linkReference", "parameters": { - "api-version": "2021-02-01-preview", + "api-version": "2023-08-01-preview", "subscriptionId": "subId", "resourceGroupName": "rg1", "networkSecurityPerimeterName": "nsp2", diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspLinkReferenceGet.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspLinkReferenceGet.json index f150110ca1f3..57f1590fcbb3 100644 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspLinkReferenceGet.json +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspLinkReferenceGet.json @@ -1,7 +1,7 @@ { "title": "Get NSP LinkReference", "parameters": { - "api-version": "2021-02-01-preview", + "api-version": "2023-08-01-preview", "subscriptionId": "subId", "resourceGroupName": "rg1", "networkSecurityPerimeterName": "nsp2", diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspLinkReferenceList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspLinkReferenceList.json index 762c86db5656..0cd01f09f26d 100644 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspLinkReferenceList.json +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspLinkReferenceList.json @@ -1,7 +1,7 @@ { "title": "List NSP LinkReferences", "parameters": { - "api-version": "2021-02-01-preview", + "api-version": "2023-08-01-preview", "subscriptionId": "subId", "resourceGroupName": "rg1", "networkSecurityPerimeterName": "nsp2" @@ -36,7 +36,7 @@ } } ], - "nextLink": "{baseurl}/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp2/linkreferences?api-version=2021-02-01-preview&$skipToken=10" + "nextLink": "{baseurl}/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp2/linkreferences?api-version=2023-08-01-preview&$skipToken=10" } } } diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspProfileDelete.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspProfileDelete.json index 3aa62ed51f31..11c936beac22 100644 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspProfileDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspProfileDelete.json @@ -1,7 +1,7 @@ { "title": "Delete NSP profile", "parameters": { - "api-version": "2021-02-01-preview", + "api-version": "2023-08-01-preview", "subscriptionId": "subId", "resourceGroupName": "rg1", "networkSecurityPerimeterName": "nsp1", diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspProfileGet.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspProfileGet.json index ce38774c590c..9445ec71b721 100644 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspProfileGet.json +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspProfileGet.json @@ -1,7 +1,7 @@ { "title": "Get NSP Profile", "parameters": { - "api-version": "2021-02-01-preview", + "api-version": "2023-08-01-preview", "subscriptionId": "subId", "resourceGroupName": "rg1", "networkSecurityPerimeterName": "nsp1", diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspProfileList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspProfileList.json index 931ad7eb3002..f7f61f691691 100644 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspProfileList.json +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspProfileList.json @@ -1,7 +1,7 @@ { "title": "List NSP Profiles", "parameters": { - "api-version": "2021-02-01-preview", + "api-version": "2023-08-01-preview", "subscriptionId": "subId", "resourceGroupName": "rg1", "networkSecurityPerimeterName": "nsp1" @@ -31,7 +31,7 @@ } } ], - "nextLink": "{baseurl}/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles?api-version=2021-02-01-preview&$skipToken=10" + "nextLink": "{baseurl}/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles?api-version=2023-08-01-preview&$skipToken=10" } } } diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspProfilePut.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspProfilePut.json index 54bfe3eb654e..b2850811956c 100644 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspProfilePut.json +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspProfilePut.json @@ -1,7 +1,7 @@ { "title": "Create/Update NSP profile", "parameters": { - "api-version": "2021-02-01-preview", + "api-version": "2023-08-01-preview", "subscriptionId": "subId", "resourceGroupName": "rg1", "networkSecurityPerimeterName": "nsp1", diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/PerimeterAssociableResourcesList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/PerimeterAssociableResourcesList.json index c3ad3a1eed37..51b4495727d0 100644 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/PerimeterAssociableResourcesList.json +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/PerimeterAssociableResourcesList.json @@ -1,7 +1,7 @@ { "title": "List of resources onboarded for network security perimeter feature (perimeter associable resources).", "parameters": { - "api-version": "2021-02-01-preview", + "api-version": "2023-08-01-preview", "subscriptionId": "subId", "location": "westus" }, @@ -37,7 +37,7 @@ } } ], - "nextLink": "{baseurl}/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/perimeterAssociableResourceTypes?api-version=2021-02-01-preview&$skipToken=10" + "nextLink": "{baseurl}/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/perimeterAssociableResourceTypes?api-version=2023-08-01-preview&$skipToken=10" } } } diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/network.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/network.json index 4c98e9a3b595..e0428db6a2dc 100644 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/network.json +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/network.json @@ -3,7 +3,7 @@ "info": { "title": "NetworkManagementClient", "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", - "version": "2021-02-01-preview" + "version": "2023-08-01-preview" }, "host": "management.azure.com", "schemes": [ diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/networkManager.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/networkManager.json deleted file mode 100644 index afea315d69a7..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/networkManager.json +++ /dev/null @@ -1,705 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "NetworkManager", - "description": "The Microsoft Azure Virtual Network Manager API provides a RESTful set of web services that interact with Microsoft Azure Network Manager service to manage your network resources.", - "version": "2021-02-01-preview" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow.", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}": { - "parameters": [ - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/NetworkManagerNameParameter" - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - } - ], - "get": { - "tags": [ - "NetworkManagers" - ], - "operationId": "NetworkManagers_Get", - "description": "Gets the specified Network Manager.", - "responses": { - "200": { - "description": "OK - Returns information about the network manager.", - "schema": { - "$ref": "#/definitions/NetworkManager" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "NetworkManagersGet": { - "$ref": "./examples/NetworkManagerGet.json" - } - } - }, - "put": { - "tags": [ - "NetworkManagers" - ], - "operationId": "NetworkManagers_CreateOrUpdate", - "description": "Creates or updates a Network Manager.", - "parameters": [ - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/NetworkManager" - }, - "description": "Parameters supplied to specify which network manager is." - } - ], - "responses": { - "200": { - "description": "Updated - Returns information about the network manager.", - "schema": { - "$ref": "#/definitions/NetworkManager" - } - }, - "201": { - "description": "Created - Returns information about the network manager.", - "schema": { - "$ref": "#/definitions/NetworkManager" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Put Network Manager": { - "$ref": "./examples/NetworkManagerPut.json" - } - } - }, - "delete": { - "tags": [ - "NetworkManagers" - ], - "operationId": "NetworkManagers_Delete", - "description": "Deletes a network manager.", - "responses": { - "200": { - "description": "Delete Succeed." - }, - "204": { - "description": "Request successful. The resource does not exist." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "NetworkManagersDelete": { - "$ref": "./examples/NetworkManagerDelete.json" - } - } - }, - "patch": { - "tags": [ - "NetworkManagers" - ], - "operationId": "NetworkManagers_PatchTags", - "description": "Patch a NetworkManager Tags.", - "parameters": [ - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "./network.json#/definitions/TagsObject" - }, - "description": "Parameters supplied to update network manager tags." - } - ], - "responses": { - "200": { - "description": "Updated - Returns information about the network manager.", - "schema": { - "$ref": "#/definitions/NetworkManager" - } - }, - "default": { - "description": "Resource Provider error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "NetworkManagesPatch": { - "$ref": "./examples/NetworkManagerPatch.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/commit": { - "parameters": [ - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/NetworkManagerNameParameter" - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - } - ], - "post": { - "tags": [ - "NetworkManagers" - ], - "operationId": "NetworkManagerCommits_Post", - "description": "Post a Network Manager Commit.", - "parameters": [ - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/NetworkManagerCommit" - }, - "description": "Parameters supplied to specify which Managed Network commit is." - } - ], - "responses": { - "202": { - "description": "Accepted and the operation will complete asynchronously", - "schema": { - "$ref": "#/definitions/NetworkManagerCommit" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "NetworkManageCommitPost": { - "$ref": "./examples/NetworkManagerCommitPost.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/listDeploymentStatus": { - "parameters": [ - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/NetworkManagerNameParameter" - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - } - ], - "post": { - "tags": [ - "NetworkManagers" - ], - "operationId": "NetworkManagerDeploymentStatus_List", - "description": "Post to List of Network Manager Deployment Status.", - "parameters": [ - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/NetworkManagerDeploymentStatusParameter" - }, - "description": "Parameters supplied to specify which Managed Network deployment status is." - } - ], - "responses": { - "200": { - "description": "OK - Returns a list of deployment status.", - "schema": { - "$ref": "#/definitions/NetworkManagerDeploymentStatusListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "NetworkManagerDeploymentStatusList": { - "$ref": "./examples/NetworkManagerDeploymentStatusList.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkManagers": { - "get": { - "tags": [ - "NetworkManagers" - ], - "operationId": "NetworkManagers_ListBySubscription", - "description": "List all network managers in a subscription.", - "parameters": [ - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ListTopParameter" - }, - { - "$ref": "#/parameters/ListSkipTokenParameter" - } - ], - "responses": { - "200": { - "description": "OK - Returns information about the network managers.", - "schema": { - "$ref": "#/definitions/NetworkManagerListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "NetworkManagersList": { - "$ref": "./examples/NetworkManagerListAll.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers": { - "get": { - "tags": [ - "NetworkManagers" - ], - "operationId": "NetworkManagers_List", - "description": "List network managers in a resource group.", - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "parameters": [ - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ListTopParameter" - }, - { - "$ref": "#/parameters/ListSkipTokenParameter" - } - ], - "responses": { - "200": { - "description": "OK - Returns a list of network managers.", - "schema": { - "$ref": "#/definitions/NetworkManagerListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "List Network Manager": { - "$ref": "./examples/NetworkManagerList.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/listEffectiveVirtualNetworks": { - "post": { - "tags": [ - "NetworkManagers" - ], - "operationId": "EffectiveVirtualNetworks_ListByNetworkManager", - "description": "List effective virtual networks in a network manager.", - "parameters": [ - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/NetworkManagerNameParameter" - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ListTopParameter" - }, - { - "$ref": "#/parameters/ListSkipTokenParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/EffectiveVirtualNetworksParameter" - }, - "description": "Effective Virtual Networks Parameter." - } - ], - "responses": { - "200": { - "description": "OK - Returns a list of effective virtual networks.", - "schema": { - "$ref": "./networkManagerGroup.json#/definitions/EffectiveVirtualNetworksListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "List Effective Virtual Networks By Network Manager": { - "$ref": "./examples/NetworkManagerEffectiveVirtualNetworksListByNetworkManager.json" - } - } - } - } - }, - "definitions": { - "NetworkManager": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/NetworkManagerProperties", - "description": "The network manager properties" - }, - "etag": { - "readOnly": true, - "type": "string", - "description": "A unique read-only string that changes whenever the resource is updated." - }, - "systemData": { - "readOnly": true, - "description": "The system metadata related to this resource.", - "$ref": "./network.json#/definitions/SystemData" - } - }, - "allOf": [ - { - "$ref": "./network.json#/definitions/Resource" - } - ], - "description": "The Managed Network resource" - }, - "NetworkManagerListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/NetworkManager" - }, - "description": "Gets a page of NetworkManager" - }, - "nextLink": { - "type": "string", - "description": "Gets the URL to get the next page of results." - } - }, - "description": "Result of the request to list NetworkManager. It contains a list of network managers and a URL link to get the next set of results." - }, - "NetworkManagerProperties": { - "type": "object", - "properties": { - "displayName": { - "type": "string", - "description": "A friendly name for the network manager." - }, - "description": { - "type": "string", - "description": "A description of the network manager." - }, - "networkManagerScopes": { - "properties": { - "managementGroups": { - "type": "array", - "items": { - "type": "string" - }, - "description": "List of management groups." - }, - "subscriptions": { - "type": "array", - "items": { - "type": "string" - }, - "description": "List of subscriptions." - } - }, - "description": "Scope of Network Manager." - }, - "networkManagerScopeAccesses": { - "type": "array", - "items": { - "type": "string", - "$ref": "#/definitions/ConfigurationType" - }, - "description": "Scope Access." - }, - "provisioningState": { - "readOnly": true, - "$ref": "./network.json#/definitions/ProvisioningState", - "description": "The provisioning state of the scope assignment resource." - } - }, - "description": "Properties of Managed Network" - }, - "NetworkManagerCommit": { - "properties": { - "commitId": { - "type": "string", - "readOnly": true, - "description": "Commit Id." - }, - "targetLocations": { - "type": "array", - "items": { - "type": "string" - }, - "description": "List of target locations." - }, - "configurationIds": { - "type": "array", - "items": { - "type": "string" - }, - "description": "List of configuration ids." - }, - "commitType": { - "type": "string", - "$ref": "#/definitions/ConfigurationType", - "description": "Commit Type." - } - }, - "description": "Network Manager Commit." - }, - "NetworkManagerDeploymentStatusParameter": { - "properties": { - "regions": { - "type": "array", - "items": { - "type": "string" - }, - "description": "List of locations." - }, - "deploymentTypes": { - "type": "array", - "items": { - "$ref": "#/definitions/ConfigurationType" - }, - "description": "List of deployment types." - }, - "skipToken": { - "description": "Continuation token for pagination, capturing the next page size and offset, as well as the context of the query.", - "type": "string" - } - }, - "description": "Network Manager Deployment Status Parameter." - }, - "NetworkManagerDeploymentStatusListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/NetworkManagerDeploymentStatus" - }, - "description": "Gets a page of Network Manager Deployment Status" - }, - "skipToken": { - "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.", - "type": "string" - } - }, - "description": "A list of Network Manager Deployment Status" - }, - "NetworkManagerDeploymentStatus": { - "properties": { - "commitTime": { - "type": "string", - "format": "date-time", - "description": "Commit Time." - }, - "region": { - "type": "string", - "description": "Region Name." - }, - "deploymentStatus": { - "type": "string", - "enum": [ - "NotStarted", - "Deploying", - "Deployed", - "Failed" - ], - "x-ms-enum": { - "name": "DeploymentStatus", - "modelAsString": true - }, - "description": "Deployment Status." - }, - "configurationIds": { - "type": "array", - "items": { - "type": "string" - }, - "description": "List of configuration ids." - }, - "deploymentType": { - "type": "string", - "$ref": "#/definitions/ConfigurationType" - }, - "errorMessage": { - "type": "string", - "description": "Error Message." - } - }, - "description": "Network Manager Deployment Status." - }, - "ConfigurationType": { - "type": "string", - "enum": [ - "SecurityAdmin", - "SecurityUser", - "Connectivity" - ], - "x-ms-enum": { - "name": "ConfigurationType", - "modelAsString": true - }, - "description": "Configuration Deployment Type." - }, - "EffectiveVirtualNetworksParameter": { - "properties": { - "conditionalMembers": { - "type": "string", - "description": "Conditional Members." - }, - "skipToken": { - "description": "Continuation token for pagination, capturing the next page size and offset, as well as the context of the query.", - "type": "string" - } - }, - "description": "Effective Virtual Networks Parameter." - } - }, - "parameters": { - "ResourceGroupNameParameter": { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group.", - "x-ms-parameter-location": "method" - }, - "NetworkManagerNameParameter": { - "name": "networkManagerName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the network manager.", - "x-ms-parameter-location": "method" - }, - "ListTopParameter": { - "name": "$top", - "description": "An optional query parameter which specifies the maximum number of records to be returned by the server.", - "in": "query", - "required": false, - "type": "integer", - "format": "int32", - "minimum": 1, - "maximum": 20, - "x-ms-parameter-location": "method" - }, - "ListSkipTokenParameter": { - "name": "$skipToken", - "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.", - "in": "query", - "required": false, - "type": "string", - "x-ms-parameter-location": "method" - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/networkManagerActiveConfiguration.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/networkManagerActiveConfiguration.json deleted file mode 100644 index c898bfcbbde5..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/networkManagerActiveConfiguration.json +++ /dev/null @@ -1,503 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "NetworkManagerActiveConfiguration", - "description": "The Microsoft Azure Network Manager Active Configuration API provides a RESTful set of web services that interact with Microsoft Azure Network Manager service to list all active configuration by network manager.", - "version": "2021-02-01-preview" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow.", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/listActiveConnectivityConfigurations": { - "parameters": [ - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/NetworkManagerNameParameter" - } - ], - "post": { - "tags": [ - "NetworkManagerActiveConnectivityConfigurations" - ], - "parameters": [ - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ActiveConfigurationParameter" - }, - "description": "Active Configuration Parameter." - } - ], - "operationId": "ActiveConnectivityConfigurations_List", - "description": "Lists active connectivity configurations in a network manager.", - "responses": { - "200": { - "description": "Post successful. The operation returns the specified Managed Network active connectivity configuration resource.", - "schema": { - "$ref": "#/definitions/ActiveConnectivityConfigurationsListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "List Active Connectivity Configurations": { - "$ref": "./examples/NetworkManagerActiveConnectivityConfigurationsList.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/listActiveSecurityAdminRules": { - "parameters": [ - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/NetworkManagerNameParameter" - } - ], - "post": { - "tags": [ - "NetworkManagerActiveConfigurations" - ], - "parameters": [ - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ActiveConfigurationParameter" - }, - "description": "Active Configuration Parameter." - } - ], - "operationId": "ActiveSecurityAdminRules_List", - "description": "Lists active security admin rules in a network manager.", - "responses": { - "200": { - "description": "Post successful. The operation returns the specified Managed Network active security admin rules resource.", - "schema": { - "$ref": "#/definitions/ActiveSecurityAdminRulesListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "List Active Security Admin Rules": { - "$ref": "./examples/NetworkManagerActiveSecurityAdminRulesList.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/listActiveSecurityUserRules": { - "parameters": [ - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/NetworkManagerNameParameter" - } - ], - "post": { - "tags": [ - "NetworkManagerActiveSecurityUserRules" - ], - "parameters": [ - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ActiveConfigurationParameter" - }, - "description": "Active Configuration Parameter." - } - ], - "operationId": "ActiveSecurityUserRules_List", - "description": "Lists Active Security User Rules in a network manager.", - "responses": { - "200": { - "description": "Post successful. The operation returns the specified Managed Network active security user rules resource.", - "schema": { - "$ref": "#/definitions/ActiveSecurityUserRulesListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "List Active Security User Rules": { - "$ref": "./examples/NetworkManagerActiveSecurityUserRulesList.json" - } - } - } - } - }, - "definitions": { - "ActiveConfigurationParameter": { - "properties": { - "regions": { - "type": "array", - "items": { - "type": "string", - "description": "region Name." - }, - "description": "List of regions." - }, - "skipToken": { - "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.", - "type": "string" - } - }, - "description": "Effective Virtual Networks Parameter." - }, - "ActiveConnectivityConfiguration": { - "type": "object", - "properties": { - "commitTime": { - "type": "string", - "description": "Deployment time string.", - "format": "date-time" - }, - "region": { - "type": "string", - "description": "Deployment region." - } - }, - "allOf": [ - { - "$ref": "./networkManagerEffectiveConfiguration.json#/definitions/EffectiveConnectivityConfiguration" - } - ], - "description": "Active connectivity configuration." - }, - "ActiveConnectivityConfigurationsListResult": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ActiveConnectivityConfiguration" - }, - "description": "Gets a page of active connectivity configurations." - }, - "skipToken": { - "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.", - "type": "string" - } - }, - "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." - }, - "ActiveSecurityAdminRulesListResult": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ActiveBaseSecurityAdminRule" - }, - "description": "Gets a page of active security admin rules." - }, - "skipToken": { - "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.", - "type": "string" - } - }, - "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." - }, - "ActiveSecurityUserRulesListResult": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ActiveBaseSecurityUserRule" - }, - "description": "Gets a page of active security user rules." - }, - "skipToken": { - "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.", - "type": "string" - } - }, - "description": "Result of the request to list active security user rules. It contains a list of active security user rules and a skiptoken to get the next set of results." - }, - "ActiveBaseSecurityAdminRule": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Resource ID." - }, - "commitTime": { - "type": "string", - "description": "Deployment time string.", - "format": "date-time" - }, - "region": { - "type": "string", - "description": "Deployment region." - }, - "configurationDisplayName": { - "type": "string", - "description": "A display name of the security admin configuration." - }, - "configurationDescription": { - "type": "string", - "description": "A description of the security admin configuration." - }, - "ruleCollectionDisplayName": { - "type": "string", - "description": "A display name of the rule collection." - }, - "ruleCollectionDescription": { - "type": "string", - "description": "A description of the rule collection." - }, - "ruleCollectionAppliesToGroups": { - "type": "array", - "items": { - "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/NetworkManagerSecurityGroupItem" - }, - "description": "Groups for rule collection" - }, - "ruleGroups": { - "type": "array", - "items": { - "$ref": "./networkManagerEffectiveConfiguration.json#/definitions/ConfigurationGroup" - }, - "description": "Effective configuration groups." - }, - "kind": { - "type": "string", - "description": "Whether the rule is custom or default.", - "enum": [ - "Custom", - "Default" - ], - "x-ms-enum": { - "name": "EffectiveAdminRuleKind", - "modelAsString": true - } - } - }, - "required": [ - "kind" - ], - "discriminator": "kind", - "description": "Network base admin rule." - }, - "ActiveSecurityAdminRule": { - "type": "object", - "properties": { - "properties": { - "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/AdminPropertiesFormat", - "x-ms-client-flatten": true, - "description": "Indicates the properties of the security admin rule" - } - }, - "allOf": [ - { - "$ref": "#/definitions/ActiveBaseSecurityAdminRule" - } - ], - "description": "Network admin rule.", - "x-ms-discriminator-value": "Custom" - }, - "ActiveDefaultSecurityAdminRule": { - "type": "object", - "properties": { - "properties": { - "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/DefaultAdminPropertiesFormat", - "x-ms-client-flatten": true, - "description": "Indicates the properties of the default security admin rule" - } - }, - "allOf": [ - { - "$ref": "#/definitions/ActiveBaseSecurityAdminRule" - } - ], - "description": "Network default admin rule.", - "x-ms-discriminator-value": "Default" - }, - "ActiveBaseSecurityUserRule": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Resource ID." - }, - "commitTime": { - "type": "string", - "description": "Deployment time string.", - "format": "date-time" - }, - "region": { - "type": "string", - "description": "Deployment region." - }, - "configurationDisplayName": { - "type": "string", - "description": "A display name of the security user configuration." - }, - "configurationDescription": { - "type": "string", - "description": "A description of the security user configuration." - }, - "ruleCollectionDisplayName": { - "type": "string", - "description": "A display name of the rule collection." - }, - "ruleCollectionDescription": { - "type": "string", - "description": "A description of the rule collection." - }, - "ruleCollectionAppliesToGroups": { - "type": "array", - "items": { - "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/NetworkManagerSecurityGroupItem" - }, - "description": "Groups for rule collection" - }, - "ruleGroups": { - "type": "array", - "items": { - "$ref": "./networkManagerEffectiveConfiguration.json#/definitions/ConfigurationGroup" - }, - "description": "Effective configuration groups." - }, - "kind": { - "type": "string", - "description": "Whether the rule is custom or default.", - "enum": [ - "Custom", - "Default" - ], - "x-ms-enum": { - "name": "EffectiveUserRuleKind", - "modelAsString": true - } - } - }, - "required": [ - "kind" - ], - "discriminator": "kind", - "description": "Network base rule." - }, - "ActiveSecurityUserRule": { - "type": "object", - "properties": { - "properties": { - "$ref": "./networkManagerSecurityUserConfiguration.json#/definitions/UserRulePropertiesFormat", - "x-ms-client-flatten": true, - "description": "Indicates the properties of the security user rule" - } - }, - "allOf": [ - { - "$ref": "#/definitions/ActiveBaseSecurityUserRule" - } - ], - "description": "Network security user rule.", - "x-ms-discriminator-value": "Custom" - }, - "ActiveDefaultSecurityUserRule": { - "type": "object", - "properties": { - "properties": { - "$ref": "./networkManagerSecurityUserConfiguration.json#/definitions/DefaultUserRulePropertiesFormat", - "x-ms-client-flatten": true, - "description": "Indicates the properties of the security default user rule" - } - }, - "allOf": [ - { - "$ref": "#/definitions/ActiveBaseSecurityUserRule" - } - ], - "description": "Network security default user rule.", - "x-ms-discriminator-value": "Default" - } - }, - "parameters": { - "ResourceGroupNameParameter": { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group.", - "x-ms-parameter-location": "method" - }, - "NetworkManagerNameParameter": { - "name": "networkManagerName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the network manager.", - "x-ms-parameter-location": "method" - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/networkManagerConnectivityConfiguration.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/networkManagerConnectivityConfiguration.json deleted file mode 100644 index 05e0bf874eb4..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/networkManagerConnectivityConfiguration.json +++ /dev/null @@ -1,416 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "ConnectivityConfiguration", - "description": "The Microsoft Azure Virtual Network Manager Connectivity Configuration API provides a RESTful set of web services that interact with Microsoft Azure Network Manager service to manage your network resources.", - "version": "2021-02-01-preview" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow.", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/connectivityConfigurations/{configurationName}": { - "parameters": [ - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/NetworkManagerNameParameter" - }, - { - "$ref": "#/parameters/ConnectivityConfigurationNameParameter" - } - ], - "get": { - "tags": [ - "ConnectivityConfigurations" - ], - "operationId": "ConnectivityConfigurations_Get", - "description": "Gets a Network Connectivity Configuration, specified by the resource group, network manager name, and connectivity Configuration name", - "responses": { - "200": { - "description": "Get successful. The operation returns the specified Managed Network Connectivity Configuration resource.", - "schema": { - "$ref": "#/definitions/ConnectivityConfiguration" - } - }, - "default": { - "description": "Resource Provider error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "ConnectivityConfigurationsGet": { - "$ref": "./examples/NetworkManagerConnectivityConfigurationGet.json" - } - } - }, - "put": { - "tags": [ - "ConnectivityConfigurations" - ], - "operationId": "ConnectivityConfigurations_CreateOrUpdate", - "description": "Creates/Updates a new network manager connectivity configuration", - "parameters": [ - { - "name": "connectivityConfiguration", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ConnectivityConfiguration" - }, - "description": "Parameters supplied to create/update a network manager connectivity configuration" - } - ], - "responses": { - "200": { - "description": "Update successful. The operation returns the resulting network manager connectivity configuration.", - "schema": { - "$ref": "#/definitions/ConnectivityConfiguration" - } - }, - "201": { - "description": "Create successful. The operation returns the resulting network manager connectivity configuration.", - "schema": { - "$ref": "#/definitions/ConnectivityConfiguration" - } - }, - "default": { - "description": "Resource Provider error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "ConnectivityConfigurationsPut": { - "$ref": "./examples/NetworkManagerConnectivityConfigurationPut.json" - } - } - }, - "delete": { - "tags": [ - "ConnectivityConfigurations" - ], - "operationId": "ConnectivityConfigurations_Delete", - "description": "Deletes a network manager connectivity configuration, specified by the resource group, network manager name, and connectivity configuration name", - "responses": { - "200": { - "description": "Delete successful." - }, - "204": { - "description": "Request successful. The resource does not exist." - }, - "default": { - "description": "Resource Provider error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "ConnectivityConfigurationsDelete": { - "$ref": "./examples/NetworkManagerConnectivityConfigurationDelete.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/connectivityConfigurations": { - "get": { - "tags": [ - "ConnectivityConfigurations" - ], - "operationId": "ConnectivityConfigurations_List", - "description": "Lists all the network manager connectivity configuration in a specified network manager.", - "parameters": [ - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/NetworkManagerNameParameter" - }, - { - "$ref": "#/parameters/ListTopParameter" - }, - { - "$ref": "#/parameters/ListSkipTokenParameter" - } - ], - "responses": { - "200": { - "description": "Get successful. The operation returns all network manager connectivity configuration resources in the specified network manager, in a paginated format", - "schema": { - "$ref": "#/definitions/ConnectivityConfigurationListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "ConnectivityConfigurationsList": { - "$ref": "./examples/NetworkManagerConnectivityConfigurationList.json" - } - } - } - } - }, - "definitions": { - "ConnectivityConfigurationListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ConnectivityConfiguration" - }, - "description": "Gets a page of Connectivity Configurations" - }, - "nextLink": { - "type": "string", - "description": "Gets the URL to get the next page of results." - } - }, - "description": "Result of the request to list network manager connectivity configurations. It contains a list of configurations and a link to get the next set of results." - }, - "ConnectivityConfiguration": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ConnectivityConfigurationProperties", - "description": "Properties of a network manager connectivity configuration" - }, - "systemData": { - "readOnly": true, - "description": "The system metadata related to this resource.", - "$ref": "./network.json#/definitions/SystemData" - } - }, - "allOf": [ - { - "$ref": "./network.json#/definitions/ProxyResource" - } - ], - "description": "The network manager connectivity configuration resource" - }, - "ConnectivityConfigurationProperties": { - "properties": { - "displayName": { - "type": "string", - "description": "A friendly name for the resource." - }, - "description": { - "type": "string", - "description": "A description of the connectivity configuration." - }, - "connectivityTopology": { - "type": "string", - "enum": [ - "HubAndSpoke", - "Mesh" - ], - "x-ms-enum": { - "name": "ConnectivityTopology", - "modelAsString": true - }, - "description": "Connectivity topology type." - }, - "hubs": { - "type": "array", - "items": { - "$ref": "#/definitions/Hub" - }, - "description": "List of hubItems" - }, - "isGlobal": { - "type": "string", - "enum": [ - "False", - "True" - ], - "x-ms-enum": { - "name": "IsGlobal", - "modelAsString": true - }, - "description": "Flag if global mesh is supported." - }, - "appliesToGroups": { - "type": "array", - "items": { - "$ref": "#/definitions/connectivityGroupItem" - }, - "description": "Groups for configuration" - }, - "provisioningState": { - "readOnly": true, - "$ref": "./network.json#/definitions/ProvisioningState", - "description": "The provisioning state of the connectivity configuration resource." - }, - "deleteExistingPeering": { - "type": "string", - "enum": [ - "False", - "True" - ], - "x-ms-enum": { - "name": "DeleteExistingPeering", - "modelAsString": true - }, - "description": "Flag if need to remove current existing peerings." - } - }, - "required": [ - "connectivityTopology" - ], - "description": "Properties of network manager connectivity configuration" - }, - "Hub": { - "type": "object", - "properties": { - "resourceId": { - "type": "string", - "description": "Resource Id." - }, - "resourceType": { - "type": "string", - "description": "Resource Type." - } - }, - "description": "Hub Item." - }, - "connectivityGroupItem": { - "type": "object", - "properties": { - "networkGroupId": { - "type": "string", - "description": "Network group Id." - }, - "useHubGateway": { - "type": "string", - "enum": [ - "False", - "True" - ], - "x-ms-enum": { - "name": "UseHubGateway", - "modelAsString": true - }, - "description": "Flag if need to use hub gateway." - }, - "isGlobal": { - "type": "string", - "enum": [ - "False", - "True" - ], - "x-ms-enum": { - "name": "IsGlobal", - "modelAsString": true - }, - "description": "Flag if global is supported." - }, - "groupConnectivity": { - "type": "string", - "enum": [ - "None", - "DirectlyConnected" - ], - "x-ms-enum": { - "name": "GroupConnectivity", - "modelAsString": true - }, - "description": "Group connectivity type." - } - } - } - }, - "parameters": { - "ConnectivityConfigurationNameParameter": { - "name": "configurationName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the network manager connectivity configuration.", - "x-ms-parameter-location": "method" - }, - "ResourceGroupNameParameter": { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group.", - "x-ms-parameter-location": "method" - }, - "NetworkManagerNameParameter": { - "name": "networkManagerName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the network manager.", - "x-ms-parameter-location": "method" - }, - "ListTopParameter": { - "name": "$top", - "description": "An optional query parameter which specifies the maximum number of records to be returned by the server.", - "in": "query", - "required": false, - "type": "integer", - "format": "int32", - "minimum": 1, - "maximum": 20, - "x-ms-parameter-location": "method" - }, - "ListSkipTokenParameter": { - "name": "$skipToken", - "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.", - "in": "query", - "required": false, - "type": "string", - "x-ms-parameter-location": "method" - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/networkManagerEffectiveConfiguration.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/networkManagerEffectiveConfiguration.json deleted file mode 100644 index e7459bb64abd..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/networkManagerEffectiveConfiguration.json +++ /dev/null @@ -1,325 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "NetworkManagerEffectiveConfiguration", - "description": "The Microsoft Azure Network Manager effective configuration API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", - "version": "2021-02-01-preview" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow.", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/listNetworkManagerEffectiveConnectivityConfigurations": { - "parameters": [ - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/VirtualNetworkNameParameter" - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - } - ], - "post": { - "tags": [ - "NetworkManagerEffectiveConnectivityConfiguration" - ], - "parameters": [ - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "./networkManagerGroup.json#/definitions/QueryRequestOptions" - }, - "description": "Parameters supplied to list correct page." - } - ], - "operationId": "EffectiveConnectivityConfigurations_List", - "description": "List all effective connectivity configurations applied on a virtual network.", - "responses": { - "200": { - "description": "OK - Returns information about the configurations.", - "schema": { - "$ref": "#/definitions/NetworkManagerEffectiveConnectivityConfigurationListResult" - } - }, - "default": { - "description": "Resource Provider error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "List effective connectivity configuration": { - "$ref": "./examples/NetworkManagerEffectiveConnectivityConfigurationsList.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/listNetworkManagerEffectiveSecurityAdminRules": { - "parameters": [ - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/VirtualNetworkNameParameter" - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - } - ], - "post": { - "tags": [ - "NetworkManagerEffectiveSecurityAdminRules" - ], - "parameters": [ - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "./networkManagerGroup.json#/definitions/QueryRequestOptions" - }, - "description": "Parameters supplied to list correct page." - } - ], - "operationId": "NetworkManagerEffectiveSecurityAdminRules_List", - "description": "List all effective security admin rules applied on a virtual network.", - "responses": { - "200": { - "description": "OK - Returns information about the configurations.", - "schema": { - "$ref": "#/definitions/NetworkManagerEffectiveSecurityAdminRulesListResult" - } - }, - "default": { - "description": "Resource Provider error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "List effective security admin rules": { - "$ref": "./examples/NetworkManagerEffectiveSecurityAdminRulesList.json" - } - } - } - } - }, - "definitions": { - "NetworkManagerEffectiveConnectivityConfigurationListResult": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/EffectiveConnectivityConfiguration" - }, - "description": "Gets a page of NetworkManagerEffectiveConnectivityConfiguration" - }, - "skipToken": { - "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.", - "type": "string" - } - }, - "description": "Result of the request to list networkManagerEffectiveConnectivityConfiguration. It contains a list of groups and a skiptoken to get the next set of results." - }, - "NetworkManagerEffectiveSecurityAdminRulesListResult": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/EffectiveBaseSecurityAdminRule" - }, - "description": "Gets a page of NetworkManagerEffectiveSecurityAdminRules" - }, - "skipToken": { - "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.", - "type": "string" - } - }, - "description": "Result of the request to list networkManagerEffectiveSecurityAdminRules. It contains a list of groups and a skiptoken to get the next set of results." - }, - "EffectiveConnectivityConfiguration": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Resource ID." - }, - "properties": { - "x-ms-client-flatten": true, - "$ref": "./networkManagerConnectivityConfiguration.json#/definitions/ConnectivityConfigurationProperties", - "description": "Properties of a network manager connectivity configuration" - }, - "configurationGroups": { - "type": "array", - "items": { - "$ref": "#/definitions/ConfigurationGroup" - }, - "description": "Effective configuration groups." - } - }, - "description": "The network manager effective connectivity configuration" - }, - "EffectiveBaseSecurityAdminRule": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Resource ID." - }, - "configurationDisplayName": { - "type": "string", - "description": "A display name of the security admin configuration." - }, - "configurationDescription": { - "type": "string", - "description": "A description of the security admin configuration." - }, - "ruleCollectionDisplayName": { - "type": "string", - "description": "A display name of the rule collection." - }, - "ruleCollectionDescription": { - "type": "string", - "description": "A description of the rule collection." - }, - "ruleCollectionAppliesToGroups": { - "type": "array", - "items": { - "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/NetworkManagerSecurityGroupItem" - }, - "description": "Groups for rule collection" - }, - "ruleGroups": { - "type": "array", - "items": { - "$ref": "#/definitions/ConfigurationGroup" - }, - "description": "Effective configuration groups." - }, - "kind": { - "type": "string", - "description": "Whether the rule is custom or default.", - "enum": [ - "Custom", - "Default" - ], - "x-ms-enum": { - "name": "EffectiveAdminRuleKind", - "modelAsString": true - } - } - }, - "required": [ - "kind" - ], - "discriminator": "kind", - "description": "Network base admin rule." - }, - "EffectiveSecurityAdminRule": { - "type": "object", - "properties": { - "properties": { - "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/AdminPropertiesFormat", - "x-ms-client-flatten": true, - "description": "Indicates the properties of the security admin rule" - } - }, - "allOf": [ - { - "$ref": "#/definitions/EffectiveBaseSecurityAdminRule" - } - ], - "description": "Network admin rule.", - "x-ms-discriminator-value": "Custom" - }, - "EffectiveDefaultSecurityAdminRule": { - "type": "object", - "properties": { - "properties": { - "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/DefaultAdminPropertiesFormat", - "x-ms-client-flatten": true, - "description": "Indicates the properties of the default security admin rule" - } - }, - "allOf": [ - { - "$ref": "#/definitions/EffectiveBaseSecurityAdminRule" - } - ], - "description": "Network default admin rule.", - "x-ms-discriminator-value": "Default" - }, - "ConfigurationGroup": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Resource ID." - }, - "properties": { - "x-ms-client-flatten": true, - "$ref": "./networkManagerGroup.json#/definitions/NetworkGroupProperties", - "description": "The network configuration group properties" - } - }, - "description": "The network configuration group resource" - } - }, - "parameters": { - "ResourceGroupNameParameter": { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group.", - "x-ms-parameter-location": "method" - }, - "VirtualNetworkNameParameter": { - "name": "virtualNetworkName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the virtual network.", - "x-ms-parameter-location": "method" - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/networkManagerGroup.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/networkManagerGroup.json deleted file mode 100644 index 8c2b26ad18fc..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/networkManagerGroup.json +++ /dev/null @@ -1,455 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "NetworkGroup", - "description": "The Microsoft Azure Network Group API provides a RESTful set of web services that interact with Microsoft Azure Network Manager service to manage your network resources.", - "version": "2021-02-01-preview" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow.", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/networkGroups/{networkGroupName}": { - "parameters": [ - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/NetworkManagerNameParameter" - }, - { - "$ref": "#/parameters/NetworkGroupNameParameter" - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - } - ], - "get": { - "tags": [ - "NetworkGroups" - ], - "operationId": "NetworkGroups_Get", - "description": "Gets the specified network group.", - "responses": { - "200": { - "description": "OK - Returns information about the network group.", - "schema": { - "$ref": "#/definitions/NetworkGroup" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "NetworkGroupsGet": { - "$ref": "./examples/NetworkManagerGroupGet.json" - } - } - }, - "put": { - "tags": [ - "NetworkGroups" - ], - "operationId": "NetworkGroups_CreateOrUpdate", - "description": "Creates or updates a network group.", - "parameters": [ - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/NetworkGroup" - }, - "description": "Parameters supplied to the specify which network group need to create" - }, - { - "name": "If-Match", - "in": "header", - "required": false, - "type": "string", - "x-ms-client-name": "IfMatch", - "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." - } - ], - "responses": { - "200": { - "description": "Updated - Returns information about the network group.", - "schema": { - "$ref": "#/definitions/NetworkGroup" - }, - "headers": { - "ETag": { - "description": "The current entity tag.", - "type": "string" - } - } - }, - "201": { - "description": "Created - Returns information about the network group.", - "schema": { - "$ref": "#/definitions/NetworkGroup" - }, - "headers": { - "ETag": { - "description": "The current entity tag.", - "type": "string" - } - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "NetworkGroupsPut": { - "$ref": "./examples/NetworkManagerGroupPut.json" - } - } - }, - "delete": { - "tags": [ - "NetworkGroups" - ], - "operationId": "NetworkGroups_Delete", - "description": "Deletes a network group.", - "responses": { - "200": { - "description": "Delete Succeed." - }, - "204": { - "description": "Request successful. The resource does not exist." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "NetworkGroupsDelete": { - "$ref": "./examples/NetworkManagerGroupDelete.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/networkGroups": { - "get": { - "tags": [ - "NetworkGroups" - ], - "operationId": "NetworkGroups_List", - "description": "Lists the specified network group.", - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "parameters": [ - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/NetworkManagerNameParameter" - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/ListTopParameter" - }, - { - "$ref": "#/parameters/ListSkipTokenParameter" - } - ], - "responses": { - "200": { - "description": "OK - Returns information about the network group.", - "schema": { - "$ref": "#/definitions/NetworkGroupListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "NetworkGroupsList": { - "$ref": "./examples/NetworkManagerGroupList.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/networkGroups/{networkGroupName}/listEffectiveVirtualNetworks": { - "post": { - "tags": [ - "NetworkGroups" - ], - "operationId": "EffectiveVirtualNetworks_ListByNetworkGroup", - "description": "Lists all effective virtual networks by specified network group.", - "parameters": [ - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/NetworkManagerNameParameter" - }, - { - "$ref": "#/parameters/NetworkGroupNameParameter" - }, - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/QueryRequestOptions" - }, - "description": "Parameters supplied to list correct page." - } - ], - "responses": { - "200": { - "description": "OK - Returns information about the effective virtual networks.", - "schema": { - "$ref": "#/definitions/EffectiveVirtualNetworksListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "NetworkGroupsList": { - "$ref": "./examples/NetworkManagerEffectiveVirtualNetworksList.json" - } - } - } - } - }, - "definitions": { - "NetworkGroup": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/NetworkGroupProperties", - "description": "The Network Group properties" - }, - "systemData": { - "readOnly": true, - "description": "The system metadata related to this resource.", - "$ref": "./network.json#/definitions/SystemData" - } - }, - "allOf": [ - { - "$ref": "./network.json#/definitions/ProxyResource" - } - ], - "description": "The network group resource" - }, - "NetworkGroupListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/NetworkGroup" - }, - "description": "Gets a page of NetworkGroup" - }, - "nextLink": { - "type": "string", - "description": "Gets the URL to get the next set of results." - } - }, - "description": "Result of the request to list NetworkGroup. It contains a list of groups and a URL link to get the next set of results." - }, - "NetworkGroupProperties": { - "type": "object", - "properties": { - "displayName": { - "type": "string", - "description": "A friendly name for the network group." - }, - "description": { - "type": "string", - "description": "A description of the network group." - }, - "memberType": { - "type": "string", - "description": "Group member type." - }, - "groupMembers": { - "type": "array", - "items": { - "$ref": "#/definitions/groupMembersItem" - }, - "description": "Group members of network group." - }, - "conditionalMembership": { - "type": "string", - "description": "Network group conditional filter." - }, - "provisioningState": { - "readOnly": true, - "$ref": "./network.json#/definitions/ProvisioningState", - "description": "The provisioning state of the scope assignment resource." - } - }, - "description": "Properties of network group" - }, - "groupMembersItem": { - "type": "object", - "properties": { - "resourceId": { - "type": "string", - "description": "Resource Id." - } - }, - "description": "GroupMembers Item." - }, - "QueryRequestOptions": { - "properties": { - "skipToken": { - "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.", - "type": "string" - } - }, - "description": "Query Request Options" - }, - "EffectiveVirtualNetworksListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/EffectiveVirtualNetwork" - }, - "description": "Gets a page of EffectiveVirtualNetwork" - }, - "skipToken": { - "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.", - "type": "string" - } - }, - "description": "Result of the request to list Effective Virtual Network. It contains a list of groups and a URL link to get the next set of results." - }, - "EffectiveVirtualNetwork": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Effective vnet Id." - }, - "location": { - "type": "string", - "description": "Location of vnet." - }, - "membershipType": { - "type": "string", - "description": "Membership Type.", - "enum": [ - "Static", - "Dynamic" - ], - "x-ms-enum": { - "name": "MembershipType", - "modelAsString": true - } - } - }, - "description": "Effective Virtual Network" - } - }, - "parameters": { - "ResourceGroupNameParameter": { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group.", - "x-ms-parameter-location": "method" - }, - "NetworkManagerNameParameter": { - "name": "networkManagerName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the network manager.", - "x-ms-parameter-location": "method" - }, - "NetworkGroupNameParameter": { - "name": "networkGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the network group to get.", - "x-ms-parameter-location": "method" - }, - "ListTopParameter": { - "name": "$top", - "description": "An optional query parameter which specifies the maximum number of records to be returned by the server.", - "in": "query", - "required": false, - "type": "integer", - "format": "int32", - "minimum": 1, - "maximum": 20, - "x-ms-parameter-location": "method" - }, - "ListSkipTokenParameter": { - "name": "$skipToken", - "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.", - "in": "query", - "required": false, - "type": "string", - "x-ms-parameter-location": "method" - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/networkManagerSecurityAdminConfiguration.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/networkManagerSecurityAdminConfiguration.json deleted file mode 100644 index cf7706d09e19..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/networkManagerSecurityAdminConfiguration.json +++ /dev/null @@ -1,1064 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "SecurityAdminConfiguration", - "version": "2021-02-01-preview" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow.", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations": { - "get": { - "tags": [ - "SecurityAdminConfigurations" - ], - "operationId": "SecurityAdminConfigurations_List", - "description": "Lists all the network manager security admin configurations in a network manager, in a paginated format.", - "parameters": [ - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/NetworkManagerNameParameter" - }, - { - "$ref": "#/parameters/ListTopParameter" - }, - { - "$ref": "#/parameters/ListSkipTokenParameter" - } - ], - "responses": { - "200": { - "description": "Get successful. The operation returns all security admin configuration resources in the specified network manager, in a paginated format", - "schema": { - "$ref": "#/definitions/SecurityConfigurationListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "List security admin configurations in a network manager": { - "$ref": "./examples/NetworkManagerSecurityAdminConfigurationList.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations/{configurationName}": { - "parameters": [ - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/NetworkManagerNameParameter" - }, - { - "$ref": "#/parameters/SecurityConfigurationParameter" - } - ], - "get": { - "tags": [ - "SecurityAdminConfigurations" - ], - "description": "Retrieves a network manager security admin configuration.", - "operationId": "SecurityAdminConfigurations_Get", - "responses": { - "200": { - "description": "successful operation", - "schema": { - "$ref": "#/definitions/SecurityConfiguration" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Get security admin configurations": { - "$ref": "./examples/NetworkManagerSecurityAdminConfigurationGet.json" - } - } - }, - "put": { - "tags": [ - "SecurityAdminConfigurations" - ], - "description": "Creates or updates a network manager security admin configuration.", - "operationId": "SecurityAdminConfigurations_CreateOrUpdate", - "parameters": [ - { - "name": "securityAdminConfiguration", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/SecurityConfiguration" - }, - "description": "The security admin configuration to create or update" - } - ], - "responses": { - "200": { - "description": "Updated Admin Configuration", - "schema": { - "$ref": "#/definitions/SecurityConfiguration" - } - }, - "201": { - "description": "Created Admin Configuration", - "schema": { - "$ref": "#/definitions/SecurityConfiguration" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Create network manager security admin configuration": { - "$ref": "./examples/NetworkManagerSecurityAdminConfigurationPut.json" - } - } - }, - "delete": { - "tags": [ - "SecurityAdminConfigurations" - ], - "description": "Deletes a network manager security admin configuration.", - "operationId": "SecurityAdminConfigurations_Delete", - "responses": { - "200": { - "description": "OK" - }, - "204": { - "description": "Request successful. Resource does not exist." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Delete network manager security admin configuration": { - "$ref": "./examples/NetworkManagerSecurityAdminConfigurationDelete.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations/{configurationName}/ruleCollections": { - "get": { - "tags": [ - "AdminRuleCollections" - ], - "operationId": "AdminRuleCollections_List", - "description": "Lists all the rule collections in a security admin configuration, in a paginated format.", - "parameters": [ - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/NetworkManagerNameParameter" - }, - { - "$ref": "#/parameters/SecurityConfigurationParameter" - }, - { - "$ref": "#/parameters/ListTopParameter" - }, - { - "$ref": "#/parameters/ListSkipTokenParameter" - } - ], - "responses": { - "200": { - "description": "Get successful. The operation returns all ruleCollections in the specified security configuration, in a paginated format", - "schema": { - "$ref": "#/definitions/RuleCollectionListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "List security admin rule collections": { - "$ref": "./examples/NetworkManagerAdminRuleCollectionList.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}": { - "parameters": [ - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/NetworkManagerNameParameter" - }, - { - "$ref": "#/parameters/SecurityConfigurationParameter" - }, - { - "$ref": "#/parameters/RuleCollectionParameter" - } - ], - "get": { - "tags": [ - "AdminRuleCollections" - ], - "description": "Gets a network manager security admin configuration rule collection.", - "operationId": "AdminRuleCollections_Get", - "responses": { - "200": { - "description": "Successful operation", - "schema": { - "$ref": "#/definitions/RuleCollection" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Gets security admin rule collection": { - "$ref": "./examples/NetworkManagerAdminRuleCollectionGet.json" - } - } - }, - "put": { - "tags": [ - "AdminRuleCollections" - ], - "description": "Creates or updates an admin rule collection.", - "operationId": "AdminRuleCollections_CreateOrUpdate", - "parameters": [ - { - "name": "ruleCollection", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/RuleCollection" - }, - "description": "The Rule Collection to create or update" - } - ], - "responses": { - "200": { - "description": "Updated Rule Collection", - "schema": { - "$ref": "#/definitions/RuleCollection" - } - }, - "201": { - "description": "Created Rule Collection", - "schema": { - "$ref": "#/definitions/RuleCollection" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Create or Update an admin rule collection": { - "$ref": "./examples/NetworkManagerAdminRuleCollectionPut.json" - } - } - }, - "delete": { - "tags": [ - "AdminRuleCollections" - ], - "description": "Deletes an admin rule collection.", - "operationId": "AdminRuleCollections_Delete", - "responses": { - "200": { - "description": "OK" - }, - "204": { - "description": "Request successful. Resource does not exist." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Deletes an admin rule collection": { - "$ref": "./examples/NetworkManagerAdminRuleCollectionDelete.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}/rules": { - "parameters": [ - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/NetworkManagerNameParameter" - }, - { - "$ref": "#/parameters/SecurityConfigurationParameter" - }, - { - "$ref": "#/parameters/RuleCollectionParameter" - }, - { - "$ref": "#/parameters/ListTopParameter" - }, - { - "$ref": "#/parameters/ListSkipTokenParameter" - } - ], - "get": { - "tags": [ - "AdminRules" - ], - "description": "List all network manager security configuration admin rules.", - "operationId": "AdminRules_List", - "responses": { - "200": { - "description": "Successful operation", - "schema": { - "$ref": "#/definitions/AdminRuleListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "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}": { - "parameters": [ - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/NetworkManagerNameParameter" - }, - { - "$ref": "#/parameters/SecurityConfigurationParameter" - }, - { - "$ref": "#/parameters/RuleCollectionParameter" - }, - { - "$ref": "#/parameters/SecurityConfigurationsRuleParameter" - } - ], - "get": { - "tags": [ - "AdminRules" - ], - "description": "Gets a network manager security configuration admin rule.", - "operationId": "AdminRules_Get", - "responses": { - "200": { - "description": "Successful operation", - "schema": { - "$ref": "#/definitions/BaseAdminRule" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Gets security admin rule": { - "$ref": "./examples/NetworkManagerAdminRuleGet.json" - }, - "Gets security default admin rule": { - "$ref": "./examples/NetworkManagerDefaultAdminRuleGet.json" - } - } - }, - "put": { - "tags": [ - "AdminRules" - ], - "description": "Creates or updates an admin rule.", - "operationId": "AdminRules_CreateOrUpdate", - "parameters": [ - { - "name": "adminRule", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/BaseAdminRule" - }, - "description": "The admin rule to create or update" - } - ], - "responses": { - "200": { - "description": "Updated rule", - "schema": { - "$ref": "#/definitions/BaseAdminRule" - } - }, - "201": { - "description": "Created rule", - "schema": { - "$ref": "#/definitions/BaseAdminRule" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Create an admin rule": { - "$ref": "./examples/NetworkManagerAdminRulePut.json" - }, - "Create a default admin rule": { - "$ref": "./examples/NetworkManagerDefaultAdminRulePut.json" - } - } - }, - "delete": { - "tags": [ - "AdminRules" - ], - "description": "Deletes an admin rule.", - "operationId": "AdminRules_Delete", - "responses": { - "200": { - "description": "OK" - }, - "204": { - "description": "Request successful. Resource does not exist." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Deletes an admin rule": { - "$ref": "./examples/NetworkManagerAdminRuleDelete.json" - } - } - } - } - }, - "definitions": { - "SecurityConfiguration": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/SecurityConfigurationPropertiesFormat", - "description": "Indicates the properties for the network manager security Configuration." - }, - "systemData": { - "readOnly": true, - "description": "The system metadata related to this resource.", - "$ref": "./network.json#/definitions/SystemData" - } - }, - "allOf": [ - { - "$ref": "./network.json#/definitions/ProxyResource" - } - ], - "description": "Defines the security configuration" - }, - "SecurityConfigurationPropertiesFormat": { - "properties": { - "displayName": { - "type": "string", - "description": "A display name of the security configuration." - }, - "description": { - "type": "string", - "description": "A description of the security configuration." - }, - "securityType": { - "type": "string", - "description": "Security Type.", - "enum": [ - "AdminPolicy", - "UserPolicy" - ], - "x-ms-enum": { - "name": "SecurityType", - "modelAsString": true - } - }, - "deleteExistingNSGs": { - "type": "string", - "enum": [ - "False", - "True" - ], - "x-ms-enum": { - "name": "DeleteExistingNSGs", - "modelAsString": true - }, - "description": "Flag if need to delete existing network security groups." - }, - "provisioningState": { - "readOnly": true, - "$ref": "./network.json#/definitions/ProvisioningState", - "description": "The provisioning state of the resource." - } - }, - "description": "Defines the security Configuration properties." - }, - "SecurityConfigurationListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/SecurityConfiguration" - }, - "description": "Gets a page of security configurations" - }, - "nextLink": { - "type": "string", - "description": "Gets the URL to get the next page of results." - } - }, - "description": "A list of network manager security configurations" - }, - "AdminRuleListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/BaseAdminRule" - }, - "description": "A list of admin rules" - }, - "nextLink": { - "type": "string", - "description": "The URL to get the next set of results." - } - }, - "description": "security configuration admin rule list result." - }, - "RuleCollectionListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/RuleCollection" - }, - "description": "A list of network manager security configuration rule collections" - }, - "nextLink": { - "type": "string", - "description": "Gets the URL to get the next set of results." - } - }, - "description": "Security configuration rule collection list result." - }, - "RuleCollection": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/RuleCollectionPropertiesFormat", - "description": "Indicates the properties for the network manager rule collection." - }, - "systemData": { - "readOnly": true, - "description": "The system metadata related to this resource.", - "$ref": "./network.json#/definitions/SystemData" - } - }, - "allOf": [ - { - "$ref": "./network.json#/definitions/ProxyResource" - } - ], - "description": "Defines the rule collection." - }, - "RuleCollectionPropertiesFormat": { - "properties": { - "displayName": { - "type": "string", - "description": "A display name of the rule collection." - }, - "description": { - "type": "string", - "description": "A description of the rule collection." - }, - "appliesToGroups": { - "type": "array", - "items": { - "$ref": "#/definitions/NetworkManagerSecurityGroupItem" - }, - "description": "Groups for configuration" - }, - "provisioningState": { - "readOnly": true, - "$ref": "./network.json#/definitions/ProvisioningState", - "description": "The provisioning state of the resource." - } - }, - "description": "Defines the rule collection properties." - }, - "BaseAdminRule": { - "properties": { - "kind": { - "type": "string", - "description": "Whether the rule is custom or default.", - "enum": [ - "Custom", - "Default" - ], - "x-ms-enum": { - "name": "AdminRuleKind", - "modelAsString": true - } - }, - "systemData": { - "readOnly": true, - "description": "The system metadata related to this resource.", - "$ref": "./network.json#/definitions/SystemData" - } - }, - "allOf": [ - { - "$ref": "./network.json#/definitions/ProxyResource" - } - ], - "required": [ - "kind" - ], - "discriminator": "kind", - "description": "Network base admin rule." - }, - "AdminRule": { - "properties": { - "properties": { - "$ref": "#/definitions/AdminPropertiesFormat", - "x-ms-client-flatten": true, - "description": "Indicates the properties of the security admin rule" - } - }, - "allOf": [ - { - "$ref": "#/definitions/BaseAdminRule" - } - ], - "description": "Network admin rule.", - "x-ms-discriminator-value": "Custom" - }, - "AdminPropertiesFormat": { - "properties": { - "displayName": { - "type": "string", - "description": "A friendly name for the rule." - }, - "description": { - "type": "string", - "description": "A description for this rule. Restricted to 140 chars." - }, - "protocol": { - "type": "string", - "$ref": "#/definitions/RuleProtocol", - "description": "Network protocol this rule applies to." - }, - "sources": { - "type": "array", - "items": { - "$ref": "#/definitions/AddressPrefixItem" - }, - "description": "The CIDR or source IP ranges." - }, - "destinations": { - "type": "array", - "items": { - "$ref": "#/definitions/AddressPrefixItem" - }, - "description": "The destination address prefixes. CIDR or destination IP ranges." - }, - "sourcePortRanges": { - "type": "array", - "items": { - "type": "string", - "description": "The source port." - }, - "description": "The source port ranges." - }, - "destinationPortRanges": { - "type": "array", - "items": { - "type": "string", - "description": "The destination port." - }, - "description": "The destination port ranges." - }, - "access": { - "$ref": "#/definitions/SecurityConfigurationRuleAccess", - "description": "Indicates the access allowed for this particular rule" - }, - "priority": { - "type": "integer", - "format": "int32", - "minimum": 1, - "maximum": 4096, - "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." - }, - "direction": { - "$ref": "#/definitions/SecurityConfigurationRuleDirection", - "description": "Indicates if the traffic matched against the rule in inbound or outbound." - }, - "provisioningState": { - "readOnly": true, - "$ref": "./network.json#/definitions/ProvisioningState", - "description": "The provisioning state of the resource." - } - }, - "required": [ - "protocol", - "access", - "direction" - ], - "description": "Security admin rule resource." - }, - "DefaultAdminRule": { - "properties": { - "properties": { - "$ref": "#/definitions/DefaultAdminPropertiesFormat", - "x-ms-client-flatten": true, - "description": "Indicates the properties of the security admin rule" - } - }, - "allOf": [ - { - "$ref": "#/definitions/BaseAdminRule" - } - ], - "description": "Network default admin rule.", - "x-ms-discriminator-value": "Default" - }, - "DefaultAdminPropertiesFormat": { - "type": "object", - "properties": { - "displayName": { - "type": "string", - "readOnly": true, - "description": "A friendly name for the rule." - }, - "description": { - "type": "string", - "readOnly": true, - "description": "A description for this rule. Restricted to 140 chars." - }, - "flag": { - "type": "string", - "description": "Default rule flag." - }, - "protocol": { - "type": "string", - "readOnly": true, - "$ref": "#/definitions/RuleProtocol", - "description": "Network protocol this rule applies to." - }, - "sources": { - "type": "array", - "readOnly": true, - "items": { - "$ref": "#/definitions/AddressPrefixItem" - }, - "description": "The CIDR or source IP ranges." - }, - "destinations": { - "type": "array", - "readOnly": true, - "items": { - "$ref": "#/definitions/AddressPrefixItem" - }, - "description": "The destination address prefixes. CIDR or destination IP ranges." - }, - "sourcePortRanges": { - "type": "array", - "readOnly": true, - "items": { - "type": "string", - "description": "The source port." - }, - "description": "The source port ranges." - }, - "destinationPortRanges": { - "type": "array", - "readOnly": true, - "items": { - "type": "string", - "description": "The destination port." - }, - "description": "The destination port ranges." - }, - "access": { - "$ref": "#/definitions/SecurityConfigurationRuleAccess", - "readOnly": true, - "description": "Indicates the access allowed for this particular rule" - }, - "priority": { - "type": "integer", - "format": "int32", - "readOnly": true, - "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." - }, - "direction": { - "$ref": "#/definitions/SecurityConfigurationRuleDirection", - "readOnly": true, - "description": "Indicates if the traffic matched against the rule in inbound or outbound." - }, - "provisioningState": { - "readOnly": true, - "$ref": "./network.json#/definitions/ProvisioningState", - "description": "The provisioning state of the resource." - } - }, - "description": "Security default admin rule resource." - }, - "SecurityConfigurationRuleAccess": { - "type": "string", - "description": "Whether network traffic is allowed or denied.", - "enum": [ - "Allow", - "Deny", - "AlwaysAllow" - ], - "x-ms-enum": { - "name": "SecurityConfigurationRuleAccess", - "modelAsString": true - } - }, - "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 - } - }, - "RuleProtocol": { - "type": "string", - "description": "Network protocol this rule applies to.", - "enum": [ - "Tcp", - "Udp", - "Icmp", - "Esp", - "Any", - "Ah" - ], - "x-ms-enum": { - "name": "SecurityConfigurationRuleProtocol", - "modelAsString": true - } - }, - "NetworkManagerSecurityGroupItem": { - "type": "object", - "properties": { - "networkGroupId": { - "type": "string", - "description": "Network manager group Id." - } - }, - "description": "Network manager security group item." - }, - "AddressPrefixItem": { - "type": "object", - "properties": { - "addressPrefix": { - "type": "string", - "description": "Address prefix." - }, - "addressPrefixType": { - "type": "string", - "description": "Address prefix type.", - "enum": [ - "IPPrefix", - "ServiceTag" - ], - "x-ms-enum": { - "name": "AddressPrefixType", - "modelAsString": true - } - } - }, - "description": "Address prefix item." - } - }, - "parameters": { - "SecurityConfigurationParameter": { - "name": "configurationName", - "in": "path", - "description": "The name of the network manager security Configuration.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "RuleCollectionParameter": { - "name": "ruleCollectionName", - "in": "path", - "description": "The name of the network manager security Configuration rule collection.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "SecurityConfigurationsRuleParameter": { - "name": "ruleName", - "in": "path", - "description": "The name of the rule.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "ResourceGroupNameParameter": { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group.", - "x-ms-parameter-location": "method" - }, - "NetworkManagerNameParameter": { - "name": "networkManagerName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the network manager.", - "x-ms-parameter-location": "method" - }, - "ListTopParameter": { - "name": "$top", - "description": "An optional query parameter which specifies the maximum number of records to be returned by the server.", - "in": "query", - "required": false, - "type": "integer", - "format": "int32", - "minimum": 1, - "maximum": 20, - "x-ms-parameter-location": "method" - }, - "ListSkipTokenParameter": { - "name": "$skipToken", - "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.", - "in": "query", - "required": false, - "type": "string", - "x-ms-parameter-location": "method" - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/networkManagerSecurityUserConfiguration.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/networkManagerSecurityUserConfiguration.json deleted file mode 100644 index b155cbd891c6..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/networkManagerSecurityUserConfiguration.json +++ /dev/null @@ -1,830 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "SecurityUserConfiguration", - "version": "2021-02-01-preview" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow.", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations": { - "get": { - "tags": [ - "SecurityUserConfigurations" - ], - "operationId": "SecurityUserConfigurations_List", - "description": "Lists all the network manager security user configurations in a network manager, in a paginated format.", - "parameters": [ - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/NetworkManagerNameParameter" - }, - { - "$ref": "#/parameters/ListTopParameter" - }, - { - "$ref": "#/parameters/ListSkipTokenParameter" - } - ], - "responses": { - "200": { - "description": "Get successful. The operation returns all security user configurations in the specified network manager, in a paginated format", - "schema": { - "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/SecurityConfigurationListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "List security user configurations in a network manager": { - "$ref": "./examples/NetworkManagerSecurityUserConfigurationList.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}": { - "parameters": [ - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/NetworkManagerNameParameter" - }, - { - "$ref": "#/parameters/SecurityConfigurationParameter" - } - ], - "get": { - "tags": [ - "SecurityUserConfigurations" - ], - "description": "Retrieves a network manager security user configuration.", - "operationId": "SecurityUserConfigurations_Get", - "responses": { - "200": { - "description": "Successful operation", - "schema": { - "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/SecurityConfiguration" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Get security user configurations": { - "$ref": "./examples/NetworkManagerSecurityUserConfigurationGet.json" - } - } - }, - "put": { - "tags": [ - "SecurityUserConfigurations" - ], - "description": "Creates or updates a network manager security user configuration.", - "operationId": "SecurityUserConfigurations_CreateOrUpdate", - "parameters": [ - { - "name": "securityUserConfiguration", - "in": "body", - "required": true, - "schema": { - "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/SecurityConfiguration" - }, - "description": "The security user configuration to create or update" - } - ], - "responses": { - "200": { - "description": "Updated Configuration", - "schema": { - "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/SecurityConfiguration" - } - }, - "201": { - "description": "Created Configuration", - "schema": { - "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/SecurityConfiguration" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Create network manager security user configuration": { - "$ref": "./examples/NetworkManagerSecurityUserConfigurationPut.json" - } - } - }, - "delete": { - "tags": [ - "SecurityUserConfigurations" - ], - "description": "Deletes a network manager security user configuration.", - "operationId": "SecurityUserConfigurations_Delete", - "responses": { - "200": { - "description": "OK" - }, - "204": { - "description": "Request successful. Resource does not exist." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Delete network manager security user configuration": { - "$ref": "./examples/NetworkManagerSecurityUserConfigurationDelete.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}/ruleCollections": { - "get": { - "tags": [ - "UserRuleCollections" - ], - "operationId": "UserRuleCollections_List", - "description": "Lists all the user rule collections in a security configuration, in a paginated format.", - "parameters": [ - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/NetworkManagerNameParameter" - }, - { - "$ref": "#/parameters/SecurityConfigurationParameter" - }, - { - "$ref": "#/parameters/ListTopParameter" - }, - { - "$ref": "#/parameters/ListSkipTokenParameter" - } - ], - "responses": { - "200": { - "description": "Get successful. The operation returns all ruleCollections in the specified security configuration, in a paginated format", - "schema": { - "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/RuleCollectionListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "List rule collections in a security configuration": { - "$ref": "./examples/NetworkManagerUserRuleCollectionList.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}": { - "parameters": [ - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/NetworkManagerNameParameter" - }, - { - "$ref": "#/parameters/SecurityConfigurationParameter" - }, - { - "$ref": "#/parameters/RuleCollectionParameter" - } - ], - "get": { - "tags": [ - "RuleCollections" - ], - "description": "Gets a network manager security user configuration rule collection.", - "operationId": "UserRuleCollections_Get", - "responses": { - "200": { - "description": "Successful operation", - "schema": { - "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/RuleCollection" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Gets security user rule collection": { - "$ref": "./examples/NetworkManagerUserRuleCollectionGet.json" - } - } - }, - "put": { - "tags": [ - "UserRuleCollections" - ], - "description": "Creates or updates a user rule collection.", - "operationId": "UserRuleCollections_CreateOrUpdate", - "parameters": [ - { - "name": "userRuleCollection", - "in": "body", - "required": true, - "schema": { - "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/RuleCollection" - }, - "description": "The User Rule Collection to create or update" - } - ], - "responses": { - "200": { - "description": "Updated User Rule Collection", - "schema": { - "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/RuleCollection" - } - }, - "201": { - "description": "Created User Rule Collection", - "schema": { - "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/RuleCollection" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Create or Update a User Rule Collection": { - "$ref": "./examples/NetworkManagerUserRuleCollectionPut.json" - } - } - }, - "delete": { - "tags": [ - "UserRuleCollections" - ], - "description": "Deletes a user rule collection.", - "operationId": "UserRuleCollections_Delete", - "responses": { - "200": { - "description": "OK" - }, - "204": { - "description": "Request successful. Resource does not exist." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Deletes a user rule collection": { - "$ref": "./examples/NetworkManagerUserRuleCollectionDelete.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}/rules": { - "parameters": [ - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/NetworkManagerNameParameter" - }, - { - "$ref": "#/parameters/SecurityConfigurationParameter" - }, - { - "$ref": "#/parameters/RuleCollectionParameter" - }, - { - "$ref": "#/parameters/ListTopParameter" - }, - { - "$ref": "#/parameters/ListSkipTokenParameter" - } - ], - "get": { - "tags": [ - "UserRules" - ], - "description": "Lists all user rules in a rule collection.", - "operationId": "UserRules_List", - "responses": { - "200": { - "description": "Successful operation", - "schema": { - "$ref": "#/definitions/UserRuleListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "List security user rules": { - "$ref": "./examples/NetworkManagerUserRuleList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}/rules/{ruleName}": { - "parameters": [ - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/NetworkManagerNameParameter" - }, - { - "$ref": "#/parameters/SecurityConfigurationParameter" - }, - { - "$ref": "#/parameters/RuleCollectionParameter" - }, - { - "$ref": "#/parameters/SecurityConfigurationsRuleParameter" - } - ], - "get": { - "tags": [ - "UserRules" - ], - "description": "Gets a user rule.", - "operationId": "UserRules_Get", - "responses": { - "200": { - "description": "Successful operation", - "schema": { - "$ref": "#/definitions/BaseUserRule" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Gets a user rule": { - "$ref": "./examples/NetworkManagerUserRuleGet.json" - }, - "Gets a default user rule": { - "$ref": "./examples/NetworkManagerDefaultUserRuleGet.json" - } - } - }, - "put": { - "tags": [ - "UserRules" - ], - "description": "Creates or updates a user rule.", - "operationId": "UserRules_CreateOrUpdate", - "parameters": [ - { - "name": "userRule", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/BaseUserRule" - }, - "description": "The user rule to create or update" - } - ], - "responses": { - "200": { - "description": "Updated rule", - "schema": { - "$ref": "#/definitions/BaseUserRule" - } - }, - "201": { - "description": "Created rule", - "schema": { - "$ref": "#/definitions/BaseUserRule" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Create a user rule": { - "$ref": "./examples/NetworkManagerUserRulePut.json" - }, - "Create a default user rule": { - "$ref": "./examples/NetworkManagerDefaultUserRulePut.json" - } - } - }, - "delete": { - "tags": [ - "UserRules" - ], - "description": "Deletes a user rule.", - "operationId": "UserRules_Delete", - "responses": { - "200": { - "description": "Delete Succeed." - }, - "204": { - "description": "Request successful. Resource does not exist." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Delete a user rule": { - "$ref": "./examples/NetworkManagerUserRuleDelete.json" - } - } - } - } - }, - "definitions": { - "BaseUserRule": { - "properties": { - "kind": { - "type": "string", - "description": "Whether the rule is custom or default.", - "enum": [ - "Custom", - "Default" - ], - "x-ms-enum": { - "name": "UserRuleKind", - "modelAsString": true - } - }, - "systemData": { - "readOnly": true, - "description": "The system metadata related to this resource.", - "$ref": "./network.json#/definitions/SystemData" - } - }, - "allOf": [ - { - "$ref": "./network.json#/definitions/ProxyResource" - } - ], - "required": [ - "kind" - ], - "discriminator": "kind", - "description": "Network base rule." - }, - "UserRuleListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/BaseUserRule" - }, - "description": "A list of user rules" - }, - "nextLink": { - "type": "string", - "description": "The URL to get the next set of results." - } - }, - "description": "security user rule list result." - }, - "UserRule": { - "properties": { - "properties": { - "$ref": "#/definitions/UserRulePropertiesFormat", - "x-ms-client-flatten": true, - "description": "Indicates the properties of the security user rule" - } - }, - "allOf": [ - { - "$ref": "#/definitions/BaseUserRule" - } - ], - "description": "Network security user rule.", - "x-ms-discriminator-value": "Custom" - }, - "UserRulePropertiesFormat": { - "type": "object", - "properties": { - "displayName": { - "type": "string", - "description": "A friendly name for the rule." - }, - "description": { - "type": "string", - "description": "A description for this rule." - }, - "protocol": { - "type": "string", - "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/RuleProtocol", - "description": "Network protocol this rule applies to." - }, - "sources": { - "type": "array", - "items": { - "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/AddressPrefixItem" - }, - "description": "The CIDR or source IP ranges." - }, - "destinations": { - "type": "array", - "items": { - "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/AddressPrefixItem" - }, - "description": "The destination address prefixes. CIDR or destination IP ranges." - }, - "sourcePortRanges": { - "type": "array", - "items": { - "type": "string", - "description": "The source port." - }, - "description": "The source port ranges." - }, - "destinationPortRanges": { - "type": "array", - "items": { - "type": "string", - "description": "The destination port." - }, - "description": "The destination port ranges." - }, - "direction": { - "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/SecurityConfigurationRuleDirection", - "description": "Indicates if the traffic matched against the rule in inbound or outbound." - }, - "provisioningState": { - "readOnly": true, - "$ref": "./network.json#/definitions/ProvisioningState", - "description": "The provisioning state of the security configuration user rule resource." - } - }, - "required": [ - "protocol", - "direction" - ], - "description": "Security rule resource." - }, - "DefaultUserRule": { - "properties": { - "properties": { - "$ref": "#/definitions/DefaultUserRulePropertiesFormat", - "x-ms-client-flatten": true, - "description": "Indicates the properties of the security default user rule" - } - }, - "allOf": [ - { - "$ref": "#/definitions/BaseUserRule" - } - ], - "description": "Network security default user rule.", - "x-ms-discriminator-value": "Default" - }, - "DefaultUserRulePropertiesFormat": { - "type": "object", - "properties": { - "displayName": { - "type": "string", - "readOnly": true, - "description": "A friendly name for the rule." - }, - "description": { - "type": "string", - "readOnly": true, - "description": "A description for this rule. Restricted to 140 chars." - }, - "flag": { - "type": "string", - "description": "Default rule flag." - }, - "protocol": { - "type": "string", - "readOnly": true, - "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/RuleProtocol", - "description": "Network protocol this rule applies to." - }, - "sources": { - "type": "array", - "readOnly": true, - "items": { - "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/AddressPrefixItem" - }, - "description": "The CIDR or source IP ranges." - }, - "destinations": { - "type": "array", - "readOnly": true, - "items": { - "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/AddressPrefixItem" - }, - "description": "The destination address prefixes. CIDR or destination IP ranges." - }, - "sourcePortRanges": { - "type": "array", - "readOnly": true, - "items": { - "type": "string", - "description": "The source port." - }, - "description": "The source port ranges." - }, - "destinationPortRanges": { - "type": "array", - "readOnly": true, - "items": { - "type": "string", - "description": "The destination port." - }, - "description": "The destination port ranges." - }, - "direction": { - "$ref": "./networkManagerSecurityAdminConfiguration.json#/definitions/SecurityConfigurationRuleDirection", - "readOnly": true, - "description": "Indicates if the traffic matched against the rule in inbound or outbound." - }, - "provisioningState": { - "readOnly": true, - "$ref": "./network.json#/definitions/ProvisioningState", - "description": "The provisioning state of the security configuration user rule resource." - } - }, - "description": "Security default user rule resource." - } - }, - "parameters": { - "SecurityConfigurationParameter": { - "name": "configurationName", - "in": "path", - "description": "The name of the network manager security Configuration.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "RuleCollectionParameter": { - "name": "ruleCollectionName", - "in": "path", - "description": "The name of the network manager security Configuration rule collection.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "SecurityConfigurationsRuleParameter": { - "name": "ruleName", - "in": "path", - "description": "The name of the rule.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "ResourceGroupNameParameter": { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group.", - "x-ms-parameter-location": "method" - }, - "NetworkManagerNameParameter": { - "name": "networkManagerName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the network manager.", - "x-ms-parameter-location": "method" - }, - "ListTopParameter": { - "name": "$top", - "description": "An optional query parameter which specifies the maximum number of records to be returned by the server.", - "in": "query", - "required": false, - "type": "integer", - "format": "int32", - "minimum": 1, - "maximum": 20, - "x-ms-parameter-location": "method" - }, - "ListSkipTokenParameter": { - "name": "$skipToken", - "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.", - "in": "query", - "required": false, - "type": "string", - "x-ms-parameter-location": "method" - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/networkSecurityPerimeter.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/networkSecurityPerimeter.json index 7d7ad0a16ddf..8c1f12b658c4 100644 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/networkSecurityPerimeter.json +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/networkSecurityPerimeter.json @@ -3,7 +3,7 @@ "info": { "title": "NetworkSecurityPerimeter", "description": "The Network Security Perimeter API provides a RESTful set of web services that interact with network security perimeter resource.", - "version": "2021-02-01-preview" + "version": "2023-08-01-preview" }, "host": "management.azure.com", "schemes": [ From 7d693687b2a5ffa528fece8328d1e59999bfbed5 Mon Sep 17 00:00:00 2001 From: Kaushal Kumar Date: Wed, 18 Oct 2023 15:13:21 +0530 Subject: [PATCH 3/3] Add service tags property and update Readme --- .../examples/NspAccessRuleGet.json | 3 ++- .../examples/NspAccessRuleList.json | 6 ++++-- .../examples/NspAccessRulePut.json | 6 ++++-- .../networkSecurityPerimeter.json | 7 +++++++ .../network/resource-manager/readme.md | 19 +++++++++++++++++++ 5 files changed, 36 insertions(+), 5 deletions(-) diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAccessRuleGet.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAccessRuleGet.json index b1758fd1c78d..8f9bbdeeaab2 100644 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAccessRuleGet.json +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAccessRuleGet.json @@ -25,7 +25,8 @@ "subscriptions": [], "networkSecurityPerimeters": [], "emailAddresses": [], - "phoneNumbers": [] + "phoneNumbers": [], + "serviceTags": [] } } } diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAccessRuleList.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAccessRuleList.json index 4f729140ff65..6ed4eacde4c2 100644 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAccessRuleList.json +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAccessRuleList.json @@ -26,7 +26,8 @@ "subscriptions": [], "networkSecurityPerimeters": [], "emailAddresses": [], - "phoneNumbers": [] + "phoneNumbers": [], + "serviceTags": [] } }, { @@ -44,7 +45,8 @@ "subscriptions": [], "networkSecurityPerimeters": [], "emailAddresses": [], - "phoneNumbers": [] + "phoneNumbers": [], + "serviceTags": [] } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAccessRulePut.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAccessRulePut.json index ec499be1ec7d..bbad41eaa228 100644 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAccessRulePut.json +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/examples/NspAccessRulePut.json @@ -34,7 +34,8 @@ "subscriptions": [], "networkSecurityPerimeters": [], "emailAddresses": [], - "phoneNumbers": [] + "phoneNumbers": [], + "serviceTags": [] } } }, @@ -54,7 +55,8 @@ "subscriptions": [], "networkSecurityPerimeters": [], "emailAddresses": [], - "phoneNumbers": [] + "phoneNumbers": [], + "serviceTags": [] } } } diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/networkSecurityPerimeter.json b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/networkSecurityPerimeter.json index 8c1f12b658c4..158ce493005f 100644 --- a/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/networkSecurityPerimeter.json +++ b/specification/network/resource-manager/Microsoft.Network/preview/2023-08-01-preview/networkSecurityPerimeter.json @@ -1514,6 +1514,13 @@ "type": "string" }, "description": "Outbound rules phone number format." + }, + "serviceTags": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Inbound rules service tag names." } }, "description": "Properties of NSP access rule." diff --git a/specification/network/resource-manager/readme.md b/specification/network/resource-manager/readme.md index 2501fe133971..98a94a291d55 100644 --- a/specification/network/resource-manager/readme.md +++ b/specification/network/resource-manager/readme.md @@ -31,6 +31,25 @@ openapi-type: arm tag: package-2023-05 ``` +### Tag: package-2023-08-preview + +These settings apply only when `--tag=package-2023-08-preview` is specified on the command line. + +``` yaml $(tag) == 'package-2023-08-preview' +input-file: + - Microsoft.Network/preview/2023-08-01-preview/network.json + - Microsoft.Network/preview/2023-08-01-preview/networkSecurityPerimeter.json +``` + +### Tag: package-2023-07-preview + +These settings apply only when `--tag=package-2023-07-preview` is specified on the command line. + +``` yaml $(tag) == 'package-2023-07-preview' +input-file: + - Microsoft.Network/preview/2023-07-01-preview/network.json + - Microsoft.Network/preview/2023-07-01-preview/networkSecurityPerimeter.json +``` ### Tag: package-2023-05