diff --git a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/src/Generated/ArmManagedNetworkFabricModelFactory.cs b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/src/Generated/ArmManagedNetworkFabricModelFactory.cs
index fe690bef69d1..0f775f409f7e 100644
--- a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/src/Generated/ArmManagedNetworkFabricModelFactory.cs
+++ b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/src/Generated/ArmManagedNetworkFabricModelFactory.cs
@@ -32,11 +32,15 @@ public static partial class ArmManagedNetworkFabricModelFactory
/// List of match configurations.
/// List of dynamic match configurations.
/// The last synced timestamp.
+ /// Access Control List (ACL) Type.
+ /// Device Role.
+ /// Global Access Control List (ACL) actions.
+ /// Details of the last operation performed on the resource.
/// Configuration state of the resource.
/// Provisioning state of the resource.
/// Administrative state of the resource.
/// A new instance for mocking.
- public static NetworkFabricAccessControlListData NetworkFabricAccessControlListData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, string annotation = null, NetworkFabricConfigurationType? configurationType = null, Uri aclsUri = null, CommunityActionType? defaultAction = null, IEnumerable matchConfigurations = null, IEnumerable dynamicMatchConfigurations = null, DateTimeOffset? lastSyncedOn = null, NetworkFabricConfigurationState? configurationState = null, NetworkFabricProvisioningState? provisioningState = null, NetworkFabricAdministrativeState? administrativeState = null)
+ public static NetworkFabricAccessControlListData NetworkFabricAccessControlListData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, string annotation = null, NetworkFabricConfigurationType? configurationType = null, Uri aclsUri = null, CommunityActionType? defaultAction = null, IEnumerable matchConfigurations = null, IEnumerable dynamicMatchConfigurations = null, DateTimeOffset? lastSyncedOn = null, AclType? aclType = null, DeviceRole? deviceRole = null, NetworkFabricBooleanValue? globalAccessControlListActionsEnableCount = null, string lastOperationDetails = null, NetworkFabricConfigurationState? configurationState = null, NetworkFabricProvisioningState? provisioningState = null, NetworkFabricAdministrativeState? administrativeState = null)
{
tags ??= new Dictionary();
matchConfigurations ??= new List();
@@ -56,37 +60,58 @@ public static NetworkFabricAccessControlListData NetworkFabricAccessControlListD
matchConfigurations?.ToList(),
dynamicMatchConfigurations?.ToList(),
lastSyncedOn,
+ aclType,
+ deviceRole,
+ globalAccessControlListActionsEnableCount != null ? new GlobalAccessControlListActionProperties(globalAccessControlListActionsEnableCount, serializedAdditionalRawData: null) : null,
+ lastOperationDetails != null ? new LastOperationProperties(lastOperationDetails, serializedAdditionalRawData: null) : null,
configurationState,
provisioningState,
administrativeState,
serializedAdditionalRawData: null);
}
- /// Initializes a new instance of .
- /// The error object.
- /// A new instance for mocking.
- public static NetworkFabricErrorResult NetworkFabricErrorResult(ResponseError error = null)
+ /// Initializes a new instance of .
+ /// The id.
+ /// The name.
+ /// The resourceType.
+ /// The systemData.
+ /// The tags.
+ /// The location.
+ /// The Internet Gateway Rule properties.
+ /// A new instance for mocking.
+ public static NetworkFabricInternetGatewayRuleData NetworkFabricInternetGatewayRuleData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, InternetGatewayRuleProperties properties = null)
{
- return new NetworkFabricErrorResult(error, serializedAdditionalRawData: null);
- }
+ tags ??= new Dictionary();
- /// Initializes a new instance of .
- /// The error object.
- /// Gets the configuration state.
- /// A new instance for mocking.
- public static StateUpdateCommonPostActionResult StateUpdateCommonPostActionResult(ResponseError error = null, NetworkFabricConfigurationState? configurationState = null)
- {
- return new StateUpdateCommonPostActionResult(error, serializedAdditionalRawData: null, configurationState);
+ return new NetworkFabricInternetGatewayRuleData(
+ id,
+ name,
+ resourceType,
+ systemData,
+ tags,
+ location,
+ properties,
+ serializedAdditionalRawData: null);
}
- /// Initializes a new instance of .
- /// The error object.
- /// Gets the configuration state.
- /// URL for the details of the response.
- /// A new instance for mocking.
- public static ValidateConfigurationResult ValidateConfigurationResult(ResponseError error = null, NetworkFabricConfigurationState? configurationState = null, Uri uri = null)
+ /// Initializes a new instance of .
+ /// Switch configuration description.
+ /// Rules for the InternetGateways.
+ /// Details of the last operation performed on the resource.
+ /// Provisioning state of the resource.
+ /// List of Internet Gateway resource Id.
+ /// A new instance for mocking.
+ public static InternetGatewayRuleProperties InternetGatewayRuleProperties(string annotation = null, InternetGatewayRules ruleProperties = null, string lastOperationDetails = null, NetworkFabricProvisioningState? provisioningState = null, IEnumerable internetGatewayIds = null)
{
- return new ValidateConfigurationResult(error, serializedAdditionalRawData: null, configurationState, uri);
+ internetGatewayIds ??= new List();
+
+ return new InternetGatewayRuleProperties(
+ annotation,
+ ruleProperties,
+ lastOperationDetails != null ? new LastOperationProperties(lastOperationDetails, serializedAdditionalRawData: null) : null,
+ provisioningState,
+ internetGatewayIds?.ToList(),
+ serializedAdditionalRawData: null);
}
/// Initializes a new instance of .
@@ -101,10 +126,12 @@ public static ValidateConfigurationResult ValidateConfigurationResult(ResponseEr
/// IPv4 Address of Internet Gateway.
/// Port number of Internet Gateway.
/// Gateway Type of the resource.
+ /// Gateway Type of the resource.
/// ARM Resource ID of the Network Fabric Controller.
+ /// Details of the last operation performed on the resource.
/// Provisioning state of resource.
/// A new instance for mocking.
- public static NetworkFabricInternetGatewayData NetworkFabricInternetGatewayData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, string annotation = null, ResourceIdentifier internetGatewayRuleId = null, string ipV4Address = null, int? port = null, InternetGatewayType typePropertiesType = default, ResourceIdentifier networkFabricControllerId = null, NetworkFabricProvisioningState? provisioningState = null)
+ public static NetworkFabricInternetGatewayData NetworkFabricInternetGatewayData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, string annotation = null, ResourceIdentifier internetGatewayRuleId = null, string ipV4Address = null, int? port = null, InternetGatewayType? typePropertiesType = null, InternetGatewayType? internetGatewayType = null, ResourceIdentifier networkFabricControllerId = null, string lastOperationDetails = null, NetworkFabricProvisioningState? provisioningState = null)
{
tags ??= new Dictionary();
@@ -120,69 +147,55 @@ public static NetworkFabricInternetGatewayData NetworkFabricInternetGatewayData(
ipV4Address,
port,
typePropertiesType,
+ internetGatewayType,
networkFabricControllerId,
+ lastOperationDetails != null ? new LastOperationProperties(lastOperationDetails, serializedAdditionalRawData: null) : null,
provisioningState,
serializedAdditionalRawData: null);
}
- /// Initializes a new instance of .
+ /// Initializes a new instance of .
/// The id.
/// The name.
/// The resourceType.
/// The systemData.
/// The tags.
/// The location.
- /// Switch configuration description.
- /// Rules for the InternetGateways.
- /// Provisioning state of the resource.
- /// List of Internet Gateway resource Id.
- /// A new instance for mocking.
- public static NetworkFabricInternetGatewayRuleData NetworkFabricInternetGatewayRuleData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, string annotation = null, InternetGatewayRules ruleProperties = null, NetworkFabricProvisioningState? provisioningState = null, IEnumerable internetGatewayIds = null)
+ /// The IP Community Properties.
+ /// A new instance for mocking.
+ public static NetworkFabricIPCommunityData NetworkFabricIPCommunityData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, IPCommunityProperties properties = null)
{
tags ??= new Dictionary();
- internetGatewayIds ??= new List();
- return new NetworkFabricInternetGatewayRuleData(
+ return new NetworkFabricIPCommunityData(
id,
name,
resourceType,
systemData,
tags,
location,
- annotation,
- ruleProperties,
- provisioningState,
- internetGatewayIds?.ToList(),
+ properties,
serializedAdditionalRawData: null);
}
- /// Initializes a new instance of .
- /// The id.
- /// The name.
- /// The resourceType.
- /// The systemData.
- /// The tags.
- /// The location.
+ /// Initializes a new instance of .
/// Switch configuration description.
+ /// ARM Resource ID of the Network Fabric.
/// List of IP Community Rules.
+ /// Details of the last operation performed on the resource.
/// Configuration state of the resource.
/// Provisioning state of the resource.
/// Administrative state of the resource.
- /// A new instance for mocking.
- public static NetworkFabricIPCommunityData NetworkFabricIPCommunityData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, string annotation = null, IEnumerable ipCommunityRules = null, NetworkFabricConfigurationState? configurationState = null, NetworkFabricProvisioningState? provisioningState = null, NetworkFabricAdministrativeState? administrativeState = null)
+ /// A new instance for mocking.
+ public static IPCommunityProperties IPCommunityProperties(string annotation = null, ResourceIdentifier networkFabricId = null, IEnumerable ipCommunityRules = null, string lastOperationDetails = null, NetworkFabricConfigurationState? configurationState = null, NetworkFabricProvisioningState? provisioningState = null, NetworkFabricAdministrativeState? administrativeState = null)
{
- tags ??= new Dictionary();
ipCommunityRules ??= new List();
- return new NetworkFabricIPCommunityData(
- id,
- name,
- resourceType,
- systemData,
- tags,
- location,
+ return new IPCommunityProperties(
annotation,
+ networkFabricId,
ipCommunityRules?.ToList(),
+ lastOperationDetails != null ? new LastOperationProperties(lastOperationDetails, serializedAdditionalRawData: null) : null,
configurationState,
provisioningState,
administrativeState,
@@ -196,16 +209,11 @@ public static NetworkFabricIPCommunityData NetworkFabricIPCommunityData(Resource
/// The systemData.
/// The tags.
/// The location.
- /// Switch configuration description.
- /// List of IP Extended Community Rules.
- /// Configuration state of the resource.
- /// Provisioning state of the resource.
- /// Administrative state of the resource.
+ /// The IpExtendedCommunity properties.
/// A new instance for mocking.
- public static NetworkFabricIPExtendedCommunityData NetworkFabricIPExtendedCommunityData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, string annotation = null, IEnumerable ipExtendedCommunityRules = null, NetworkFabricConfigurationState? configurationState = null, NetworkFabricProvisioningState? provisioningState = null, NetworkFabricAdministrativeState? administrativeState = null)
+ public static NetworkFabricIPExtendedCommunityData NetworkFabricIPExtendedCommunityData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, IPExtendedCommunityProperties properties = null)
{
tags ??= new Dictionary();
- ipExtendedCommunityRules ??= new List();
return new NetworkFabricIPExtendedCommunityData(
id,
@@ -214,8 +222,28 @@ public static NetworkFabricIPExtendedCommunityData NetworkFabricIPExtendedCommun
systemData,
tags,
location,
+ properties,
+ serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// Switch configuration description.
+ /// ARM Resource ID of the Network Fabric.
+ /// List of IP Extended Community Rules.
+ /// Details of the last operation performed on the resource.
+ /// Configuration state of the resource.
+ /// Provisioning state of the resource.
+ /// Administrative state of the resource.
+ /// A new instance for mocking.
+ public static IPExtendedCommunityProperties IPExtendedCommunityProperties(string annotation = null, ResourceIdentifier networkFabricId = null, IEnumerable ipExtendedCommunityRules = null, string lastOperationDetails = null, NetworkFabricConfigurationState? configurationState = null, NetworkFabricProvisioningState? provisioningState = null, NetworkFabricAdministrativeState? administrativeState = null)
+ {
+ ipExtendedCommunityRules ??= new List();
+
+ return new IPExtendedCommunityProperties(
annotation,
+ networkFabricId,
ipExtendedCommunityRules?.ToList(),
+ lastOperationDetails != null ? new LastOperationProperties(lastOperationDetails, serializedAdditionalRawData: null) : null,
configurationState,
provisioningState,
administrativeState,
@@ -229,16 +257,11 @@ public static NetworkFabricIPExtendedCommunityData NetworkFabricIPExtendedCommun
/// The systemData.
/// The tags.
/// The location.
- /// Switch configuration description.
- /// The list of IP Prefix Rules.
- /// Configuration state of the resource.
- /// Provisioning state of the resource.
- /// Administrative state of the resource.
+ /// The IP Prefix properties.
/// A new instance for mocking.
- public static NetworkFabricIPPrefixData NetworkFabricIPPrefixData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, string annotation = null, IEnumerable ipPrefixRules = null, NetworkFabricConfigurationState? configurationState = null, NetworkFabricProvisioningState? provisioningState = null, NetworkFabricAdministrativeState? administrativeState = null)
+ public static NetworkFabricIPPrefixData NetworkFabricIPPrefixData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, IPPrefixProperties properties = null)
{
tags ??= new Dictionary();
- ipPrefixRules ??= new List();
return new NetworkFabricIPPrefixData(
id,
@@ -247,8 +270,28 @@ public static NetworkFabricIPPrefixData NetworkFabricIPPrefixData(ResourceIdenti
systemData,
tags,
location,
+ properties,
+ serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// Switch configuration description.
+ /// ARM Resource ID of the Network Fabric.
+ /// The list of IP Prefix Rules.
+ /// Details of the last operation performed on the resource.
+ /// Configuration state of the resource.
+ /// Provisioning state of the resource.
+ /// Administrative state of the resource.
+ /// A new instance for mocking.
+ public static IPPrefixProperties IPPrefixProperties(string annotation = null, ResourceIdentifier networkFabricId = null, IEnumerable ipPrefixRules = null, string lastOperationDetails = null, NetworkFabricConfigurationState? configurationState = null, NetworkFabricProvisioningState? provisioningState = null, NetworkFabricAdministrativeState? administrativeState = null)
+ {
+ ipPrefixRules ??= new List();
+
+ return new IPPrefixProperties(
annotation,
+ networkFabricId,
ipPrefixRules?.ToList(),
+ lastOperationDetails != null ? new LastOperationProperties(lastOperationDetails, serializedAdditionalRawData: null) : null,
configurationState,
provisioningState,
administrativeState,
@@ -262,15 +305,9 @@ public static NetworkFabricIPPrefixData NetworkFabricIPPrefixData(ResourceIdenti
/// The systemData.
/// The tags.
/// The location.
- /// Switch configuration description.
- /// ARM Resource ID of the Network Fabric.
- /// Vlan Identifier of the Network Fabric. Example: 501.
- /// Maximum transmission unit. Default value is 1500.
- /// Configuration state of the resource.
- /// Provisioning state of the resource.
- /// Administrative state of the resource.
+ /// The L2IsolationDomain properties.
/// A new instance for mocking.
- public static NetworkFabricL2IsolationDomainData NetworkFabricL2IsolationDomainData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, string annotation = null, ResourceIdentifier networkFabricId = null, int vlanId = default, int? mtu = null, NetworkFabricConfigurationState? configurationState = null, NetworkFabricProvisioningState? provisioningState = null, NetworkFabricAdministrativeState? administrativeState = null)
+ public static NetworkFabricL2IsolationDomainData NetworkFabricL2IsolationDomainData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, L2IsolationDomainProperties properties = null)
{
tags ??= new Dictionary();
@@ -281,30 +318,38 @@ public static NetworkFabricL2IsolationDomainData NetworkFabricL2IsolationDomainD
systemData,
tags,
location,
+ properties,
+ serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// Switch configuration description.
+ /// ARM Resource ID of the Network Fabric.
+ /// Vlan Identifier of the Network Fabric. Example: 501.
+ /// Maximum transmission unit. Default value is 1500.
+ /// Extended VLAN status, default value is Disabled.
+ /// ARM Resource ID of the networkToNetworkInterconnectId of the L2 ISD resource.
+ /// Details of the last operation performed on the resource.
+ /// Configuration state of the resource.
+ /// Provisioning state of the resource.
+ /// Administrative state of the resource.
+ /// A new instance for mocking.
+ public static L2IsolationDomainProperties L2IsolationDomainProperties(string annotation = null, ResourceIdentifier networkFabricId = null, int vlanId = default, int? mtu = null, ExtendedVlan? extendedVlan = null, ResourceIdentifier networkToNetworkInterconnectId = null, string lastOperationDetails = null, NetworkFabricConfigurationState? configurationState = null, NetworkFabricProvisioningState? provisioningState = null, NetworkFabricAdministrativeState? administrativeState = null)
+ {
+ return new L2IsolationDomainProperties(
annotation,
networkFabricId,
vlanId,
mtu,
+ extendedVlan,
+ networkToNetworkInterconnectId,
+ lastOperationDetails != null ? new LastOperationProperties(lastOperationDetails, serializedAdditionalRawData: null) : null,
configurationState,
provisioningState,
administrativeState,
serializedAdditionalRawData: null);
}
- /// Initializes a new instance of .
- /// The error object.
- /// Gets the configuration state.
- /// List of ARM Resource IDs for which the given action applied successfully.
- /// List of ARM Resource IDs for which the given action failed to apply.
- /// A new instance for mocking.
- public static DeviceUpdateCommonPostActionResult DeviceUpdateCommonPostActionResult(ResponseError error = null, NetworkFabricConfigurationState? configurationState = null, IEnumerable successfulDevices = null, IEnumerable failedDevices = null)
- {
- successfulDevices ??= new List();
- failedDevices ??= new List();
-
- return new DeviceUpdateCommonPostActionResult(error, serializedAdditionalRawData: null, configurationState, successfulDevices?.ToList(), failedDevices?.ToList());
- }
-
/// Initializes a new instance of .
/// The id.
/// The name.
@@ -312,17 +357,9 @@ public static DeviceUpdateCommonPostActionResult DeviceUpdateCommonPostActionRes
/// The systemData.
/// The tags.
/// The location.
- /// Switch configuration description.
- /// Advertise Connected Subnets. Ex: "True" | "False".
- /// Advertise Static Routes. Ex: "True" | "False".
- /// Aggregate route configurations.
- /// Connected Subnet RoutePolicy.
- /// ARM Resource ID of the Network Fabric.
- /// Configuration state of the resource.
- /// Provisioning state of the resource.
- /// Administrative state of the resource.
+ /// The L3 Isolation Domain Properties.
/// A new instance for mocking.
- public static NetworkFabricL3IsolationDomainData NetworkFabricL3IsolationDomainData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, string annotation = null, RedistributeConnectedSubnet? redistributeConnectedSubnets = null, RedistributeStaticRoute? redistributeStaticRoutes = null, AggregateRouteConfiguration aggregateRouteConfiguration = null, ConnectedSubnetRoutePolicy connectedSubnetRoutePolicy = null, ResourceIdentifier networkFabricId = null, NetworkFabricConfigurationState? configurationState = null, NetworkFabricProvisioningState? provisioningState = null, NetworkFabricAdministrativeState? administrativeState = null)
+ public static NetworkFabricL3IsolationDomainData NetworkFabricL3IsolationDomainData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, L3IsolationDomainProperties properties = null)
{
tags ??= new Dictionary();
@@ -333,294 +370,91 @@ public static NetworkFabricL3IsolationDomainData NetworkFabricL3IsolationDomainD
systemData,
tags,
location,
+ properties,
+ serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// Switch configuration description.
+ /// Advertise Connected Subnets. Ex: "True" | "False".
+ /// Advertise Static Routes. Ex: "True" | "False".
+ /// Aggregate route configurations.
+ /// Connected Subnet RoutePolicy.
+ /// ARM Resource ID of the Network Fabric.
+ /// Static Route - route policy.
+ /// Unique Route Distinguisher configuration.
+ /// VRF Limit configuration.
+ /// Details of the last operation performed on the resource.
+ /// Configuration state of the resource.
+ /// Provisioning state of the resource.
+ /// Administrative state of the resource.
+ /// A new instance for mocking.
+ public static L3IsolationDomainProperties L3IsolationDomainProperties(string annotation = null, RedistributeConnectedSubnet? redistributeConnectedSubnets = null, RedistributeStaticRoute? redistributeStaticRoutes = null, AggregateRouteConfiguration aggregateRouteConfiguration = null, L3ExportRoutePolicy connectedExportRoutePolicy = null, ResourceIdentifier networkFabricId = null, L3ExportRoutePolicy exportRoutePolicy = null, IEnumerable uniqueRds = null, RoutePrefixLimitProperties routePrefixLimit = null, string lastOperationDetails = null, NetworkFabricConfigurationState? configurationState = null, NetworkFabricProvisioningState? provisioningState = null, NetworkFabricAdministrativeState? administrativeState = null)
+ {
+ uniqueRds ??= new List();
+
+ return new L3IsolationDomainProperties(
annotation,
redistributeConnectedSubnets,
redistributeStaticRoutes,
aggregateRouteConfiguration,
- connectedSubnetRoutePolicy,
+ connectedExportRoutePolicy != null ? new ConnectedSubnetRoutePolicy(connectedExportRoutePolicy, serializedAdditionalRawData: null) : null,
networkFabricId,
+ exportRoutePolicy != null ? new StaticRoutePolicy(exportRoutePolicy, serializedAdditionalRawData: null) : null,
+ uniqueRds != null ? new L3UniqueRouteDistinguisherProperties(uniqueRds?.ToList(), serializedAdditionalRawData: null) : null,
+ routePrefixLimit,
+ lastOperationDetails != null ? new LastOperationProperties(lastOperationDetails, serializedAdditionalRawData: null) : null,
configurationState,
provisioningState,
administrativeState,
serializedAdditionalRawData: null);
}
- /// Initializes a new instance of .
+ /// Initializes a new instance of .
/// The id.
/// The name.
/// The resourceType.
/// The systemData.
- /// Switch configuration description.
- /// Maximum transmission unit. Default value is 1500.
- /// List of Connected IPv4 Subnets.
- /// List of connected IPv6 Subnets.
- /// ARM Resource ID of the RoutePolicy. This is used for the backward compatibility.
- /// ARM Resource ID of the RoutePolicy. This is used for the backward compatibility.
- /// Import Route Policy either IPv4 or IPv6.
- /// Export Route Policy either IPv4 or IPv6.
- /// Ingress Acl. ARM resource ID of Access Control Lists.
- /// Egress Acl. ARM resource ID of Access Control Lists.
- /// To check whether monitoring of internal network is enabled or not.
- /// Extension. Example: NoExtension | NPB.
- /// Vlan identifier. Example: 1001.
- /// BGP configuration properties.
- /// Static Route Configuration properties.
- /// Configuration state of the resource.
- /// Provisioning state of the resource.
- /// Administrative state of the resource.
- /// A new instance for mocking.
- public static NetworkFabricInternalNetworkData NetworkFabricInternalNetworkData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, string annotation = null, int? mtu = null, IEnumerable connectedIPv4Subnets = null, IEnumerable connectedIPv6Subnets = null, ResourceIdentifier importRoutePolicyId = null, ResourceIdentifier exportRoutePolicyId = null, ImportRoutePolicy importRoutePolicy = null, ExportRoutePolicy exportRoutePolicy = null, ResourceIdentifier ingressAclId = null, ResourceIdentifier egressAclId = null, IsMonitoringEnabled? isMonitoringEnabled = null, StaticRouteConfigurationExtension? extension = null, int vlanId = default, InternalNetworkBgpConfiguration bgpConfiguration = null, InternalNetworkStaticRouteConfiguration staticRouteConfiguration = null, NetworkFabricConfigurationState? configurationState = null, NetworkFabricProvisioningState? provisioningState = null, NetworkFabricAdministrativeState? administrativeState = null)
+ /// The tags.
+ /// The location.
+ /// The NeighborGroup Properties.
+ /// A new instance for mocking.
+ public static NetworkFabricNeighborGroupData NetworkFabricNeighborGroupData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, NeighborGroupProperties properties = null)
{
- connectedIPv4Subnets ??= new List();
- connectedIPv6Subnets ??= new List();
+ tags ??= new Dictionary();
- return new NetworkFabricInternalNetworkData(
+ return new NetworkFabricNeighborGroupData(
id,
name,
resourceType,
systemData,
- annotation,
- mtu,
- connectedIPv4Subnets?.ToList(),
- connectedIPv6Subnets?.ToList(),
- importRoutePolicyId,
- exportRoutePolicyId,
- importRoutePolicy,
- exportRoutePolicy,
- ingressAclId,
- egressAclId,
- isMonitoringEnabled,
- extension,
- vlanId,
- bgpConfiguration,
- staticRouteConfiguration,
- configurationState,
- provisioningState,
- administrativeState,
+ tags,
+ location,
+ properties,
serializedAdditionalRawData: null);
}
- /// Initializes a new instance of .
+ /// Initializes a new instance of .
/// Switch configuration description.
- /// BFD configuration properties.
- /// Originate a defaultRoute. Ex: "True" | "False".
- /// Allows for routes to be received and processed even if the router detects its own ASN in the AS-Path. 0 is disable, Possible values are 1-10, default is 2.
- /// Enable Or Disable state.
- /// ASN of Network Fabric. Example: 65048.
- /// Peer ASN. Example: 65047.
- /// List of BGP IPv4 Listen Range prefixes.
- /// List of BGP IPv6 Listen Ranges prefixes.
- /// List with stringified IPv4 Neighbor Addresses.
- /// List with stringified IPv6 Neighbor Address.
- /// A new instance for mocking.
- public static InternalNetworkBgpConfiguration InternalNetworkBgpConfiguration(string annotation = null, BfdConfiguration bfdConfiguration = null, NetworkFabricBooleanValue? defaultRouteOriginate = null, int? allowAS = null, AllowASOverride? allowASOverride = null, long? fabricAsn = null, long? peerAsn = null, IEnumerable ipv4ListenRangePrefixes = null, IEnumerable ipv6ListenRangePrefixes = null, IEnumerable ipv4NeighborAddress = null, IEnumerable ipv6NeighborAddress = null)
+ /// An array of destination IPv4 Addresses or IPv6 Addresses.
+ /// List of NetworkTap IDs where neighbor group is associated.
+ /// List of Network Tap Rule IDs where neighbor group is associated.
+ /// Details of the last operation performed on the resource.
+ /// The provisioning state of the resource.
+ /// A new instance for mocking.
+ public static NeighborGroupProperties NeighborGroupProperties(string annotation = null, NeighborGroupDestination destination = null, IEnumerable networkTapIds = null, IEnumerable networkTapRuleIds = null, string lastOperationDetails = null, NetworkFabricProvisioningState? provisioningState = null)
{
- ipv4ListenRangePrefixes ??= new List();
- ipv6ListenRangePrefixes ??= new List();
- ipv4NeighborAddress ??= new List();
- ipv6NeighborAddress ??= new List();
+ networkTapIds ??= new List();
+ networkTapRuleIds ??= new List();
- return new InternalNetworkBgpConfiguration(
+ return new NeighborGroupProperties(
annotation,
- serializedAdditionalRawData: null,
- bfdConfiguration,
- defaultRouteOriginate,
- allowAS,
- allowASOverride,
- fabricAsn,
- peerAsn,
- ipv4ListenRangePrefixes?.ToList(),
- ipv6ListenRangePrefixes?.ToList(),
- ipv4NeighborAddress?.ToList(),
- ipv6NeighborAddress?.ToList());
- }
-
- /// Initializes a new instance of .
- /// Switch configuration description.
- /// BFD configuration properties.
- /// Originate a defaultRoute. Ex: "True" | "False".
- /// Allows for routes to be received and processed even if the router detects its own ASN in the AS-Path. 0 is disable, Possible values are 1-10, default is 2.
- /// Enable Or Disable state.
- /// ASN of Network Fabric. Example: 65048.
- /// Peer ASN. Example: 65047.
- /// List of BGP IPv4 Listen Range prefixes.
- /// List of BGP IPv6 Listen Ranges prefixes.
- /// List with stringified IPv4 Neighbor Addresses.
- /// List with stringified IPv6 Neighbor Address.
- /// A new instance for mocking.
- public static BgpConfiguration BgpConfiguration(string annotation = null, BfdConfiguration bfdConfiguration = null, NetworkFabricBooleanValue? defaultRouteOriginate = null, int? allowAS = null, AllowASOverride? allowASOverride = null, long? fabricAsn = null, long? peerAsn = null, IEnumerable ipv4ListenRangePrefixes = null, IEnumerable ipv6ListenRangePrefixes = null, IEnumerable ipv4NeighborAddress = null, IEnumerable ipv6NeighborAddress = null)
- {
- ipv4ListenRangePrefixes ??= new List();
- ipv6ListenRangePrefixes ??= new List();
- ipv4NeighborAddress ??= new List();
- ipv6NeighborAddress ??= new List();
-
- return new BgpConfiguration(
- annotation,
- serializedAdditionalRawData: null,
- bfdConfiguration,
- defaultRouteOriginate,
- allowAS,
- allowASOverride,
- fabricAsn,
- peerAsn,
- ipv4ListenRangePrefixes?.ToList(),
- ipv6ListenRangePrefixes?.ToList(),
- ipv4NeighborAddress?.ToList(),
- ipv6NeighborAddress?.ToList());
- }
-
- /// Initializes a new instance of .
- /// Administrative state of the BfdConfiguration. Example: Enabled | Disabled.
- /// Interval in milliseconds. Example: 300.
- /// Multiplier for the Bfd Configuration. Example: 5.
- /// A new instance for mocking.
- public static BfdConfiguration BfdConfiguration(BfdAdministrativeState? administrativeState = null, int? intervalInMilliSeconds = null, int? multiplier = null)
- {
- return new BfdConfiguration(administrativeState, intervalInMilliSeconds, multiplier, serializedAdditionalRawData: null);
- }
-
- /// Initializes a new instance of .
- /// IP Address.
- /// Configuration state of the resource.
- /// A new instance for mocking.
- public static NeighborAddress NeighborAddress(string address = null, NetworkFabricConfigurationState? configurationState = null)
- {
- return new NeighborAddress(address, configurationState, serializedAdditionalRawData: null);
- }
-
- /// Initializes a new instance of .
- /// The id.
- /// The name.
- /// The resourceType.
- /// The systemData.
- /// Switch configuration description.
- /// ARM Resource ID of the RoutePolicy. This is used for the backward compatibility.
- /// ARM Resource ID of the RoutePolicy. This is used for the backward compatibility.
- /// Import Route Policy either IPv4 or IPv6.
- /// Export Route Policy either IPv4 or IPv6.
- /// Gets the networkToNetworkInterconnectId of the resource.
- /// Peering option list.
- /// option B properties object.
- /// option A properties object.
- /// Configuration state of the resource.
- /// Provisioning state of the resource.
- /// Administrative state of the resource.
- /// A new instance for mocking.
- public static NetworkFabricExternalNetworkData NetworkFabricExternalNetworkData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, string annotation = null, ResourceIdentifier importRoutePolicyId = null, ResourceIdentifier exportRoutePolicyId = null, ImportRoutePolicy importRoutePolicy = null, ExportRoutePolicy exportRoutePolicy = null, ResourceIdentifier networkToNetworkInterconnectId = null, PeeringOption peeringOption = default, L3OptionBProperties optionBProperties = null, ExternalNetworkOptionAProperties optionAProperties = null, NetworkFabricConfigurationState? configurationState = null, NetworkFabricProvisioningState? provisioningState = null, NetworkFabricAdministrativeState? administrativeState = null)
- {
- return new NetworkFabricExternalNetworkData(
- id,
- name,
- resourceType,
- systemData,
- annotation,
- importRoutePolicyId,
- exportRoutePolicyId,
- importRoutePolicy,
- exportRoutePolicy,
- networkToNetworkInterconnectId,
- peeringOption,
- optionBProperties,
- optionAProperties,
- configurationState,
- provisioningState,
- administrativeState,
- serializedAdditionalRawData: null);
- }
-
- /// Initializes a new instance of .
- /// IPv4 Address Prefix.
- /// IPv6 Address Prefix.
- /// Secondary IPv4 Address Prefix.
- /// Secondary IPv6 Address Prefix.
- /// MTU to use for option A peering.
- /// Vlan identifier. Example : 501.
- /// Fabric ASN number. Example 65001.
- /// Peer ASN number.Example : 28.
- /// BFD configuration properties.
- /// Ingress Acl. ARM resource ID of Access Control Lists.
- /// Egress Acl. ARM resource ID of Access Control Lists.
- /// A new instance for mocking.
- public static ExternalNetworkOptionAProperties ExternalNetworkOptionAProperties(string primaryIPv4Prefix = null, string primaryIPv6Prefix = null, string secondaryIPv4Prefix = null, string secondaryIPv6Prefix = null, int? mtu = null, int? vlanId = null, long? fabricAsn = null, long? peerAsn = null, BfdConfiguration bfdConfiguration = null, ResourceIdentifier ingressAclId = null, ResourceIdentifier egressAclId = null)
- {
- return new ExternalNetworkOptionAProperties(
- primaryIPv4Prefix,
- primaryIPv6Prefix,
- secondaryIPv4Prefix,
- secondaryIPv6Prefix,
- serializedAdditionalRawData: null,
- mtu,
- vlanId,
- fabricAsn,
- peerAsn,
- bfdConfiguration,
- ingressAclId,
- egressAclId);
- }
-
- /// Initializes a new instance of .
- /// IPv4 Address Prefix.
- /// IPv6 Address Prefix.
- /// Secondary IPv4 Address Prefix.
- /// Secondary IPv6 Address Prefix.
- /// MTU to use for option A peering.
- /// Vlan identifier. Example : 501.
- /// Fabric ASN number. Example 65001.
- /// Peer ASN number.Example : 28.
- /// BFD configuration properties.
- /// Ingress Acl. ARM resource ID of Access Control Lists.
- /// Egress Acl. ARM resource ID of Access Control Lists.
- /// A new instance for mocking.
- public static ExternalNetworkPatchOptionAProperties ExternalNetworkPatchOptionAProperties(string primaryIPv4Prefix = null, string primaryIPv6Prefix = null, string secondaryIPv4Prefix = null, string secondaryIPv6Prefix = null, int? mtu = null, int? vlanId = null, long? fabricAsn = null, long? peerAsn = null, BfdConfiguration bfdConfiguration = null, ResourceIdentifier ingressAclId = null, ResourceIdentifier egressAclId = null)
- {
- return new ExternalNetworkPatchOptionAProperties(
- primaryIPv4Prefix,
- primaryIPv6Prefix,
- secondaryIPv4Prefix,
- secondaryIPv6Prefix,
- serializedAdditionalRawData: null,
- mtu,
- vlanId,
- fabricAsn,
- peerAsn,
- bfdConfiguration,
- ingressAclId,
- egressAclId);
- }
-
- /// Initializes a new instance of .
- /// The id.
- /// The name.
- /// The resourceType.
- /// The systemData.
- /// The tags.
- /// The location.
- /// Switch configuration description.
- /// An array of destination IPv4 Addresses or IPv6 Addresses.
- /// List of NetworkTap IDs where neighbor group is associated.
- /// List of Network Tap Rule IDs where neighbor group is associated.
- /// The provisioning state of the resource.
- /// A new instance for mocking.
- public static NetworkFabricNeighborGroupData NetworkFabricNeighborGroupData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, string annotation = null, NeighborGroupDestination destination = null, IEnumerable networkTapIds = null, IEnumerable networkTapRuleIds = null, NetworkFabricProvisioningState? provisioningState = null)
- {
- tags ??= new Dictionary();
- networkTapIds ??= new List();
- networkTapRuleIds ??= new List();
-
- return new NetworkFabricNeighborGroupData(
- id,
- name,
- resourceType,
- systemData,
- tags,
- location,
- annotation,
- destination,
- networkTapIds?.ToList(),
- networkTapRuleIds?.ToList(),
- provisioningState,
- serializedAdditionalRawData: null);
+ destination,
+ networkTapIds?.ToList(),
+ networkTapRuleIds?.ToList(),
+ lastOperationDetails != null ? new LastOperationProperties(lastOperationDetails, serializedAdditionalRawData: null) : null,
+ provisioningState,
+ serializedAdditionalRawData: null);
}
/// Initializes a new instance of .
@@ -671,11 +505,13 @@ public static NetworkDeviceSkuData NetworkDeviceSkuData(ResourceIdentifier id =
/// Reference to network rack resource id.
/// Management IPv4 Address.
/// Management IPv6 Address.
+ /// User configured read-write configuration applied on the network devices.
+ /// Details of the last operation performed on the resource.
/// Configuration state of the resource.
/// Provisioning state of the resource.
/// Administrative state of the resource.
/// A new instance for mocking.
- public static NetworkDeviceData NetworkDeviceData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, string annotation = null, string hostName = null, string serialNumber = null, string version = null, string networkDeviceSku = null, NetworkDeviceRole? networkDeviceRole = null, ResourceIdentifier networkRackId = null, IPAddress managementIPv4Address = null, string managementIPv6Address = null, NetworkFabricConfigurationState? configurationState = null, NetworkFabricProvisioningState? provisioningState = null, NetworkFabricAdministrativeState? administrativeState = null)
+ public static NetworkDeviceData NetworkDeviceData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, string annotation = null, string hostName = null, string serialNumber = null, string version = null, string networkDeviceSku = null, NetworkDeviceRole? networkDeviceRole = null, ResourceIdentifier networkRackId = null, IPAddress managementIPv4Address = null, string managementIPv6Address = null, string rwDeviceConfig = null, string lastOperationDetails = null, NetworkFabricConfigurationState? configurationState = null, NetworkFabricProvisioningState? provisioningState = null, NetworkFabricAdministrativeState? administrativeState = null)
{
tags ??= new Dictionary();
@@ -695,44 +531,14 @@ public static NetworkDeviceData NetworkDeviceData(ResourceIdentifier id = null,
networkRackId,
managementIPv4Address,
managementIPv6Address,
+ rwDeviceConfig,
+ lastOperationDetails != null ? new LastOperationProperties(lastOperationDetails, serializedAdditionalRawData: null) : null,
configurationState,
provisioningState,
administrativeState,
serializedAdditionalRawData: null);
}
- /// Initializes a new instance of .
- /// The id.
- /// The name.
- /// The resourceType.
- /// The systemData.
- /// Switch configuration description.
- /// Physical Identifier of the network interface.
- /// The ARM resource id of the interface or compute server its connected to.
- /// The Interface Type. Example: Management/Data.
- /// IPv4Address of the interface.
- /// IPv6Address of the interface.
- /// Provisioning state of the resource.
- /// Administrative state of the resource.
- /// A new instance for mocking.
- public static NetworkDeviceInterfaceData NetworkDeviceInterfaceData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, string annotation = null, string physicalIdentifier = null, string connectedTo = null, NetworkDeviceInterfaceType? interfaceType = null, IPAddress ipv4Address = null, string ipv6Address = null, NetworkFabricProvisioningState? provisioningState = null, NetworkFabricAdministrativeState? administrativeState = null)
- {
- return new NetworkDeviceInterfaceData(
- id,
- name,
- resourceType,
- systemData,
- annotation,
- physicalIdentifier,
- connectedTo,
- interfaceType,
- ipv4Address,
- ipv6Address,
- provisioningState,
- administrativeState,
- serializedAdditionalRawData: null);
- }
-
/// Initializes a new instance of .
/// The id.
/// The name.
@@ -747,15 +553,15 @@ public static NetworkDeviceInterfaceData NetworkDeviceInterfaceData(ResourceIden
/// WorkloadServices IP ranges.
/// Managed Resource Group configuration properties.
/// The NF-ID will be an input parameter used by the NF to link and get associated with the parent NFC Service.
- /// A workload management network is required for all the tenant (workload) traffic. This traffic is only dedicated for Tenant workloads which are required to access internet or any other MSFT/Public endpoints. This is used for the backward compatibility.
/// A workload management network is required for all the tenant (workload) traffic. This traffic is only dedicated for Tenant workloads which are required to access internet or any other MSFT/Public endpoints.
/// List of tenant InternetGateway resource IDs.
/// IPv4 Network Fabric Controller Address Space.
/// IPv6 Network Fabric Controller Address Space.
/// Network Fabric Controller SKU.
+ /// Details of the last operation performed on the resource.
/// Provides you the latest status of the NFC service, whether it is Accepted, updating, Succeeded or Failed. During this process, the states keep changing based on the status of NFC provisioning.
/// A new instance for mocking.
- public static NetworkFabricControllerData NetworkFabricControllerData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, string annotation = null, IEnumerable infrastructureExpressRouteConnections = null, IEnumerable workloadExpressRouteConnections = null, NetworkFabricControllerServices infrastructureServices = null, NetworkFabricControllerServices workloadServices = null, ManagedResourceGroupConfiguration managedResourceGroupConfiguration = null, IEnumerable networkFabricIds = null, bool? isWorkloadManagementNetwork = null, IsWorkloadManagementNetworkEnabled? isWorkloadManagementNetworkEnabled = null, IEnumerable tenantInternetGatewayIds = null, string ipv4AddressSpace = null, string ipv6AddressSpace = null, NetworkFabricControllerSKU? nfcSku = null, NetworkFabricProvisioningState? provisioningState = null)
+ public static NetworkFabricControllerData NetworkFabricControllerData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, string annotation = null, IEnumerable infrastructureExpressRouteConnections = null, IEnumerable workloadExpressRouteConnections = null, NetworkFabricControllerServices infrastructureServices = null, NetworkFabricControllerServices workloadServices = null, ManagedResourceGroupConfiguration managedResourceGroupConfiguration = null, IEnumerable networkFabricIds = null, IsWorkloadManagementNetworkEnabled? isWorkloadManagementNetworkEnabled = null, IEnumerable tenantInternetGatewayIds = null, string ipv4AddressSpace = null, string ipv6AddressSpace = null, NetworkFabricControllerSKU? nfcSku = null, string lastOperationDetails = null, NetworkFabricProvisioningState? provisioningState = null)
{
tags ??= new Dictionary();
infrastructureExpressRouteConnections ??= new List();
@@ -777,12 +583,12 @@ public static NetworkFabricControllerData NetworkFabricControllerData(ResourceId
workloadServices,
managedResourceGroupConfiguration,
networkFabricIds?.ToList(),
- isWorkloadManagementNetwork,
isWorkloadManagementNetworkEnabled,
tenantInternetGatewayIds?.ToList(),
ipv4AddressSpace,
ipv6AddressSpace,
nfcSku,
+ lastOperationDetails != null ? new LastOperationProperties(lastOperationDetails, serializedAdditionalRawData: null) : null,
provisioningState,
serializedAdditionalRawData: null);
}
@@ -804,23 +610,33 @@ public static NetworkFabricControllerServices NetworkFabricControllerServices(IE
/// The name.
/// The resourceType.
/// The systemData.
- /// Type of Network Fabric SKU.
+ /// The Network Fabric Sku properties.
+ /// A new instance for mocking.
+ public static NetworkFabricSkuData NetworkFabricSkuData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, NetworkFabricSkuProperties properties = null)
+ {
+ return new NetworkFabricSkuData(
+ id,
+ name,
+ resourceType,
+ systemData,
+ properties,
+ serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// Type of Network Fabric SKU.
/// Maximum number of compute racks available for this Network Fabric SKU. The value of max count racks is 4 for 4 rack SKU and 8 for 8 rack SKU.
/// Maximum number of servers available for this Network Fabric SKU.
/// List of supported Network Fabric SKU versions.
/// URL providing detailed configuration of the fabric SKU.
/// Provisioning state of the resource.
- /// A new instance for mocking.
- public static NetworkFabricSkuData NetworkFabricSkuData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, NetworkFabricSkuType? typePropertiesType = null, int? maxComputeRacks = null, int? maximumServerCount = null, IEnumerable supportedVersions = null, string details = null, NetworkFabricProvisioningState? provisioningState = null)
+ /// A new instance for mocking.
+ public static NetworkFabricSkuProperties NetworkFabricSkuProperties(NetworkFabricSkuType? skuType = null, int? maxComputeRacks = null, int? maximumServerCount = null, IEnumerable supportedVersions = null, string details = null, NetworkFabricProvisioningState? provisioningState = null)
{
supportedVersions ??= new List();
- return new NetworkFabricSkuData(
- id,
- name,
- resourceType,
- systemData,
- typePropertiesType,
+ return new NetworkFabricSkuProperties(
+ skuType,
maxComputeRacks,
maximumServerCount,
supportedVersions?.ToList(),
@@ -836,10 +652,13 @@ public static NetworkFabricSkuData NetworkFabricSkuData(ResourceIdentifier id =
/// The systemData.
/// The tags.
/// The location.
+ /// The managed service identities assigned to this resource.
/// Switch configuration description.
/// Supported Network Fabric SKU.Example: Compute / Aggregate racks. Once the user chooses a particular SKU, only supported racks can be added to the Network Fabric. The SKU determines whether it is a single / multi rack Network Fabric.
/// The version of Network Fabric.
/// Array of router IDs.
+ /// Bring your own storage account configurations for Network Fabric.
+ /// Network Fabric Lock details.
/// Azure resource ID for the NetworkFabricController the NetworkFabric belongs.
/// Number of compute racks associated to Network Fabric.
/// Number of servers.Possible values are from 1-16.
@@ -851,17 +670,30 @@ public static NetworkFabricSkuData NetworkFabricSkuData(ResourceIdentifier id =
/// List of NetworkRack resource IDs under the Network Fabric. The number of racks allowed depends on the Network Fabric SKU.
/// List of L2 Isolation Domain resource IDs under the Network Fabric.
/// List of L3 Isolation Domain resource IDs under the Network Fabric.
+ /// Hardware alert threshold percentage. Possible values are from 20 to 100.
+ /// Control Plane Access Control List ARM resource IDs.
+ /// Feature flag status information.
+ /// Trusted IP Prefixes ARM resource IDs.
+ /// Unique Route Distinguisher configuration.
+ /// Number of Storage arrays associated with the Network Fabric.
+ /// Active commit batch identifiers.
+ /// Details of the last operation performed on the resource.
/// Configuration state of the resource.
/// Provides you the latest status of the NFC service, whether it is Accepted, updating, Succeeded or Failed. During this process, the states keep changing based on the status of NFC provisioning.
/// Administrative state of the resource.
/// A new instance for mocking.
- public static NetworkFabricData NetworkFabricData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, string annotation = null, string networkFabricSku = null, string fabricVersion = null, IEnumerable routerIds = null, ResourceIdentifier networkFabricControllerId = null, int? rackCount = null, int serverCountPerRack = default, string ipv4Prefix = null, string ipv6Prefix = null, long fabricAsn = default, TerminalServerConfiguration terminalServerConfiguration = null, ManagementNetworkConfigurationProperties managementNetworkConfiguration = null, IEnumerable racks = null, IEnumerable l2IsolationDomains = null, IEnumerable l3IsolationDomains = null, NetworkFabricConfigurationState? configurationState = null, NetworkFabricProvisioningState? provisioningState = null, NetworkFabricAdministrativeState? administrativeState = null)
+ public static NetworkFabricData NetworkFabricData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, ManagedServiceIdentity identity = null, string annotation = null, string networkFabricSku = null, string fabricVersion = null, IEnumerable routerIds = null, StorageAccountConfiguration storageAccountConfiguration = null, IEnumerable fabricLocks = null, ResourceIdentifier networkFabricControllerId = null, int? rackCount = null, int serverCountPerRack = default, string ipv4Prefix = null, string ipv6Prefix = null, long fabricAsn = default, TerminalServerConfiguration terminalServerConfiguration = null, ManagementNetworkConfigurationProperties managementNetworkConfiguration = null, IEnumerable racks = null, IEnumerable l2IsolationDomains = null, IEnumerable l3IsolationDomains = null, int? hardwareAlertThreshold = null, IEnumerable controlPlaneAcls = null, IEnumerable featureFlags = null, IEnumerable trustedIPPrefixes = null, UniqueRouteDistinguisherProperties uniqueRdConfiguration = null, int? storageArrayCount = null, IEnumerable activeCommitBatches = null, string lastOperationDetails = null, NetworkFabricConfigurationState? configurationState = null, NetworkFabricProvisioningState? provisioningState = null, NetworkFabricAdministrativeState? administrativeState = null)
{
tags ??= new Dictionary();
routerIds ??= new List();
+ fabricLocks ??= new List();
racks ??= new List();
l2IsolationDomains ??= new List();
l3IsolationDomains ??= new List();
+ controlPlaneAcls ??= new List();
+ featureFlags ??= new List();
+ trustedIPPrefixes ??= new List();
+ activeCommitBatches ??= new List();
return new NetworkFabricData(
id,
@@ -870,10 +702,13 @@ public static NetworkFabricData NetworkFabricData(ResourceIdentifier id = null,
systemData,
tags,
location,
+ identity,
annotation,
networkFabricSku,
fabricVersion,
routerIds?.ToList(),
+ storageAccountConfiguration,
+ fabricLocks?.ToList(),
networkFabricControllerId,
rackCount,
serverCountPerRack,
@@ -885,34 +720,51 @@ public static NetworkFabricData NetworkFabricData(ResourceIdentifier id = null,
racks?.ToList(),
l2IsolationDomains?.ToList(),
l3IsolationDomains?.ToList(),
+ hardwareAlertThreshold,
+ controlPlaneAcls?.ToList(),
+ featureFlags?.ToList(),
+ trustedIPPrefixes?.ToList(),
+ uniqueRdConfiguration,
+ storageArrayCount,
+ activeCommitBatches?.ToList(),
+ lastOperationDetails != null ? new LastOperationProperties(lastOperationDetails, serializedAdditionalRawData: null) : null,
configurationState,
provisioningState,
administrativeState,
serializedAdditionalRawData: null);
}
+ /// Initializes a new instance of .
+ /// NetworkFabric Lock State.
+ /// NetworkFabric Lock Type.
+ /// A new instance for mocking.
+ public static FabricLockProperties FabricLockProperties(LockConfigurationState? lockState = null, NetworkFabricLockType? lockType = null)
+ {
+ return new FabricLockProperties(lockState, lockType, serializedAdditionalRawData: null);
+ }
+
/// Initializes a new instance of .
/// Username for the terminal server connection.
/// Password for the terminal server connection.
/// Serial Number of Terminal server.
- /// ARM Resource ID used for the NetworkDevice.
/// IPv4 Address Prefix.
/// IPv6 Address Prefix.
/// Secondary IPv4 Address Prefix.
/// Secondary IPv6 Address Prefix.
+ /// ARM Resource ID used for the NetworkDevice.
/// A new instance for mocking.
- public static TerminalServerConfiguration TerminalServerConfiguration(string username = null, string password = null, string serialNumber = null, ResourceIdentifier networkDeviceId = null, string primaryIPv4Prefix = null, string primaryIPv6Prefix = null, string secondaryIPv4Prefix = null, string secondaryIPv6Prefix = null)
+ public static TerminalServerConfiguration TerminalServerConfiguration(string username = null, string password = null, string serialNumber = null, string primaryIPv4Prefix = null, string primaryIPv6Prefix = null, string secondaryIPv4Prefix = null, string secondaryIPv6Prefix = null, ResourceIdentifier networkDeviceId = null)
{
return new TerminalServerConfiguration(
username,
password,
serialNumber,
- serializedAdditionalRawData: null,
- networkDeviceId,
primaryIPv4Prefix,
primaryIPv6Prefix,
secondaryIPv4Prefix,
- secondaryIPv6Prefix);
+ secondaryIPv6Prefix,
+ networkDeviceId,
+ serializedAdditionalRawData: null);
}
/// Initializes a new instance of .
@@ -922,7 +774,7 @@ public static TerminalServerConfiguration TerminalServerConfiguration(string use
/// option B properties.
/// option A properties.
/// A new instance for mocking.
- public static VpnConfigurationProperties VpnConfigurationProperties(ResourceIdentifier networkToNetworkInterconnectId = null, NetworkFabricAdministrativeState? administrativeState = null, PeeringOption peeringOption = default, OptionBProperties optionBProperties = null, VpnConfigurationOptionAProperties optionAProperties = null)
+ public static VpnConfigurationProperties VpnConfigurationProperties(ResourceIdentifier networkToNetworkInterconnectId = null, NetworkFabricAdministrativeState? administrativeState = null, PeeringOption peeringOption = default, VpnOptionBProperties optionBProperties = null, VpnOptionAProperties optionAProperties = null)
{
return new VpnConfigurationProperties(
networkToNetworkInterconnectId,
@@ -933,156 +785,128 @@ public static VpnConfigurationProperties VpnConfigurationProperties(ResourceIden
serializedAdditionalRawData: null);
}
- /// Initializes a new instance of .
+ /// Initializes a new instance of .
+ /// Administrative state of the BfdConfiguration. Example: Enabled | Disabled.
+ /// Interval in milliseconds. Example: 300.
+ /// Multiplier for the Bfd Configuration. Example: 5.
+ /// A new instance for mocking.
+ public static BfdConfiguration BfdConfiguration(BfdAdministrativeState? administrativeState = null, int? intervalInMilliSeconds = null, int? multiplier = null)
+ {
+ return new BfdConfiguration(administrativeState, intervalInMilliSeconds, multiplier, serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// Feature flag name.
+ /// Feature flag value.
+ /// A new instance for mocking.
+ public static FeatureFlagProperties FeatureFlagProperties(string featureFlagName = null, string featureFlagValue = null)
+ {
+ return new FeatureFlagProperties(featureFlagName, featureFlagValue, serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// Unique Route Distinguisher configuration state. Default is Enabled.
+ /// List of Unique Route Distinguisher addresses.
+ /// NNI derived unique Route Distinguisher state. Default is Disabled.
+ /// A new instance for mocking.
+ public static UniqueRouteDistinguisherProperties UniqueRouteDistinguisherProperties(UniqueRouteDistinguisherConfigurationState? uniqueRdConfigurationState = null, IEnumerable uniqueRds = null, NNIDerivedUniqueRouteDistinguisherConfigurationState? nniDerivedUniqueRdConfigurationState = null)
+ {
+ uniqueRds ??= new List();
+
+ return new UniqueRouteDistinguisherProperties(uniqueRdConfigurationState, uniqueRds?.ToList(), nniDerivedUniqueRdConfigurationState, serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
/// The id.
/// The name.
/// The resourceType.
/// The systemData.
- /// Type of NNI used. Example: CE | NPB.
- /// Configuration to use NNI for Infrastructure Management. Example: True/False.
- /// Based on this option layer3 parameters are mandatory. Example: True/False.
- /// Common properties for Layer2 Configuration.
- /// Common properties for Layer3Configuration.
- /// NPB Static Route Configuration properties.
- /// Import Route Policy configuration.
- /// Export Route Policy configuration.
- /// Egress Acl. ARM resource ID of Access Control Lists.
- /// Ingress Acl. ARM resource ID of Access Control Lists.
- /// Configuration state of the resource.
- /// Provisioning state of the resource.
- /// Administrative state of the resource.
- /// A new instance for mocking.
- public static NetworkToNetworkInterconnectData NetworkToNetworkInterconnectData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, NniType? nniType = null, IsManagementType? isManagementType = null, NetworkFabricBooleanValue useOptionB = default, Layer2Configuration layer2Configuration = null, NetworkToNetworkInterconnectOptionBLayer3Configuration optionBLayer3Configuration = null, NpbStaticRouteConfiguration npbStaticRouteConfiguration = null, ImportRoutePolicyInformation importRoutePolicy = null, ExportRoutePolicyInformation exportRoutePolicy = null, ResourceIdentifier egressAclId = null, ResourceIdentifier ingressAclId = null, NetworkFabricConfigurationState? configurationState = null, NetworkFabricProvisioningState? provisioningState = null, NetworkFabricAdministrativeState? administrativeState = null)
+ /// The tags.
+ /// The location.
+ /// The NetworkFabric Properties.
+ /// A new instance for mocking.
+ public static NetworkMonitorData NetworkMonitorData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, NetworkMonitorProperties properties = null)
{
- return new NetworkToNetworkInterconnectData(
+ tags ??= new Dictionary();
+
+ return new NetworkMonitorData(
id,
name,
resourceType,
systemData,
- nniType,
- isManagementType,
- useOptionB,
- layer2Configuration,
- optionBLayer3Configuration,
- npbStaticRouteConfiguration,
- importRoutePolicy,
- exportRoutePolicy,
- egressAclId,
- ingressAclId,
- configurationState,
- provisioningState,
- administrativeState,
+ tags,
+ location,
+ properties,
serializedAdditionalRawData: null);
}
- /// Initializes a new instance of .
- /// IPv4 Address Prefix.
- /// IPv6 Address Prefix.
- /// Secondary IPv4 Address Prefix.
- /// Secondary IPv6 Address Prefix.
- /// ASN of PE devices for CE/PE connectivity.Example : 28.
- /// VLAN for CE/PE Layer 3 connectivity.Example : 501.
- /// ASN of CE devices for CE/PE connectivity.
- /// A new instance for mocking.
- public static NetworkToNetworkInterconnectOptionBLayer3Configuration NetworkToNetworkInterconnectOptionBLayer3Configuration(string primaryIPv4Prefix = null, string primaryIPv6Prefix = null, string secondaryIPv4Prefix = null, string secondaryIPv6Prefix = null, long? peerAsn = null, int? vlanId = null, long? fabricAsn = null)
- {
- return new NetworkToNetworkInterconnectOptionBLayer3Configuration(
- primaryIPv4Prefix,
- primaryIPv6Prefix,
- secondaryIPv4Prefix,
- secondaryIPv6Prefix,
- serializedAdditionalRawData: null,
- peerAsn,
- vlanId,
- fabricAsn);
- }
-
- /// Initializes a new instance of .
- /// IPv4 Address Prefix.
- /// IPv6 Address Prefix.
- /// Secondary IPv4 Address Prefix.
- /// Secondary IPv6 Address Prefix.
- /// ASN of PE devices for CE/PE connectivity.Example : 28.
- /// VLAN for CE/PE Layer 3 connectivity.Example : 501.
- /// ASN of CE devices for CE/PE connectivity.
- /// A new instance for mocking.
- public static OptionBLayer3Configuration OptionBLayer3Configuration(string primaryIPv4Prefix = null, string primaryIPv6Prefix = null, string secondaryIPv4Prefix = null, string secondaryIPv6Prefix = null, long? peerAsn = null, int? vlanId = null, long? fabricAsn = null)
+ /// Initializes a new instance of .
+ /// Switch configuration description.
+ /// BMP Configurations for the Network Fabric.
+ /// Details of the last operation performed on the resource.
+ /// Configuration state of the resource.
+ /// Provides you the latest status of the NetworkMonitor resource.
+ /// Administrative state of the resource.
+ /// A new instance for mocking.
+ public static NetworkMonitorProperties NetworkMonitorProperties(string annotation = null, BmpConfigurationProperties bmpConfiguration = null, string lastOperationDetails = null, NetworkFabricConfigurationState? configurationState = null, NetworkFabricProvisioningState? provisioningState = null, NetworkFabricAdministrativeState? administrativeState = null)
{
- return new OptionBLayer3Configuration(
- primaryIPv4Prefix,
- primaryIPv6Prefix,
- secondaryIPv4Prefix,
- secondaryIPv6Prefix,
- serializedAdditionalRawData: null,
- peerAsn,
- vlanId,
- fabricAsn);
+ return new NetworkMonitorProperties(
+ annotation,
+ bmpConfiguration,
+ lastOperationDetails != null ? new LastOperationProperties(lastOperationDetails, serializedAdditionalRawData: null) : null,
+ configurationState,
+ provisioningState,
+ administrativeState,
+ serializedAdditionalRawData: null);
}
- /// Initializes a new instance of .
+ /// Initializes a new instance of .
/// The id.
/// The name.
/// The resourceType.
/// The systemData.
- /// Common properties for Layer2Configuration.
- /// Common properties for Layer3Configuration.
- /// NPB Static Route Configuration properties.
- /// Import Route Policy information.
- /// Export Route Policy information.
- /// Egress Acl. ARM resource ID of Access Control Lists.
- /// Ingress Acl. ARM resource ID of Access Control Lists.
- /// A new instance for mocking.
- public static NetworkToNetworkInterconnectPatch NetworkToNetworkInterconnectPatch(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, Layer2Configuration layer2Configuration = null, OptionBLayer3Configuration optionBLayer3Configuration = null, NpbStaticRouteConfiguration npbStaticRouteConfiguration = null, ImportRoutePolicyInformation importRoutePolicy = null, ExportRoutePolicyInformation exportRoutePolicy = null, ResourceIdentifier egressAclId = null, ResourceIdentifier ingressAclId = null)
+ /// The tags.
+ /// The location.
+ /// The NetworkPacketBroker properties.
+ /// A new instance for mocking.
+ public static NetworkPacketBrokerData NetworkPacketBrokerData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, NetworkPacketBrokerProperties properties = null)
{
- return new NetworkToNetworkInterconnectPatch(
+ tags ??= new Dictionary();
+
+ return new NetworkPacketBrokerData(
id,
name,
resourceType,
systemData,
- layer2Configuration,
- optionBLayer3Configuration,
- npbStaticRouteConfiguration,
- importRoutePolicy,
- exportRoutePolicy,
- egressAclId,
- ingressAclId,
+ tags,
+ location,
+ properties,
serializedAdditionalRawData: null);
}
- /// Initializes a new instance of .
- /// The id.
- /// The name.
- /// The resourceType.
- /// The systemData.
- /// The tags.
- /// The location.
+ /// Initializes a new instance of .
/// ARM resource ID of the Network Fabric.
/// List of ARM resource IDs of Network Devices [NPB].
/// List of network interfaces across NPB devices that are used to mirror source traffic.
/// List of network Tap IDs configured on NPB.
/// List of neighbor group IDs configured on NPB.
+ /// Details of the last operation performed on the resource.
/// Provisioning state of the resource.
- /// A new instance for mocking.
- public static NetworkPacketBrokerData NetworkPacketBrokerData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, ResourceIdentifier networkFabricId = null, IEnumerable networkDeviceIds = null, IEnumerable sourceInterfaceIds = null, IEnumerable networkTapIds = null, IEnumerable neighborGroupIds = null, NetworkFabricProvisioningState? provisioningState = null)
+ /// A new instance for mocking.
+ public static NetworkPacketBrokerProperties NetworkPacketBrokerProperties(ResourceIdentifier networkFabricId = null, IEnumerable networkDeviceIds = null, IEnumerable sourceInterfaceIds = null, IEnumerable networkTapIds = null, IEnumerable neighborGroupIds = null, string lastOperationDetails = null, NetworkFabricProvisioningState? provisioningState = null)
{
- tags ??= new Dictionary();
networkDeviceIds ??= new List();
sourceInterfaceIds ??= new List();
networkTapIds ??= new List();
neighborGroupIds ??= new List();
- return new NetworkPacketBrokerData(
- id,
- name,
- resourceType,
- systemData,
- tags,
- location,
+ return new NetworkPacketBrokerProperties(
networkFabricId,
networkDeviceIds?.ToList(),
sourceInterfaceIds?.ToList(),
networkTapIds?.ToList(),
neighborGroupIds?.ToList(),
+ lastOperationDetails != null ? new LastOperationProperties(lastOperationDetails, serializedAdditionalRawData: null) : null,
provisioningState,
serializedAdditionalRawData: null);
}
@@ -1094,16 +918,11 @@ public static NetworkPacketBrokerData NetworkPacketBrokerData(ResourceIdentifier
/// The systemData.
/// The tags.
/// The location.
- /// Switch configuration description.
- /// Network Rack SKU name.
- /// ARM resource ID of the Network Fabric.
- /// List of network device ARM resource IDs.
- /// Provisioning state of the resource.
+ /// The NetworkRack properties.
/// A new instance for mocking.
- public static NetworkRackData NetworkRackData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, string annotation = null, NetworkRackType? networkRackType = null, ResourceIdentifier networkFabricId = null, IEnumerable networkDevices = null, NetworkFabricProvisioningState? provisioningState = null)
+ public static NetworkRackData NetworkRackData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, NetworkRackProperties properties = null)
{
tags ??= new Dictionary();
- networkDevices ??= new List();
return new NetworkRackData(
id,
@@ -1112,10 +931,28 @@ public static NetworkRackData NetworkRackData(ResourceIdentifier id = null, stri
systemData,
tags,
location,
+ properties,
+ serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// Switch configuration description.
+ /// Network Rack SKU name.
+ /// ARM resource ID of the Network Fabric.
+ /// List of network device ARM resource IDs.
+ /// Details of the last operation performed on the resource.
+ /// Provisioning state of the resource.
+ /// A new instance for mocking.
+ public static NetworkRackProperties NetworkRackProperties(string annotation = null, NetworkRackType? networkRackType = null, ResourceIdentifier networkFabricId = null, IEnumerable networkDevices = null, string lastOperationDetails = null, NetworkFabricProvisioningState? provisioningState = null)
+ {
+ networkDevices ??= new List();
+
+ return new NetworkRackProperties(
annotation,
networkRackType,
networkFabricId,
networkDevices?.ToList(),
+ lastOperationDetails != null ? new LastOperationProperties(lastOperationDetails, serializedAdditionalRawData: null) : null,
provisioningState,
serializedAdditionalRawData: null);
}
@@ -1127,6 +964,24 @@ public static NetworkRackData NetworkRackData(ResourceIdentifier id = null, stri
/// The systemData.
/// The tags.
/// The location.
+ /// The NetworkTapRule Properties.
+ /// A new instance for mocking.
+ public static NetworkTapRuleData NetworkTapRuleData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, NetworkTapRuleProperties properties = null)
+ {
+ tags ??= new Dictionary();
+
+ return new NetworkTapRuleData(
+ id,
+ name,
+ resourceType,
+ systemData,
+ tags,
+ location,
+ properties,
+ serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
/// Switch configuration description.
/// Input method to configure Network Tap Rule.
/// Network Tap Rules file URL.
@@ -1135,23 +990,18 @@ public static NetworkRackData NetworkRackData(ResourceIdentifier id = null, stri
/// The ARM resource Id of the NetworkTap.
/// Polling interval in seconds.
/// The last sync timestamp.
+ /// Global network tap rule actions.
+ /// Details of the last operation performed on the resource.
/// Configuration state of the resource.
/// Provisioning state of the resource.
/// Administrative state of the resource.
- /// A new instance for mocking.
- public static NetworkTapRuleData NetworkTapRuleData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, string annotation = null, NetworkFabricConfigurationType? configurationType = null, Uri tapRulesUri = null, IEnumerable matchConfigurations = null, IEnumerable dynamicMatchConfigurations = null, ResourceIdentifier networkTapId = null, PollingIntervalInSecond? pollingIntervalInSeconds = null, DateTimeOffset? lastSyncedOn = null, NetworkFabricConfigurationState? configurationState = null, NetworkFabricProvisioningState? provisioningState = null, NetworkFabricAdministrativeState? administrativeState = null)
+ /// A new instance for mocking.
+ public static NetworkTapRuleProperties NetworkTapRuleProperties(string annotation = null, NetworkFabricConfigurationType configurationType = default, Uri tapRulesUri = null, IEnumerable matchConfigurations = null, IEnumerable dynamicMatchConfigurations = null, string networkTapId = null, PollingIntervalInSecond? pollingIntervalInSeconds = null, DateTimeOffset? lastSyncedOn = null, GlobalNetworkTapRuleActionProperties globalNetworkTapRuleActions = null, string lastOperationDetails = null, NetworkFabricConfigurationState? configurationState = null, NetworkFabricProvisioningState? provisioningState = null, NetworkFabricAdministrativeState? administrativeState = null)
{
- tags ??= new Dictionary();
matchConfigurations ??= new List();
dynamicMatchConfigurations ??= new List();
- return new NetworkTapRuleData(
- id,
- name,
- resourceType,
- systemData,
- tags,
- location,
+ return new NetworkTapRuleProperties(
annotation,
configurationType,
tapRulesUri,
@@ -1160,6 +1010,8 @@ public static NetworkTapRuleData NetworkTapRuleData(ResourceIdentifier id = null
networkTapId,
pollingIntervalInSeconds,
lastSyncedOn,
+ globalNetworkTapRuleActions,
+ lastOperationDetails != null ? new LastOperationProperties(lastOperationDetails, serializedAdditionalRawData: null) : null,
configurationState,
provisioningState,
administrativeState,
@@ -1173,19 +1025,11 @@ public static NetworkTapRuleData NetworkTapRuleData(ResourceIdentifier id = null
/// The systemData.
/// The tags.
/// The location.
- /// Switch configuration description.
- /// ARM resource ID of the Network Packet Broker.
- /// Source Tap Rule Id. ARM Resource ID of the Network Tap Rule.
- /// List of destinations to send the filter traffic.
- /// Polling type.
- /// Gets the configurations state of the resource.
- /// Provides you the latest status of the NFC service, whether it is Accepted, updating, Succeeded or Failed. During this process, the states keep changing based on the status of Network Tap provisioning.
- /// Administrative state of the resource. Example -Enabled/Disabled.
+ /// The NetworkTap Properties.
/// A new instance for mocking.
- public static NetworkTapData NetworkTapData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, string annotation = null, ResourceIdentifier networkPacketBrokerId = null, ResourceIdentifier sourceTapRuleId = null, IEnumerable destinations = null, NetworkTapPollingType? pollingType = null, NetworkFabricConfigurationState? configurationState = null, NetworkFabricProvisioningState? provisioningState = null, NetworkFabricAdministrativeState? administrativeState = null)
+ public static NetworkTapData NetworkTapData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, NetworkTapProperties properties = null)
{
tags ??= new Dictionary();
- destinations ??= new List();
return new NetworkTapData(
id,
@@ -1194,11 +1038,32 @@ public static NetworkTapData NetworkTapData(ResourceIdentifier id = null, string
systemData,
tags,
location,
+ properties,
+ serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// Switch configuration description.
+ /// ARM resource ID of the Network Packet Broker.
+ /// Source Tap Rule Id. ARM Resource ID of the Network Tap Rule.
+ /// List of destinations to send the filter traffic.
+ /// Polling type.
+ /// Details of the last operation performed on the resource.
+ /// Gets the configurations state of the resource.
+ /// Provides you the latest status of the NFC service, whether it is Accepted, updating, Succeeded or Failed. During this process, the states keep changing based on the status of Network Tap provisioning.
+ /// Administrative state of the resource. Example -Enabled/Disabled.
+ /// A new instance for mocking.
+ public static NetworkTapProperties NetworkTapProperties(string annotation = null, ResourceIdentifier networkPacketBrokerId = null, ResourceIdentifier sourceTapRuleId = null, IEnumerable destinations = null, NetworkTapPollingType? pollingType = null, string lastOperationDetails = null, NetworkFabricConfigurationState? configurationState = null, NetworkFabricProvisioningState? provisioningState = null, NetworkFabricAdministrativeState? administrativeState = null)
+ {
+ destinations ??= new List();
+
+ return new NetworkTapProperties(
annotation,
networkPacketBrokerId,
sourceTapRuleId,
destinations?.ToList(),
pollingType,
+ lastOperationDetails != null ? new LastOperationProperties(lastOperationDetails, serializedAdditionalRawData: null) : null,
configurationState,
provisioningState,
administrativeState,
@@ -1212,19 +1077,11 @@ public static NetworkTapData NetworkTapData(ResourceIdentifier id = null, string
/// The systemData.
/// The tags.
/// The location.
- /// Switch configuration description.
- /// Default action that needs to be applied when no condition is matched. Example: Permit | Deny.
- /// Route Policy statements.
- /// Arm Resource ID of Network Fabric.
- /// AddressFamilyType. This parameter decides whether the given ipv4 or ipv6 route policy.
- /// Configuration state of the resource.
- /// Provisioning state of the resource.
- /// Administrative state of the resource.
+ /// The RoutePolicy properties.
/// A new instance for mocking.
- public static NetworkFabricRoutePolicyData NetworkFabricRoutePolicyData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, string annotation = null, CommunityActionType? defaultAction = null, IEnumerable statements = null, ResourceIdentifier networkFabricId = null, AddressFamilyType? addressFamilyType = null, NetworkFabricConfigurationState? configurationState = null, NetworkFabricProvisioningState? provisioningState = null, NetworkFabricAdministrativeState? administrativeState = null)
+ public static NetworkFabricRoutePolicyData NetworkFabricRoutePolicyData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, RoutePolicyProperties properties = null)
{
tags ??= new Dictionary();
- statements ??= new List();
return new NetworkFabricRoutePolicyData(
id,
@@ -1233,63 +1090,927 @@ public static NetworkFabricRoutePolicyData NetworkFabricRoutePolicyData(Resource
systemData,
tags,
location,
+ properties,
+ serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// Switch configuration description.
+ /// Default action that needs to be applied when no condition is matched. Example: Permit | Deny.
+ /// Route Policy statements.
+ /// Arm Resource ID of Network Fabric.
+ /// AddressFamilyType. This parameter decides whether the given ipv4 or ipv6 route policy.
+ /// Details of the last operation performed on the resource.
+ /// Configuration state of the resource.
+ /// Provisioning state of the resource.
+ /// Administrative state of the resource.
+ /// A new instance for mocking.
+ public static RoutePolicyProperties RoutePolicyProperties(string annotation = null, CommunityActionType? defaultAction = null, IEnumerable statements = null, ResourceIdentifier networkFabricId = null, AddressFamilyType? addressFamilyType = null, string lastOperationDetails = null, NetworkFabricConfigurationState? configurationState = null, NetworkFabricProvisioningState? provisioningState = null, NetworkFabricAdministrativeState? administrativeState = null)
+ {
+ statements ??= new List();
+
+ return new RoutePolicyProperties(
annotation,
defaultAction,
statements?.ToList(),
networkFabricId,
addressFamilyType,
+ lastOperationDetails != null ? new LastOperationProperties(lastOperationDetails, serializedAdditionalRawData: null) : null,
configurationState,
provisioningState,
administrativeState,
serializedAdditionalRawData: null);
}
- ///
- /// This constructor is added for the backward compatibility.
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- [EditorBrowsable(EditorBrowsableState.Never)]
- public static NetworkFabricAccessControlListData NetworkFabricAccessControlListData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, string annotation, NetworkFabricConfigurationType? configurationType, Uri aclsUri, IEnumerable matchConfigurations, IEnumerable dynamicMatchConfigurations, DateTimeOffset? lastSyncedOn, NetworkFabricConfigurationState? configurationState, NetworkFabricProvisioningState? provisioningState, NetworkFabricAdministrativeState? administrativeState)
+ /// Initializes a new instance of .
+ /// The error object.
+ /// Gets the configuration state.
+ /// A new instance for mocking.
+ public static StateUpdateCommonPostActionResult StateUpdateCommonPostActionResult(ResponseError error = null, NetworkFabricConfigurationState? configurationState = null)
{
- return NetworkFabricAccessControlListData(id: id, name: name, resourceType: resourceType, systemData: systemData, tags: tags, location: location, annotation: annotation, configurationType: configurationType, aclsUri: aclsUri, defaultAction: default, matchConfigurations: matchConfigurations, dynamicMatchConfigurations: dynamicMatchConfigurations, lastSyncedOn: lastSyncedOn, configurationState: configurationState, provisioningState: provisioningState, administrativeState: administrativeState);
+ return new StateUpdateCommonPostActionResult(error, configurationState, serializedAdditionalRawData: null);
}
- ///
- /// This constructor is added for the backward compatibility
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- [EditorBrowsable(EditorBrowsableState.Never)]
- public static NetworkFabricRoutePolicyData NetworkFabricRoutePolicyData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, string annotation, IEnumerable statements, ResourceIdentifier networkFabricId, AddressFamilyType? addressFamilyType, NetworkFabricConfigurationState? configurationState, NetworkFabricProvisioningState? provisioningState, NetworkFabricAdministrativeState? administrativeState)
+ /// Initializes a new instance of .
+ /// The error object.
+ /// Gets the configuration state.
+ /// URL for the details of the response.
+ /// A new instance for mocking.
+ public static ValidateConfigurationResult ValidateConfigurationResult(ResponseError error = null, NetworkFabricConfigurationState? configurationState = null, Uri uri = null)
+ {
+ return new ValidateConfigurationResult(error, configurationState, uri, serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// The error object.
+ /// Gets the configuration state.
+ /// List of ARM Resource IDs for which the given action applied successfully.
+ /// List of ARM Resource IDs for which the given action failed to apply.
+ /// A new instance for mocking.
+ public static DeviceUpdateCommonPostActionResult DeviceUpdateCommonPostActionResult(ResponseError error = null, NetworkFabricConfigurationState? configurationState = null, IEnumerable successfulDevices = null, IEnumerable failedDevices = null)
+ {
+ successfulDevices ??= new List();
+ failedDevices ??= new List();
+
+ return new DeviceUpdateCommonPostActionResult(error, configurationState, successfulDevices?.ToList(), failedDevices?.ToList(), serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// The id.
+ /// The name.
+ /// The resourceType.
+ /// The systemData.
+ /// Switch configuration description.
+ /// ARM Resource ID of the networkToNetworkInterconnectId of the ExternalNetwork resource.
+ /// Import Route Policy either IPv4 or IPv6.
+ /// Export Route Policy either IPv4 or IPv6.
+ /// Peering option list.
+ /// option B properties object.
+ /// option A properties object.
+ /// Static Route Configuration.
+ /// Details of the last operation performed on the resource.
+ /// Configuration state of the resource.
+ /// Provisioning state of the resource.
+ /// Administrative state of the resource.
+ /// A new instance for mocking.
+ public static NetworkFabricExternalNetworkData NetworkFabricExternalNetworkData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, string annotation = null, ResourceIdentifier networkToNetworkInterconnectId = null, ImportRoutePolicy importRoutePolicy = null, ExportRoutePolicy exportRoutePolicy = null, PeeringOption peeringOption = default, L3OptionBProperties optionBProperties = null, ExternalNetworkOptionAProperties optionAProperties = null, ExternalNetworkStaticRouteConfiguration staticRouteConfiguration = null, string lastOperationDetails = null, NetworkFabricConfigurationState? configurationState = null, NetworkFabricProvisioningState? provisioningState = null, NetworkFabricAdministrativeState? administrativeState = null)
+ {
+ return new NetworkFabricExternalNetworkData(
+ id,
+ name,
+ resourceType,
+ systemData,
+ annotation,
+ networkToNetworkInterconnectId,
+ importRoutePolicy,
+ exportRoutePolicy,
+ peeringOption,
+ optionBProperties,
+ optionAProperties,
+ staticRouteConfiguration,
+ lastOperationDetails != null ? new LastOperationProperties(lastOperationDetails, serializedAdditionalRawData: null) : null,
+ configurationState,
+ provisioningState,
+ administrativeState,
+ serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// IPv4 Address Prefix.
+ /// IPv6 Address Prefix.
+ /// Secondary IPv4 Address Prefix.
+ /// Secondary IPv6 Address Prefix.
+ /// MTU to use for option A peering.
+ /// Vlan identifier. Example : 501.
+ /// Fabric ASN number. Example 65001.
+ /// Peer ASN number.Example : 28.
+ /// BFD configuration properties.
+ /// Ingress Acl. ARM resource ID of Access Control Lists.
+ /// BMP Monitor Configuration.
+ /// Egress Acl. ARM resource ID of Access Control Lists.
+ /// V4OverV6 BGP Session state.
+ /// V6OverV4 BGP Session state.
+ /// Native IPv4 prefix limits configuration.
+ /// Native IPv6 prefix limits configuration.
+ /// A new instance for mocking.
+ public static ExternalNetworkOptionAProperties ExternalNetworkOptionAProperties(string primaryIPv4Prefix = null, string primaryIPv6Prefix = null, string secondaryIPv4Prefix = null, string secondaryIPv6Prefix = null, int? mtu = null, int? vlanId = null, long? fabricAsn = null, long? peerAsn = null, BfdConfiguration bfdConfiguration = null, ResourceIdentifier ingressAclId = null, BmpConfigurationState? bmpConfigurationState = null, ResourceIdentifier egressAclId = null, V4OverV6BgpSessionState? v4OverV6BgpSession = null, V6OverV4BgpSessionState? v6OverV4BgpSession = null, IEnumerable nativeIPv4PrefixLimits = null, IEnumerable nativeIPv6PrefixLimits = null)
+ {
+ nativeIPv4PrefixLimits ??= new List();
+ nativeIPv6PrefixLimits ??= new List();
+
+ return new ExternalNetworkOptionAProperties(
+ primaryIPv4Prefix,
+ primaryIPv6Prefix,
+ secondaryIPv4Prefix,
+ secondaryIPv6Prefix,
+ mtu,
+ vlanId,
+ fabricAsn,
+ peerAsn,
+ bfdConfiguration,
+ ingressAclId,
+ bmpConfigurationState != null ? new ExternalNetworkBmpProperties(bmpConfigurationState, serializedAdditionalRawData: null) : null,
+ egressAclId,
+ v4OverV6BgpSession,
+ v6OverV4BgpSession,
+ nativeIPv4PrefixLimits != null ? new NativeIPv4PrefixLimitProperties(nativeIPv4PrefixLimits?.ToList(), serializedAdditionalRawData: null) : null,
+ nativeIPv6PrefixLimits != null ? new NativeIPv6PrefixLimitProperties(nativeIPv6PrefixLimits?.ToList(), serializedAdditionalRawData: null) : null,
+ serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// IPv4 Address Prefix.
+ /// IPv6 Address Prefix.
+ /// Secondary IPv4 Address Prefix.
+ /// Secondary IPv6 Address Prefix.
+ /// MTU to use for option A peering.
+ /// Vlan identifier. Example : 501.
+ /// Fabric ASN number. Example 65001.
+ /// Peer ASN number.Example : 28.
+ /// BFD configuration properties.
+ /// Ingress Acl. ARM resource ID of Access Control Lists.
+ /// Egress Acl. ARM resource ID of Access Control Lists.
+ /// BMP Monitor Configuration.
+ /// V4OverV6 BGP Session state.
+ /// V6OverV4 BGP Session state.
+ /// Native IPv4 prefix limit configuration.
+ /// Native IPv6 prefix limit configuration.
+ /// A new instance for mocking.
+ public static ExternalNetworkPatchOptionAProperties ExternalNetworkPatchOptionAProperties(string primaryIPv4Prefix = null, string primaryIPv6Prefix = null, string secondaryIPv4Prefix = null, string secondaryIPv6Prefix = null, int? mtu = null, int? vlanId = null, long? fabricAsn = null, long? peerAsn = null, BfdPatchConfiguration bfdConfiguration = null, ResourceIdentifier ingressAclId = null, ResourceIdentifier egressAclId = null, BmpConfigurationState? bmpConfigurationState = null, V4OverV6BgpSessionState? v4OverV6BgpSession = null, V6OverV4BgpSessionState? v6OverV4BgpSession = null, IEnumerable nativeIPv4PrefixLimits = null, IEnumerable nativeIPv6PrefixLimits = null)
+ {
+ nativeIPv4PrefixLimits ??= new List();
+ nativeIPv6PrefixLimits ??= new List();
+
+ return new ExternalNetworkPatchOptionAProperties(
+ primaryIPv4Prefix,
+ primaryIPv6Prefix,
+ secondaryIPv4Prefix,
+ secondaryIPv6Prefix,
+ mtu,
+ vlanId,
+ fabricAsn,
+ peerAsn,
+ bfdConfiguration,
+ ingressAclId,
+ egressAclId,
+ bmpConfigurationState != null ? new ExternalNetworkBmpPatchProperties(bmpConfigurationState, serializedAdditionalRawData: null) : null,
+ v4OverV6BgpSession,
+ v6OverV4BgpSession,
+ nativeIPv4PrefixLimits != null ? new NativeIPv4PrefixLimitPatchProperties(nativeIPv4PrefixLimits?.ToList(), serializedAdditionalRawData: null) : null,
+ nativeIPv6PrefixLimits != null ? new NativeIPv6PrefixLimitPatchProperties(nativeIPv6PrefixLimits?.ToList(), serializedAdditionalRawData: null) : null,
+ serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// Administrative state of the BfdConfiguration. Example: Enabled | Disabled.
+ /// Interval in milliseconds. Example: 300.
+ /// Multiplier for the Bfd Configuration. Example: 5.
+ /// A new instance for mocking.
+ public static BfdPatchConfiguration BfdPatchConfiguration(BfdAdministrativeState? administrativeState = null, int? intervalInMilliSeconds = null, int? multiplier = null)
+ {
+ return new BfdPatchConfiguration(administrativeState, intervalInMilliSeconds, multiplier, serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// Route Type that helps to know which bfd we are updating.
+ /// Administrative state.
+ /// The error object.
+ /// A new instance for mocking.
+ public static ExternalNetworkBfdAdministrativeStateResult ExternalNetworkBfdAdministrativeStateResult(ExternalNetworkRouteType? routeType = null, BfdAdministrativeState? administrativeState = null, ResponseError error = null)
+ {
+ return new ExternalNetworkBfdAdministrativeStateResult(routeType, administrativeState, error, serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// The id.
+ /// The name.
+ /// The resourceType.
+ /// The systemData.
+ /// Switch configuration description.
+ /// Maximum transmission unit. Default value is 1500.
+ /// List of Connected IPv4 Subnets.
+ /// List of connected IPv6 Subnets.
+ /// Import Route Policy either IPv4 or IPv6.
+ /// Export Route Policy either IPv4 or IPv6.
+ /// Ingress Acl. ARM resource ID of Access Control Lists.
+ /// Egress Acl. ARM resource ID of Access Control Lists.
+ /// To check whether monitoring of internal network is enabled or not.
+ /// Extension. Example: NoExtension | NPB.
+ /// Vlan identifier. Example: 1001.
+ /// BGP configuration properties.
+ /// Static Route Configuration properties.
+ /// Native IPv4 Prefix Limit Configuration properties.
+ /// Native IPv6 Prefix Limit Configuration properties.
+ /// Details of the last operation performed on the resource.
+ /// Configuration state of the resource.
+ /// Provisioning state of the resource.
+ /// Administrative state of the resource.
+ /// A new instance for mocking.
+ public static NetworkFabricInternalNetworkData NetworkFabricInternalNetworkData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, string annotation = null, int? mtu = null, IEnumerable connectedIPv4Subnets = null, IEnumerable connectedIPv6Subnets = null, ImportRoutePolicy importRoutePolicy = null, ExportRoutePolicy exportRoutePolicy = null, ResourceIdentifier ingressAclId = null, ResourceIdentifier egressAclId = null, IsMonitoringEnabled? isMonitoringEnabled = null, StaticRouteConfigurationExtension? extension = null, int vlanId = default, BgpConfiguration bgpConfiguration = null, StaticRouteConfiguration staticRouteConfiguration = null, IEnumerable nativeIPv4PrefixLimits = null, IEnumerable nativeIPv6PrefixLimits = null, string lastOperationDetails = null, NetworkFabricConfigurationState? configurationState = null, NetworkFabricProvisioningState? provisioningState = null, NetworkFabricAdministrativeState? administrativeState = null)
+ {
+ connectedIPv4Subnets ??= new List();
+ connectedIPv6Subnets ??= new List();
+ nativeIPv4PrefixLimits ??= new List();
+ nativeIPv6PrefixLimits ??= new List();
+
+ return new NetworkFabricInternalNetworkData(
+ id,
+ name,
+ resourceType,
+ systemData,
+ annotation,
+ mtu,
+ connectedIPv4Subnets?.ToList(),
+ connectedIPv6Subnets?.ToList(),
+ importRoutePolicy,
+ exportRoutePolicy,
+ ingressAclId,
+ egressAclId,
+ isMonitoringEnabled,
+ extension,
+ vlanId,
+ bgpConfiguration,
+ staticRouteConfiguration,
+ nativeIPv4PrefixLimits != null ? new NativeIPv4PrefixLimitProperties(nativeIPv4PrefixLimits?.ToList(), serializedAdditionalRawData: null) : null,
+ nativeIPv6PrefixLimits != null ? new NativeIPv6PrefixLimitProperties(nativeIPv6PrefixLimits?.ToList(), serializedAdditionalRawData: null) : null,
+ lastOperationDetails != null ? new LastOperationProperties(lastOperationDetails, serializedAdditionalRawData: null) : null,
+ configurationState,
+ provisioningState,
+ administrativeState,
+ serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// Switch configuration description.
+ /// BFD configuration properties.
+ /// Originate a defaultRoute. Ex: "True" | "False".
+ /// Allows for routes to be received and processed even if the router detects its own ASN in the AS-Path. 0 is disable, Possible values are 1-10, default is 2.
+ /// Enable Or Disable state.
+ /// ASN of Network Fabric. Example: 65048.
+ /// Peer ASN. Example: 65047.
+ /// List of BGP IPv4 Listen Range prefixes.
+ /// List of BGP IPv6 Listen Ranges prefixes.
+ /// List with stringified IPv4 Neighbor Addresses.
+ /// List with stringified IPv6 Neighbor Address.
+ /// InternalNetwork BMP Configuration.
+ /// V4 over V6 bgp session.
+ /// v6 over v4 bgp session.
+ /// A new instance for mocking.
+ public static BgpConfiguration BgpConfiguration(string annotation = null, BfdConfiguration bfdConfiguration = null, NetworkFabricBooleanValue? defaultRouteOriginate = null, int? allowAS = null, AllowASOverride? allowASOverride = null, long? fabricAsn = null, long? peerAsn = null, IEnumerable ipv4ListenRangePrefixes = null, IEnumerable ipv6ListenRangePrefixes = null, IEnumerable ipv4NeighborAddress = null, IEnumerable ipv6NeighborAddress = null, InternalNetworkBmpProperties bmpConfiguration = null, V4OverV6BgpSessionState? v4OverV6BgpSession = null, V6OverV4BgpSessionState? v6OverV4BgpSession = null)
+ {
+ ipv4ListenRangePrefixes ??= new List();
+ ipv6ListenRangePrefixes ??= new List();
+ ipv4NeighborAddress ??= new List();
+ ipv6NeighborAddress ??= new List();
+
+ return new BgpConfiguration(
+ annotation,
+ bfdConfiguration,
+ defaultRouteOriginate,
+ allowAS,
+ allowASOverride,
+ fabricAsn,
+ peerAsn,
+ ipv4ListenRangePrefixes?.ToList(),
+ ipv6ListenRangePrefixes?.ToList(),
+ ipv4NeighborAddress?.ToList(),
+ ipv6NeighborAddress?.ToList(),
+ bmpConfiguration,
+ v4OverV6BgpSession,
+ v6OverV4BgpSession,
+ serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// IP Address.
+ /// BFD Administrative State for each Neighbor Address. Example: Enabled | Disabled.
+ /// BGP Administrative State for each Neighbor Address. Example: Enabled | Disabled.
+ /// Configuration state of the resource.
+ /// A new instance for mocking.
+ public static NeighborAddress NeighborAddress(string address = null, BfdAdministrativeState? bfdAdministrativeState = null, BgpAdministrativeState? bgpAdministrativeState = null, NetworkFabricConfigurationState? configurationState = null)
+ {
+ return new NeighborAddress(address, bfdAdministrativeState, bgpAdministrativeState, configurationState, serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// Switch configuration description.
+ /// Prefix of the Connected Subnet.
+ /// A new instance for mocking.
+ public static ConnectedSubnetPatch ConnectedSubnetPatch(string annotation = null, string prefix = null)
+ {
+ return new ConnectedSubnetPatch(annotation, prefix, serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// Switch configuration description.
+ /// BFD configuration properties.
+ /// Originate a defaultRoute. Ex: "True" | "False".
+ /// Allows for routes to be received and processed even if the router detects its own ASN in the AS-Path. 0 is disable, Possible values are 1-10, default is 2.
+ /// Enable Or Disable state.
+ /// ASN of Network Fabric. Example: 65048.
+ /// Peer ASN. Example: 65047.
+ /// List of BGP IPv4 Listen Range prefixes.
+ /// List of BGP IPv6 Listen Ranges prefixes.
+ /// List with stringified IPv4 Neighbor Addresses.
+ /// List with stringified IPv6 Neighbor Address.
+ /// InternalNetwork BMP Configuration.
+ /// V4 over V6 bgp session.
+ /// v6 over v4 bgp session.
+ /// A new instance for mocking.
+ public static BgpPatchConfiguration BgpPatchConfiguration(string annotation = null, BfdPatchConfiguration bfdConfiguration = null, NetworkFabricBooleanValue? defaultRouteOriginate = null, int? allowAS = null, AllowASOverride? allowASOverride = null, long? fabricAsn = null, long? peerAsn = null, IEnumerable ipv4ListenRangePrefixes = null, IEnumerable ipv6ListenRangePrefixes = null, IEnumerable ipv4NeighborAddress = null, IEnumerable ipv6NeighborAddress = null, InternalNetworkBmpPatchProperties bmpConfiguration = null, V4OverV6BgpSessionState? v4OverV6BgpSession = null, V6OverV4BgpSessionState? v6OverV4BgpSession = null)
+ {
+ ipv4ListenRangePrefixes ??= new List();
+ ipv6ListenRangePrefixes ??= new List();
+ ipv4NeighborAddress ??= new List();
+ ipv6NeighborAddress ??= new List();
+
+ return new BgpPatchConfiguration(
+ annotation,
+ bfdConfiguration,
+ defaultRouteOriginate,
+ allowAS,
+ allowASOverride,
+ fabricAsn,
+ peerAsn,
+ ipv4ListenRangePrefixes?.ToList(),
+ ipv6ListenRangePrefixes?.ToList(),
+ ipv4NeighborAddress?.ToList(),
+ ipv6NeighborAddress?.ToList(),
+ bmpConfiguration,
+ v4OverV6BgpSession,
+ v6OverV4BgpSession,
+ serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// IP Address.
+ /// BFD Administrative State for each Neighbor Address. Example: Enabled | Disabled.
+ /// BGP Administrative State for each Neighbor Address. Example: Enabled | Disabled.
+ /// Configuration state of the resource.
+ /// A new instance for mocking.
+ public static NeighborAddressPatch NeighborAddressPatch(string address = null, BfdAdministrativeState? bfdAdministrativeState = null, BgpAdministrativeState? bgpAdministrativeState = null, NetworkFabricConfigurationState? configurationState = null)
+ {
+ return new NeighborAddressPatch(address, bfdAdministrativeState, bgpAdministrativeState, configurationState, serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// NeighborAddress administrative status.
+ /// The error object.
+ /// A new instance for mocking.
+ public static InternalNetworkBfdAdministrativeStateResult InternalNetworkBfdAdministrativeStateResult(IEnumerable neighborAddressAdministrativeStatus = null, ResponseError error = null)
+ {
+ neighborAddressAdministrativeStatus ??= new List();
+
+ return new InternalNetworkBfdAdministrativeStateResult(neighborAddressAdministrativeStatus?.ToList(), error, serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// NeighborAddress - Input should be either All or Specific Ipv4 Address or Specific Ipv6 Address.
+ /// BFD Administrative state.
+ /// Error message.
+ /// A new instance for mocking.
+ public static NeighborAddressBfdAdministrativeStatus NeighborAddressBfdAdministrativeStatus(string neighborAddress = null, BfdAdministrativeState? administrativeState = null, string error = null)
+ {
+ return new NeighborAddressBfdAdministrativeStatus(neighborAddress, administrativeState, error, serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// NeighborAddress administrative status.
+ /// The error object.
+ /// A new instance for mocking.
+ public static InternalNetworkBgpAdministrativeStateResult InternalNetworkBgpAdministrativeStateResult(IEnumerable neighborAddressAdministrativeStatus = null, ResponseError error = null)
+ {
+ neighborAddressAdministrativeStatus ??= new List();
+
+ return new InternalNetworkBgpAdministrativeStateResult(neighborAddressAdministrativeStatus?.ToList(), error, serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// NeighborAddress - Input should be either All or Specific Ipv4 Address or Specific Ipv6 Address.
+ /// BGP Administrative state.
+ /// Error message.
+ /// A new instance for mocking.
+ public static NeighborAddressBgpAdministrativeStatus NeighborAddressBgpAdministrativeStatus(string neighborAddress = null, BgpAdministrativeState? administrativeState = null, string error = null)
+ {
+ return new NeighborAddressBgpAdministrativeStatus(neighborAddress, administrativeState, error, serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// The id.
+ /// The name.
+ /// The resourceType.
+ /// The systemData.
+ /// Switch configuration description.
+ /// Physical Identifier of the network interface.
+ /// The ARM resource id of the interface or compute server its connected to.
+ /// The Interface Type. Example: Management/Data.
+ /// IPv4Address of the interface.
+ /// IPv6Address of the interface.
+ /// Description of the interface.
+ /// Additional description of the interface.
+ /// Details of the last operation performed on the resource.
+ /// Provisioning state of the resource.
+ /// Administrative state of the resource.
+ /// A new instance for mocking.
+ public static NetworkDeviceInterfaceData NetworkDeviceInterfaceData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, string annotation = null, string physicalIdentifier = null, string connectedTo = null, NetworkDeviceInterfaceType? interfaceType = null, IPAddress ipv4Address = null, string ipv6Address = null, string description = null, string additionalDescription = null, string lastOperationDetails = null, NetworkFabricProvisioningState? provisioningState = null, NetworkFabricAdministrativeState? administrativeState = null)
+ {
+ return new NetworkDeviceInterfaceData(
+ id,
+ name,
+ resourceType,
+ systemData,
+ annotation,
+ physicalIdentifier,
+ connectedTo,
+ interfaceType,
+ ipv4Address,
+ ipv6Address,
+ description,
+ additionalDescription,
+ lastOperationDetails != null ? new LastOperationProperties(lastOperationDetails, serializedAdditionalRawData: null) : null,
+ provisioningState,
+ administrativeState,
+ serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// The error object.
+ /// The end time of the operation.
+ /// Fully qualified ID for the async operation.
+ /// Name of the async operation.
+ /// The additional properties of the operation status result.
+ /// Fully qualified ID of the resource against which the original async operation was started.
+ /// The start time of the operation.
+ /// Operation status.
+ /// A new instance for mocking.
+ public static CommonPostActionResponseForDeviceROCommandsOperationStatusResult CommonPostActionResponseForDeviceROCommandsOperationStatusResult(ResponseError error = null, DateTimeOffset? endOn = null, string id = null, string name = null, CommonPostActionResponseForDeviceROCommands properties = null, ResourceIdentifier resourceId = null, DateTimeOffset? startOn = null, string status = null)
+ {
+ return new CommonPostActionResponseForDeviceROCommandsOperationStatusResult(
+ error,
+ endOn,
+ id,
+ name,
+ properties,
+ resourceId,
+ startOn,
+ status,
+ serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// Gets the configuration state.
+ /// Predefined link containing Device RO Command output.
+ /// Device RO command Response limited to 4000 characters.
+ /// A new instance for mocking.
+ public static CommonPostActionResponseForDeviceROCommands CommonPostActionResponseForDeviceROCommands(NetworkFabricConfigurationState? configurationState = null, Uri outputUri = null, string deviceConfigurationPreview = null)
+ {
+ return new CommonPostActionResponseForDeviceROCommands(configurationState, outputUri, deviceConfigurationPreview, serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// The error object.
+ /// Gets the configuration state.
+ /// Predefined link containing Device Rw Command output.
+ /// A new instance for mocking.
+ public static CommonPostActionResponseForDeviceRWCommands CommonPostActionResponseForDeviceRWCommands(ResponseError error = null, NetworkFabricConfigurationState? configurationState = null, Uri outputUri = null)
+ {
+ return new CommonPostActionResponseForDeviceRWCommands(error, configurationState, outputUri, serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// Storage URL to the diff file.
+ /// The error object.
+ /// A new instance for mocking.
+ public static ArmConfigurationDiffResult ArmConfigurationDiffResult(Uri configurationDiffUri = null, ResponseError error = null)
+ {
+ return new ArmConfigurationDiffResult(configurationDiffUri, error, serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// Commit Batch Identifier.
+ /// Commit Batch State.
+ /// Commit Batch Details.
+ /// The error object.
+ /// A new instance for mocking.
+ public static CommitBatchStatusResult CommitBatchStatusResult(string commitBatchId = null, CommitBatchState? commitBatchState = null, IEnumerable commitBatchDetailsFailedDevices = null, ResponseError error = null)
+ {
+ commitBatchDetailsFailedDevices ??= new List();
+
+ return new CommitBatchStatusResult(commitBatchId, commitBatchState, commitBatchDetailsFailedDevices != null ? new CommitBatchDetails(commitBatchDetailsFailedDevices?.ToList(), serializedAdditionalRawData: null) : null, error, serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// Commit Batch Identifier.
+ /// The error object.
+ /// A new instance for mocking.
+ public static DiscardCommitBatchResult DiscardCommitBatchResult(string commitBatchId = null, ResponseError error = null)
+ {
+ return new DiscardCommitBatchResult(commitBatchId, error, serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// The id.
+ /// The name.
+ /// The resourceType.
+ /// The systemData.
+ /// The NetworkToNetworkInterconnect Properties.
+ /// A new instance for mocking.
+ public static NetworkToNetworkInterconnectData NetworkToNetworkInterconnectData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, NetworkToNetworkInterconnectProperties properties = null)
+ {
+ return new NetworkToNetworkInterconnectData(
+ id,
+ name,
+ resourceType,
+ systemData,
+ properties,
+ serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// Type of NNI used. Example: CE | NPB.
+ /// Configuration to use NNI for Infrastructure Management. Example: True/False.
+ /// Based on this option layer3 parameters are mandatory. Example: True/False.
+ /// Common properties for Layer2 Configuration.
+ /// Common properties for Layer3Configuration.
+ /// NPB Static Route Configuration properties.
+ /// Static Route Configuration.
+ /// Import Route Policy information.
+ /// Export Route Policy information.
+ /// Egress Acl. ARM resource ID of Access Control Lists.
+ /// Ingress Acl. ARM resource ID of Access Control Lists.
+ /// Micro Bidirectional Forwarding Detection (BFD) enabled/disabled state.
+ /// Conditional Default Route Configuration properties.
+ /// Details of the last operation performed on the resource.
+ /// Configuration state of the resource.
+ /// Provisioning state of the resource.
+ /// Administrative state of the resource.
+ /// A new instance for mocking.
+ public static NetworkToNetworkInterconnectProperties NetworkToNetworkInterconnectProperties(NniType? nniType = null, IsManagementType? isManagementType = null, NetworkFabricBooleanValue useOptionB = default, Layer2Configuration layer2Configuration = null, OptionBLayer3Configuration optionBLayer3Configuration = null, NpbStaticRouteConfiguration npbStaticRouteConfiguration = null, NniStaticRouteConfiguration staticRouteConfiguration = null, ImportRoutePolicyInformation importRoutePolicy = null, ExportRoutePolicyInformation exportRoutePolicy = null, ResourceIdentifier egressAclId = null, ResourceIdentifier ingressAclId = null, MicroBfdState? microBfdState = null, ConditionalDefaultRouteProperties conditionalDefaultRouteConfiguration = null, string lastOperationDetails = null, NetworkFabricConfigurationState? configurationState = null, NetworkFabricProvisioningState? provisioningState = null, NetworkFabricAdministrativeState? administrativeState = null)
+ {
+ return new NetworkToNetworkInterconnectProperties(
+ nniType,
+ isManagementType,
+ useOptionB,
+ layer2Configuration,
+ optionBLayer3Configuration,
+ npbStaticRouteConfiguration,
+ staticRouteConfiguration,
+ importRoutePolicy,
+ exportRoutePolicy,
+ egressAclId,
+ ingressAclId,
+ microBfdState,
+ conditionalDefaultRouteConfiguration,
+ lastOperationDetails != null ? new LastOperationProperties(lastOperationDetails, serializedAdditionalRawData: null) : null,
+ configurationState,
+ provisioningState,
+ administrativeState,
+ serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// IPv4 Address Prefix.
+ /// IPv6 Address Prefix.
+ /// Secondary IPv4 Address Prefix.
+ /// Secondary IPv6 Address Prefix.
+ /// ASN of PE devices for CE/PE connectivity.Example : 28.
+ /// VLAN for CE/PE Layer 3 connectivity.Example : 501.
+ /// ASN of CE devices for CE/PE connectivity.
+ /// Provider Edge (PE) Loopback IP Address.
+ /// BGP Monitoring Protocol (BMP) Configuration.
+ /// OptionB Layer3 prefix limit configuration.
+ /// A new instance for mocking.
+ public static OptionBLayer3Configuration OptionBLayer3Configuration(string primaryIPv4Prefix = null, string primaryIPv6Prefix = null, string secondaryIPv4Prefix = null, string secondaryIPv6Prefix = null, long? peerAsn = null, int? vlanId = null, long? fabricAsn = null, IEnumerable peLoopbackIPAddress = null, BmpConfigurationState? bmpConfigurationState = null, IEnumerable prefixLimits = null)
+ {
+ peLoopbackIPAddress ??= new List();
+ prefixLimits ??= new List();
+
+ return new OptionBLayer3Configuration(
+ primaryIPv4Prefix,
+ primaryIPv6Prefix,
+ secondaryIPv4Prefix,
+ secondaryIPv6Prefix,
+ peerAsn,
+ vlanId,
+ fabricAsn,
+ peLoopbackIPAddress?.ToList(),
+ bmpConfigurationState.HasValue ? new NniBmpProperties(bmpConfigurationState.Value, serializedAdditionalRawData: null) : null,
+ prefixLimits?.ToList(),
+ serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// Fully qualified resource ID for the resource. E.g. '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'.
+ /// The type of the resource. E.g. 'Microsoft.Compute/virtualMachines' or 'Microsoft.Storage/storageAccounts'.
+ /// Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ /// Resource properties.
+ /// A new instance for mocking.
+ public static NetworkToNetworkInterconnectPatch NetworkToNetworkInterconnectPatch(ResourceIdentifier id = null, string networkToNetworkInterconnectPatchType = null, SystemData systemData = null, NetworkToNetworkInterconnectPatchProperties properties = null)
+ {
+ return new NetworkToNetworkInterconnectPatch(id, networkToNetworkInterconnectPatchType, systemData, properties, serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// IPv4 Address Prefix.
+ /// IPv6 Address Prefix.
+ /// Secondary IPv4 Address Prefix.
+ /// Secondary IPv6 Address Prefix.
+ /// ASN of PE devices for CE/PE connectivity.Example : 28.
+ /// VLAN for CE/PE Layer 3 connectivity.Example : 501.
+ /// ASN of CE devices for CE/PE connectivity.
+ /// Provider Edge (PE) Loopback IP Address.
+ /// BGP Monitoring Protocol (BMP) Configuration.
+ /// OptionB Layer3 prefix limit configuration.
+ /// A new instance for mocking.
+ public static OptionBLayer3ConfigurationPatchProperties OptionBLayer3ConfigurationPatchProperties(string primaryIPv4Prefix = null, string primaryIPv6Prefix = null, string secondaryIPv4Prefix = null, string secondaryIPv6Prefix = null, long? peerAsn = null, int? vlanId = null, long? fabricAsn = null, IEnumerable peLoopbackIPAddress = null, BmpConfigurationState? bmpConfigurationState = null, IEnumerable prefixLimits = null)
+ {
+ peLoopbackIPAddress ??= new List();
+ prefixLimits ??= new List();
+
+ return new OptionBLayer3ConfigurationPatchProperties(
+ primaryIPv4Prefix,
+ primaryIPv6Prefix,
+ secondaryIPv4Prefix,
+ secondaryIPv6Prefix,
+ peerAsn,
+ vlanId,
+ fabricAsn,
+ peLoopbackIPAddress?.ToList(),
+ bmpConfigurationState != null ? new NniBmpPatchProperties(bmpConfigurationState, serializedAdditionalRawData: null) : null,
+ prefixLimits?.ToList(),
+ serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// Route Type. Choose either Static or OptionA.
+ /// State. Select either enable or disable.
+ /// The error object.
+ /// A new instance for mocking.
+ public static NniBfdAdministrativeStateResult NniBfdAdministrativeStateResult(RouteType? routeType = null, BfdAdministrativeState? administrativeState = null, ResponseError error = null)
+ {
+ return new NniBfdAdministrativeStateResult(routeType, administrativeState, error, serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// Storage URL to the device configuration file.
+ /// The error object.
+ /// A new instance for mocking.
+ public static ViewDeviceConfigurationResult ViewDeviceConfigurationResult(Uri deviceConfigurationUri = null, ResponseError error = null)
+ {
+ return new ViewDeviceConfigurationResult(deviceConfigurationUri, error, serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// Switch configuration description.
+ /// Sequence to insert to/delete from existing route.
+ /// Route policy condition properties.
+ /// Route policy action properties.
+ /// A new instance for mocking.
+ public static RoutePolicyStatementPatchProperties RoutePolicyStatementPatchProperties(string annotation = null, long sequenceNumber = default, StatementConditionPatchProperties condition = null, StatementActionPatchProperties action = null)
+ {
+ return new RoutePolicyStatementPatchProperties(annotation, sequenceNumber, condition, action, serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// Local Preference of the route policy.
+ /// Action type. Example: Permit | Deny | Continue.
+ /// IP Community Properties.
+ /// IP Extended Community Properties.
+ /// A new instance for mocking.
+ public static StatementActionPatchProperties StatementActionPatchProperties(long? localPreference = null, RoutePolicyActionType actionType = default, ActionIPCommunityPatchProperties ipCommunityProperties = null, ActionIPExtendedCommunityPatchProperties ipExtendedCommunityProperties = null)
+ {
+ return new StatementActionPatchProperties(localPreference, actionType, ipCommunityProperties, ipExtendedCommunityProperties, serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// The id.
+ /// The name.
+ /// The resourceType.
+ /// The systemData.
+ /// The tags.
+ /// The location.
+ /// Switch configuration description.
+ /// Input method to configure Access Control List.
+ /// Access Control List file URL.
+ /// Default action that needs to be applied when no condition is matched. Example: Permit | Deny.
+ /// List of match configurations.
+ /// List of dynamic match configurations.
+ /// The last synced timestamp.
+ /// Configuration state of the resource.
+ /// Provisioning state of the resource.
+ /// Administrative state of the resource.
+ /// A new instance for mocking.
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public static NetworkFabricAccessControlListData NetworkFabricAccessControlListData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, string annotation, NetworkFabricConfigurationType? configurationType, Uri aclsUri, CommunityActionType? defaultAction, IEnumerable matchConfigurations, IEnumerable dynamicMatchConfigurations, DateTimeOffset? lastSyncedOn, NetworkFabricConfigurationState? configurationState, NetworkFabricProvisioningState? provisioningState, NetworkFabricAdministrativeState? administrativeState)
+ {
+ return NetworkFabricAccessControlListData(id: id, name: name, resourceType: resourceType, systemData: systemData, tags: tags, location: location, annotation: annotation, configurationType: configurationType, aclsUri: aclsUri, defaultAction: defaultAction, matchConfigurations: matchConfigurations, dynamicMatchConfigurations: dynamicMatchConfigurations, lastSyncedOn: lastSyncedOn, aclType: default, deviceRole: default, globalAccessControlListActionsEnableCount: default, lastOperationDetails: default, configurationState: configurationState, provisioningState: provisioningState, administrativeState: administrativeState);
+ }
+
+ /// Initializes a new instance of .
+ /// The id.
+ /// The name.
+ /// The resourceType.
+ /// The systemData.
+ /// The tags.
+ /// The location.
+ /// Switch configuration description.
+ /// ARM Resource ID of the Internet Gateway Rule.
+ /// IPv4 Address of Internet Gateway.
+ /// Port number of Internet Gateway.
+ /// Gateway Type of the resource.
+ /// ARM Resource ID of the Network Fabric Controller.
+ /// Provisioning state of resource.
+ /// A new instance for mocking.
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public static NetworkFabricInternetGatewayData NetworkFabricInternetGatewayData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, string annotation, ResourceIdentifier internetGatewayRuleId, string ipV4Address, int? port, InternetGatewayType typePropertiesType, ResourceIdentifier networkFabricControllerId, NetworkFabricProvisioningState? provisioningState)
+ {
+ return NetworkFabricInternetGatewayData(id: id, name: name, resourceType: resourceType, systemData: systemData, tags: tags, location: location, annotation: annotation, internetGatewayRuleId: internetGatewayRuleId, ipV4Address: ipV4Address, port: port, typePropertiesType: typePropertiesType, internetGatewayType: default, networkFabricControllerId: networkFabricControllerId, lastOperationDetails: default, provisioningState: provisioningState);
+ }
+
+ /// Initializes a new instance of .
+ /// Switch configuration description.
+ /// BFD configuration properties.
+ /// Originate a defaultRoute. Ex: "True" | "False".
+ /// Allows for routes to be received and processed even if the router detects its own ASN in the AS-Path. 0 is disable, Possible values are 1-10, default is 2.
+ /// Enable Or Disable state.
+ /// ASN of Network Fabric. Example: 65048.
+ /// Peer ASN. Example: 65047.
+ /// List of BGP IPv4 Listen Range prefixes.
+ /// List of BGP IPv6 Listen Ranges prefixes.
+ /// List with stringified IPv4 Neighbor Addresses.
+ /// List with stringified IPv6 Neighbor Address.
+ /// A new instance for mocking.
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public static BgpConfiguration BgpConfiguration(string annotation, BfdConfiguration bfdConfiguration, NetworkFabricBooleanValue? defaultRouteOriginate, int? allowAS, AllowASOverride? allowASOverride, long? fabricAsn, long? peerAsn, IEnumerable ipv4ListenRangePrefixes, IEnumerable ipv6ListenRangePrefixes, IEnumerable ipv4NeighborAddress, IEnumerable ipv6NeighborAddress)
+ {
+ return BgpConfiguration(annotation: annotation, bfdConfiguration: bfdConfiguration, defaultRouteOriginate: defaultRouteOriginate, allowAS: allowAS, allowASOverride: allowASOverride, fabricAsn: fabricAsn, peerAsn: peerAsn, ipv4ListenRangePrefixes: ipv4ListenRangePrefixes, ipv6ListenRangePrefixes: ipv6ListenRangePrefixes, ipv4NeighborAddress: ipv4NeighborAddress, ipv6NeighborAddress: ipv6NeighborAddress, bmpConfiguration: default, v4OverV6BgpSession: default, v6OverV4BgpSession: default);
+ }
+
+ /// Initializes a new instance of .
+ /// IP Address.
+ /// Configuration state of the resource.
+ /// A new instance for mocking.
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public static NeighborAddress NeighborAddress(string address, NetworkFabricConfigurationState? configurationState)
+ {
+ return NeighborAddress(address: address, bfdAdministrativeState: default, bgpAdministrativeState: default, configurationState: configurationState);
+ }
+
+ /// Initializes a new instance of .
+ /// IPv4 Address Prefix.
+ /// IPv6 Address Prefix.
+ /// Secondary IPv4 Address Prefix.
+ /// Secondary IPv6 Address Prefix.
+ /// MTU to use for option A peering.
+ /// Vlan identifier. Example : 501.
+ /// Fabric ASN number. Example 65001.
+ /// Peer ASN number.Example : 28.
+ /// BFD configuration properties.
+ /// Ingress Acl. ARM resource ID of Access Control Lists.
+ /// Egress Acl. ARM resource ID of Access Control Lists.
+ /// A new instance for mocking.
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public static ExternalNetworkOptionAProperties ExternalNetworkOptionAProperties(string primaryIPv4Prefix, string primaryIPv6Prefix, string secondaryIPv4Prefix, string secondaryIPv6Prefix, int? mtu, int? vlanId, long? fabricAsn, long? peerAsn, BfdConfiguration bfdConfiguration, ResourceIdentifier ingressAclId, ResourceIdentifier egressAclId)
+ {
+ return ExternalNetworkOptionAProperties(primaryIPv4Prefix: primaryIPv4Prefix, primaryIPv6Prefix: primaryIPv6Prefix, secondaryIPv4Prefix: secondaryIPv4Prefix, secondaryIPv6Prefix: secondaryIPv6Prefix, mtu: mtu, vlanId: vlanId, fabricAsn: fabricAsn, peerAsn: peerAsn, bfdConfiguration: bfdConfiguration, ingressAclId: ingressAclId, bmpConfigurationState: default, egressAclId: egressAclId, v4OverV6BgpSession: default, v6OverV4BgpSession: default, nativeIPv4PrefixLimits: default, nativeIPv6PrefixLimits: default);
+ }
+
+ /// Initializes a new instance of .
+ /// The id.
+ /// The name.
+ /// The resourceType.
+ /// The systemData.
+ /// The tags.
+ /// The location.
+ /// Switch configuration description.
+ /// The host name of the device.
+ /// Serial number of the device. Format of serial Number - Make;Model;HardwareRevisionId;SerialNumber.
+ /// Current version of the device as defined in SKU.
+ /// Network Device SKU name.
+ /// NetworkDeviceRole is the device role: Example: CE | ToR.
+ /// Reference to network rack resource id.
+ /// Management IPv4 Address.
+ /// Management IPv6 Address.
+ /// Configuration state of the resource.
+ /// Provisioning state of the resource.
+ /// Administrative state of the resource.
+ /// A new instance for mocking.
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public static NetworkDeviceData NetworkDeviceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, string annotation, string hostName, string serialNumber, string version, string networkDeviceSku, NetworkDeviceRole? networkDeviceRole, ResourceIdentifier networkRackId, IPAddress managementIPv4Address, string managementIPv6Address, NetworkFabricConfigurationState? configurationState, NetworkFabricProvisioningState? provisioningState, NetworkFabricAdministrativeState? administrativeState)
+ {
+ return NetworkDeviceData(id: id, name: name, resourceType: resourceType, systemData: systemData, tags: tags, location: location, annotation: annotation, hostName: hostName, serialNumber: serialNumber, version: version, networkDeviceSku: networkDeviceSku, networkDeviceRole: networkDeviceRole, networkRackId: networkRackId, managementIPv4Address: managementIPv4Address, managementIPv6Address: managementIPv6Address, rwDeviceConfig: default, lastOperationDetails: default, configurationState: configurationState, provisioningState: provisioningState, administrativeState: administrativeState);
+ }
+
+ /// Initializes a new instance of .
+ /// The id.
+ /// The name.
+ /// The resourceType.
+ /// The systemData.
+ /// Switch configuration description.
+ /// Physical Identifier of the network interface.
+ /// The ARM resource id of the interface or compute server its connected to.
+ /// The Interface Type. Example: Management/Data.
+ /// IPv4Address of the interface.
+ /// IPv6Address of the interface.
+ /// Provisioning state of the resource.
+ /// Administrative state of the resource.
+ /// A new instance for mocking.
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public static NetworkDeviceInterfaceData NetworkDeviceInterfaceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string annotation, string physicalIdentifier, string connectedTo, NetworkDeviceInterfaceType? interfaceType, IPAddress ipv4Address, string ipv6Address, NetworkFabricProvisioningState? provisioningState, NetworkFabricAdministrativeState? administrativeState)
+ {
+ return NetworkDeviceInterfaceData(id: id, name: name, resourceType: resourceType, systemData: systemData, annotation: annotation, physicalIdentifier: physicalIdentifier, connectedTo: connectedTo, interfaceType: interfaceType, ipv4Address: ipv4Address, ipv6Address: ipv6Address, description: default, additionalDescription: default, lastOperationDetails: default, provisioningState: provisioningState, administrativeState: administrativeState);
+ }
+
+ /// Initializes a new instance of .
+ /// The id.
+ /// The name.
+ /// The resourceType.
+ /// The systemData.
+ /// The tags.
+ /// The location.
+ /// Switch configuration description.
+ /// Supported Network Fabric SKU.Example: Compute / Aggregate racks. Once the user chooses a particular SKU, only supported racks can be added to the Network Fabric. The SKU determines whether it is a single / multi rack Network Fabric.
+ /// The version of Network Fabric.
+ /// Array of router IDs.
+ /// Azure resource ID for the NetworkFabricController the NetworkFabric belongs.
+ /// Number of compute racks associated to Network Fabric.
+ /// Number of servers.Possible values are from 1-16.
+ /// IPv4Prefix for Management Network. Example: 10.1.0.0/19.
+ /// IPv6Prefix for Management Network. Example: 3FFE:FFFF:0:CD40::/59.
+ /// ASN of CE devices for CE/PE connectivity.
+ /// Network and credentials configuration currently applied to terminal server.
+ /// Configuration to be used to setup the management network.
+ /// List of NetworkRack resource IDs under the Network Fabric. The number of racks allowed depends on the Network Fabric SKU.
+ /// List of L2 Isolation Domain resource IDs under the Network Fabric.
+ /// List of L3 Isolation Domain resource IDs under the Network Fabric.
+ /// Configuration state of the resource.
+ /// Provides you the latest status of the NFC service, whether it is Accepted, updating, Succeeded or Failed. During this process, the states keep changing based on the status of NFC provisioning.
+ /// Administrative state of the resource.
+ /// A new instance for mocking.
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public static NetworkFabricData NetworkFabricData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, string annotation, string networkFabricSku, string fabricVersion, IEnumerable routerIds, ResourceIdentifier networkFabricControllerId, int? rackCount, int serverCountPerRack, string ipv4Prefix, string ipv6Prefix, long fabricAsn, TerminalServerConfiguration terminalServerConfiguration, ManagementNetworkConfigurationProperties managementNetworkConfiguration, IEnumerable racks, IEnumerable l2IsolationDomains, IEnumerable l3IsolationDomains, NetworkFabricConfigurationState? configurationState, NetworkFabricProvisioningState? provisioningState, NetworkFabricAdministrativeState? administrativeState)
+ {
+ return NetworkFabricData(id: id, name: name, resourceType: resourceType, systemData: systemData, tags: tags, location: location, identity: default, annotation: annotation, networkFabricSku: networkFabricSku, fabricVersion: fabricVersion, routerIds: routerIds, storageAccountConfiguration: default, fabricLocks: default, networkFabricControllerId: networkFabricControllerId, rackCount: rackCount, serverCountPerRack: serverCountPerRack, ipv4Prefix: ipv4Prefix, ipv6Prefix: ipv6Prefix, fabricAsn: fabricAsn, terminalServerConfiguration: terminalServerConfiguration, managementNetworkConfiguration: managementNetworkConfiguration, racks: racks, l2IsolationDomains: l2IsolationDomains, l3IsolationDomains: l3IsolationDomains, hardwareAlertThreshold: default, controlPlaneAcls: default, featureFlags: default, trustedIPPrefixes: default, uniqueRdConfiguration: default, storageArrayCount: default, activeCommitBatches: default, lastOperationDetails: default, configurationState: configurationState, provisioningState: provisioningState, administrativeState: administrativeState);
+ }
+
+ /// Initializes a new instance of .
+ /// IPv4 Address Prefix.
+ /// IPv6 Address Prefix.
+ /// Secondary IPv4 Address Prefix.
+ /// Secondary IPv6 Address Prefix.
+ /// ASN of PE devices for CE/PE connectivity.Example : 28.
+ /// VLAN for CE/PE Layer 3 connectivity.Example : 501.
+ /// ASN of CE devices for CE/PE connectivity.
+ /// A new instance for mocking.
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public static OptionBLayer3Configuration OptionBLayer3Configuration(string primaryIPv4Prefix, string primaryIPv6Prefix, string secondaryIPv4Prefix, string secondaryIPv6Prefix, long? peerAsn, int? vlanId, long? fabricAsn)
+ {
+ return OptionBLayer3Configuration(primaryIPv4Prefix: primaryIPv4Prefix, primaryIPv6Prefix: primaryIPv6Prefix, secondaryIPv4Prefix: secondaryIPv4Prefix, secondaryIPv6Prefix: secondaryIPv6Prefix, peerAsn: peerAsn, vlanId: vlanId, fabricAsn: fabricAsn, peLoopbackIPAddress: default, bmpConfigurationState: default, prefixLimits: default);
+ }
+
+ ///
+ /// This constructor is added for the backward compatibility.
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public static NetworkFabricAccessControlListData NetworkFabricAccessControlListData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, string annotation, NetworkFabricConfigurationType? configurationType, Uri aclsUri, IEnumerable matchConfigurations, IEnumerable dynamicMatchConfigurations, DateTimeOffset? lastSyncedOn, NetworkFabricConfigurationState? configurationState, NetworkFabricProvisioningState? provisioningState, NetworkFabricAdministrativeState? administrativeState)
{
- return NetworkFabricRoutePolicyData(id: id, name: name, resourceType: resourceType, systemData: systemData, tags: tags, location: location, annotation: annotation, defaultAction: default, statements: statements, networkFabricId: networkFabricId, addressFamilyType: addressFamilyType, configurationState: configurationState, provisioningState: provisioningState, administrativeState: administrativeState);
+ return NetworkFabricAccessControlListData(id: id, name: name, resourceType: resourceType, systemData: systemData, tags: tags, location: location, annotation: annotation, configurationType: configurationType, aclsUri: aclsUri, defaultAction: default, matchConfigurations: matchConfigurations, dynamicMatchConfigurations: dynamicMatchConfigurations, lastSyncedOn: lastSyncedOn, aclType: default, deviceRole: default, globalAccessControlListActionsEnableCount: default, lastOperationDetails: default, configurationState: configurationState, provisioningState: provisioningState, administrativeState: administrativeState);
}
}
}
diff --git a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/src/Generated/Extensions/ManagedNetworkFabricExtensions.cs b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/src/Generated/Extensions/ManagedNetworkFabricExtensions.cs
index 7be477fa1a51..246aabe9113a 100644
--- a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/src/Generated/Extensions/ManagedNetworkFabricExtensions.cs
+++ b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/src/Generated/Extensions/ManagedNetworkFabricExtensions.cs
@@ -52,41 +52,41 @@ public static NetworkFabricAccessControlListResource GetNetworkFabricAccessContr
}
///
- /// Gets an object representing a along with the instance operations that can be performed on it but with no data.
- /// You can use to create a from its components.
+ /// Gets an object representing a along with the instance operations that can be performed on it but with no data.
+ /// You can use to create a from its components.
/// -
/// Mocking
- /// To mock this method, please mock instead.
+ /// To mock this method, please mock instead.
///
///
/// The instance the method will execute against.
/// The resource ID of the resource to get.
/// is null.
- /// Returns a object.
- public static NetworkFabricInternetGatewayResource GetNetworkFabricInternetGatewayResource(this ArmClient client, ResourceIdentifier id)
+ /// Returns a object.
+ public static NetworkFabricInternetGatewayRuleResource GetNetworkFabricInternetGatewayRuleResource(this ArmClient client, ResourceIdentifier id)
{
Argument.AssertNotNull(client, nameof(client));
- return GetMockableManagedNetworkFabricArmClient(client).GetNetworkFabricInternetGatewayResource(id);
+ return GetMockableManagedNetworkFabricArmClient(client).GetNetworkFabricInternetGatewayRuleResource(id);
}
///
- /// Gets an object representing a along with the instance operations that can be performed on it but with no data.
- /// You can use to create a from its components.
+ /// Gets an object representing a along with the instance operations that can be performed on it but with no data.
+ /// You can use to create a from its components.
/// -
/// Mocking
- /// To mock this method, please mock instead.
+ /// To mock this method, please mock instead.
///
///
/// The instance the method will execute against.
/// The resource ID of the resource to get.
/// is null.
- /// Returns a object.
- public static NetworkFabricInternetGatewayRuleResource GetNetworkFabricInternetGatewayRuleResource(this ArmClient client, ResourceIdentifier id)
+ /// Returns a object.
+ public static NetworkFabricInternetGatewayResource GetNetworkFabricInternetGatewayResource(this ArmClient client, ResourceIdentifier id)
{
Argument.AssertNotNull(client, nameof(client));
- return GetMockableManagedNetworkFabricArmClient(client).GetNetworkFabricInternetGatewayRuleResource(id);
+ return GetMockableManagedNetworkFabricArmClient(client).GetNetworkFabricInternetGatewayResource(id);
}
///
@@ -184,44 +184,6 @@ public static NetworkFabricL3IsolationDomainResource GetNetworkFabricL3Isolation
return GetMockableManagedNetworkFabricArmClient(client).GetNetworkFabricL3IsolationDomainResource(id);
}
- ///
- /// Gets an object representing a along with the instance operations that can be performed on it but with no data.
- /// You can use to create a from its components.
- /// -
- /// Mocking
- /// To mock this method, please mock instead.
- ///
- ///
- /// The instance the method will execute against.
- /// The resource ID of the resource to get.
- /// is null.
- /// Returns a object.
- public static NetworkFabricInternalNetworkResource GetNetworkFabricInternalNetworkResource(this ArmClient client, ResourceIdentifier id)
- {
- Argument.AssertNotNull(client, nameof(client));
-
- return GetMockableManagedNetworkFabricArmClient(client).GetNetworkFabricInternalNetworkResource(id);
- }
-
- ///
- /// Gets an object representing a along with the instance operations that can be performed on it but with no data.
- /// You can use to create a from its components.
- /// -
- /// Mocking
- /// To mock this method, please mock instead.
- ///
- ///
- /// The instance the method will execute against.
- /// The resource ID of the resource to get.
- /// is null.
- /// Returns a object.
- public static NetworkFabricExternalNetworkResource GetNetworkFabricExternalNetworkResource(this ArmClient client, ResourceIdentifier id)
- {
- Argument.AssertNotNull(client, nameof(client));
-
- return GetMockableManagedNetworkFabricArmClient(client).GetNetworkFabricExternalNetworkResource(id);
- }
-
///
/// Gets an object representing a along with the instance operations that can be performed on it but with no data.
/// You can use to create a from its components.
@@ -279,25 +241,6 @@ public static NetworkDeviceResource GetNetworkDeviceResource(this ArmClient clie
return GetMockableManagedNetworkFabricArmClient(client).GetNetworkDeviceResource(id);
}
- ///
- /// Gets an object representing a along with the instance operations that can be performed on it but with no data.
- /// You can use to create a from its components.
- /// -
- /// Mocking
- /// To mock this method, please mock