sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/src/autorest.md
Run dotnet build /t:GenerateCode to generate code.
azure-arm: true
csharp: true
library-name: Azure.ResourceManager.ManagedNetworkFabric
namespace: Azure.ResourceManager.ManagedNetworkFabric
require: https://github.com/Azure/azure-rest-api-specs/blob/0baf811c3c76c87b3c127d098519bd97141222dd/specification/managednetworkfabric/resource-manager/readme.md
#tag: package-2023-06-15
output-folder: $(this-folder)/Generated
clear-output-folder: true
sample-gen:
output-folder: $(this-folder)/../tests/Generated
clear-output-folder: true
skip-csproj: true
modelerfour:
flatten-payloads: false
use-model-reader-writer: true
#mgmt-debug:
# show-serialized-names: true
format-by-name-rules:
'tenantId': 'uuid'
'ETag': 'etag'
'location': 'azure-location'
'*Uri': 'Uri'
'*Uris': 'Uri'
acronym-mapping:
CPU: Cpu
CPUs: Cpus
Os: OS
Ip: IP
Ips: IPs|ips
ID: Id
IDs: Ids
VM: Vm
VMs: Vms
Vmos: VmOS
VMScaleSet: VmScaleSet
DNS: Dns
VPN: Vpn
NAT: Nat
WAN: Wan
Ipv4: IPv4|ipv4
Ipv6: IPv6|ipv6
Ipsec: IPsec|ipsec
SSO: Sso
URI: Uri
Etag: ETag|etag
MAT: Mat
RMA: Rma
GRE: Gre
ASN: Asn
TCP: Tcp
UDP: Udp
NPB: Npb
ZTP: Ztp
rename-mapping:
AccessControlList: NetworkFabricAccessControlList
AccessControlListsListResult: AccessControlListsResult
ExternalNetwork: NetworkFabricExternalNetwork
ExternalNetwork.properties.networkToNetworkInterconnectId: -|arm-id
InternalNetwork: NetworkFabricInternalNetwork
InternetGateway: NetworkFabricInternetGateway
InternetGateway.properties.ipv4Address: IpV4Address
InternetGatewayRule: NetworkFabricInternetGatewayRule
InternetGatewayRule.properties.internetGatewayIds: -|arm-id
IpCommunity: NetworkFabricIpCommunity
IpExtendedCommunity: NetworkFabricIpExtendedCommunity
IpPrefix: NetworkFabricIpPrefix
L2IsolationDomain: NetworkFabricL2IsolationDomain
L3IsolationDomain: NetworkFabricL3IsolationDomain
NeighborGroup: NetworkFabricNeighborGroup
NetworkDevice.properties.managementIpv4Address: -|ip-address
NetworkInterface.properties.ipv4Address: -|ip-address
RoutePolicy: NetworkFabricRoutePolicy
NetworkInterface: NetworkDeviceInterface
Action: InternetGatewayRuleAction
AddressFamilyTypeL: NetworkFabricAddressFamilyType
AdministrativeState: NetworkFabricAdministrativeState
AnnotationResource: AnnotationResourceProperties
BooleanEnumProperty: NetworkFabricBooleanValue
CommonPostActionResponseForDeviceUpdate: DeviceUpdateCommonPostActionResult
CommonPostActionResponseForStateUpdate: StateUpdateCommonPostActionResult
ConfigurationState: NetworkFabricConfigurationState
ConfigurationType: NetworkFabricConfigurationType
Condition: IPPrefixRuleCondition
ControllerServices: NetworkFabricControllerServices
DestinationProperties: NetworkTapDestinationProperties
DestinationType: NetworkTapDestinationType
DeviceAdministrativeState: NetworkDeviceAdministrativeState
DeviceInterfaceProperties: NetworkDeviceInterfaceProperties
EnableDisableOnResources: UpdateAdministrativeStateOnResources
EnableDisableOnResources.resourceIds: -|arm-id
EnableDisableState: AdministrativeEnableState
Encapsulation: IsolationDomainEncapsulationType
EncapsulationType: NetworkTapEncapsulationType
ErrorResponse: NetworkFabricErrorResult
Extension: StaticRouteConfigurationExtension
ExternalNetworkPatchPropertiesOptionAProperties: ExternalNetworkPatchOptionAProperties
ExternalNetworkPropertiesOptionAProperties: ExternalNetworkOptionAProperties
InternalNetworkPropertiesBgpConfiguration: InternalNetworkBgpConfiguration
InternalNetworkPropertiesStaticRouteConfiguration: InternalNetworkStaticRouteConfiguration
IpCommunityIdList.ipCommunityIds: -|arm-id
IpExtendedCommunityIdList.ipExtendedCommunityIds: -|arm-id
GatewayType: InternetGatewayType
FabricSkuType: NetworkFabricSkuType
InterfaceType: NetworkDeviceInterfaceType
IpGroupProperties: MatchConfigurationIPGroupProperties
IPAddressType: NetworkFabricIPAddressType
NeighborGroupDestination.ipv4Addresses: -|ip-address
NetworkDevice.properties.networkRackId: -|arm-id
NetworkFabricController.properties.workloadManagementNetwork: IsWorkloadManagementNetwork
NetworkInterfacePatch: NetworkDeviceInterfacePatch
NetworkInterfacesList: NetworkDeviceInterfacesList
NetworkTapRule.properties.networkTapId: -|arm-id
NetworkToNetworkInterconnectPropertiesOptionBLayer3Configuration: NetworkToNetworkInterconnectOptionBLayer3Configuration
NfcSku: NetworkFabricControllerSKU
PollingType: NetworkTapPollingType
PortCondition: NetworkFabricPortCondition
PortType: NetworkFabricPortType
PrefixType: IPMatchConditionPrefixType
ProvisioningState: NetworkFabricProvisioningState
RebootProperties: NetworkDeviceRebootContent
RebootType: NetworkDeviceRebootType
RuleProperties: InternetGatewayRules
StatementConditionProperties.ipPrefixId: -|arm-id
TerminalServerConfiguration.networkDeviceId: -|arm-id
UpdateAdministrativeState: UpdateAdministrativeStateContent
UpdateDeviceAdministrativeState: UpdateDeviceAdministrativeStateContent
UpdateVersion: NetworkFabricUpdateVersionContent
ValidateAction: NetworkFabricValidateAction
ValidateConfigurationProperties: ValidateConfigurationContent
ValidateConfigurationResponse: ValidateConfigurationResult
VpnConfigurationPatchablePropertiesOptionAProperties: VpnConfigurationPatchableOptionAProperties
VpnConfigurationPropertiesOptionAProperties: VpnConfigurationOptionAProperties
directive:
- from: NetworkFabricControllers.json
where: $.definitions
transform:
$.ExpressRouteConnectionInformation.required = [ 'expressRouteCircuitId' ];
# Removing the operations that are not allowed for the end users.
- remove-operation: InternetGateways_Delete
- remove-operation: InternetGateways_Create