Skip to content

Network Fabric 2024-06-15-preview #27973

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Empty file.
Empty file.
165 changes: 78 additions & 87 deletions src/ManagedNetworkFabric/ManagedNetworkFabric.Autorest/README.md
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,14 @@ For information on how to develop for `Az.ManagedNetworkFabric`, see [how-to.md]

```yaml
# pin the swagger version by using the commit id instead of branch name
commit: 0d7b535d1273b18623ca0d63a6ebb0456dab95ba
commit: 2655e1cb46e7cba81e7b0fa0cdd2fbeaa75fd715
require:
# readme.azure.noprofile.md is the common configuration file
- $(this-folder)/../../readme.azure.noprofile.md
- $(repo)/specification/managednetworkfabric/resource-manager/readme.md
input-file:
# You need to specify your swagger files here.
- $(repo)/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/managednetworkfabric.json

# For new RP, the version is 0.1.0
module-version: 0.1.0
Expand All @@ -45,9 +48,9 @@ use-extension:

# If there are post APIs for some kinds of actions in the RP, you may need to
# uncomment following line to support viaIdentity for these post APIs
identity-correction-for-post: true
resourcegroup-append: true
nested-object-to-string: true
# identity-correction-for-post: true
# resourcegroup-append: true
# nested-object-to-string: true

directive:
# Following is two common directive which are normally required in all the RPs
Expand All @@ -73,6 +76,26 @@ directive:
subject: DeprovisionNetworkFabric
set:
subject: Deprovision
- where:
verb: Invoke
subject: ArmNetworkFabricConfigurationDiff
set:
subject: ArmConfigurationDiff
- where:
verb: Invoke
subject: CommitNetworkFabricBatchStatus
set:
subject: CommitBatchStatus
- where:
verb: Invoke
subject: CommitNetworkFabricConfiguration
set:
subject: CommitConfiguration
- where:
verb: Invoke
subject: ViewNetworkFabricDeviceConfiguration
set:
subject: DeviceConfiguration
# Normalize names for unknown or miscategorized cmdlets
- where:
subject: ^NetworkFabric$
Expand All @@ -85,8 +108,24 @@ directive:
verb: Update
variant: ^UpgradeViaJsonString$|^UpgradeViaJsonFilePath$|^UpgradeExpanded$|^Upgrade$|^UpgradeViaIdentityExpanded$|^UpgradeViaIdentity$
set:
subject: NetworkDeviceUpgrade
subject: DeviceUpgrade
verb: Invoke
- where:
verb: Update
subject: ExternalNetworkAdministrativeState
set:
verb: Invoke
- where:
verb: Update
subject: ExternalNetworkBfdAdministrativeState
set:
verb: Invoke
- where:
verb: Update
subject: NetworkToNetworkInterconnectBfdAdministrativeState
set:
verb: Invoke
subject: NniBfdAdministrativeState
- where:
verb: Update
subject: NetworkInterfaceAdministrativeState
Expand Down Expand Up @@ -134,7 +173,7 @@ directive:
set:
subject: L3DomainUpdateAdminState
- where:
verb: Get|Update
verb: Get|Update|Start|Invoke
subject: NetworkDevice
set:
subject: Device
Expand Down Expand Up @@ -174,19 +213,11 @@ directive:
set:
subject: TapRule
- where:
verb: Get|New|Remove
verb: Get|New|Remove|Invoke
subject: NetworkToNetworkInterconnect
set:
subject: Nni
# Remove cmdlets for the resources since the explicit operation is not allowed
- where:
verb: Update
subject: NetworkFabricController
remove: true
- where:
verb: Update
subject: NetworkFabric
remove: true
- where:
verb: Get
subject: NetworkFabricTopology
Expand All @@ -199,10 +230,6 @@ directive:
verb: Update
subject: NetworkFabricWorkloadManagementBfdConfiguration
remove: true
- where:
verb: Invoke
subject: CommitNetworkFabricConfiguration
remove: true
- where:
verb: Update
subject: NetworkFabricConfiguration
Expand All @@ -215,14 +242,6 @@ directive:
verb: New|Remove|Restart
subject: NetworkDevice
remove: true
- where:
verb: Invoke
subject: NetworkDeviceUpgrade
remove: true
- where:
verb: Update
subject: NetworkDeviceAdministrativeState
remove: true
- where:
verb: Update
subject: NetworkDeviceConfiguration
Expand All @@ -235,61 +254,33 @@ directive:
verb: Update
subject: NetworkToNetworkInterconnectAdministrativeState
remove: true
- where:
verb: Update
subject: NetworkToNetworkInterconnectNpbStaticRouteBfdAdministrativeState
remove: true
- where:
verb: New|Update
subject: NetworkInterface
remove: true
- where:
verb: Update
subject: L2IsolationDomain
remove: true
- where:
verb: Invoke
subject: CommitL2IsolationDomainConfiguration
remove: true
- where:
verb: Update
subject: L3IsolationDomain
remove: true
- where:
verb: Invoke
subject: CommitL3IsolationDomainConfiguration
remove: true
- where:
verb: Update
subject: InternalNetwork
subject: ExternalNetworkAdministrativeState
remove: true
- where:
verb: Update
subject: InternalNetworkAdministrativeState
remove: true
- where:
verb: Update
subject: InternalNetworkBgpAdministrativeState
remove: true
- where:
verb: Update
subject: InternalNetworkStaticRouteBfdAdministrativeState
remove: true
- where:
verb: Update
subject: ExternalNetwork
subject: InternalNetworkBfdAdministrativeState
remove: true
- where:
verb: Update
subject: ExternalNetworkAdministrativeState
remove: true
- where:
verb: Update
subject: ExternalNetworkStaticRouteBfdAdministrativeState
remove: true
- where:
verb: Update
subject: AccessControlList
subject: InternalNetworkBgpAdministrativeState
remove: true
- where:
verb: Update
Expand All @@ -307,26 +298,6 @@ directive:
verb: New|Remove
subject: InternetGateway
remove: true
- where:
verb: Update
subject: InternetGatewayRule
remove: true
- where:
verb: Update
subject: IPCommunity
remove: true
- where:
verb: Update
subject: IPExtendedCommunity
remove: true
- where:
verb: Update
subject: IPPrefix
remove: true
- where:
verb: Update
subject: RoutePolicy
remove: true
- where:
verb: Update
subject: RoutePolicyAdministrativeState
Expand All @@ -339,18 +310,10 @@ directive:
verb: New|Update|Remove
subject: NetworkPacketBroker
remove: true
- where:
verb: Update
subject: NetworkTap
remove: true
- where:
verb: Invoke
subject: ResyncNetworkTap
remove: true
- where:
verb: Update
subject: NetworkTapRule
remove: true
- where:
verb: Invoke
subject: ResyncNetworkTapRule
Expand All @@ -363,7 +326,35 @@ directive:
verb: Remove
subject: Interface
remove: true
# Handle 200 status code not exist in swagger spec for DELETE API's
- where:
verb: Get|New|Remove|Update
subject: NetworkMonitor
remove: true
- where:
verb: Update
subject: NetworkMonitorAdministrativeState
remove: true
- where:
verb: New
parameter-name: OptionAPropertiesBfdConfigurationIntervalInMilliSecond
set:
parameter-name: optionAPropertyBfdConfigurationInterval
- where:
verb: New
parameter-name: OptionAPropertiesBfdConfigurationMultiplier
set:
parameter-name: OptionAPropertyBfdConfigurationMultiplier
- where:
verb: New
parameter-name: StaticRouteConfigurationBfdConfigurationIntervalInMilliSecond
set:
parameter-name: StaticRouteConfigurationBfdConfigurationInterval
- where:
verb: New
parameter-name: BfdConfigurationIntervalInMilliSecond
set:
parameter-name: BfdConfigurationInterval
# Handle 200 status code not exist in swagger spec for DELETE API's
- from: swagger-document
where: $.paths..delete.responses
transform: >-
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "accessControlLists",
"apiVersion": "2023-06-15",
"apiVersion": "2024-06-15-preview",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.managednetworkfabric"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "internetGatewayRules",
"apiVersion": "2023-06-15",
"apiVersion": "2024-06-15-preview",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.managednetworkfabric"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "internetGateways",
"apiVersion": "2023-06-15",
"apiVersion": "2024-06-15-preview",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.managednetworkfabric"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "ipCommunities",
"apiVersion": "2023-06-15",
"apiVersion": "2024-06-15-preview",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.managednetworkfabric"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "ipExtendedCommunities",
"apiVersion": "2023-06-15",
"apiVersion": "2024-06-15-preview",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.managednetworkfabric"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "ipPrefixes",
"apiVersion": "2023-06-15",
"apiVersion": "2024-06-15-preview",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.managednetworkfabric"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "l2IsolationDomains",
"apiVersion": "2023-06-15",
"apiVersion": "2024-06-15-preview",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.managednetworkfabric"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "l3IsolationDomains/externalNetworks",
"apiVersion": "2023-06-15",
"apiVersion": "2024-06-15-preview",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.managednetworkfabric"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "l3IsolationDomains/internalNetworks",
"apiVersion": "2023-06-15",
"apiVersion": "2024-06-15-preview",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.managednetworkfabric"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "l3IsolationDomains",
"apiVersion": "2023-06-15",
"apiVersion": "2024-06-15-preview",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.managednetworkfabric"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "neighborGroups",
"apiVersion": "2023-06-15",
"apiVersion": "2024-06-15-preview",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.managednetworkfabric"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "networkDevices/networkInterfaces",
"apiVersion": "2023-06-15",
"apiVersion": "2024-06-15-preview",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.managednetworkfabric"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "networkDevices",
"apiVersion": "2023-06-15",
"apiVersion": "2024-06-15-preview",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.managednetworkfabric"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "networkFabricControllers",
"apiVersion": "2023-06-15",
"apiVersion": "2024-06-15-preview",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.managednetworkfabric"
},
Expand Down
Loading
Loading