Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Release History

## 1.1.0-beta.1 (Unreleased)
## 1.0.0-beta.1 (2023-09-27)

- Azure Resource Manager Managed Network Fabric client library for Java. This package contains Microsoft Azure SDK for Managed Network Fabric Management SDK. Self service experience for Azure Network Fabric API. Package tag package-2023-06-15. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).

### Features Added

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Various documentation is available to help you get started
<dependency>
<groupId>com.azure.resourcemanager</groupId>
<artifactId>azure-resourcemanager-managednetworkfabric</artifactId>
<version>1.0.0</version>
<version>1.1.0-beta.1</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down Expand Up @@ -74,6 +74,73 @@ See [API design][design] for general introduction on design and key concepts on

## Examples

```java
acl = managedNetworkFabricManager
.accessControlLists()
.define(aclName)
.withRegion(REGION)
.withExistingResourceGroup(resourceGroupName)
.withConfigurationType(ConfigurationType.FILE)
.withMatchConfigurations(
Collections.singletonList(
new AccessControlListMatchConfiguration()
.withMatchConfigurationName(matchName)
.withSequenceNumber(123L)
.withIpAddressType(IpAddressType.IPV4)
.withMatchConditions(
Collections.singletonList(
new AccessControlListMatchCondition()
.withProtocolTypes(Collections.singletonList("TCP"))
.withVlanMatchCondition(
new VlanMatchCondition()
.withVlans(Collections.singletonList("20-30"))
.withInnerVlans(Collections.singletonList("30"))
.withVlanGroupNames(Collections.singletonList(vlgName)))
.withIpCondition(
new IpMatchCondition()
.withType(SourceDestinationType.SOURCE_IP)
.withPrefixType(PrefixType.PREFIX)
.withIpPrefixValues(Collections.singletonList("10.20.20.20/12"))
.withIpGroupNames(Collections.singletonList(ipgName)))
.withEtherTypes(Collections.singletonList("0x1"))
.withFragments(Collections.singletonList("0xff00-0xffff"))
.withIpLengths(Collections.singletonList("4094-9214"))
.withTtlValues(Collections.singletonList("23"))
.withDscpMarkings(Collections.singletonList("32"))
.withPortCondition(
new AccessControlListPortCondition()
.withPortType(PortType.SOURCE_PORT)
.withLayer4Protocol(Layer4Protocol.TCP)
.withPorts(Collections.singletonList("1-20"))
.withPortGroupNames(Collections.singletonList(pgName))
.withFlags(Collections.singletonList("established")))))
.withActions(
Collections.singletonList(
new AccessControlListAction()
.withType(AclActionType.COUNT)
.withCounterName(counterName)))))
.withDynamicMatchConfigurations(
Collections.singletonList(
new CommonDynamicMatchConfiguration()
.withIpGroups(
Collections.singletonList(
new IpGroupProperties()
.withName(ipgName)
.withIpAddressType(IpAddressType.IPV4)
.withIpPrefixes(Collections.singletonList("10.20.3.1/20"))))
.withVlanGroups(
Collections.singletonList(
new VlanGroupProperties()
.withName(vlgName)
.withVlans(Collections.singletonList("20-30"))))
.withPortGroups(
Collections.singletonList(
new PortGroupProperties()
.withName(pgName)
.withPorts(Collections.singletonList("100-200"))))))
.withAnnotation("annotation")
.create();
```
[Code snippets and samples](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/managednetworkfabric/azure-resourcemanager-managednetworkfabric/SAMPLE.md)


Expand Down
Loading