diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/AccessControlLists_Create.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/AccessControlLists_Create.json new file mode 100644 index 000000000000..e2981841f545 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/AccessControlLists_Create.json @@ -0,0 +1,379 @@ +{ + "title": "AccessControlLists_Create_MaximumSet_Gen", + "operationId": "AccessControlLists_Create", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "accessControlListName": "example-acl", + "resource": { + "properties": { + "annotation": "annotation", + "configurationType": "File", + "aclsUrl": "https://ACL-Storage-URL", + "defaultAction": "Permit", + "matchConfigurations": [ + { + "matchConfigurationName": "example-match", + "sequenceNumber": 123, + "ipAddressType": "IPv4", + "matchConditions": [ + { + "protocolTypes": [ + "TCP" + ], + "vlanMatchCondition": { + "vlans": [ + "20-30" + ], + "innerVlans": [ + "30" + ], + "vlanGroupNames": [ + "example-vlanGroup" + ] + }, + "ipCondition": { + "type": "SourceIP", + "prefixType": "Prefix", + "ipPrefixValues": [ + "10.20.20.20/12" + ], + "ipGroupNames": [ + "example-ipGroup" + ] + }, + "etherTypes": [ + "0x1" + ], + "fragments": [ + "0xff00-0xffff" + ], + "ipLengths": [ + "4094-9214" + ], + "ttlValues": [ + "23" + ], + "dscpMarkings": [ + "32" + ], + "portCondition": { + "portType": "SourcePort", + "layer4Protocol": "TCP", + "ports": [ + "1-20" + ], + "portGroupNames": [ + "example-portGroup" + ], + "flags": [ + "established" + ] + } + } + ], + "actions": [ + { + "type": "Count", + "counterName": "example-counter" + } + ] + } + ], + "dynamicMatchConfigurations": [ + { + "ipGroups": [ + { + "name": "example-ipGroup", + "ipAddressType": "IPv4", + "ipPrefixes": [ + "10.20.3.1/20" + ] + } + ], + "vlanGroups": [ + { + "name": "example-vlanGroup", + "vlans": [ + "20-30" + ] + } + ], + "portGroups": [ + { + "name": "example-portGroup", + "ports": [ + "100-200" + ] + } + ] + } + ] + }, + "tags": { + "keyID": "keyValue" + }, + "location": "eastUs" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "configurationType": "File", + "aclsUrl": "https://ACL-Storage-URL", + "defaultAction": "Permit", + "matchConfigurations": [ + { + "matchConfigurationName": "example-match", + "sequenceNumber": 123, + "ipAddressType": "IPv4", + "matchConditions": [ + { + "protocolTypes": [ + "TCP" + ], + "vlanMatchCondition": { + "vlans": [ + "20-30" + ], + "innerVlans": [ + "30" + ], + "vlanGroupNames": [ + "example-vlanGroup" + ] + }, + "ipCondition": { + "type": "SourceIP", + "prefixType": "Prefix", + "ipPrefixValues": [ + "10.20.20.20/12" + ], + "ipGroupNames": [ + "example-ipGroup" + ] + }, + "etherTypes": [ + "0x1" + ], + "fragments": [ + "0xff00-0xffff" + ], + "ipLengths": [ + "4094-9214" + ], + "ttlValues": [ + "23" + ], + "dscpMarkings": [ + "32" + ], + "portCondition": { + "portType": "SourcePort", + "layer4Protocol": "TCP", + "ports": [ + "1-20" + ], + "portGroupNames": [ + "example-portGroup" + ], + "flags": [ + "established" + ] + } + } + ], + "actions": [ + { + "type": "Count", + "counterName": "example-counter" + } + ] + } + ], + "dynamicMatchConfigurations": [ + { + "ipGroups": [ + { + "name": "example-ipGroup", + "ipAddressType": "IPv4", + "ipPrefixes": [ + "10.20.3.1/20" + ] + } + ], + "vlanGroups": [ + { + "name": "example-vlanGroup", + "vlans": [ + "20-30" + ] + } + ], + "portGroups": [ + { + "name": "example-portGroup", + "ports": [ + "100-200" + ] + } + ] + } + ], + "lastSyncedTime": "2023-06-17T08:56:23.203Z", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "keyValue" + }, + "location": "eastUs", + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "name": "example-acl", + "type": "microsoft.managednetworkfabric/accessControlLists", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "lastSyncedTime": "2023-06-17T08:56:23.203Z", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled", + "annotation": "annotation", + "configurationType": "File", + "aclsUrl": "https://ACL-Storage-URL", + "defaultAction": "Permit", + "matchConfigurations": [ + { + "matchConfigurationName": "example-match", + "sequenceNumber": 123, + "ipAddressType": "IPv4", + "matchConditions": [ + { + "etherTypes": [ + "0x1" + ], + "fragments": [ + "0xff00-0xffff" + ], + "ipLengths": [ + "4094-9214" + ], + "ttlValues": [ + "23" + ], + "dscpMarkings": [ + "32" + ], + "portCondition": { + "flags": [ + "established" + ], + "portType": "SourcePort", + "layer4Protocol": "TCP", + "ports": [ + "1-20" + ], + "portGroupNames": [ + "example-portGroup" + ] + }, + "protocolTypes": [ + "TCP" + ], + "vlanMatchCondition": { + "vlans": [ + "20-30" + ], + "innerVlans": [ + "30" + ], + "vlanGroupNames": [ + "example-vlanGroup" + ] + }, + "ipCondition": { + "type": "SourceIP", + "prefixType": "Prefix", + "ipPrefixValues": [ + "10.20.20.20/12" + ], + "ipGroupNames": [ + "example-ipGroup" + ] + } + } + ], + "actions": [ + { + "type": "Count", + "counterName": "example-counter" + } + ] + } + ], + "dynamicMatchConfigurations": [ + { + "ipGroups": [ + { + "name": "example-ipGroup", + "ipAddressType": "IPv4", + "ipPrefixes": [ + "10.20.3.1/20" + ] + } + ], + "vlanGroups": [ + { + "name": "example-vlanGroup", + "vlans": [ + "20-30" + ] + } + ], + "portGroups": [ + { + "name": "example-portGroup", + "ports": [ + "100-200" + ] + } + ] + } + ] + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastUs", + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "name": "example-acl", + "type": "microsoft.managednetworkfabric/accessControlLists", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/AccessControlLists_Delete.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/AccessControlLists_Delete.json new file mode 100644 index 000000000000..af3bdca682f4 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/AccessControlLists_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "AccessControlLists_Delete_MaximumSet_Gen", + "operationId": "AccessControlLists_Delete", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "accessControlListName": "example-acl" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/AccessControlLists_Get.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/AccessControlLists_Get.json new file mode 100644 index 000000000000..f7ed24e975d1 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/AccessControlLists_Get.json @@ -0,0 +1,139 @@ +{ + "title": "AccessControlLists_Get_MaximumSet_Gen", + "operationId": "AccessControlLists_Get", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "accessControlListName": "example-acl" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "configurationType": "File", + "aclsUrl": "https://ACL-Storage-URL", + "defaultAction": "Permit", + "matchConfigurations": [ + { + "matchConfigurationName": "example-match", + "sequenceNumber": 123, + "ipAddressType": "IPv4", + "matchConditions": [ + { + "protocolTypes": [ + "TCP" + ], + "vlanMatchCondition": { + "vlans": [ + "20-30" + ], + "innerVlans": [ + "30" + ], + "vlanGroupNames": [ + "example-vlanGroup" + ] + }, + "ipCondition": { + "type": "SourceIP", + "prefixType": "Prefix", + "ipPrefixValues": [ + "10.20.20.20/12" + ], + "ipGroupNames": [ + "example-ipGroup" + ] + }, + "etherTypes": [ + "0x1" + ], + "fragments": [ + "0xff00-0xffff" + ], + "ipLengths": [ + "4094-9214" + ], + "ttlValues": [ + "23" + ], + "dscpMarkings": [ + "32" + ], + "portCondition": { + "portType": "SourcePort", + "layer4Protocol": "TCP", + "ports": [ + "1-20" + ], + "portGroupNames": [ + "example-portGroup" + ], + "flags": [ + "established" + ] + } + } + ], + "actions": [ + { + "type": "Count", + "counterName": "example-counter" + } + ] + } + ], + "dynamicMatchConfigurations": [ + { + "ipGroups": [ + { + "name": "example-ipGroup", + "ipAddressType": "IPv4", + "ipPrefixes": [ + "10.20.3.1/20" + ] + } + ], + "vlanGroups": [ + { + "name": "example-vlanGroup", + "vlans": [ + "20-30" + ] + } + ], + "portGroups": [ + { + "name": "example-portGroup", + "ports": [ + "100-200" + ] + } + ] + } + ], + "lastSyncedTime": "2023-06-17T08:56:23.203Z", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "keyValue" + }, + "location": "eastUs", + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "name": "example-acl", + "type": "microsoft.managednetworkfabric/accessControlLists", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/AccessControlLists_ListByResourceGroup.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/AccessControlLists_ListByResourceGroup.json new file mode 100644 index 000000000000..bd804ce29803 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/AccessControlLists_ListByResourceGroup.json @@ -0,0 +1,143 @@ +{ + "title": "AccessControlLists_ListByResourceGroup_MaximumSet_Gen", + "operationId": "AccessControlLists_ListByResourceGroup", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "configurationType": "File", + "aclsUrl": "https://ACL-Storage-URL", + "defaultAction": "Permit", + "matchConfigurations": [ + { + "matchConfigurationName": "example-match", + "sequenceNumber": 123, + "ipAddressType": "IPv4", + "matchConditions": [ + { + "protocolTypes": [ + "TCP" + ], + "vlanMatchCondition": { + "vlans": [ + "20-30" + ], + "innerVlans": [ + "30" + ], + "vlanGroupNames": [ + "example-vlanGroup" + ] + }, + "ipCondition": { + "type": "SourceIP", + "prefixType": "Prefix", + "ipPrefixValues": [ + "10.20.20.20/12" + ], + "ipGroupNames": [ + "example-ipGroup" + ] + }, + "etherTypes": [ + "0x1" + ], + "fragments": [ + "0xff00-0xffff" + ], + "ipLengths": [ + "4094-9214" + ], + "ttlValues": [ + "23" + ], + "dscpMarkings": [ + "32" + ], + "portCondition": { + "portType": "SourcePort", + "layer4Protocol": "TCP", + "ports": [ + "1-20" + ], + "portGroupNames": [ + "example-portGroup" + ], + "flags": [ + "established" + ] + } + } + ], + "actions": [ + { + "type": "Count", + "counterName": "example-counter" + } + ] + } + ], + "dynamicMatchConfigurations": [ + { + "ipGroups": [ + { + "name": "example-ipGroup", + "ipAddressType": "IPv4", + "ipPrefixes": [ + "10.20.3.1/20" + ] + } + ], + "vlanGroups": [ + { + "name": "example-vlanGroup", + "vlans": [ + "20-30" + ] + } + ], + "portGroups": [ + { + "name": "example-portGroup", + "ports": [ + "100-200" + ] + } + ] + } + ], + "lastSyncedTime": "2023-06-17T08:56:23.203Z", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "keyValue" + }, + "location": "eastUs", + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "name": "example-acl", + "type": "microsoft.managednetworkfabric/accessControlLists", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/AccessControlLists_ListBySubscription.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/AccessControlLists_ListBySubscription.json new file mode 100644 index 000000000000..1301c9cb6295 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/AccessControlLists_ListBySubscription.json @@ -0,0 +1,142 @@ +{ + "title": "AccessControlLists_ListBySubscription_MaximumSet_Gen", + "operationId": "AccessControlLists_ListBySubscription", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "configurationType": "File", + "aclsUrl": "https://ACL-Storage-URL", + "defaultAction": "Permit", + "matchConfigurations": [ + { + "matchConfigurationName": "example-match", + "sequenceNumber": 123, + "ipAddressType": "IPv4", + "matchConditions": [ + { + "protocolTypes": [ + "TCP" + ], + "vlanMatchCondition": { + "vlans": [ + "20-30" + ], + "innerVlans": [ + "30" + ], + "vlanGroupNames": [ + "example-vlanGroup" + ] + }, + "ipCondition": { + "type": "SourceIP", + "prefixType": "Prefix", + "ipPrefixValues": [ + "10.20.20.20/12" + ], + "ipGroupNames": [ + "example-ipGroup" + ] + }, + "etherTypes": [ + "0x1" + ], + "fragments": [ + "0xff00-0xffff" + ], + "ipLengths": [ + "4094-9214" + ], + "ttlValues": [ + "23" + ], + "dscpMarkings": [ + "32" + ], + "portCondition": { + "portType": "SourcePort", + "layer4Protocol": "TCP", + "ports": [ + "1-20" + ], + "portGroupNames": [ + "example-portGroup" + ], + "flags": [ + "established" + ] + } + } + ], + "actions": [ + { + "type": "Count", + "counterName": "example-counter" + } + ] + } + ], + "dynamicMatchConfigurations": [ + { + "ipGroups": [ + { + "name": "example-ipGroup", + "ipAddressType": "IPv4", + "ipPrefixes": [ + "10.20.3.1/20" + ] + } + ], + "vlanGroups": [ + { + "name": "example-vlanGroup", + "vlans": [ + "20-30" + ] + } + ], + "portGroups": [ + { + "name": "example-portGroup", + "ports": [ + "100-200" + ] + } + ] + } + ], + "lastSyncedTime": "2023-06-17T08:56:23.203Z", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "keyValue" + }, + "location": "eastUs", + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "name": "example-acl", + "type": "microsoft.managednetworkfabric/accessControlLists", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/AccessControlLists_Resync.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/AccessControlLists_Resync.json new file mode 100644 index 000000000000..f79c7d0440e4 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/AccessControlLists_Resync.json @@ -0,0 +1,34 @@ +{ + "title": "AccessControlLists_Resync_MaximumSet_Gen", + "operationId": "AccessControlLists_Resync", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "accessControlListName": "example-acl" + }, + "responses": { + "200": { + "body": { + "configurationState": "Succeeded", + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/AccessControlLists_Update.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/AccessControlLists_Update.json new file mode 100644 index 000000000000..99a8b9b28361 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/AccessControlLists_Update.json @@ -0,0 +1,253 @@ +{ + "title": "AccessControlLists_Update_MaximumSet_Gen", + "operationId": "AccessControlLists_Update", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "accessControlListName": "example-acl", + "properties": { + "tags": { + "KeyId": "KeyValue" + }, + "properties": { + "configurationType": "File", + "aclsUrl": "https://microsoft.com/a", + "defaultAction": "Permit", + "matchConfigurations": [ + { + "matchConfigurationName": "example-match", + "sequenceNumber": 123, + "ipAddressType": "IPv4", + "matchConditions": [ + { + "protocolTypes": [ + "TCP" + ], + "vlanMatchCondition": { + "vlans": [ + "20-30" + ], + "innerVlans": [ + "30" + ], + "vlanGroupNames": [ + "example-vlanGroup" + ] + }, + "ipCondition": { + "type": "SourceIP", + "prefixType": "Prefix", + "ipPrefixValues": [ + "10.20.20.20/12" + ], + "ipGroupNames": [ + "example-ipGroup" + ] + }, + "etherTypes": [ + "0x1" + ], + "fragments": [ + "0xff00-0xffff" + ], + "ipLengths": [ + "4094-9214" + ], + "ttlValues": [ + "23" + ], + "dscpMarkings": [ + "32" + ], + "portCondition": { + "flags": [ + "established" + ], + "portType": "SourcePort", + "layer4Protocol": "TCP", + "ports": [ + "1-20" + ], + "portGroupNames": [ + "example-portGroup" + ] + } + } + ], + "actions": [ + { + "type": "Count", + "counterName": "example-counter" + } + ] + } + ], + "dynamicMatchConfigurations": [ + { + "ipGroups": [ + { + "name": "example-ipGroup", + "ipAddressType": "IPv4", + "ipPrefixes": [ + "10.20.3.1/20" + ] + } + ], + "vlanGroups": [ + { + "name": "example-vlanGroup", + "vlans": [ + "20-30" + ] + } + ], + "portGroups": [ + { + "name": "example-portGroup", + "ports": [ + "100-200" + ] + } + ] + } + ], + "annotation": "annotation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "configurationType": "File", + "aclsUrl": "https://ACL-Storage-URL", + "defaultAction": "Permit", + "matchConfigurations": [ + { + "matchConfigurationName": "example-match", + "sequenceNumber": 123, + "ipAddressType": "IPv4", + "matchConditions": [ + { + "protocolTypes": [ + "TCP" + ], + "vlanMatchCondition": { + "vlans": [ + "20-30" + ], + "innerVlans": [ + "30" + ], + "vlanGroupNames": [ + "example-vlanGroup" + ] + }, + "ipCondition": { + "type": "SourceIP", + "prefixType": "Prefix", + "ipPrefixValues": [ + "10.20.20.20/12" + ], + "ipGroupNames": [ + "example-ipGroup" + ] + }, + "etherTypes": [ + "0x1" + ], + "fragments": [ + "0xff00-0xffff" + ], + "ipLengths": [ + "4094-9214" + ], + "ttlValues": [ + "23" + ], + "dscpMarkings": [ + "32" + ], + "portCondition": { + "portType": "SourcePort", + "layer4Protocol": "TCP", + "ports": [ + "1-20" + ], + "portGroupNames": [ + "example-portGroup" + ], + "flags": [ + "established" + ] + } + } + ], + "actions": [ + { + "type": "Count", + "counterName": "example-counter" + } + ] + } + ], + "dynamicMatchConfigurations": [ + { + "ipGroups": [ + { + "name": "example-ipGroup", + "ipAddressType": "IPv4", + "ipPrefixes": [ + "10.20.3.1/20" + ] + } + ], + "vlanGroups": [ + { + "name": "example-vlanGroup", + "vlans": [ + "20-30" + ] + } + ], + "portGroups": [ + { + "name": "example-portGroup", + "ports": [ + "100-200" + ] + } + ] + } + ], + "lastSyncedTime": "2023-06-17T08:56:23.203Z", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "keyValue" + }, + "location": "eastUs", + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "name": "example-acl", + "type": "microsoft.managednetworkfabric/accessControlLists", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/AccessControlLists_UpdateAdministrativeState.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/AccessControlLists_UpdateAdministrativeState.json new file mode 100644 index 000000000000..5e1c0b468217 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/AccessControlLists_UpdateAdministrativeState.json @@ -0,0 +1,40 @@ +{ + "title": "AccessControlLists_UpdateAdministrativeState_MaximumSet_Gen", + "operationId": "AccessControlLists_UpdateAdministrativeState", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "accessControlListName": "example-acl", + "body": { + "resourceIds": [ + "" + ], + "state": "Enable" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/AccessControlLists_ValidateConfiguration.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/AccessControlLists_ValidateConfiguration.json new file mode 100644 index 000000000000..35c1d0774d10 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/AccessControlLists_ValidateConfiguration.json @@ -0,0 +1,35 @@ +{ + "title": "AccessControlLists_ValidateConfiguration_MaximumSet_Gen", + "operationId": "AccessControlLists_ValidateConfiguration", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "accessControlListName": "example-acl" + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded", + "url": "https://ActionDetails" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/ExternalNetworks_Create.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/ExternalNetworks_Create.json new file mode 100644 index 000000000000..8435757ed6ba --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/ExternalNetworks_Create.json @@ -0,0 +1,214 @@ +{ + "title": "ExternalNetworks_Create_MaximumSet_Gen", + "operationId": "ExternalNetworks_Create", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-externalnetwork", + "externalNetworkName": "example-ext", + "resource": { + "properties": { + "annotation": "annotation", + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "importRoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportRoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10039" + ], + "exportRouteTargets": [ + "65046:10039" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "primaryIpv4Prefix": "10.1.1.0/30", + "primaryIpv6Prefix": "3FFE:FFFF:0:CD30::a0/126", + "secondaryIpv4Prefix": "10.1.1.4/30", + "secondaryIpv6Prefix": "3FFE:FFFF:0:CD30::a4/126", + "mtu": 1500, + "vlanId": 1001, + "peerASN": 65047, + "bfdConfiguration": { + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl" + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "importRoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportRoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10039" + ], + "exportRouteTargets": [ + "65046:10039" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "primaryIpv4Prefix": "10.1.1.0/30", + "primaryIpv6Prefix": "3FFE:FFFF:0:CD30::a0/126", + "secondaryIpv4Prefix": "10.1.1.4/30", + "secondaryIpv6Prefix": "3FFE:FFFF:0:CD30::a4/126", + "mtu": 1500, + "vlanId": 1001, + "fabricASN": 1234, + "peerASN": 65047, + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain/externalNetworks/example-externalnetwork", + "name": "example-externalnetwork", + "type": "microsoft.managednetworkfabric/l3IsolationDomains/externalnetworks", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotation", + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "importRoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportRoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10039" + ], + "exportRouteTargets": [ + "65046:10039" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "primaryIpv4Prefix": "10.1.1.0/30", + "primaryIpv6Prefix": "3FFE:FFFF:0:CD30::a0/126", + "secondaryIpv4Prefix": "10.1.1.4/30", + "secondaryIpv6Prefix": "3FFE:FFFF:0:CD30::a4/126", + "mtu": 1500, + "vlanId": 1001, + "fabricASN": 1234, + "peerASN": 65047, + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain/externalNetworks/example-externalnetwork", + "name": "example-externalnetwork", + "type": "microsoft.managednetworkfabric/l3IsolationDomains/externalnetworks", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/ExternalNetworks_Delete.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/ExternalNetworks_Delete.json new file mode 100644 index 000000000000..b5115f3fd1ff --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/ExternalNetworks_Delete.json @@ -0,0 +1,19 @@ +{ + "title": "ExternalNetworks_Delete_MaximumSet_Gen", + "operationId": "ExternalNetworks_Delete", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-externalnetwork", + "externalNetworkName": "example-ext" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/ExternalNetworks_Get.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/ExternalNetworks_Get.json new file mode 100644 index 000000000000..05c7faa76ea0 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/ExternalNetworks_Get.json @@ -0,0 +1,85 @@ +{ + "title": "ExternalNetworks_Get_MaximumSet_Gen", + "operationId": "ExternalNetworks_Get", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-externalnetwork", + "externalNetworkName": "example-ext" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "importRoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportRoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10039" + ], + "exportRouteTargets": [ + "65046:10039" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "primaryIpv4Prefix": "10.1.1.0/30", + "primaryIpv6Prefix": "3FFE:FFFF:0:CD30::a0/126", + "secondaryIpv4Prefix": "10.1.1.4/30", + "secondaryIpv6Prefix": "3FFE:FFFF:0:CD30::a4/126", + "mtu": 1500, + "vlanId": 1001, + "fabricASN": 1234, + "peerASN": 65047, + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain/externalNetworks/example-externalnetwork", + "name": "example-externalnetwork", + "type": "microsoft.managednetworkfabric/l3IsolationDomains/externalnetworks", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/ExternalNetworks_ListByL3IsolationDomain.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/ExternalNetworks_ListByL3IsolationDomain.json new file mode 100644 index 000000000000..b91889ca930d --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/ExternalNetworks_ListByL3IsolationDomain.json @@ -0,0 +1,89 @@ +{ + "title": "ExternalNetworks_ListByL3IsolationDomain_MaximumSet_Gen", + "operationId": "ExternalNetworks_ListByL3IsolationDomain", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-externalnetwork" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "importRoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportRoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10039" + ], + "exportRouteTargets": [ + "65046:10039" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "primaryIpv4Prefix": "10.1.1.0/30", + "primaryIpv6Prefix": "3FFE:FFFF:0:CD30::a0/126", + "secondaryIpv4Prefix": "10.1.1.4/30", + "secondaryIpv6Prefix": "3FFE:FFFF:0:CD30::a4/126", + "mtu": 1500, + "vlanId": 1001, + "fabricASN": 1234, + "peerASN": 65047, + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain/externalNetworks/example-externalnetwork", + "name": "example-externalnetwork", + "type": "microsoft.managednetworkfabric/l3IsolationDomains/externalnetworks", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/ExternalNetworks_Update.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/ExternalNetworks_Update.json new file mode 100644 index 000000000000..ab2c984f940b --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/ExternalNetworks_Update.json @@ -0,0 +1,144 @@ +{ + "title": "ExternalNetworks_Update_MaximumSet_Gen", + "operationId": "ExternalNetworks_Update", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-externalnetwork", + "externalNetworkName": "example-ext", + "properties": { + "properties": { + "annotation": "annotation1", + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "importRoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportRoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10039" + ], + "exportRouteTargets": [ + "65046:10039" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "primaryIpv4Prefix": "10.1.1.0/30", + "primaryIpv6Prefix": "3FFE:FFFF:0:CD30::a0/126", + "secondaryIpv4Prefix": "10.1.1.4/30", + "secondaryIpv6Prefix": "3FFE:FFFF:0:CD30::a4/126", + "mtu": 1500, + "vlanId": 1001, + "peerASN": 65047, + "bfdConfiguration": { + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl" + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "importRoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportRoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10039" + ], + "exportRouteTargets": [ + "65046:10039" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "primaryIpv4Prefix": "10.1.1.0/30", + "primaryIpv6Prefix": "3FFE:FFFF:0:CD30::a0/126", + "secondaryIpv4Prefix": "10.1.1.4/30", + "secondaryIpv6Prefix": "3FFE:FFFF:0:CD30::a4/126", + "mtu": 1500, + "vlanId": 1001, + "fabricASN": 1234, + "peerASN": 65047, + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain/externalNetworks/example-externalnetwork", + "name": "example-externalnetwork", + "type": "microsoft.managednetworkfabric/l3IsolationDomains/externalnetworks", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/ExternalNetworks_UpdateAdministrativeState.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/ExternalNetworks_UpdateAdministrativeState.json new file mode 100644 index 000000000000..ef8f566b574e --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/ExternalNetworks_UpdateAdministrativeState.json @@ -0,0 +1,41 @@ +{ + "title": "ExternalNetworks_UpdateAdministrativeState_MaximumSet_Gen", + "operationId": "ExternalNetworks_UpdateAdministrativeState", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-externalnetwork", + "externalNetworkName": "example-ext", + "body": { + "resourceIds": [ + "" + ], + "state": "Enable" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/ExternalNetworks_UpdateStaticRouteBfdAdministrativeState.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/ExternalNetworks_UpdateStaticRouteBfdAdministrativeState.json new file mode 100644 index 000000000000..b9ade0923cc5 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/ExternalNetworks_UpdateStaticRouteBfdAdministrativeState.json @@ -0,0 +1,41 @@ +{ + "title": "ExternalNetworks_UpdateStaticRouteBfdAdministrativeState_MaximumSet_Gen", + "operationId": "ExternalNetworks_UpdateStaticRouteBfdAdministrativeState", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-externalnetwork", + "externalNetworkName": "example-ext", + "body": { + "resourceIds": [ + "" + ], + "state": "Enable" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/InternalNetworks_Create.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/InternalNetworks_Create.json new file mode 100644 index 000000000000..59347e9d5ac8 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/InternalNetworks_Create.json @@ -0,0 +1,307 @@ +{ + "title": "InternalNetworks_Create_MaximumSet_Gen", + "operationId": "InternalNetworks_Create", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-l3isd", + "internalNetworkName": "example-internalnetwork", + "resource": { + "properties": { + "annotation": "annotation", + "mtu": 1500, + "connectedIPv4Subnets": [ + { + "annotation": "annotation", + "prefix": "10.0.0.0/24" + } + ], + "connectedIPv6Subnets": [ + { + "annotation": "annotation", + "prefix": "3FFE:FFFF:0:CD30::a0/29" + } + ], + "importRoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportRoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "isMonitoringEnabled": "True", + "extension": "NoExtension", + "vlanId": 755, + "bgpConfiguration": { + "annotation": "annotation", + "bfdConfiguration": { + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "defaultRouteOriginate": "True", + "allowAS": 10, + "allowASOverride": "Enable", + "peerASN": 61234, + "ipv4ListenRangePrefixes": [ + "10.1.0.0/25" + ], + "ipv6ListenRangePrefixes": [ + "2fff::/66" + ], + "ipv4NeighborAddress": [ + { + "address": "10.1.0.0" + } + ], + "ipv6NeighborAddress": [ + { + "address": "2fff::" + } + ] + }, + "staticRouteConfiguration": { + "bfdConfiguration": { + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "jffgck", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "2fff::/64", + "nextHop": [ + "3ffe::1" + ] + } + ], + "extension": "NoExtension" + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "mtu": 1500, + "connectedIPv4Subnets": [ + { + "prefix": "10.0.0.0/24", + "annotation": "annotation" + } + ], + "connectedIPv6Subnets": [ + { + "prefix": "3FFE:FFFF:0:CD30::a0/29", + "annotation": "annotation" + } + ], + "importRoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportRoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "isMonitoringEnabled": "True", + "extension": "NoExtension", + "vlanId": 755, + "bgpConfiguration": { + "annotation": "annotation", + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "defaultRouteOriginate": "True", + "allowAS": 10, + "allowASOverride": "Enable", + "fabricASN": 20, + "peerASN": 61234, + "ipv4ListenRangePrefixes": [ + "10.1.0.0/25" + ], + "ipv6ListenRangePrefixes": [ + "2fff::/66" + ], + "ipv4NeighborAddress": [ + { + "address": "10.1.0.0", + "configurationState": "Succeeded" + } + ], + "ipv6NeighborAddress": [ + { + "address": "2fff::", + "configurationState": "Succeeded" + } + ] + }, + "staticRouteConfiguration": { + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "jffgck", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "2fff::/64", + "nextHop": [ + "3ffe::1" + ] + } + ], + "extension": "NoExtension" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain/internalNetworks/example-internalnetwork", + "name": "example-internalnetwork", + "type": "microsoft.managednetworkfabric/l3IsolationDomains/internalnetworks", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotation", + "mtu": 1500, + "connectedIPv4Subnets": [ + { + "prefix": "10.0.0.0/24", + "annotation": "annotation" + } + ], + "connectedIPv6Subnets": [ + { + "prefix": "3FFE:FFFF:0:CD30::a0/29", + "annotation": "annotation" + } + ], + "importRoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportRoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "isMonitoringEnabled": "True", + "extension": "NoExtension", + "vlanId": 755, + "bgpConfiguration": { + "annotation": "annotation", + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "defaultRouteOriginate": "True", + "allowAS": 10, + "allowASOverride": "Enable", + "fabricASN": 20, + "peerASN": 61234, + "ipv4ListenRangePrefixes": [ + "10.1.0.0/25" + ], + "ipv6ListenRangePrefixes": [ + "2fff::/66" + ], + "ipv4NeighborAddress": [ + { + "address": "10.1.0.0", + "configurationState": "Succeeded" + } + ], + "ipv6NeighborAddress": [ + { + "address": "2fff::", + "configurationState": "Succeeded" + } + ] + }, + "staticRouteConfiguration": { + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "jffgck", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "2fff::/64", + "nextHop": [ + "3ffe::1" + ] + } + ], + "extension": "NoExtension" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain/internalNetworks/example-internalnetwork", + "name": "example-internalnetwork", + "type": "microsoft.managednetworkfabric/l3IsolationDomains/internalnetworks", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/InternalNetworks_Delete.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/InternalNetworks_Delete.json new file mode 100644 index 000000000000..9fab8dfddc2b --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/InternalNetworks_Delete.json @@ -0,0 +1,19 @@ +{ + "title": "InternalNetworks_Delete_MaximumSet_Gen", + "operationId": "InternalNetworks_Delete", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-l3isd", + "internalNetworkName": "example-internalnetwork" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/InternalNetworks_Get.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/InternalNetworks_Get.json new file mode 100644 index 000000000000..35ccdbb97d0a --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/InternalNetworks_Get.json @@ -0,0 +1,117 @@ +{ + "title": "InternalNetworks_Get_MaximumSet_Gen", + "operationId": "InternalNetworks_Get", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-l3isd", + "internalNetworkName": "example-internalnetwork" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "mtu": 1500, + "connectedIPv4Subnets": [ + { + "prefix": "10.0.0.0/24", + "annotation": "annotation" + } + ], + "connectedIPv6Subnets": [ + { + "prefix": "3FFE:FFFF:0:CD30::a0/29", + "annotation": "annotation" + } + ], + "importRoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportRoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "isMonitoringEnabled": "True", + "extension": "NoExtension", + "vlanId": 755, + "bgpConfiguration": { + "annotation": "annotation", + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "defaultRouteOriginate": "True", + "allowAS": 10, + "allowASOverride": "Enable", + "fabricASN": 20, + "peerASN": 61234, + "ipv4ListenRangePrefixes": [ + "10.1.0.0/25" + ], + "ipv6ListenRangePrefixes": [ + "2fff::/66" + ], + "ipv4NeighborAddress": [ + { + "address": "10.1.0.0", + "configurationState": "Succeeded" + } + ], + "ipv6NeighborAddress": [ + { + "address": "2fff::", + "configurationState": "Succeeded" + } + ] + }, + "staticRouteConfiguration": { + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "jffgck", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "2fff::/64", + "nextHop": [ + "3ffe::1" + ] + } + ], + "extension": "NoExtension" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain/internalNetworks/example-internalnetwork", + "name": "example-internalnetwork", + "type": "microsoft.managednetworkfabric/l3IsolationDomains/internalnetworks", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/InternalNetworks_ListByL3IsolationDomain.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/InternalNetworks_ListByL3IsolationDomain.json new file mode 100644 index 000000000000..61946d006328 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/InternalNetworks_ListByL3IsolationDomain.json @@ -0,0 +1,121 @@ +{ + "title": "InternalNetworks_ListByL3IsolationDomain_MaximumSet_Gen", + "operationId": "InternalNetworks_ListByL3IsolationDomain", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-l3isd" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "mtu": 1500, + "connectedIPv4Subnets": [ + { + "prefix": "10.0.0.0/24", + "annotation": "annotation" + } + ], + "connectedIPv6Subnets": [ + { + "prefix": "3FFE:FFFF:0:CD30::a0/29", + "annotation": "annotation" + } + ], + "importRoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportRoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "isMonitoringEnabled": "True", + "extension": "NoExtension", + "vlanId": 755, + "bgpConfiguration": { + "annotation": "annotation", + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "defaultRouteOriginate": "True", + "allowAS": 10, + "allowASOverride": "Enable", + "fabricASN": 20, + "peerASN": 61234, + "ipv4ListenRangePrefixes": [ + "10.1.0.0/25" + ], + "ipv6ListenRangePrefixes": [ + "2fff::/66" + ], + "ipv4NeighborAddress": [ + { + "address": "10.1.0.0", + "configurationState": "Succeeded" + } + ], + "ipv6NeighborAddress": [ + { + "address": "2fff::", + "configurationState": "Succeeded" + } + ] + }, + "staticRouteConfiguration": { + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "jffgck", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "2fff::/64", + "nextHop": [ + "3ffe::1" + ] + } + ], + "extension": "NoExtension" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain/internalNetworks/example-internalnetwork", + "name": "example-internalnetwork", + "type": "microsoft.managednetworkfabric/l3IsolationDomains/internalnetworks", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/InternalNetworks_Update.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/InternalNetworks_Update.json new file mode 100644 index 000000000000..1202c83d54ee --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/InternalNetworks_Update.json @@ -0,0 +1,202 @@ +{ + "title": "InternalNetworks_Update_MaximumSet_Gen", + "operationId": "InternalNetworks_Update", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-l3isd", + "internalNetworkName": "example-internalnetwork", + "properties": { + "properties": { + "annotation": "annotation", + "mtu": 1500, + "connectedIPv4Subnets": [ + { + "annotation": "annotation", + "prefix": "10.0.0.0/24" + } + ], + "connectedIPv6Subnets": [ + { + "annotation": "annotation", + "prefix": "10.0.0.0/24" + } + ], + "importRoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportRoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "isMonitoringEnabled": "True", + "bgpConfiguration": { + "annotation": "annotation", + "bfdConfiguration": { + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "defaultRouteOriginate": "True", + "allowAS": 10, + "allowASOverride": "Enable", + "peerASN": 61234, + "ipv4ListenRangePrefixes": [ + "10.1.0.0/25" + ], + "ipv6ListenRangePrefixes": [ + "2fff::/66" + ], + "ipv4NeighborAddress": [ + { + "address": "10.1.0.0" + } + ], + "ipv6NeighborAddress": [ + { + "address": "10.1.0.0" + } + ] + }, + "staticRouteConfiguration": { + "bfdConfiguration": { + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "jffgck", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "jffgck", + "nextHop": [ + "10.0.0.1" + ] + } + ] + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "mtu": 1500, + "connectedIPv4Subnets": [ + { + "prefix": "10.0.0.0/24", + "annotation": "annotation" + } + ], + "connectedIPv6Subnets": [ + { + "prefix": "3FFE:FFFF:0:CD30::a0/29", + "annotation": "annotation" + } + ], + "importRoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportRoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "isMonitoringEnabled": "True", + "extension": "NoExtension", + "vlanId": 755, + "bgpConfiguration": { + "annotation": "annotation", + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "defaultRouteOriginate": "True", + "allowAS": 10, + "allowASOverride": "Enable", + "fabricASN": 20, + "peerASN": 61234, + "ipv4ListenRangePrefixes": [ + "10.1.0.0/25" + ], + "ipv6ListenRangePrefixes": [ + "2fff::/66" + ], + "ipv4NeighborAddress": [ + { + "address": "10.1.0.0", + "configurationState": "Succeeded" + } + ], + "ipv6NeighborAddress": [ + { + "address": "2fff::", + "configurationState": "Succeeded" + } + ] + }, + "staticRouteConfiguration": { + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "jffgck", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "2fff::/64", + "nextHop": [ + "3ffe::1" + ] + } + ], + "extension": "NoExtension" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain/internalNetworks/example-internalnetwork", + "name": "example-internalnetwork", + "type": "microsoft.managednetworkfabric/l3IsolationDomains/internalnetworks", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/InternalNetworks_UpdateAdministrativeState.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/InternalNetworks_UpdateAdministrativeState.json new file mode 100644 index 000000000000..cf9a63327ad8 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/InternalNetworks_UpdateAdministrativeState.json @@ -0,0 +1,41 @@ +{ + "title": "InternalNetworks_UpdateAdministrativeState_MaximumSet_Gen", + "operationId": "InternalNetworks_UpdateAdministrativeState", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-l3isd", + "internalNetworkName": "example-internalnetwork", + "body": { + "resourceIds": [ + "" + ], + "state": "Enable" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/InternalNetworks_UpdateBgpAdministrativeState.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/InternalNetworks_UpdateBgpAdministrativeState.json new file mode 100644 index 000000000000..5c192ffccb0e --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/InternalNetworks_UpdateBgpAdministrativeState.json @@ -0,0 +1,41 @@ +{ + "title": "InternalNetworks_UpdateBgpAdministrativeState_MaximumSet_Gen", + "operationId": "InternalNetworks_UpdateBgpAdministrativeState", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-l3isd", + "internalNetworkName": "example-internalnetwork", + "body": { + "resourceIds": [ + "" + ], + "state": "Enable" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/InternalNetworks_UpdateStaticRouteBfdAdministrativeState.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/InternalNetworks_UpdateStaticRouteBfdAdministrativeState.json new file mode 100644 index 000000000000..aa0716adbbfa --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/InternalNetworks_UpdateStaticRouteBfdAdministrativeState.json @@ -0,0 +1,41 @@ +{ + "title": "InternalNetworks_UpdateStaticRouteBfdAdministrativeState_MaximumSet_Gen", + "operationId": "InternalNetworks_UpdateStaticRouteBfdAdministrativeState", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-l3isd", + "internalNetworkName": "example-internalnetwork", + "body": { + "resourceIds": [ + "" + ], + "state": "Enable" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/InternetGatewayRules_Create.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/InternetGatewayRules_Create.json new file mode 100644 index 000000000000..4d58ba055872 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/InternetGatewayRules_Create.json @@ -0,0 +1,94 @@ +{ + "title": "InternetGatewayRules_Create_MaximumSet_Gen", + "operationId": "InternetGatewayRules_Create", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "internetGatewayRuleName": "example-internetGatewayRule", + "resource": { + "properties": { + "annotation": "annotationValue", + "ruleProperties": { + "action": "Allow", + "addressList": [ + "10.10.10.10" + ] + } + }, + "tags": { + "KeyID": "KeyValue" + }, + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotationValue", + "ruleProperties": { + "action": "Allow", + "addressList": [ + "10.10.10.10" + ] + }, + "provisioningState": "Accepted", + "internetGatewayIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/internetGateways/example-internetGateway" + ] + }, + "tags": { + "KeyID": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/internetGatewayRules/example-InternetGatewayRule", + "name": "example-internetGatewayRule", + "type": "microsoft.managednetworkfabric/internetGatewayRules", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotationValue", + "ruleProperties": { + "action": "Allow", + "addressList": [ + "10.10.10.10" + ] + }, + "provisioningState": "Accepted", + "internetGatewayIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/internetGateways/example-internetGateway" + ] + }, + "tags": { + "KeyID": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/internetGatewayRules/example-InternetGatewayRule", + "name": "example-internetGatewayRule", + "type": "microsoft.managednetworkfabric/internetGatewayRules", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/InternetGatewayRules_Delete.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/InternetGatewayRules_Delete.json new file mode 100644 index 000000000000..65056d6e5815 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/InternetGatewayRules_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "InternetGatewayRules_Delete_MaximumSet_Gen", + "operationId": "InternetGatewayRules_Delete", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "internetGatewayRuleName": "example-internetGatewayRule" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/InternetGatewayRules_Get.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/InternetGatewayRules_Get.json new file mode 100644 index 000000000000..e874f87557d2 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/InternetGatewayRules_Get.json @@ -0,0 +1,44 @@ +{ + "title": "InternetGatewayRules_Get_MaximumSet_Gen", + "operationId": "InternetGatewayRules_Get", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "internetGatewayRuleName": "example-internetGatewayRule" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotationValue", + "ruleProperties": { + "action": "Allow", + "addressList": [ + "10.10.10.10" + ] + }, + "provisioningState": "Accepted", + "internetGatewayIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/internetGateways/example-internetGateway" + ] + }, + "tags": { + "KeyID": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/internetGatewayRules/example-InternetGatewayRule", + "name": "example-internetGatewayRule", + "type": "microsoft.managednetworkfabric/internetGatewayRules", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/InternetGatewayRules_ListByResourceGroup.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/InternetGatewayRules_ListByResourceGroup.json new file mode 100644 index 000000000000..b5adb9b10f5d --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/InternetGatewayRules_ListByResourceGroup.json @@ -0,0 +1,48 @@ +{ + "title": "InternetGatewayRules_ListByResourceGroup_MaximumSet_Gen", + "operationId": "InternetGatewayRules_ListByResourceGroup", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-internetGatewayRule" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotationValue", + "ruleProperties": { + "action": "Allow", + "addressList": [ + "10.10.10.10" + ] + }, + "provisioningState": "Accepted", + "internetGatewayIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/internetGateways/example-internetGateway" + ] + }, + "tags": { + "KeyID": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/internetGatewayRules/example-InternetGatewayRule", + "name": "example-internetGatewayRule", + "type": "microsoft.managednetworkfabric/internetGatewayRules", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/InternetGatewayRules_ListBySubscription.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/InternetGatewayRules_ListBySubscription.json new file mode 100644 index 000000000000..10288cbdeacf --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/InternetGatewayRules_ListBySubscription.json @@ -0,0 +1,47 @@ +{ + "title": "InternetGatewayRules_ListBySubscription_MaximumSet_Gen", + "operationId": "InternetGatewayRules_ListBySubscription", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotationValue", + "ruleProperties": { + "action": "Allow", + "addressList": [ + "10.10.10.10" + ] + }, + "provisioningState": "Accepted", + "internetGatewayIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/internetGateways/example-internetGateway" + ] + }, + "tags": { + "KeyID": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/internetGatewayRules/example-InternetGatewayRule", + "name": "example-internetGatewayRule", + "type": "microsoft.managednetworkfabric/internetGatewayRules", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/InternetGatewayRules_Update.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/InternetGatewayRules_Update.json new file mode 100644 index 000000000000..a14bbaf8a375 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/InternetGatewayRules_Update.json @@ -0,0 +1,54 @@ +{ + "title": "InternetGatewayRules_Update_MaximumSet_Gen", + "operationId": "InternetGatewayRules_Update", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "internetGatewayRuleName": "example-internetGatewayRule", + "properties": { + "tags": { + "KeyID": "KeyValue" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotationValue", + "ruleProperties": { + "action": "Allow", + "addressList": [ + "10.10.10.10" + ] + }, + "provisioningState": "Accepted", + "internetGatewayIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/internetGateways/example-internetGateway" + ] + }, + "tags": { + "KeyID": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/internetGatewayRules/example-InternetGatewayRule", + "name": "example-internetGatewayRule", + "type": "microsoft.managednetworkfabric/internetGatewayRules", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/InternetGateways_Create.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/InternetGateways_Create.json new file mode 100644 index 000000000000..51ba8c7ac127 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/InternetGateways_Create.json @@ -0,0 +1,83 @@ +{ + "title": "InternetGateways_Create_MaximumSet_Gen", + "operationId": "InternetGateways_Create", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "internetGatewayName": "example-internetGateway", + "resource": { + "properties": { + "annotation": "annotation", + "internetGatewayRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/providers/Microsoft.ManagedNetworkFabric/internetGatewayRules/example-internetGatewayRule", + "type": "Infrastructure", + "networkFabricControllerId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-networkFabricController" + }, + "tags": { + "keyId": "KeyValue" + }, + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "internetGatewayRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/providers/Microsoft.ManagedNetworkFabric/internetGatewayRules/example-internetGatewayRule", + "ipv4Address": "10.10.10.10", + "port": 25, + "type": "Infrastructure", + "networkFabricControllerId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-networkFabricController", + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/subscriptionId/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/internetGateways/example-internetGateway", + "name": "example-internetGateway", + "type": "microsoft.managednetworkfabric/internetGateways", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotation", + "internetGatewayRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/providers/Microsoft.ManagedNetworkFabric/internetGatewayRules/example-internetGatewayRule", + "ipv4Address": "10.10.10.10", + "port": 25, + "type": "Infrastructure", + "networkFabricControllerId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-networkFabricController", + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/subscriptionId/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/internetGateways/example-internetGateway", + "name": "example-internetGateway", + "type": "microsoft.managednetworkfabric/internetGateways", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/InternetGateways_Delete.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/InternetGateways_Delete.json new file mode 100644 index 000000000000..c3871f28599d --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/InternetGateways_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "InternetGateways_Delete_MaximumSet_Gen", + "operationId": "InternetGateways_Delete", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "internetGatewayName": "example-internetGateway" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/InternetGateways_Get.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/InternetGateways_Get.json new file mode 100644 index 000000000000..533aa77d29d3 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/InternetGateways_Get.json @@ -0,0 +1,40 @@ +{ + "title": "InternetGateways_Get_MaximumSet_Gen", + "operationId": "InternetGateways_Get", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "internetGatewayName": "example-internetGateway" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "internetGatewayRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/providers/Microsoft.ManagedNetworkFabric/internetGatewayRules/example-internetGatewayRule", + "ipv4Address": "10.10.10.10", + "port": 25, + "type": "Infrastructure", + "networkFabricControllerId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-networkFabricController", + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/subscriptionId/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/internetGateways/example-internetGateway", + "name": "example-internetGateway", + "type": "microsoft.managednetworkfabric/internetGateways", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/InternetGateways_ListByResourceGroup.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/InternetGateways_ListByResourceGroup.json new file mode 100644 index 000000000000..aa66a8cb4c68 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/InternetGateways_ListByResourceGroup.json @@ -0,0 +1,44 @@ +{ + "title": "InternetGateways_ListByResourceGroup_MaximumSet_Gen", + "operationId": "InternetGateways_ListByResourceGroup", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "internetGatewayRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/providers/Microsoft.ManagedNetworkFabric/internetGatewayRules/example-internetGatewayRule", + "ipv4Address": "10.10.10.10", + "port": 25, + "type": "Infrastructure", + "networkFabricControllerId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-networkFabricController", + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/subscriptionId/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/internetGateways/example-internetGateway", + "name": "example-internetGateway", + "type": "microsoft.managednetworkfabric/internetGateways", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/InternetGateways_ListBySubscription.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/InternetGateways_ListBySubscription.json new file mode 100644 index 000000000000..c3dc1f4e3e6b --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/InternetGateways_ListBySubscription.json @@ -0,0 +1,43 @@ +{ + "title": "InternetGateways_ListBySubscription_MaximumSet_Gen", + "operationId": "InternetGateways_ListBySubscription", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "internetGatewayRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/providers/Microsoft.ManagedNetworkFabric/internetGatewayRules/example-internetGatewayRule", + "ipv4Address": "10.10.10.10", + "port": 25, + "type": "Infrastructure", + "networkFabricControllerId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-networkFabricController", + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/subscriptionId/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/internetGateways/example-internetGateway", + "name": "example-internetGateway", + "type": "microsoft.managednetworkfabric/internetGateways", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/InternetGateways_Update.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/InternetGateways_Update.json new file mode 100644 index 000000000000..27ffbae1e2d5 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/InternetGateways_Update.json @@ -0,0 +1,53 @@ +{ + "title": "InternetGateways_Update_MaximumSet_Gen", + "operationId": "InternetGateways_Update", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "internetGatewayName": "example-internetGateway", + "properties": { + "tags": { + "keyId": "KeyValue" + }, + "properties": { + "internetGatewayRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/providers/Microsoft.ManagedNetworkFabric/internetGatewayRules/example-internetGatewayRule" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "internetGatewayRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/providers/Microsoft.ManagedNetworkFabric/internetGatewayRules/example-internetGatewayRule", + "ipv4Address": "10.10.10.10", + "port": 25, + "type": "Infrastructure", + "networkFabricControllerId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-networkFabricController", + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/subscriptionId/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/internetGateways/example-internetGateway", + "name": "example-internetGateway", + "type": "microsoft.managednetworkfabric/internetGateways", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/IpCommunities_Create.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/IpCommunities_Create.json new file mode 100644 index 000000000000..1595d7cde39e --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/IpCommunities_Create.json @@ -0,0 +1,111 @@ +{ + "title": "IpCommunities_Create_MaximumSet_Gen", + "operationId": "IpCommunities_Create", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "ipCommunityName": "example-ipcommunity", + "resource": { + "properties": { + "annotation": "annotation", + "ipCommunityRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "wellKnownCommunities": [ + "Internet" + ], + "communityMembers": [ + "1:1" + ] + } + ], + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "ipCommunityRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "wellKnownCommunities": [ + "Internet" + ], + "communityMembers": [ + "1:1" + ] + } + ], + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipcommunity", + "name": "example-ipcommunity", + "type": "microsoft.managednetworkfabric/ipcommunities", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotation", + "ipCommunityRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "wellKnownCommunities": [ + "Internet" + ], + "communityMembers": [ + "1:1" + ] + } + ], + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipcommunity", + "name": "example-ipcommunity", + "type": "microsoft.managednetworkfabric/ipcommunities", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/IpCommunities_Delete.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/IpCommunities_Delete.json new file mode 100644 index 000000000000..a512af5dadc9 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/IpCommunities_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "IpCommunities_Delete_MaximumSet_Gen", + "operationId": "IpCommunities_Delete", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "ipCommunityName": "example-ipcommunity" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/IpCommunities_Get.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/IpCommunities_Get.json new file mode 100644 index 000000000000..1bda305934a4 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/IpCommunities_Get.json @@ -0,0 +1,49 @@ +{ + "title": "IpCommunities_Get_MaximumSet_Gen", + "operationId": "IpCommunities_Get", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "ipCommunityName": "example-ipcommunity" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "ipCommunityRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "wellKnownCommunities": [ + "Internet" + ], + "communityMembers": [ + "1:1" + ] + } + ], + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipcommunity", + "name": "example-ipcommunity", + "type": "microsoft.managednetworkfabric/ipcommunities", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/IpCommunities_ListByResourceGroup.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/IpCommunities_ListByResourceGroup.json new file mode 100644 index 000000000000..358037fa9ce7 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/IpCommunities_ListByResourceGroup.json @@ -0,0 +1,53 @@ +{ + "title": "IpCommunities_ListByResourceGroup_MaximumSet_Gen", + "operationId": "IpCommunities_ListByResourceGroup", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "ipCommunityRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "wellKnownCommunities": [ + "Internet" + ], + "communityMembers": [ + "1:1" + ] + } + ], + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipcommunity", + "name": "example-ipcommunity", + "type": "microsoft.managednetworkfabric/ipcommunities", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/IpCommunities_ListBySubscription.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/IpCommunities_ListBySubscription.json new file mode 100644 index 000000000000..40d5f27cc5f0 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/IpCommunities_ListBySubscription.json @@ -0,0 +1,52 @@ +{ + "title": "IpCommunities_ListBySubscription_MaximumSet_Gen", + "operationId": "IpCommunities_ListBySubscription", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "ipCommunityRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "wellKnownCommunities": [ + "Internet" + ], + "communityMembers": [ + "1:1" + ] + } + ], + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipcommunity", + "name": "example-ipcommunity", + "type": "microsoft.managednetworkfabric/ipcommunities", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/IpCommunities_Update.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/IpCommunities_Update.json new file mode 100644 index 000000000000..a4f1dd442a56 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/IpCommunities_Update.json @@ -0,0 +1,73 @@ +{ + "title": "IpCommunities_Update_MaximumSet_Gen", + "operationId": "IpCommunities_Update", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "ipCommunityName": "example-ipcommunity", + "properties": { + "tags": { + "keyID": "KeyValue" + }, + "properties": { + "ipCommunityRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "wellKnownCommunities": [ + "Internet" + ], + "communityMembers": [ + "1:1" + ] + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "ipCommunityRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "wellKnownCommunities": [ + "Internet" + ], + "communityMembers": [ + "1:1" + ] + } + ], + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipcommunity", + "name": "example-ipcommunity", + "type": "microsoft.managednetworkfabric/ipcommunities", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/IpExtendedCommunities_Create.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/IpExtendedCommunities_Create.json new file mode 100644 index 000000000000..9784c4d841f9 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/IpExtendedCommunities_Create.json @@ -0,0 +1,102 @@ +{ + "title": "IpExtendedCommunities_Create_MaximumSet_Gen", + "operationId": "IpExtendedCommunities_Create", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "ipExtendedCommunityName": "example-ipExtendedCommunity", + "resource": { + "properties": { + "annotation": "annotation", + "ipExtendedCommunityRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "routeTargets": [ + "1234:2345" + ] + } + ], + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "ipExtendedCommunityRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "routeTargets": [ + "1234:2345" + ] + } + ], + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity", + "name": "example-ipExtendedCommunity", + "type": "microsoft.managednetworkfabric/ipExtendedCommunities", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotation", + "ipExtendedCommunityRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "routeTargets": [ + "1234:2345" + ] + } + ], + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity", + "name": "example-ipExtendedCommunity", + "type": "microsoft.managednetworkfabric/ipExtendedCommunities", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/IpExtendedCommunities_Delete.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/IpExtendedCommunities_Delete.json new file mode 100644 index 000000000000..5f9d0eff1c00 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/IpExtendedCommunities_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "IpExtendedCommunities_Delete_MaximumSet_Gen", + "operationId": "IpExtendedCommunities_Delete", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "ipExtendedCommunityName": "example-ipExtendedCommunity" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/IpExtendedCommunities_Get.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/IpExtendedCommunities_Get.json new file mode 100644 index 000000000000..ec299f320b42 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/IpExtendedCommunities_Get.json @@ -0,0 +1,46 @@ +{ + "title": "IpExtendedCommunities_Get_MaximumSet_Gen", + "operationId": "IpExtendedCommunities_Get", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "ipExtendedCommunityName": "example-ipExtendedCommunity" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "ipExtendedCommunityRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "routeTargets": [ + "1234:2345" + ] + } + ], + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity", + "name": "example-ipExtendedCommunity", + "type": "microsoft.managednetworkfabric/ipExtendedCommunities", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/IpExtendedCommunities_ListByResourceGroup.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/IpExtendedCommunities_ListByResourceGroup.json new file mode 100644 index 000000000000..2da21b7e47d6 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/IpExtendedCommunities_ListByResourceGroup.json @@ -0,0 +1,50 @@ +{ + "title": "IpExtendedCommunities_ListByResourceGroup_MaximumSet_Gen", + "operationId": "IpExtendedCommunities_ListByResourceGroup", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "ipExtendedCommunityRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "routeTargets": [ + "1234:2345" + ] + } + ], + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity", + "name": "example-ipExtendedCommunity", + "type": "microsoft.managednetworkfabric/ipExtendedCommunities", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/IpExtendedCommunities_ListBySubscription.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/IpExtendedCommunities_ListBySubscription.json new file mode 100644 index 000000000000..12cb789b5f91 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/IpExtendedCommunities_ListBySubscription.json @@ -0,0 +1,49 @@ +{ + "title": "IpExtendedCommunities_ListBySubscription_MaximumSet_Gen", + "operationId": "IpExtendedCommunities_ListBySubscription", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "ipExtendedCommunityRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "routeTargets": [ + "1234:2345" + ] + } + ], + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity", + "name": "example-ipExtendedCommunity", + "type": "microsoft.managednetworkfabric/ipExtendedCommunities", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/IpExtendedCommunities_Update.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/IpExtendedCommunities_Update.json new file mode 100644 index 000000000000..fd353be61c9f --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/IpExtendedCommunities_Update.json @@ -0,0 +1,68 @@ +{ + "title": "IpExtendedCommunities_Update_MaximumSet_Gen", + "operationId": "IpExtendedCommunities_Update", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "ipExtendedCommunityName": "example-ipExtendedCommunity", + "properties": { + "tags": { + "KeyId": "KeyValue" + }, + "properties": { + "ipExtendedCommunityRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "routeTargets": [ + "1234:2345" + ] + } + ], + "annotation": "annotation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "ipExtendedCommunityRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "routeTargets": [ + "1234:2345" + ] + } + ], + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity", + "name": "example-ipExtendedCommunity", + "type": "microsoft.managednetworkfabric/ipExtendedCommunities", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/IpPrefixes_Create.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/IpPrefixes_Create.json new file mode 100644 index 000000000000..a30c6e3b6e3f --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/IpPrefixes_Create.json @@ -0,0 +1,102 @@ +{ + "title": "IpPrefixes_Create_MaximumSet_Gen", + "operationId": "IpPrefixes_Create", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "ipPrefixName": "example-ipPrefix", + "resource": { + "properties": { + "annotation": "annotation", + "ipPrefixRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "networkPrefix": "10.10.10.10/30", + "condition": "GreaterThanOrEqualTo", + "subnetMaskLength": "10" + } + ], + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "ipPrefixRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "networkPrefix": "10.10.10.10/30", + "condition": "GreaterThanOrEqualTo", + "subnetMaskLength": "10" + } + ], + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix", + "name": "example-ipPrefix", + "type": "microsoft.managednetworkfabric/ipPrefixes", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotation", + "ipPrefixRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "networkPrefix": "10.10.10.10/30", + "condition": "GreaterThanOrEqualTo", + "subnetMaskLength": "10" + } + ], + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix", + "name": "example-ipPrefix", + "type": "microsoft.managednetworkfabric/ipPrefixes", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/IpPrefixes_Delete.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/IpPrefixes_Delete.json new file mode 100644 index 000000000000..027a12c980a5 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/IpPrefixes_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "IpPrefixes_Delete_MaximumSet_Gen", + "operationId": "IpPrefixes_Delete", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "ipPrefixName": "example-ipPrefix" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/IpPrefixes_Get.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/IpPrefixes_Get.json new file mode 100644 index 000000000000..038749b88065 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/IpPrefixes_Get.json @@ -0,0 +1,46 @@ +{ + "title": "IpPrefixes_Get_MaximumSet_Gen", + "operationId": "IpPrefixes_Get", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "ipPrefixName": "example-ipPrefix" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "ipPrefixRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "networkPrefix": "10.10.10.10/30", + "condition": "GreaterThanOrEqualTo", + "subnetMaskLength": "10" + } + ], + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix", + "name": "example-ipPrefix", + "type": "microsoft.managednetworkfabric/ipPrefixes", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/IpPrefixes_ListByResourceGroup.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/IpPrefixes_ListByResourceGroup.json new file mode 100644 index 000000000000..ddfeff34510f --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/IpPrefixes_ListByResourceGroup.json @@ -0,0 +1,50 @@ +{ + "title": "IpPrefixes_ListByResourceGroup_MaximumSet_Gen", + "operationId": "IpPrefixes_ListByResourceGroup", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "ipPrefixRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "networkPrefix": "10.10.10.10/30", + "condition": "GreaterThanOrEqualTo", + "subnetMaskLength": "10" + } + ], + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix", + "name": "example-ipPrefix", + "type": "microsoft.managednetworkfabric/ipPrefixes", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/IpPrefixes_ListBySubscription.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/IpPrefixes_ListBySubscription.json new file mode 100644 index 000000000000..a8800a55e0b6 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/IpPrefixes_ListBySubscription.json @@ -0,0 +1,49 @@ +{ + "title": "IpPrefixes_ListBySubscription_MaximumSet_Gen", + "operationId": "IpPrefixes_ListBySubscription", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "ipPrefixRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "networkPrefix": "10.10.10.10/30", + "condition": "GreaterThanOrEqualTo", + "subnetMaskLength": "10" + } + ], + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix", + "name": "example-ipPrefix", + "type": "microsoft.managednetworkfabric/ipPrefixes", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/IpPrefixes_Update.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/IpPrefixes_Update.json new file mode 100644 index 000000000000..ed11bbef6c01 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/IpPrefixes_Update.json @@ -0,0 +1,68 @@ +{ + "title": "IpPrefixes_Update_MaximumSet_Gen", + "operationId": "IpPrefixes_Update", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "ipPrefixName": "example-ipPrefix", + "properties": { + "tags": { + "KeyId": "KeyValue" + }, + "properties": { + "annotation": "annotation", + "ipPrefixRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "networkPrefix": "10.10.10.10/30", + "condition": "GreaterThanOrEqualTo", + "subnetMaskLength": "10" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "ipPrefixRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "networkPrefix": "10.10.10.10/30", + "condition": "GreaterThanOrEqualTo", + "subnetMaskLength": "10" + } + ], + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix", + "name": "example-ipPrefix", + "type": "microsoft.managednetworkfabric/ipPrefixes", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/L2IsolationDomains_CommitConfiguration.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/L2IsolationDomains_CommitConfiguration.json new file mode 100644 index 000000000000..ee171335ad5a --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/L2IsolationDomains_CommitConfiguration.json @@ -0,0 +1,34 @@ +{ + "title": "L2IsolationDomains_CommitConfiguration_MaximumSet_Gen", + "operationId": "L2IsolationDomains_CommitConfiguration", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l2IsolationDomainName": "example-l2domain" + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/L2IsolationDomains_Create.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/L2IsolationDomains_Create.json new file mode 100644 index 000000000000..1de2ad9ab7a2 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/L2IsolationDomains_Create.json @@ -0,0 +1,84 @@ +{ + "title": "L2IsolationDomains_Create_MaximumSet_Gen", + "operationId": "L2IsolationDomains_Create", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l2IsolationDomainName": "example-l2domain", + "resource": { + "properties": { + "annotation": "annotation", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "vlanId": 501, + "mtu": 1500, + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "vlanId": 501, + "mtu": 1500, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/example-l2domain", + "name": "example-l2domain", + "type": "microsoft.managednetworkfabric/l2IsolationDomains", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotation", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "vlanId": 501, + "mtu": 1500, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/example-l2domain", + "name": "example-l2domain", + "type": "microsoft.managednetworkfabric/l2IsolationDomains", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/L2IsolationDomains_Delete.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/L2IsolationDomains_Delete.json new file mode 100644 index 000000000000..f155078736b3 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/L2IsolationDomains_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "L2IsolationDomains_Delete_MaximumSet_Gen", + "operationId": "L2IsolationDomains_Delete", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l2IsolationDomainName": "example-l2domain" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/L2IsolationDomains_Get.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/L2IsolationDomains_Get.json new file mode 100644 index 000000000000..aee14a158a8a --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/L2IsolationDomains_Get.json @@ -0,0 +1,40 @@ +{ + "title": "L2IsolationDomains_Get_MaximumSet_Gen", + "operationId": "L2IsolationDomains_Get", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l2IsolationDomainName": "example-l2domain" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "vlanId": 501, + "mtu": 1500, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/example-l2domain", + "name": "example-l2domain", + "type": "microsoft.managednetworkfabric/l2IsolationDomains", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/L2IsolationDomains_ListByResourceGroup.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/L2IsolationDomains_ListByResourceGroup.json new file mode 100644 index 000000000000..b58030db7cf4 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/L2IsolationDomains_ListByResourceGroup.json @@ -0,0 +1,44 @@ +{ + "title": "L2IsolationDomains_ListByResourceGroup_MaximumSet_Gen", + "operationId": "L2IsolationDomains_ListByResourceGroup", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "vlanId": 501, + "mtu": 1500, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/example-l2domain", + "name": "example-l2domain", + "type": "microsoft.managednetworkfabric/l2IsolationDomains", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/L2IsolationDomains_ListBySubscription.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/L2IsolationDomains_ListBySubscription.json new file mode 100644 index 000000000000..8166ad90af19 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/L2IsolationDomains_ListBySubscription.json @@ -0,0 +1,43 @@ +{ + "title": "L2IsolationDomains_ListBySubscription_MaximumSet_Gen", + "operationId": "L2IsolationDomains_ListBySubscription", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "vlanId": 501, + "mtu": 1500, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/example-l2domain", + "name": "example-l2domain", + "type": "microsoft.managednetworkfabric/l2IsolationDomains", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/L2IsolationDomains_Update.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/L2IsolationDomains_Update.json new file mode 100644 index 000000000000..574cf8c6e427 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/L2IsolationDomains_Update.json @@ -0,0 +1,54 @@ +{ + "title": "L2IsolationDomains_Update_MaximumSet_Gen", + "operationId": "L2IsolationDomains_Update", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l2IsolationDomainName": "example-l2domain", + "properties": { + "tags": { + "KeyId": "KeyValue" + }, + "properties": { + "annotation": "annotation1", + "mtu": 6000 + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "vlanId": 501, + "mtu": 1500, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/example-l2domain", + "name": "example-l2domain", + "type": "microsoft.managednetworkfabric/l2IsolationDomains", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/L2IsolationDomains_UpdateAdministrativeState.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/L2IsolationDomains_UpdateAdministrativeState.json new file mode 100644 index 000000000000..4c41075e244a --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/L2IsolationDomains_UpdateAdministrativeState.json @@ -0,0 +1,46 @@ +{ + "title": "L2IsolationDomains_UpdateAdministrativeState_MaximumSet_Gen", + "operationId": "L2IsolationDomains_UpdateAdministrativeState", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l2IsolationDomainName": "example-l2domain", + "body": { + "resourceIds": [ + "" + ], + "state": "Enable" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded", + "successfulDevices": [ + "" + ], + "failedDevices": [ + "" + ] + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/L2IsolationDomains_ValidateConfiguration.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/L2IsolationDomains_ValidateConfiguration.json new file mode 100644 index 000000000000..c2c5404c4d12 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/L2IsolationDomains_ValidateConfiguration.json @@ -0,0 +1,35 @@ +{ + "title": "L2IsolationDomains_ValidateConfiguration_MaximumSet_Gen", + "operationId": "L2IsolationDomains_ValidateConfiguration", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l2IsolationDomainName": "example-l2domain" + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded", + "url": "https://ActionDetails" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/L3IsolationDomains_CommitConfiguration.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/L3IsolationDomains_CommitConfiguration.json new file mode 100644 index 000000000000..aa19da8b7db9 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/L3IsolationDomains_CommitConfiguration.json @@ -0,0 +1,34 @@ +{ + "title": "L3IsolationDomains_CommitConfiguration_MaximumSet_Gen", + "operationId": "L3IsolationDomains_CommitConfiguration", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-l3domain" + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/L3IsolationDomains_Create.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/L3IsolationDomains_Create.json new file mode 100644 index 000000000000..97258c850bbb --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/L3IsolationDomains_Create.json @@ -0,0 +1,141 @@ +{ + "title": "L3IsolationDomains_Create_MaximumSet_Gen", + "operationId": "L3IsolationDomains_Create", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-l3domain", + "resource": { + "properties": { + "annotation": "annotation", + "redistributeConnectedSubnets": "True", + "redistributeStaticRoutes": "False", + "aggregateRouteConfiguration": { + "ipv4Routes": [ + { + "prefix": "10.0.0.0/24" + } + ], + "ipv6Routes": [ + { + "prefix": "3FFE:FFFF:0:CD30::a0/29" + } + ] + }, + "connectedSubnetRoutePolicy": { + "exportRoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + } + }, + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "redistributeConnectedSubnets": "True", + "redistributeStaticRoutes": "False", + "aggregateRouteConfiguration": { + "ipv4Routes": [ + { + "prefix": "10.0.0.0/24" + } + ], + "ipv6Routes": [ + { + "prefix": "3FFE:FFFF:0:CD30::a0/29" + } + ] + }, + "connectedSubnetRoutePolicy": { + "exportRoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + } + }, + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain", + "name": "example-l3domain", + "type": "microsoft.managednetworkfabric/l3isolationdomains", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotation", + "redistributeConnectedSubnets": "True", + "redistributeStaticRoutes": "False", + "aggregateRouteConfiguration": { + "ipv4Routes": [ + { + "prefix": "10.0.0.0/24" + } + ], + "ipv6Routes": [ + { + "prefix": "3FFE:FFFF:0:CD30::a0/29" + } + ] + }, + "connectedSubnetRoutePolicy": { + "exportRoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + } + }, + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain", + "name": "example-l3domain", + "type": "microsoft.managednetworkfabric/l3isolationdomains", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/L3IsolationDomains_Delete.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/L3IsolationDomains_Delete.json new file mode 100644 index 000000000000..3e7e92d99f82 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/L3IsolationDomains_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "L3IsolationDomains_Delete_MaximumSet_Gen", + "operationId": "L3IsolationDomains_Delete", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-l3domain" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/L3IsolationDomains_Get.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/L3IsolationDomains_Get.json new file mode 100644 index 000000000000..45a422ec262a --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/L3IsolationDomains_Get.json @@ -0,0 +1,59 @@ +{ + "title": "L3IsolationDomains_Get_MaximumSet_Gen", + "operationId": "L3IsolationDomains_Get", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-l3domain" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "redistributeConnectedSubnets": "True", + "redistributeStaticRoutes": "False", + "aggregateRouteConfiguration": { + "ipv4Routes": [ + { + "prefix": "10.0.0.0/24" + } + ], + "ipv6Routes": [ + { + "prefix": "3FFE:FFFF:0:CD30::a0/29" + } + ] + }, + "connectedSubnetRoutePolicy": { + "exportRoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + } + }, + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain", + "name": "example-l3domain", + "type": "microsoft.managednetworkfabric/l3isolationdomains", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/L3IsolationDomains_ListByResourceGroup.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/L3IsolationDomains_ListByResourceGroup.json new file mode 100644 index 000000000000..762800d137ca --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/L3IsolationDomains_ListByResourceGroup.json @@ -0,0 +1,63 @@ +{ + "title": "L3IsolationDomains_ListByResourceGroup_MaximumSet_Gen", + "operationId": "L3IsolationDomains_ListByResourceGroup", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "redistributeConnectedSubnets": "True", + "redistributeStaticRoutes": "False", + "aggregateRouteConfiguration": { + "ipv4Routes": [ + { + "prefix": "10.0.0.0/24" + } + ], + "ipv6Routes": [ + { + "prefix": "3FFE:FFFF:0:CD30::a0/29" + } + ] + }, + "connectedSubnetRoutePolicy": { + "exportRoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + } + }, + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain", + "name": "example-l3domain", + "type": "microsoft.managednetworkfabric/l3isolationdomains", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/L3IsolationDomains_ListBySubscription.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/L3IsolationDomains_ListBySubscription.json new file mode 100644 index 000000000000..3ae67b0153cc --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/L3IsolationDomains_ListBySubscription.json @@ -0,0 +1,62 @@ +{ + "title": "L3IsolationDomains_ListBySubscription_MaximumSet_Gen", + "operationId": "L3IsolationDomains_ListBySubscription", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "redistributeConnectedSubnets": "True", + "redistributeStaticRoutes": "False", + "aggregateRouteConfiguration": { + "ipv4Routes": [ + { + "prefix": "10.0.0.0/24" + } + ], + "ipv6Routes": [ + { + "prefix": "3FFE:FFFF:0:CD30::a0/29" + } + ] + }, + "connectedSubnetRoutePolicy": { + "exportRoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + } + }, + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain", + "name": "example-l3domain", + "type": "microsoft.managednetworkfabric/l3isolationdomains", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/L3IsolationDomains_Update.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/L3IsolationDomains_Update.json new file mode 100644 index 000000000000..edf53b33053b --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/L3IsolationDomains_Update.json @@ -0,0 +1,93 @@ +{ + "title": "L3IsolationDomains_Update_MaximumSet_Gen", + "operationId": "L3IsolationDomains_Update", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-l3domain", + "properties": { + "tags": { + "KeyId": "KeyValue" + }, + "properties": { + "annotation": "annotation1", + "redistributeConnectedSubnets": "True", + "redistributeStaticRoutes": "False", + "aggregateRouteConfiguration": { + "ipv4Routes": [ + { + "prefix": "10.0.0.0/24" + } + ], + "ipv6Routes": [ + { + "prefix": "3FFE:FFFF:0:CD30::a0/29" + } + ] + }, + "connectedSubnetRoutePolicy": { + "exportRoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + } + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "redistributeConnectedSubnets": "True", + "redistributeStaticRoutes": "False", + "aggregateRouteConfiguration": { + "ipv4Routes": [ + { + "prefix": "10.0.0.0/24" + } + ], + "ipv6Routes": [ + { + "prefix": "3FFE:FFFF:0:CD30::a0/29" + } + ] + }, + "connectedSubnetRoutePolicy": { + "exportRoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + } + }, + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain", + "name": "example-l3domain", + "type": "microsoft.managednetworkfabric/l3isolationdomains", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/L3IsolationDomains_UpdateAdministrativeState.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/L3IsolationDomains_UpdateAdministrativeState.json new file mode 100644 index 000000000000..f66155236fa4 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/L3IsolationDomains_UpdateAdministrativeState.json @@ -0,0 +1,46 @@ +{ + "title": "L3IsolationDomains_UpdateAdministrativeState_MaximumSet_Gen", + "operationId": "L3IsolationDomains_UpdateAdministrativeState", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-l3domain", + "body": { + "resourceIds": [ + "" + ], + "state": "Enable" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded", + "successfulDevices": [ + "" + ], + "failedDevices": [ + "" + ] + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/L3IsolationDomains_ValidateConfiguration.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/L3IsolationDomains_ValidateConfiguration.json new file mode 100644 index 000000000000..5c2bb706532c --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/L3IsolationDomains_ValidateConfiguration.json @@ -0,0 +1,35 @@ +{ + "title": "L3IsolationDomains_ValidateConfiguration_MaximumSet_Gen", + "operationId": "L3IsolationDomains_ValidateConfiguration", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-l3domain" + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded", + "url": "mg" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NeighborGroups_Create.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NeighborGroups_Create.json new file mode 100644 index 000000000000..49ceed7a8eb8 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NeighborGroups_Create.json @@ -0,0 +1,130 @@ +{ + "title": "NeighborGroups_Create_MaximumSet_Gen", + "operationId": "NeighborGroups_Create", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "neighborGroupName": "example-neighborGroup", + "resource": { + "properties": { + "annotation": "annotation", + "destination": { + "ipv4Addresses": [ + "10.10.10.10", + "20.10.10.10", + "30.10.10.10", + "40.10.10.10", + "50.10.10.10", + "60.10.10.10", + "70.10.10.10", + "80.10.10.10", + "90.10.10.10" + ], + "ipv6Addresses": [ + "2F::/100" + ] + } + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "destination": { + "ipv4Addresses": [ + "10.10.10.10", + "20.10.10.10", + "30.10.10.10", + "40.10.10.10", + "50.10.10.10", + "60.10.10.10", + "70.10.10.10", + "80.10.10.10", + "90.10.10.10" + ], + "ipv6Addresses": [ + "2F::/100" + ] + }, + "networkTapIds": [ + "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-networkTap" + ], + "networkTapRuleIds": [ + "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-networkTapRule" + ], + "provisioningState": "Accepted" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/subscriptionId/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup", + "name": "example-neighborGroup", + "type": "microsoft.managednetworkfabric/neighborGroups", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotation", + "destination": { + "ipv4Addresses": [ + "10.10.10.10", + "20.10.10.10", + "30.10.10.10", + "40.10.10.10", + "50.10.10.10", + "60.10.10.10", + "70.10.10.10", + "80.10.10.10", + "90.10.10.10" + ], + "ipv6Addresses": [ + "2F::/100" + ] + }, + "networkTapIds": [ + "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-networkTap" + ], + "networkTapRuleIds": [ + "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-networkTapRule" + ], + "provisioningState": "Accepted" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/subscriptionId/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup", + "name": "example-neighborGroup", + "type": "microsoft.managednetworkfabric/neighborGroups", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NeighborGroups_Delete.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NeighborGroups_Delete.json new file mode 100644 index 000000000000..cfdd3f3059a3 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NeighborGroups_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "NeighborGroups_Delete_MaximumSet_Gen", + "operationId": "NeighborGroups_Delete", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "neighborGroupName": "example-neighborGroup" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NeighborGroups_Get.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NeighborGroups_Get.json new file mode 100644 index 000000000000..a32e9f8367ac --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NeighborGroups_Get.json @@ -0,0 +1,57 @@ +{ + "title": "NeighborGroups_Get_MaximumSet_Gen", + "operationId": "NeighborGroups_Get", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "neighborGroupName": "example-neighborGroup" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "destination": { + "ipv4Addresses": [ + "10.10.10.10", + "20.10.10.10", + "30.10.10.10", + "40.10.10.10", + "50.10.10.10", + "60.10.10.10", + "70.10.10.10", + "80.10.10.10", + "90.10.10.10" + ], + "ipv6Addresses": [ + "2F::/100" + ] + }, + "networkTapIds": [ + "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-networkTap" + ], + "networkTapRuleIds": [ + "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-networkTapRule" + ], + "provisioningState": "Accepted" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/subscriptionId/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup", + "name": "example-neighborGroup", + "type": "microsoft.managednetworkfabric/neighborGroups", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NeighborGroups_ListByResourceGroup.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NeighborGroups_ListByResourceGroup.json new file mode 100644 index 000000000000..4bf98890980d --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NeighborGroups_ListByResourceGroup.json @@ -0,0 +1,61 @@ +{ + "title": "NeighborGroups_ListByResourceGroup_MaximumSet_Gen", + "operationId": "NeighborGroups_ListByResourceGroup", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "destination": { + "ipv4Addresses": [ + "10.10.10.10", + "20.10.10.10", + "30.10.10.10", + "40.10.10.10", + "50.10.10.10", + "60.10.10.10", + "70.10.10.10", + "80.10.10.10", + "90.10.10.10" + ], + "ipv6Addresses": [ + "2F::/100" + ] + }, + "networkTapIds": [ + "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-networkTap" + ], + "networkTapRuleIds": [ + "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-networkTapRule" + ], + "provisioningState": "Accepted" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/subscriptionId/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup", + "name": "example-neighborGroup", + "type": "microsoft.managednetworkfabric/neighborGroups", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NeighborGroups_ListBySubscription.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NeighborGroups_ListBySubscription.json new file mode 100644 index 000000000000..aeaada7a7baf --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NeighborGroups_ListBySubscription.json @@ -0,0 +1,60 @@ +{ + "title": "NeighborGroups_ListBySubscription_MaximumSet_Gen", + "operationId": "NeighborGroups_ListBySubscription", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "destination": { + "ipv4Addresses": [ + "10.10.10.10", + "20.10.10.10", + "30.10.10.10", + "40.10.10.10", + "50.10.10.10", + "60.10.10.10", + "70.10.10.10", + "80.10.10.10", + "90.10.10.10" + ], + "ipv6Addresses": [ + "2F::/100" + ] + }, + "networkTapIds": [ + "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-networkTap" + ], + "networkTapRuleIds": [ + "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-networkTapRule" + ], + "provisioningState": "Accepted" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/subscriptionId/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup", + "name": "example-neighborGroup", + "type": "microsoft.managednetworkfabric/neighborGroups", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NeighborGroups_Update.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NeighborGroups_Update.json new file mode 100644 index 000000000000..3e56806ea0f4 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NeighborGroups_Update.json @@ -0,0 +1,86 @@ +{ + "title": "NeighborGroups_Update_MaximumSet_Gen", + "operationId": "NeighborGroups_Update", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "neighborGroupName": "example-neighborGroup", + "properties": { + "tags": { + "KeyId": "KeyValue" + }, + "properties": { + "annotation": "Updating", + "destination": { + "ipv4Addresses": [ + "10.10.10.10", + "20.10.10.10", + "30.10.10.10", + "40.10.10.10", + "50.10.10.10", + "60.10.10.10", + "70.10.10.10", + "80.10.10.10", + "90.10.10.10" + ], + "ipv6Addresses": [ + "2F::/100" + ] + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "destination": { + "ipv4Addresses": [ + "10.10.10.10", + "20.10.10.10", + "30.10.10.10", + "40.10.10.10", + "50.10.10.10", + "60.10.10.10", + "70.10.10.10", + "80.10.10.10", + "90.10.10.10" + ], + "ipv6Addresses": [ + "2F::/100" + ] + }, + "networkTapIds": [ + "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-networkTap" + ], + "networkTapRuleIds": [ + "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-networkTapRule" + ], + "provisioningState": "Accepted" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/subscriptionId/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup", + "name": "example-neighborGroup", + "type": "microsoft.managednetworkfabric/neighborGroups", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkDeviceSkus_Get.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkDeviceSkus_Get.json new file mode 100644 index 000000000000..46d749b6cd00 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkDeviceSkus_Get.json @@ -0,0 +1,54 @@ +{ + "title": "NetworkDeviceSkus_Get_MaximumSet_Gen", + "operationId": "NetworkDeviceSkus_Get", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "networkDeviceSkuName": "example-deviceSku" + }, + "responses": { + "200": { + "body": { + "properties": { + "model": "model1", + "manufacturer": "Arista", + "supportedVersions": [ + { + "version": "1.0.0", + "vendorOsVersion": "2.0", + "vendorFirmwareVersion": "11.2", + "isDefault": "True" + } + ], + "supportedRoleTypes": [ + "CE" + ], + "interfaces": [ + { + "identifier": "HundredGigE0/0", + "interfaceType": "type1", + "supportedConnectorTypes": [ + { + "connectorType": "Optical", + "maxSpeedInMbps": 100 + } + ] + } + ], + "provisioningState": "Accepted" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/providers/Microsoft.ManagedNetworkFabric/networkDeviceSkus/example-deviceSku", + "name": "example-deviceSku", + "type": "microsoft.managednetworkfabric/networkDeviceSkus", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkDeviceSkus_ListBySubscription.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkDeviceSkus_ListBySubscription.json new file mode 100644 index 000000000000..3ae43e057f80 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkDeviceSkus_ListBySubscription.json @@ -0,0 +1,58 @@ +{ + "title": "NetworkDeviceSkus_ListBySubscription_MaximumSet_Gen", + "operationId": "NetworkDeviceSkus_ListBySubscription", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "model": "model1", + "manufacturer": "Arista", + "supportedVersions": [ + { + "version": "1.0.0", + "vendorOsVersion": "2.0", + "vendorFirmwareVersion": "11.2", + "isDefault": "True" + } + ], + "supportedRoleTypes": [ + "CE" + ], + "interfaces": [ + { + "identifier": "HundredGigE0/0", + "interfaceType": "type1", + "supportedConnectorTypes": [ + { + "connectorType": "Optical", + "maxSpeedInMbps": 100 + } + ] + } + ], + "provisioningState": "Accepted" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/providers/Microsoft.ManagedNetworkFabric/networkDeviceSkus/example-deviceSku", + "name": "example-deviceSku", + "type": "microsoft.managednetworkfabric/networkDeviceSkus", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkDevices_Create.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkDevices_Create.json new file mode 100644 index 000000000000..b5993dc3080d --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkDevices_Create.json @@ -0,0 +1,95 @@ +{ + "title": "NetworkDevices_Create_MaximumSet_Gen", + "operationId": "NetworkDevices_Create", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkDeviceName": "example-device", + "resource": { + "properties": { + "annotation": "annotation", + "hostName": "NFA-Device", + "serialNumber": "Vendor;DCS-7280XXX-24;12.05;JPE2111XXXX", + "networkDeviceSku": "DeviceSku", + "networkDeviceRole": "CE", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastuseuap" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "hostName": "NFA-Device", + "serialNumber": "Vendor;DCS-7280XXX-24;12.05;JPE2111XXXX", + "version": "1.0", + "networkDeviceSku": "DeviceSku", + "networkDeviceRole": "CE", + "networkRackId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-rack", + "managementIpv4Address": "10.10.10.10", + "managementIpv6Address": "2F::1/100", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-device", + "name": "example-device", + "type": "microsoft.managednetworkfabric/networkdevices", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotation", + "hostName": "NFA-Device", + "serialNumber": "Vendor;DCS-7280XXX-24;12.05;JPE2111XXXX", + "version": "1.0", + "networkDeviceSku": "DeviceSku", + "networkDeviceRole": "CE", + "networkRackId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-rack", + "managementIpv4Address": "10.10.10.10", + "managementIpv6Address": "2F::1/100", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-device", + "name": "example-device", + "type": "microsoft.managednetworkfabric/networkdevices", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkDevices_Delete.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkDevices_Delete.json new file mode 100644 index 000000000000..4d483128670a --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkDevices_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "NetworkDevices_Delete_MaximumSet_Gen", + "operationId": "NetworkDevices_Delete", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkDeviceName": "example-device" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkDevices_Get.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkDevices_Get.json new file mode 100644 index 000000000000..be1f976e9898 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkDevices_Get.json @@ -0,0 +1,45 @@ +{ + "title": "NetworkDevices_Get_MaximumSet_Gen", + "operationId": "NetworkDevices_Get", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkDeviceName": "example-device" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "hostName": "NFA-Device", + "serialNumber": "Vendor;DCS-7280XXX-24;12.05;JPE2111XXXX", + "version": "1.0", + "networkDeviceSku": "DeviceSku", + "networkDeviceRole": "CE", + "networkRackId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-rack", + "managementIpv4Address": "10.10.10.10", + "managementIpv6Address": "2F::1/100", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-device", + "name": "example-device", + "type": "microsoft.managednetworkfabric/networkdevices", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkDevices_ListByResourceGroup.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkDevices_ListByResourceGroup.json new file mode 100644 index 000000000000..e8c7c84bbdc0 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkDevices_ListByResourceGroup.json @@ -0,0 +1,49 @@ +{ + "title": "NetworkDevices_ListByResourceGroup_MaximumSet_Gen", + "operationId": "NetworkDevices_ListByResourceGroup", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "hostName": "NFA-Device", + "serialNumber": "Vendor;DCS-7280XXX-24;12.05;JPE2111XXXX", + "version": "1.0", + "networkDeviceSku": "DeviceSku", + "networkDeviceRole": "CE", + "networkRackId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-rack", + "managementIpv4Address": "10.10.10.10", + "managementIpv6Address": "2F::1/100", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-device", + "name": "example-device", + "type": "microsoft.managednetworkfabric/networkdevices", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkDevices_ListBySubscription.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkDevices_ListBySubscription.json new file mode 100644 index 000000000000..8559a3beb510 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkDevices_ListBySubscription.json @@ -0,0 +1,48 @@ +{ + "title": "NetworkDevices_ListBySubscription_MaximumSet_Gen", + "operationId": "NetworkDevices_ListBySubscription", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "hostName": "NFA-Device", + "serialNumber": "Vendor;DCS-7280XXX-24;12.05;JPE2111XXXX", + "version": "1.0", + "networkDeviceSku": "DeviceSku", + "networkDeviceRole": "CE", + "networkRackId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-rack", + "managementIpv4Address": "10.10.10.10", + "managementIpv6Address": "2F::1/100", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-device", + "name": "example-device", + "type": "microsoft.managednetworkfabric/networkdevices", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkDevices_Reboot.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkDevices_Reboot.json new file mode 100644 index 000000000000..6f3a91cbb09d --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkDevices_Reboot.json @@ -0,0 +1,37 @@ +{ + "title": "NetworkDevices_Reboot_MaximumSet_Gen", + "operationId": "NetworkDevices_Reboot", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkDeviceName": "example-device", + "body": { + "rebootType": "GracefulRebootWithZTP" + } + }, + "responses": { + "200": { + "body": { + "configurationState": "Succeeded", + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkDevices_RefreshConfiguration.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkDevices_RefreshConfiguration.json new file mode 100644 index 000000000000..93586a346895 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkDevices_RefreshConfiguration.json @@ -0,0 +1,34 @@ +{ + "title": "NetworkDevices_RefreshConfiguration_MaximumSet_Gen", + "operationId": "NetworkDevices_RefreshConfiguration", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkDeviceName": "example-device" + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkDevices_RunRoCommand.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkDevices_RunRoCommand.json new file mode 100644 index 000000000000..91025ecd7805 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkDevices_RunRoCommand.json @@ -0,0 +1,38 @@ +{ + "title": "NetworkDevices_RunRoCommand_MaximumSet_Gen", + "operationId": "NetworkDevices_RunRoCommand", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkDeviceName": "example-device", + "body": { + "command": "sigtufivipqdapgglzi" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "svvzwijqaghjlelhr", + "message": "kgttomemzowwdiqvbtqlrd", + "target": "txdqddgrezjihhhrmdovikhm", + "details": [], + "additionalInfo": [ + { + "type": "vcaekwfqlkfzcjompti", + "info": {} + } + ] + }, + "configurationState": "Succeeded", + "outputUrl": "dxzpukpwdgo" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkDevices_RunRwCommand.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkDevices_RunRwCommand.json new file mode 100644 index 000000000000..4a9ea97ea83f --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkDevices_RunRwCommand.json @@ -0,0 +1,38 @@ +{ + "title": "NetworkDevices_RunRwCommand_MaximumSet_Gen", + "operationId": "NetworkDevices_RunRwCommand", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkDeviceName": "example-device", + "body": { + "command": "yzuabghycngqmqtfacvoh" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "svvzwijqaghjlelhr", + "message": "kgttomemzowwdiqvbtqlrd", + "target": "txdqddgrezjihhhrmdovikhm", + "details": [], + "additionalInfo": [ + { + "type": "vcaekwfqlkfzcjompti", + "info": {} + } + ] + }, + "configurationState": "Succeeded", + "outputUrl": "hypjtiwzhevuc" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkDevices_Update.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkDevices_Update.json new file mode 100644 index 000000000000..392bf8fe6175 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkDevices_Update.json @@ -0,0 +1,60 @@ +{ + "title": "NetworkDevices_Update_MaximumSet_Gen", + "operationId": "NetworkDevices_Update", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkDeviceName": "example-device", + "properties": { + "tags": { + "KeyId": "KeyValue" + }, + "properties": { + "annotation": "annotation", + "hostName": "NFA-Device", + "serialNumber": "Vendor;DCS-7280XXX-24;12.05;JPE2111XXXX" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "hostName": "NFA-Device", + "serialNumber": "Vendor;DCS-7280XXX-24;12.05;JPE2111XXXX", + "version": "1.0", + "networkDeviceSku": "DeviceSku", + "networkDeviceRole": "CE", + "networkRackId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-rack", + "managementIpv4Address": "10.10.10.10", + "managementIpv6Address": "2F::1/100", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-device", + "name": "example-device", + "type": "microsoft.managednetworkfabric/networkdevices", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkDevices_UpdateAdministrativeState.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkDevices_UpdateAdministrativeState.json new file mode 100644 index 000000000000..e1bd7f7794e6 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkDevices_UpdateAdministrativeState.json @@ -0,0 +1,40 @@ +{ + "title": "NetworkDevices_UpdateAdministrativeState_MaximumSet_Gen", + "operationId": "NetworkDevices_UpdateAdministrativeState", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkDeviceName": "example-device", + "body": { + "resourceIds": [ + "" + ], + "state": "RMA" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkDevices_Upgrade.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkDevices_Upgrade.json new file mode 100644 index 000000000000..28c627fccf75 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkDevices_Upgrade.json @@ -0,0 +1,37 @@ +{ + "title": "NetworkDevices_Upgrade_MaximumSet_Gen", + "operationId": "NetworkDevices_Upgrade", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkDeviceName": "example-device", + "body": { + "version": "1.0.0" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkFabricControllers_Create.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkFabricControllers_Create.json new file mode 100644 index 000000000000..b1c6ab25f476 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkFabricControllers_Create.json @@ -0,0 +1,176 @@ +{ + "title": "NetworkFabricControllers_Create_MaximumSet_Gen", + "operationId": "NetworkFabricControllers_Create", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricControllerName": "example-networkController", + "resource": { + "properties": { + "annotation": "annotation", + "infrastructureExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName", + "expressRouteAuthorizationKey": "xxx-xxx-xxx" + } + ], + "workloadExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName", + "expressRouteAuthorizationKey": "xxx-xxx-xxx" + } + ], + "infrastructureServices": { + "ipv4AddressSpaces": [ + "172.253.0.0/19" + ], + "ipv6AddressSpaces": [] + }, + "workloadServices": { + "ipv4AddressSpaces": [ + "172.253.28.0/22" + ], + "ipv6AddressSpaces": [] + }, + "managedResourceGroupConfiguration": { + "name": "managedResourceGroupName", + "location": "eastus" + }, + "isWorkloadManagementNetworkEnabled": "True", + "ipv4AddressSpace": "172.253.0.0/19", + "ipv6AddressSpace": "::/60", + "nfcSku": "Standard" + }, + "tags": { + "keyId": "KeyValue" + }, + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "infrastructureExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName" + } + ], + "workloadExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName" + } + ], + "infrastructureServices": { + "ipv4AddressSpaces": [ + "172.253.0.0/19" + ], + "ipv6AddressSpaces": [] + }, + "workloadServices": { + "ipv4AddressSpaces": [ + "172.253.28.0/22" + ], + "ipv6AddressSpaces": [] + }, + "managedResourceGroupConfiguration": { + "name": "managedResourceGroupName", + "location": "eastus" + }, + "networkFabricIds": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/eaxmple-fabric" + ], + "workloadManagementNetwork": true, + "isWorkloadManagementNetworkEnabled": "True", + "tenantInternetGatewayIds": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/internetGateways/example-internetGateway" + ], + "ipv4AddressSpace": "172.253.0.0/19", + "ipv6AddressSpace": "::/60", + "nfcSku": "Standard", + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-networkController", + "name": "example-networkController", + "type": "microsoft.managednetworkfabric/networkfabriccontrollers", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotation", + "infrastructureExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName" + } + ], + "workloadExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName" + } + ], + "infrastructureServices": { + "ipv4AddressSpaces": [ + "172.253.0.0/19" + ], + "ipv6AddressSpaces": [] + }, + "workloadServices": { + "ipv4AddressSpaces": [ + "172.253.28.0/22" + ], + "ipv6AddressSpaces": [] + }, + "managedResourceGroupConfiguration": { + "name": "managedResourceGroupName", + "location": "eastus" + }, + "networkFabricIds": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/eaxmple-fabric" + ], + "workloadManagementNetwork": true, + "isWorkloadManagementNetworkEnabled": "True", + "tenantInternetGatewayIds": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/internetGateways/example-internetGateway" + ], + "ipv4AddressSpace": "172.253.0.0/19", + "ipv6AddressSpace": "::/60", + "nfcSku": "Standard", + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-networkController", + "name": "example-networkController", + "type": "microsoft.managednetworkfabric/networkfabriccontrollers", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkFabricControllers_Delete.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkFabricControllers_Delete.json new file mode 100644 index 000000000000..8f91ec82c5a4 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkFabricControllers_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "NetworkFabricControllers_Delete_MaximumSet_Gen", + "operationId": "NetworkFabricControllers_Delete", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricControllerName": "example-networkController" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkFabricControllers_Get.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkFabricControllers_Get.json new file mode 100644 index 000000000000..2e7178462006 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkFabricControllers_Get.json @@ -0,0 +1,72 @@ +{ + "title": "NetworkFabricControllers_Get_MaximumSet_Gen", + "operationId": "NetworkFabricControllers_Get", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricControllerName": "example-networkController" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "infrastructureExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName" + } + ], + "workloadExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName" + } + ], + "infrastructureServices": { + "ipv4AddressSpaces": [ + "172.253.0.0/19" + ], + "ipv6AddressSpaces": [] + }, + "workloadServices": { + "ipv4AddressSpaces": [ + "172.253.28.0/22" + ], + "ipv6AddressSpaces": [] + }, + "managedResourceGroupConfiguration": { + "name": "managedResourceGroupName", + "location": "eastus" + }, + "networkFabricIds": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/eaxmple-fabric" + ], + "workloadManagementNetwork": true, + "isWorkloadManagementNetworkEnabled": "True", + "tenantInternetGatewayIds": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/internetGateways/example-internetGateway" + ], + "ipv4AddressSpace": "172.253.0.0/19", + "ipv6AddressSpace": "::/60", + "nfcSku": "Standard", + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-networkController", + "name": "example-networkController", + "type": "microsoft.managednetworkfabric/networkfabriccontrollers", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkFabricControllers_ListByResourceGroup.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkFabricControllers_ListByResourceGroup.json new file mode 100644 index 000000000000..3541ae52cc03 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkFabricControllers_ListByResourceGroup.json @@ -0,0 +1,76 @@ +{ + "title": "NetworkFabricControllers_ListByResourceGroup_MaximumSet_Gen", + "operationId": "NetworkFabricControllers_ListByResourceGroup", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "infrastructureExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName" + } + ], + "workloadExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName" + } + ], + "infrastructureServices": { + "ipv4AddressSpaces": [ + "172.253.0.0/19" + ], + "ipv6AddressSpaces": [] + }, + "workloadServices": { + "ipv4AddressSpaces": [ + "172.253.28.0/22" + ], + "ipv6AddressSpaces": [] + }, + "managedResourceGroupConfiguration": { + "name": "managedResourceGroupName", + "location": "eastus" + }, + "networkFabricIds": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/eaxmple-fabric" + ], + "workloadManagementNetwork": true, + "isWorkloadManagementNetworkEnabled": "True", + "tenantInternetGatewayIds": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/internetGateways/example-internetGateway" + ], + "ipv4AddressSpace": "172.253.0.0/19", + "ipv6AddressSpace": "::/60", + "nfcSku": "Standard", + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-networkController", + "name": "example-networkController", + "type": "microsoft.managednetworkfabric/networkfabriccontrollers", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkFabricControllers_ListBySubscription.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkFabricControllers_ListBySubscription.json new file mode 100644 index 000000000000..bad557fcec40 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkFabricControllers_ListBySubscription.json @@ -0,0 +1,75 @@ +{ + "title": "NetworkFabricControllers_ListBySubscription_MaximumSet_Gen", + "operationId": "NetworkFabricControllers_ListBySubscription", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "infrastructureExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName" + } + ], + "workloadExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName" + } + ], + "infrastructureServices": { + "ipv4AddressSpaces": [ + "172.253.0.0/19" + ], + "ipv6AddressSpaces": [] + }, + "workloadServices": { + "ipv4AddressSpaces": [ + "172.253.28.0/22" + ], + "ipv6AddressSpaces": [] + }, + "managedResourceGroupConfiguration": { + "name": "managedResourceGroupName", + "location": "eastus" + }, + "networkFabricIds": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/eaxmple-fabric" + ], + "workloadManagementNetwork": true, + "isWorkloadManagementNetworkEnabled": "True", + "tenantInternetGatewayIds": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/internetGateways/example-internetGateway" + ], + "ipv4AddressSpace": "172.253.0.0/19", + "ipv6AddressSpace": "::/60", + "nfcSku": "Standard", + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-networkController", + "name": "example-networkController", + "type": "microsoft.managednetworkfabric/networkfabriccontrollers", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkFabricControllers_Update.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkFabricControllers_Update.json new file mode 100644 index 000000000000..9ab3eba8b2a8 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkFabricControllers_Update.json @@ -0,0 +1,96 @@ +{ + "title": "NetworkFabricControllers_Update_MaximumSet_Gen", + "operationId": "NetworkFabricControllers_Update", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricControllerName": "example-networkController", + "properties": { + "tags": { + "keyId": "KeyValue" + }, + "properties": { + "infrastructureExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName", + "expressRouteAuthorizationKey": "xxx-xxx-xxx" + } + ], + "workloadExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName", + "expressRouteAuthorizationKey": "xxx-xxx-xxx" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "infrastructureExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName" + } + ], + "workloadExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName" + } + ], + "infrastructureServices": { + "ipv4AddressSpaces": [ + "172.253.0.0/19" + ], + "ipv6AddressSpaces": [] + }, + "workloadServices": { + "ipv4AddressSpaces": [ + "172.253.28.0/22" + ], + "ipv6AddressSpaces": [] + }, + "managedResourceGroupConfiguration": { + "name": "managedResourceGroupName", + "location": "eastus" + }, + "networkFabricIds": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/eaxmple-fabric" + ], + "workloadManagementNetwork": true, + "isWorkloadManagementNetworkEnabled": "True", + "tenantInternetGatewayIds": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/internetGateways/example-internetGateway" + ], + "ipv4AddressSpace": "172.253.0.0/19", + "ipv6AddressSpace": "::/60", + "nfcSku": "Standard", + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-networkController", + "name": "example-networkController", + "type": "microsoft.managednetworkfabric/networkfabriccontrollers", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkFabricSkus_Get.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkFabricSkus_Get.json new file mode 100644 index 000000000000..c8172a76d1f6 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkFabricSkus_Get.json @@ -0,0 +1,36 @@ +{ + "title": "NetworkFabricSkus_Get_MaximumSet_Gen", + "operationId": "NetworkFabricSkus_Get", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "networkFabricSkuName": "wxample-fabricsku" + }, + "responses": { + "200": { + "body": { + "properties": { + "type": "SingleRack", + "maxComputeRacks": 4, + "maximumServerCount": 9, + "supportedVersions": [ + "1.0.0" + ], + "details": "https://azure/fabricskuDetails", + "provisioningState": "Accepted" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/providers/Microsoft.ManagedNetworkFabric/networkFabricSkus/example-fabricsku", + "name": "example-fabricsku", + "type": "microsoft.managednetworkfabric/networkFabricSkus", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkFabricSkus_ListBySubscription.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkFabricSkus_ListBySubscription.json new file mode 100644 index 000000000000..ad538f69e92f --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkFabricSkus_ListBySubscription.json @@ -0,0 +1,40 @@ +{ + "title": "NetworkFabricSkus_ListBySubscription_MaximumSet_Gen", + "operationId": "NetworkFabricSkus_ListBySubscription", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "type": "SingleRack", + "maxComputeRacks": 4, + "maximumServerCount": 9, + "supportedVersions": [ + "1.0.0" + ], + "details": "https://azure/fabricskuDetails", + "provisioningState": "Accepted" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/providers/Microsoft.ManagedNetworkFabric/networkFabricSkus/example-fabricsku", + "name": "example-fabricsku", + "type": "microsoft.managednetworkfabric/networkFabricSkus", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkFabrics_CommitConfiguration.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkFabrics_CommitConfiguration.json new file mode 100644 index 000000000000..deed3be982e5 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkFabrics_CommitConfiguration.json @@ -0,0 +1,34 @@ +{ + "title": "NetworkFabrics_CommitConfiguration_MaximumSet_Gen", + "operationId": "NetworkFabrics_CommitConfiguration", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-networkFabric" + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkFabrics_Create.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkFabrics_Create.json new file mode 100644 index 000000000000..975097cf74f7 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkFabrics_Create.json @@ -0,0 +1,397 @@ +{ + "title": "NetworkFabrics_Create_MaximumSet_Gen", + "operationId": "NetworkFabrics_Create", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-fabric", + "resource": { + "properties": { + "annotation": "annotation", + "networkFabricSku": "M4-A400-A100-C16-aa", + "fabricVersion": "version1", + "networkFabricControllerId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-fabricController", + "rackCount": 4, + "serverCountPerRack": 8, + "ipv4Prefix": "10.18.0.0/19", + "ipv6Prefix": "3FFE:FFFF:0:CD40::/59", + "fabricASN": 29249, + "terminalServerConfiguration": { + "username": "username", + "password": "xxx-xx-xx", + "serialNumber": "123456", + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "40.0.0.14/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127" + }, + "managementNetworkConfiguration": { + "infrastructureVpnConfiguration": { + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10050" + ], + "exportRouteTargets": [ + "65046:10050" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "mtu": 1501, + "vlanId": 3001, + "peerASN": 1235, + "bfdConfiguration": { + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "20.0.0.13/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127" + } + }, + "workloadVpnConfiguration": { + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10050" + ], + "exportRouteTargets": [ + "65046:10050" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "mtu": 1500, + "vlanId": 3000, + "peerASN": 61234, + "bfdConfiguration": { + "intervalInMilliSeconds": 300, + "multiplier": 5 + }, + "primaryIpv4Prefix": "10.0.0.14/30", + "primaryIpv6Prefix": "2FFE:FFFF:0:CD30::a7/126", + "secondaryIpv4Prefix": "10.0.0.15/30", + "secondaryIpv6Prefix": "2FFE:FFFF:0:CD30::ac/126" + } + } + } + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkFabricSku": "M4-A400-A100-C16-aa", + "fabricVersion": "version1", + "routerIds": [ + "routerId" + ], + "networkFabricControllerId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-fabricController", + "rackCount": 4, + "serverCountPerRack": 8, + "ipv4Prefix": "10.18.0.0/19", + "ipv6Prefix": "3FFE:FFFF:0:CD40::/59", + "fabricASN": 29249, + "terminalServerConfiguration": { + "username": "username", + "serialNumber": "123456", + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "40.0.0.14/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127", + "networkDeviceId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice" + }, + "managementNetworkConfiguration": { + "infrastructureVpnConfiguration": { + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "administrativeState": "Enabled", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10050" + ], + "exportRouteTargets": [ + "65046:10050" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "mtu": 1501, + "vlanId": 3001, + "peerASN": 1235, + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "20.0.0.13/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127" + } + }, + "workloadVpnConfiguration": { + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "administrativeState": "Enabled", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10050" + ], + "exportRouteTargets": [ + "65046:10050" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "mtu": 1500, + "vlanId": 3000, + "peerASN": 61234, + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 5 + }, + "primaryIpv4Prefix": "10.0.0.14/30", + "primaryIpv6Prefix": "2FFE:FFFF:0:CD30::a7/126", + "secondaryIpv4Prefix": "10.0.0.15/30", + "secondaryIpv6Prefix": "2FFE:FFFF:0:CD30::ac/126" + } + } + }, + "racks": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-networkRack" + ], + "l2IsolationDomains": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/example-l2Domain" + ], + "l3IsolationDomains": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3Domain" + ], + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "name": "example-fabric", + "type": "Microsoft.ManagedNetworkFabric/networkFabrics", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotation", + "networkFabricSku": "M4-A400-A100-C16-aa", + "fabricVersion": "version1", + "routerIds": [ + "routerId" + ], + "networkFabricControllerId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-fabricController", + "rackCount": 4, + "serverCountPerRack": 8, + "ipv4Prefix": "10.18.0.0/19", + "ipv6Prefix": "3FFE:FFFF:0:CD40::/59", + "fabricASN": 29249, + "terminalServerConfiguration": { + "username": "username", + "serialNumber": "123456", + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "40.0.0.14/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127", + "networkDeviceId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice" + }, + "managementNetworkConfiguration": { + "infrastructureVpnConfiguration": { + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "administrativeState": "Enabled", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10050" + ], + "exportRouteTargets": [ + "65046:10050" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "mtu": 1501, + "vlanId": 3001, + "peerASN": 1235, + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "20.0.0.13/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127" + } + }, + "workloadVpnConfiguration": { + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "administrativeState": "Enabled", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10050" + ], + "exportRouteTargets": [ + "65046:10050" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "mtu": 1500, + "vlanId": 3000, + "peerASN": 61234, + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 5 + }, + "primaryIpv4Prefix": "10.0.0.14/30", + "primaryIpv6Prefix": "2FFE:FFFF:0:CD30::a7/126", + "secondaryIpv4Prefix": "10.0.0.15/30", + "secondaryIpv6Prefix": "2FFE:FFFF:0:CD30::ac/126" + } + } + }, + "racks": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-networkRack" + ], + "l2IsolationDomains": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/example-l2Domain" + ], + "l3IsolationDomains": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3Domain" + ], + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "name": "example-fabric", + "type": "Microsoft.ManagedNetworkFabric/networkFabrics", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkFabrics_Delete.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkFabrics_Delete.json new file mode 100644 index 000000000000..d0c139f7c23c --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkFabrics_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "NetworkFabrics_Delete_MaximumSet_Gen", + "operationId": "NetworkFabrics_Delete", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-fabric" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkFabrics_Deprovision.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkFabrics_Deprovision.json new file mode 100644 index 000000000000..140aa94f5019 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkFabrics_Deprovision.json @@ -0,0 +1,40 @@ +{ + "title": "NetworkFabrics_Deprovision_MaximumSet_Gen", + "operationId": "NetworkFabrics_Deprovision", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-fabric" + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded", + "successfulDevices": [ + "" + ], + "failedDevices": [ + "" + ] + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkFabrics_Get.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkFabrics_Get.json new file mode 100644 index 000000000000..fe9da64b52d9 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkFabrics_Get.json @@ -0,0 +1,150 @@ +{ + "title": "NetworkFabrics_Get_MaximumSet_Gen", + "operationId": "NetworkFabrics_Get", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-fabric" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkFabricSku": "M4-A400-A100-C16-aa", + "fabricVersion": "version1", + "routerIds": [ + "routerId" + ], + "networkFabricControllerId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-fabricController", + "rackCount": 4, + "serverCountPerRack": 8, + "ipv4Prefix": "10.18.0.0/19", + "ipv6Prefix": "3FFE:FFFF:0:CD40::/59", + "fabricASN": 29249, + "terminalServerConfiguration": { + "username": "username", + "serialNumber": "123456", + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "40.0.0.14/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127", + "networkDeviceId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice" + }, + "managementNetworkConfiguration": { + "infrastructureVpnConfiguration": { + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "administrativeState": "Enabled", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10050" + ], + "exportRouteTargets": [ + "65046:10050" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "mtu": 1501, + "vlanId": 3001, + "peerASN": 1235, + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "20.0.0.13/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127" + } + }, + "workloadVpnConfiguration": { + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "administrativeState": "Enabled", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10050" + ], + "exportRouteTargets": [ + "65046:10050" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "mtu": 1500, + "vlanId": 3000, + "peerASN": 61234, + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 5 + }, + "primaryIpv4Prefix": "10.0.0.14/30", + "primaryIpv6Prefix": "2FFE:FFFF:0:CD30::a7/126", + "secondaryIpv4Prefix": "10.0.0.15/30", + "secondaryIpv6Prefix": "2FFE:FFFF:0:CD30::ac/126" + } + } + }, + "racks": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-networkRack" + ], + "l2IsolationDomains": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/example-l2Domain" + ], + "l3IsolationDomains": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3Domain" + ], + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "name": "example-fabric", + "type": "Microsoft.ManagedNetworkFabric/networkFabrics", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkFabrics_GetTopology.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkFabrics_GetTopology.json new file mode 100644 index 000000000000..c71871703bdd --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkFabrics_GetTopology.json @@ -0,0 +1,35 @@ +{ + "title": "NetworkFabrics_GetTopology_MaximumSet_Gen", + "operationId": "NetworkFabrics_GetTopology", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-fabric" + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded", + "url": "https://ActionDetails" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkFabrics_ListByResourceGroup.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkFabrics_ListByResourceGroup.json new file mode 100644 index 000000000000..b4d37a7c3ecc --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkFabrics_ListByResourceGroup.json @@ -0,0 +1,154 @@ +{ + "title": "NetworkFabrics_ListByResourceGroup_MaximumSet_Gen", + "operationId": "NetworkFabrics_ListByResourceGroup", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "networkFabricSku": "M4-A400-A100-C16-aa", + "fabricVersion": "version1", + "routerIds": [ + "routerId" + ], + "networkFabricControllerId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-fabricController", + "rackCount": 4, + "serverCountPerRack": 8, + "ipv4Prefix": "10.18.0.0/19", + "ipv6Prefix": "3FFE:FFFF:0:CD40::/59", + "fabricASN": 29249, + "terminalServerConfiguration": { + "username": "username", + "serialNumber": "123456", + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "40.0.0.14/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127", + "networkDeviceId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice" + }, + "managementNetworkConfiguration": { + "infrastructureVpnConfiguration": { + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "administrativeState": "Enabled", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10050" + ], + "exportRouteTargets": [ + "65046:10050" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "mtu": 1501, + "vlanId": 3001, + "peerASN": 1235, + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "20.0.0.13/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127" + } + }, + "workloadVpnConfiguration": { + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "administrativeState": "Enabled", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10050" + ], + "exportRouteTargets": [ + "65046:10050" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "mtu": 1500, + "vlanId": 3000, + "peerASN": 61234, + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 5 + }, + "primaryIpv4Prefix": "10.0.0.14/30", + "primaryIpv6Prefix": "2FFE:FFFF:0:CD30::a7/126", + "secondaryIpv4Prefix": "10.0.0.15/30", + "secondaryIpv6Prefix": "2FFE:FFFF:0:CD30::ac/126" + } + } + }, + "racks": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-networkRack" + ], + "l2IsolationDomains": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/example-l2Domain" + ], + "l3IsolationDomains": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3Domain" + ], + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "name": "example-fabric", + "type": "Microsoft.ManagedNetworkFabric/networkFabrics", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkFabrics_ListBySubscription.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkFabrics_ListBySubscription.json new file mode 100644 index 000000000000..829492311a93 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkFabrics_ListBySubscription.json @@ -0,0 +1,153 @@ +{ + "title": "NetworkFabrics_ListBySubscription_MaximumSet_Gen", + "operationId": "NetworkFabrics_ListBySubscription", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "networkFabricSku": "M4-A400-A100-C16-aa", + "fabricVersion": "version1", + "routerIds": [ + "routerId" + ], + "networkFabricControllerId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-fabricController", + "rackCount": 4, + "serverCountPerRack": 8, + "ipv4Prefix": "10.18.0.0/19", + "ipv6Prefix": "3FFE:FFFF:0:CD40::/59", + "fabricASN": 29249, + "terminalServerConfiguration": { + "username": "username", + "serialNumber": "123456", + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "40.0.0.14/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127", + "networkDeviceId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice" + }, + "managementNetworkConfiguration": { + "infrastructureVpnConfiguration": { + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "administrativeState": "Enabled", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10050" + ], + "exportRouteTargets": [ + "65046:10050" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "mtu": 1501, + "vlanId": 3001, + "peerASN": 1235, + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "20.0.0.13/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127" + } + }, + "workloadVpnConfiguration": { + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "administrativeState": "Enabled", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10050" + ], + "exportRouteTargets": [ + "65046:10050" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "mtu": 1500, + "vlanId": 3000, + "peerASN": 61234, + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 5 + }, + "primaryIpv4Prefix": "10.0.0.14/30", + "primaryIpv6Prefix": "2FFE:FFFF:0:CD30::a7/126", + "secondaryIpv4Prefix": "10.0.0.15/30", + "secondaryIpv6Prefix": "2FFE:FFFF:0:CD30::ac/126" + } + } + }, + "racks": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-networkRack" + ], + "l2IsolationDomains": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/example-l2Domain" + ], + "l3IsolationDomains": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3Domain" + ], + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "name": "example-fabric", + "type": "Microsoft.ManagedNetworkFabric/networkFabrics", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkFabrics_Provision.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkFabrics_Provision.json new file mode 100644 index 000000000000..45c3065d6248 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkFabrics_Provision.json @@ -0,0 +1,40 @@ +{ + "title": "NetworkFabrics_Provision_MaximumSet_Gen", + "operationId": "NetworkFabrics_Provision", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-fabric" + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded", + "successfulDevices": [ + "" + ], + "failedDevices": [ + "" + ] + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkFabrics_RefreshConfiguration.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkFabrics_RefreshConfiguration.json new file mode 100644 index 000000000000..bd34a828d128 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkFabrics_RefreshConfiguration.json @@ -0,0 +1,34 @@ +{ + "title": "NetworkFabrics_RefreshConfiguration_MaximumSet_Gen", + "operationId": "NetworkFabrics_RefreshConfiguration", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-fabric" + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkFabrics_Update.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkFabrics_Update.json new file mode 100644 index 000000000000..14dd18529410 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkFabrics_Update.json @@ -0,0 +1,257 @@ +{ + "title": "NetworkFabrics_Update_MaximumSet_Gen", + "operationId": "NetworkFabrics_Update", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-fabric", + "properties": { + "tags": { + "keyId": "keyValue" + }, + "properties": { + "annotation": "annotation1", + "rackCount": 6, + "serverCountPerRack": 10, + "ipv4Prefix": "10.18.0.0/17", + "ipv6Prefix": "3FFE:FFFF:0:CD40::/60", + "fabricASN": 12345, + "terminalServerConfiguration": { + "username": "username1", + "password": "xxxxxxxx", + "serialNumber": "1234567", + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "40.0.0.14/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127" + }, + "managementNetworkConfiguration": { + "infrastructureVpnConfiguration": { + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10050" + ], + "exportRouteTargets": [ + "65046:10050" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "mtu": 1501, + "vlanId": 3001, + "peerASN": 1235, + "bfdConfiguration": { + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "20.0.0.13/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127" + } + }, + "workloadVpnConfiguration": { + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10050" + ], + "exportRouteTargets": [ + "65046:10050" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "mtu": 1500, + "vlanId": 3000, + "peerASN": 61234, + "bfdConfiguration": { + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "primaryIpv4Prefix": "10.0.0.14/30", + "primaryIpv6Prefix": "2FFE:FFFF:0:CD30::a7/126", + "secondaryIpv4Prefix": "10.0.0.15/30", + "secondaryIpv6Prefix": "2FFE:FFFF:0:CD30::ac/126" + } + } + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkFabricSku": "M4-A400-A100-C16-aa", + "fabricVersion": "version1", + "routerIds": [ + "routerId" + ], + "networkFabricControllerId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-fabricController", + "rackCount": 4, + "serverCountPerRack": 8, + "ipv4Prefix": "10.18.0.0/19", + "ipv6Prefix": "3FFE:FFFF:0:CD40::/59", + "fabricASN": 29249, + "terminalServerConfiguration": { + "username": "username", + "serialNumber": "123456", + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "40.0.0.14/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127", + "networkDeviceId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice" + }, + "managementNetworkConfiguration": { + "infrastructureVpnConfiguration": { + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "administrativeState": "Enabled", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10050" + ], + "exportRouteTargets": [ + "65046:10050" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "mtu": 1501, + "vlanId": 3001, + "peerASN": 1235, + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "20.0.0.13/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127" + } + }, + "workloadVpnConfiguration": { + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "administrativeState": "Enabled", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10050" + ], + "exportRouteTargets": [ + "65046:10050" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "mtu": 1500, + "vlanId": 3000, + "peerASN": 61234, + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 5 + }, + "primaryIpv4Prefix": "10.0.0.14/30", + "primaryIpv6Prefix": "2FFE:FFFF:0:CD30::a7/126", + "secondaryIpv4Prefix": "10.0.0.15/30", + "secondaryIpv6Prefix": "2FFE:FFFF:0:CD30::ac/126" + } + } + }, + "racks": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-networkRack" + ], + "l2IsolationDomains": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/example-l2Domain" + ], + "l3IsolationDomains": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3Domain" + ], + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "name": "example-fabric", + "type": "Microsoft.ManagedNetworkFabric/networkFabrics", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkFabrics_UpdateInfraManagementBfdConfiguration.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkFabrics_UpdateInfraManagementBfdConfiguration.json new file mode 100644 index 000000000000..3478e9396b91 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkFabrics_UpdateInfraManagementBfdConfiguration.json @@ -0,0 +1,40 @@ +{ + "title": "NetworkFabrics_UpdateInfraManagementBfdConfiguration_MaximumSet_Gen", + "operationId": "NetworkFabrics_UpdateInfraManagementBfdConfiguration", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-fabric", + "body": { + "resourceIds": [ + "" + ], + "state": "Enable" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkFabrics_UpdateWorkloadManagementBfdConfiguration.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkFabrics_UpdateWorkloadManagementBfdConfiguration.json new file mode 100644 index 000000000000..435d85e516b3 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkFabrics_UpdateWorkloadManagementBfdConfiguration.json @@ -0,0 +1,40 @@ +{ + "title": "NetworkFabrics_UpdateWorkloadManagementBfdConfiguration_MaximumSet_Gen", + "operationId": "NetworkFabrics_UpdateWorkloadManagementBfdConfiguration", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-fabric", + "body": { + "resourceIds": [ + "" + ], + "state": "Enable" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkFabrics_Upgrade.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkFabrics_Upgrade.json new file mode 100644 index 000000000000..518795125fd7 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkFabrics_Upgrade.json @@ -0,0 +1,38 @@ +{ + "title": "NetworkFabrics_Upgrade_MaximumSet_Gen", + "operationId": "NetworkFabrics_Upgrade", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-fabric", + "body": { + "version": "3.x.x", + "action": "Start" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkFabrics_ValidateConfiguration.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkFabrics_ValidateConfiguration.json new file mode 100644 index 000000000000..f18b605ff9b0 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkFabrics_ValidateConfiguration.json @@ -0,0 +1,38 @@ +{ + "title": "NetworkFabrics_ValidateConfiguration_MaximumSet_Gen", + "operationId": "NetworkFabrics_ValidateConfiguration", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-fabric", + "body": { + "validateAction": "Cabling" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded", + "url": "https://ActionDetails" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkInterfaces_Create.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkInterfaces_Create.json new file mode 100644 index 000000000000..7b5c37e90538 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkInterfaces_Create.json @@ -0,0 +1,73 @@ +{ + "title": "NetworkInterfaces_Create_MaximumSet_Gen", + "operationId": "NetworkInterfaces_Create", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkDeviceName": "example-device", + "networkInterfaceName": "example-interface", + "resource": { + "properties": { + "annotation": "annotation", + "interfaceType": "Management", + "administrativeState": "Enabled" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "physicalIdentifier": "Id", + "connectedTo": "external-interface", + "interfaceType": "Management", + "ipv4Address": "10.2.2.8", + "ipv6Address": "10:2:0:0::", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-device/networkInterfaces/example-interface", + "name": "example-interface", + "type": "microsoft.managednetworkfabric/networkdevices/networkinterfaces", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotation", + "physicalIdentifier": "Id", + "connectedTo": "external-interface", + "interfaceType": "Management", + "ipv4Address": "10.2.2.8", + "ipv6Address": "10:2:0:0::", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-device/networkInterfaces/example-interface", + "name": "example-interface", + "type": "microsoft.managednetworkfabric/networkdevices/networkinterfaces", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkInterfaces_Delete.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkInterfaces_Delete.json new file mode 100644 index 000000000000..71f733e6e126 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkInterfaces_Delete.json @@ -0,0 +1,19 @@ +{ + "title": "NetworkInterfaces_Delete_MaximumSet_Gen", + "operationId": "NetworkInterfaces_Delete", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkDeviceName": "example-device", + "networkInterfaceName": "example-interface" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkInterfaces_Get.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkInterfaces_Get.json new file mode 100644 index 000000000000..0efe58de95b2 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkInterfaces_Get.json @@ -0,0 +1,38 @@ +{ + "title": "NetworkInterfaces_Get_MaximumSet_Gen", + "operationId": "NetworkInterfaces_Get", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkDeviceName": "example-device", + "networkInterfaceName": "example-interface" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "physicalIdentifier": "Id", + "connectedTo": "external-interface", + "interfaceType": "Management", + "ipv4Address": "10.2.2.8", + "ipv6Address": "10:2:0:0::", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-device/networkInterfaces/example-interface", + "name": "example-interface", + "type": "microsoft.managednetworkfabric/networkdevices/networkinterfaces", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkInterfaces_ListByNetworkDevice.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkInterfaces_ListByNetworkDevice.json new file mode 100644 index 000000000000..788fce977a3a --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkInterfaces_ListByNetworkDevice.json @@ -0,0 +1,42 @@ +{ + "title": "NetworkInterfaces_ListByNetworkDevice_MaximumSet_Gen", + "operationId": "NetworkInterfaces_ListByNetworkDevice", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkDeviceName": "example-device" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "physicalIdentifier": "Id", + "connectedTo": "external-interface", + "interfaceType": "Management", + "ipv4Address": "10.2.2.8", + "ipv6Address": "10:2:0:0::", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-device/networkInterfaces/example-interface", + "name": "example-interface", + "type": "microsoft.managednetworkfabric/networkdevices/networkinterfaces", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkInterfaces_Update.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkInterfaces_Update.json new file mode 100644 index 000000000000..0d58ef795203 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkInterfaces_Update.json @@ -0,0 +1,48 @@ +{ + "title": "NetworkInterfaces_Update_MaximumSet_Gen", + "operationId": "NetworkInterfaces_Update", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkDeviceName": "example-device", + "networkInterfaceName": "example-interface", + "properties": { + "properties": { + "annotation": "annotation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "physicalIdentifier": "Id", + "connectedTo": "external-interface", + "interfaceType": "Management", + "ipv4Address": "10.2.2.8", + "ipv6Address": "10:2:0:0::", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-device/networkInterfaces/example-interface", + "name": "example-interface", + "type": "microsoft.managednetworkfabric/networkdevices/networkinterfaces", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkInterfaces_UpdateAdministrativeState.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkInterfaces_UpdateAdministrativeState.json new file mode 100644 index 000000000000..52003d2e427d --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkInterfaces_UpdateAdministrativeState.json @@ -0,0 +1,41 @@ +{ + "title": "NetworkInterfaces_UpdateAdministrativeState_MaximumSet_Gen", + "operationId": "NetworkInterfaces_UpdateAdministrativeState", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkDeviceName": "example-device", + "networkInterfaceName": "example-interface", + "body": { + "resourceIds": [ + "" + ], + "state": "Enable" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkPacketBrokers_Create.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkPacketBrokers_Create.json new file mode 100644 index 000000000000..4084af2eda20 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkPacketBrokers_Create.json @@ -0,0 +1,94 @@ +{ + "title": "NetworkPacketBrokers_Create_MaximumSet_Gen", + "operationId": "NetworkPacketBrokers_Create", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkPacketBrokerName": "example-networkPacketBroker", + "resource": { + "properties": { + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-networkFabric" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-networkFabric", + "networkDeviceIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice" + ], + "sourceInterfaceIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice/networkInterfaces/example-networkInterface" + ], + "networkTapIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-networkTap" + ], + "neighborGroupIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup" + ], + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkPacketBrokers/example-networkPacketBroker", + "name": "example-networkPacketBroker", + "type": "microsoft.managednetworkfabric/networkPacketBrokers", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-networkFabric", + "networkDeviceIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice" + ], + "sourceInterfaceIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice/networkInterfaces/example-networkInterface" + ], + "networkTapIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-networkTap" + ], + "neighborGroupIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup" + ], + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkPacketBrokers/example-networkPacketBroker", + "name": "example-networkPacketBroker", + "type": "microsoft.managednetworkfabric/networkPacketBrokers", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkPacketBrokers_Delete.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkPacketBrokers_Delete.json new file mode 100644 index 000000000000..b1aa7b0ea835 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkPacketBrokers_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "NetworkPacketBrokers_Delete_MaximumSet_Gen", + "operationId": "NetworkPacketBrokers_Delete", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkPacketBrokerName": "example-networkPacketBroker" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkPacketBrokers_Get.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkPacketBrokers_Get.json new file mode 100644 index 000000000000..8eedd3e13ca3 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkPacketBrokers_Get.json @@ -0,0 +1,47 @@ +{ + "title": "NetworkPacketBrokers_Get_MaximumSet_Gen", + "operationId": "NetworkPacketBrokers_Get", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkPacketBrokerName": "example-networkPacketBroker" + }, + "responses": { + "200": { + "body": { + "properties": { + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-networkFabric", + "networkDeviceIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice" + ], + "sourceInterfaceIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice/networkInterfaces/example-networkInterface" + ], + "networkTapIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-networkTap" + ], + "neighborGroupIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup" + ], + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkPacketBrokers/example-networkPacketBroker", + "name": "example-networkPacketBroker", + "type": "microsoft.managednetworkfabric/networkPacketBrokers", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkPacketBrokers_ListByResourceGroup.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkPacketBrokers_ListByResourceGroup.json new file mode 100644 index 000000000000..79b74669e55d --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkPacketBrokers_ListByResourceGroup.json @@ -0,0 +1,51 @@ +{ + "title": "NetworkPacketBrokers_ListByResourceGroup_MaximumSet_Gen", + "operationId": "NetworkPacketBrokers_ListByResourceGroup", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-networkFabric", + "networkDeviceIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice" + ], + "sourceInterfaceIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice/networkInterfaces/example-networkInterface" + ], + "networkTapIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-networkTap" + ], + "neighborGroupIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup" + ], + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkPacketBrokers/example-networkPacketBroker", + "name": "example-networkPacketBroker", + "type": "microsoft.managednetworkfabric/networkPacketBrokers", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkPacketBrokers_ListBySubscription.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkPacketBrokers_ListBySubscription.json new file mode 100644 index 000000000000..a827dfdc412a --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkPacketBrokers_ListBySubscription.json @@ -0,0 +1,50 @@ +{ + "title": "NetworkPacketBrokers_ListBySubscription_MaximumSet_Gen", + "operationId": "NetworkPacketBrokers_ListBySubscription", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-networkFabric", + "networkDeviceIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice" + ], + "sourceInterfaceIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice/networkInterfaces/example-networkInterface" + ], + "networkTapIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-networkTap" + ], + "neighborGroupIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup" + ], + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkPacketBrokers/example-networkPacketBroker", + "name": "example-networkPacketBroker", + "type": "microsoft.managednetworkfabric/networkPacketBrokers", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkPacketBrokers_Update.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkPacketBrokers_Update.json new file mode 100644 index 000000000000..cb133c0cdab6 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkPacketBrokers_Update.json @@ -0,0 +1,57 @@ +{ + "title": "NetworkPacketBrokers_Update_MaximumSet_Gen", + "operationId": "NetworkPacketBrokers_Update", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkPacketBrokerName": "example-networkPacketBroker", + "properties": { + "tags": { + "keyId": "keyValue" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-networkFabric", + "networkDeviceIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice" + ], + "sourceInterfaceIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice/networkInterfaces/example-networkInterface" + ], + "networkTapIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-networkTap" + ], + "neighborGroupIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup" + ], + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkPacketBrokers/example-networkPacketBroker", + "name": "example-networkPacketBroker", + "type": "microsoft.managednetworkfabric/networkPacketBrokers", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkRacks_Create.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkRacks_Create.json new file mode 100644 index 000000000000..9a01bbe9eb53 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkRacks_Create.json @@ -0,0 +1,82 @@ +{ + "title": "NetworkRacks_Create_MaximumSet_Gen", + "operationId": "NetworkRacks_Create", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkRackName": "example-rack", + "resource": { + "properties": { + "annotation": "annotation", + "networkRackType": "Aggregate", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-networkFabric" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkRackType": "Aggregate", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-networkFabric", + "networkDevices": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice" + ], + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-rack", + "name": "example-rack", + "type": "microsoft.managednetworkfabric/networkRacks", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotation", + "networkRackType": "Aggregate", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-networkFabric", + "networkDevices": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice" + ], + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-rack", + "name": "example-rack", + "type": "microsoft.managednetworkfabric/networkRacks", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkRacks_Delete.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkRacks_Delete.json new file mode 100644 index 000000000000..90584c3a3af3 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkRacks_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "NetworkRacks_Delete_MaximumSet_Gen", + "operationId": "NetworkRacks_Delete", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkRackName": "example-rack" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkRacks_Get.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkRacks_Get.json new file mode 100644 index 000000000000..91f7bd200a8c --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkRacks_Get.json @@ -0,0 +1,40 @@ +{ + "title": "NetworkRacks_Get_MaximumSet_Gen", + "operationId": "NetworkRacks_Get", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkRackName": "example-rack" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkRackType": "Aggregate", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-networkFabric", + "networkDevices": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice" + ], + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-rack", + "name": "example-rack", + "type": "microsoft.managednetworkfabric/networkRacks", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkRacks_ListByResourceGroup.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkRacks_ListByResourceGroup.json new file mode 100644 index 000000000000..8a1330a9c76b --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkRacks_ListByResourceGroup.json @@ -0,0 +1,44 @@ +{ + "title": "NetworkRacks_ListByResourceGroup_MaximumSet_Gen", + "operationId": "NetworkRacks_ListByResourceGroup", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "networkRackType": "Aggregate", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-networkFabric", + "networkDevices": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice" + ], + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-rack", + "name": "example-rack", + "type": "microsoft.managednetworkfabric/networkRacks", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkRacks_ListBySubscription.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkRacks_ListBySubscription.json new file mode 100644 index 000000000000..af7bd05d13f1 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkRacks_ListBySubscription.json @@ -0,0 +1,43 @@ +{ + "title": "NetworkRacks_ListBySubscription_MaximumSet_Gen", + "operationId": "NetworkRacks_ListBySubscription", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "networkRackType": "Aggregate", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-networkFabric", + "networkDevices": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice" + ], + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-rack", + "name": "example-rack", + "type": "microsoft.managednetworkfabric/networkRacks", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkRacks_Update.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkRacks_Update.json new file mode 100644 index 000000000000..99fbed98d4cd --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkRacks_Update.json @@ -0,0 +1,50 @@ +{ + "title": "NetworkRacks_Update_MaximumSet_Gen", + "operationId": "NetworkRacks_Update", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkRackName": "example-rack", + "properties": { + "tags": { + "keyId": "keyValue" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkRackType": "Aggregate", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-networkFabric", + "networkDevices": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice" + ], + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-rack", + "name": "example-rack", + "type": "microsoft.managednetworkfabric/networkRacks", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkTapRules_Create.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkTapRules_Create.json new file mode 100644 index 000000000000..00dc44691afe --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkTapRules_Create.json @@ -0,0 +1,340 @@ +{ + "title": "NetworkTapRules_Create_MaximumSet_Gen", + "operationId": "NetworkTapRules_Create", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkTapRuleName": "example-tapRule", + "resource": { + "properties": { + "annotation": "annotation", + "configurationType": "File", + "tapRulesUrl": "https://microsoft.com/a", + "matchConfigurations": [ + { + "matchConfigurationName": "config1", + "sequenceNumber": 10, + "ipAddressType": "IPv4", + "matchConditions": [ + { + "protocolTypes": [ + "TCP" + ], + "vlanMatchCondition": { + "vlans": [ + "20-30" + ], + "innerVlans": [ + "30" + ], + "vlanGroupNames": [ + "example-vlanGroup" + ] + }, + "ipCondition": { + "type": "SourceIP", + "prefixType": "Prefix", + "ipPrefixValues": [ + "10.20.20.20/12" + ], + "ipGroupNames": [ + "example-ipGroup" + ] + }, + "encapsulationType": "None", + "portCondition": { + "portType": "SourcePort", + "layer4Protocol": "TCP", + "ports": [ + "100" + ], + "portGroupNames": [ + "example-portGroup1" + ] + } + } + ], + "actions": [ + { + "type": "Drop", + "truncate": "100", + "isTimestampEnabled": "True", + "destinationId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup", + "matchConfigurationName": "match1" + } + ] + } + ], + "dynamicMatchConfigurations": [ + { + "ipGroups": [ + { + "name": "example-ipGroup", + "ipAddressType": "IPv4", + "ipPrefixes": [ + "10.20.3.1/20" + ] + } + ], + "vlanGroups": [ + { + "name": "example-vlanGroup", + "vlans": [ + "20-30" + ] + } + ], + "portGroups": [ + { + "name": "example-portGroup", + "ports": [ + "100-200" + ] + } + ] + } + ], + "pollingIntervalInSeconds": 30, + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "configurationType": "File", + "tapRulesUrl": "https://microsoft.com/a", + "matchConfigurations": [ + { + "matchConfigurationName": "config1", + "sequenceNumber": 10, + "ipAddressType": "IPv4", + "matchConditions": [ + { + "protocolTypes": [ + "TCP" + ], + "vlanMatchCondition": { + "vlans": [ + "20-30" + ], + "innerVlans": [ + "30" + ], + "vlanGroupNames": [ + "example-vlanGroup" + ] + }, + "ipCondition": { + "type": "SourceIP", + "prefixType": "Prefix", + "ipPrefixValues": [ + "10.20.20.20/12" + ], + "ipGroupNames": [ + "example-ipGroup" + ] + }, + "encapsulationType": "None", + "portCondition": { + "portType": "SourcePort", + "layer4Protocol": "TCP", + "ports": [ + "100" + ], + "portGroupNames": [ + "example-portGroup1" + ] + } + } + ], + "actions": [ + { + "type": "Drop", + "truncate": "100", + "isTimestampEnabled": "True", + "destinationId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup", + "matchConfigurationName": "match1" + } + ] + } + ], + "dynamicMatchConfigurations": [ + { + "ipGroups": [ + { + "name": "example-ipGroup", + "ipAddressType": "IPv4", + "ipPrefixes": [ + "10.20.3.1/20" + ] + } + ], + "vlanGroups": [ + { + "name": "example-vlanGroup", + "vlans": [ + "20-30" + ] + } + ], + "portGroups": [ + { + "name": "example-portGroup", + "ports": [ + "100-200" + ] + } + ] + } + ], + "networkTapId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-tap", + "pollingIntervalInSeconds": 30, + "lastSyncedTime": "2023-06-12T07:11:22.485Z", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-tapRule", + "name": "example-tapRule", + "type": "microsoft.managednetworkfabric/networkTapRules", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "location": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotation", + "configurationType": "File", + "tapRulesUrl": "https://microsoft.com/a", + "matchConfigurations": [ + { + "matchConfigurationName": "config1", + "sequenceNumber": 10, + "ipAddressType": "IPv4", + "matchConditions": [ + { + "protocolTypes": [ + "TCP" + ], + "vlanMatchCondition": { + "vlans": [ + "20-30" + ], + "innerVlans": [ + "30" + ], + "vlanGroupNames": [ + "example-vlanGroup" + ] + }, + "ipCondition": { + "type": "SourceIP", + "prefixType": "Prefix", + "ipPrefixValues": [ + "10.20.20.20/12" + ], + "ipGroupNames": [ + "example-ipGroup" + ] + }, + "encapsulationType": "None", + "portCondition": { + "portType": "SourcePort", + "layer4Protocol": "TCP", + "ports": [ + "100" + ], + "portGroupNames": [ + "example-portGroup1" + ] + } + } + ], + "actions": [ + { + "type": "Drop", + "truncate": "100", + "isTimestampEnabled": "True", + "destinationId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup", + "matchConfigurationName": "match1" + } + ] + } + ], + "dynamicMatchConfigurations": [ + { + "ipGroups": [ + { + "name": "example-ipGroup", + "ipAddressType": "IPv4", + "ipPrefixes": [ + "10.20.3.1/20" + ] + } + ], + "vlanGroups": [ + { + "name": "example-vlanGroup", + "vlans": [ + "20-30" + ] + } + ], + "portGroups": [ + { + "name": "example-portGroup", + "ports": [ + "100-200" + ] + } + ] + } + ], + "networkTapId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-tap", + "pollingIntervalInSeconds": 30, + "lastSyncedTime": "2023-06-12T07:11:22.485Z", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-tapRule", + "name": "example-tapRule", + "type": "microsoft.managednetworkfabric/networkTapRules", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkTapRules_Delete.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkTapRules_Delete.json new file mode 100644 index 000000000000..cb2fbbb2943a --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkTapRules_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "NetworkTapRules_Delete_MaximumSet_Gen", + "operationId": "NetworkTapRules_Delete", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkTapRuleName": "example-tapRule" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkTapRules_Get.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkTapRules_Get.json new file mode 100644 index 000000000000..9edce7cd0d27 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkTapRules_Get.json @@ -0,0 +1,126 @@ +{ + "title": "NetworkTapRules_Get_MaximumSet_Gen", + "operationId": "NetworkTapRules_Get", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkTapRuleName": "example-tapRule" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "configurationType": "File", + "tapRulesUrl": "https://microsoft.com/a", + "matchConfigurations": [ + { + "matchConfigurationName": "config1", + "sequenceNumber": 10, + "ipAddressType": "IPv4", + "matchConditions": [ + { + "protocolTypes": [ + "TCP" + ], + "vlanMatchCondition": { + "vlans": [ + "20-30" + ], + "innerVlans": [ + "30" + ], + "vlanGroupNames": [ + "example-vlanGroup" + ] + }, + "ipCondition": { + "type": "SourceIP", + "prefixType": "Prefix", + "ipPrefixValues": [ + "10.20.20.20/12" + ], + "ipGroupNames": [ + "example-ipGroup" + ] + }, + "encapsulationType": "None", + "portCondition": { + "portType": "SourcePort", + "layer4Protocol": "TCP", + "ports": [ + "100" + ], + "portGroupNames": [ + "example-portGroup1" + ] + } + } + ], + "actions": [ + { + "type": "Drop", + "truncate": "100", + "isTimestampEnabled": "True", + "destinationId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup", + "matchConfigurationName": "match1" + } + ] + } + ], + "dynamicMatchConfigurations": [ + { + "ipGroups": [ + { + "name": "example-ipGroup", + "ipAddressType": "IPv4", + "ipPrefixes": [ + "10.20.3.1/20" + ] + } + ], + "vlanGroups": [ + { + "name": "example-vlanGroup", + "vlans": [ + "20-30" + ] + } + ], + "portGroups": [ + { + "name": "example-portGroup", + "ports": [ + "100-200" + ] + } + ] + } + ], + "networkTapId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-tap", + "pollingIntervalInSeconds": 30, + "lastSyncedTime": "2023-06-12T07:11:22.485Z", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-tapRule", + "name": "example-tapRule", + "type": "microsoft.managednetworkfabric/networkTapRules", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkTapRules_ListByResourceGroup.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkTapRules_ListByResourceGroup.json new file mode 100644 index 000000000000..2128f9c21a45 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkTapRules_ListByResourceGroup.json @@ -0,0 +1,130 @@ +{ + "title": "NetworkTapRules_ListByResourceGroup_MaximumSet_Gen", + "operationId": "NetworkTapRules_ListByResourceGroup", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "configurationType": "File", + "tapRulesUrl": "https://microsoft.com/a", + "matchConfigurations": [ + { + "matchConfigurationName": "config1", + "sequenceNumber": 10, + "ipAddressType": "IPv4", + "matchConditions": [ + { + "protocolTypes": [ + "TCP" + ], + "vlanMatchCondition": { + "vlans": [ + "20-30" + ], + "innerVlans": [ + "30" + ], + "vlanGroupNames": [ + "example-vlanGroup" + ] + }, + "ipCondition": { + "type": "SourceIP", + "prefixType": "Prefix", + "ipPrefixValues": [ + "10.20.20.20/12" + ], + "ipGroupNames": [ + "example-ipGroup" + ] + }, + "encapsulationType": "None", + "portCondition": { + "portType": "SourcePort", + "layer4Protocol": "TCP", + "ports": [ + "100" + ], + "portGroupNames": [ + "example-portGroup1" + ] + } + } + ], + "actions": [ + { + "type": "Drop", + "truncate": "100", + "isTimestampEnabled": "True", + "destinationId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup", + "matchConfigurationName": "match1" + } + ] + } + ], + "dynamicMatchConfigurations": [ + { + "ipGroups": [ + { + "name": "example-ipGroup", + "ipAddressType": "IPv4", + "ipPrefixes": [ + "10.20.3.1/20" + ] + } + ], + "vlanGroups": [ + { + "name": "example-vlanGroup", + "vlans": [ + "20-30" + ] + } + ], + "portGroups": [ + { + "name": "example-portGroup", + "ports": [ + "100-200" + ] + } + ] + } + ], + "networkTapId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-tap", + "pollingIntervalInSeconds": 30, + "lastSyncedTime": "2023-06-12T07:11:22.485Z", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-tapRule", + "name": "example-tapRule", + "type": "microsoft.managednetworkfabric/networkTapRules", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkTapRules_ListBySubscription.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkTapRules_ListBySubscription.json new file mode 100644 index 000000000000..82c413a364d5 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkTapRules_ListBySubscription.json @@ -0,0 +1,129 @@ +{ + "title": "NetworkTapRules_ListBySubscription_MaximumSet_Gen", + "operationId": "NetworkTapRules_ListBySubscription", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "configurationType": "File", + "tapRulesUrl": "https://microsoft.com/a", + "matchConfigurations": [ + { + "matchConfigurationName": "config1", + "sequenceNumber": 10, + "ipAddressType": "IPv4", + "matchConditions": [ + { + "protocolTypes": [ + "TCP" + ], + "vlanMatchCondition": { + "vlans": [ + "20-30" + ], + "innerVlans": [ + "30" + ], + "vlanGroupNames": [ + "example-vlanGroup" + ] + }, + "ipCondition": { + "type": "SourceIP", + "prefixType": "Prefix", + "ipPrefixValues": [ + "10.20.20.20/12" + ], + "ipGroupNames": [ + "example-ipGroup" + ] + }, + "encapsulationType": "None", + "portCondition": { + "portType": "SourcePort", + "layer4Protocol": "TCP", + "ports": [ + "100" + ], + "portGroupNames": [ + "example-portGroup1" + ] + } + } + ], + "actions": [ + { + "type": "Drop", + "truncate": "100", + "isTimestampEnabled": "True", + "destinationId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup", + "matchConfigurationName": "match1" + } + ] + } + ], + "dynamicMatchConfigurations": [ + { + "ipGroups": [ + { + "name": "example-ipGroup", + "ipAddressType": "IPv4", + "ipPrefixes": [ + "10.20.3.1/20" + ] + } + ], + "vlanGroups": [ + { + "name": "example-vlanGroup", + "vlans": [ + "20-30" + ] + } + ], + "portGroups": [ + { + "name": "example-portGroup", + "ports": [ + "100-200" + ] + } + ] + } + ], + "networkTapId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-tap", + "pollingIntervalInSeconds": 30, + "lastSyncedTime": "2023-06-12T07:11:22.485Z", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-tapRule", + "name": "example-tapRule", + "type": "microsoft.managednetworkfabric/networkTapRules", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkTapRules_Resync.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkTapRules_Resync.json new file mode 100644 index 000000000000..700cdeda9234 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkTapRules_Resync.json @@ -0,0 +1,34 @@ +{ + "title": "NetworkTapRules_Resync_MaximumSet_Gen", + "operationId": "NetworkTapRules_Resync", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkTapRuleName": "example-tapRule" + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkTapRules_Update.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkTapRules_Update.json new file mode 100644 index 000000000000..05e0f9fb0031 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkTapRules_Update.json @@ -0,0 +1,225 @@ +{ + "title": "NetworkTapRules_Update_MaximumSet_Gen", + "operationId": "NetworkTapRules_Update", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkTapRuleName": "example-tapRule", + "properties": { + "tags": { + "keyId": "keyValue" + }, + "properties": { + "annotation": "annotation", + "configurationType": "File", + "tapRulesUrl": "https://microsoft.com/amdsdx", + "matchConfigurations": [ + { + "matchConfigurationName": "config1", + "sequenceNumber": 10, + "ipAddressType": "IPv4", + "matchConditions": [ + { + "protocolTypes": [ + "TCP" + ], + "vlanMatchCondition": { + "vlans": [ + "20-30" + ], + "innerVlans": [ + "30" + ], + "vlanGroupNames": [ + "example-vlanGroup" + ] + }, + "ipCondition": { + "type": "SourceIP", + "prefixType": "Prefix", + "ipPrefixValues": [ + "10.20.20.20/12" + ], + "ipGroupNames": [ + "example-ipGroup" + ] + }, + "encapsulationType": "None", + "portCondition": { + "portType": "SourcePort", + "layer4Protocol": "TCP", + "ports": [ + "100" + ], + "portGroupNames": [ + "example-portGroup1" + ] + } + } + ], + "actions": [ + { + "type": "Drop", + "truncate": "100", + "isTimestampEnabled": "True", + "destinationId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup", + "matchConfigurationName": "match1" + } + ] + } + ], + "dynamicMatchConfigurations": [ + { + "ipGroups": [ + { + "name": "example-ipGroup", + "ipAddressType": "IPv4", + "ipPrefixes": [ + "10.20.3.1/20" + ] + } + ], + "vlanGroups": [ + { + "name": "example-vlanGroup", + "vlans": [ + "20-30" + ] + } + ], + "portGroups": [ + { + "name": "example-portGroup", + "ports": [ + "100-200" + ] + } + ] + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "configurationType": "File", + "tapRulesUrl": "https://microsoft.com/a", + "matchConfigurations": [ + { + "matchConfigurationName": "config1", + "sequenceNumber": 10, + "ipAddressType": "IPv4", + "matchConditions": [ + { + "protocolTypes": [ + "TCP" + ], + "vlanMatchCondition": { + "vlans": [ + "20-30" + ], + "innerVlans": [ + "30" + ], + "vlanGroupNames": [ + "example-vlanGroup" + ] + }, + "ipCondition": { + "type": "SourceIP", + "prefixType": "Prefix", + "ipPrefixValues": [ + "10.20.20.20/12" + ], + "ipGroupNames": [ + "example-ipGroup" + ] + }, + "encapsulationType": "None", + "portCondition": { + "portType": "SourcePort", + "layer4Protocol": "TCP", + "ports": [ + "100" + ], + "portGroupNames": [ + "example-portGroup1" + ] + } + } + ], + "actions": [ + { + "type": "Drop", + "truncate": "100", + "isTimestampEnabled": "True", + "destinationId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup", + "matchConfigurationName": "match1" + } + ] + } + ], + "dynamicMatchConfigurations": [ + { + "ipGroups": [ + { + "name": "example-ipGroup", + "ipAddressType": "IPv4", + "ipPrefixes": [ + "10.20.3.1/20" + ] + } + ], + "vlanGroups": [ + { + "name": "example-vlanGroup", + "vlans": [ + "20-30" + ] + } + ], + "portGroups": [ + { + "name": "example-portGroup", + "ports": [ + "100-200" + ] + } + ] + } + ], + "networkTapId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-tap", + "pollingIntervalInSeconds": 30, + "lastSyncedTime": "2023-06-12T07:11:22.485Z", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-tapRule", + "name": "example-tapRule", + "type": "microsoft.managednetworkfabric/networkTapRules", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkTapRules_UpdateAdministrativeState.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkTapRules_UpdateAdministrativeState.json new file mode 100644 index 000000000000..a6ef36b88911 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkTapRules_UpdateAdministrativeState.json @@ -0,0 +1,40 @@ +{ + "title": "NetworkTapRules_UpdateAdministrativeState_MaximumSet_Gen", + "operationId": "NetworkTapRules_UpdateAdministrativeState", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkTapRuleName": "example-tapRule", + "body": { + "resourceIds": [ + "" + ], + "state": "Enable" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkTapRules_ValidateConfiguration.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkTapRules_ValidateConfiguration.json new file mode 100644 index 000000000000..281321d62333 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkTapRules_ValidateConfiguration.json @@ -0,0 +1,35 @@ +{ + "title": "NetworkTapRules_ValidateConfiguration_MaximumSet_Gen", + "operationId": "NetworkTapRules_ValidateConfiguration", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkTapRuleName": "example-tapRule" + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded", + "url": "https://ActionDetails" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkTaps_Create.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkTaps_Create.json new file mode 100644 index 000000000000..5642fb074109 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkTaps_Create.json @@ -0,0 +1,125 @@ +{ + "title": "NetworkTaps_Create_MaximumSet_Gen", + "operationId": "NetworkTaps_Create", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkTapName": "example-networkTap", + "resource": { + "properties": { + "annotation": "annotation", + "networkPacketBrokerId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkPacketBrokers/example-networkPacketBroker", + "destinations": [ + { + "name": "example-destinaionName", + "destinationType": "IsolationDomain", + "destinationId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsloationDomains/example-l3Domain/internalNetworks/example-internalNetwork", + "isolationDomainProperties": { + "encapsulation": "None", + "neighborGroupIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup" + ] + }, + "destinationTapRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-destinationTapRule" + } + ], + "pollingType": "Pull", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkPacketBrokerId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkPacketBrokers/example-networkPacketBroker", + "sourceTapRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-sourceTapRule", + "destinations": [ + { + "name": "example-destinaionName", + "destinationType": "IsolationDomain", + "destinationId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsloationDomains/example-l3Domain/internalNetworks/example-internalNetwork", + "isolationDomainProperties": { + "encapsulation": "None", + "neighborGroupIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup" + ] + }, + "destinationTapRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-destinationTapRule" + } + ], + "pollingType": "Pull", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-networkTap", + "name": "example-networkTap", + "type": "microsoft.managednetworkfabric/networkTaps", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotation", + "networkPacketBrokerId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkPacketBrokers/example-networkPacketBroker", + "sourceTapRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-sourceTapRule", + "destinations": [ + { + "name": "example-destinaionName", + "destinationType": "IsolationDomain", + "destinationId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsloationDomains/example-l3Domain/internalNetworks/example-internalNetwork", + "isolationDomainProperties": { + "encapsulation": "None", + "neighborGroupIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup" + ] + }, + "destinationTapRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-destinationTapRule" + } + ], + "pollingType": "Pull", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-networkTap", + "name": "example-networkTap", + "type": "microsoft.managednetworkfabric/networkTaps", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkTaps_Delete.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkTaps_Delete.json new file mode 100644 index 000000000000..68045cbc4ade --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkTaps_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "NetworkTaps_Delete_MaximumSet_Gen", + "operationId": "NetworkTaps_Delete", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkTapName": "example-networkTap" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkTaps_Get.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkTaps_Get.json new file mode 100644 index 000000000000..287179c06ac5 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkTaps_Get.json @@ -0,0 +1,54 @@ +{ + "title": "NetworkTaps_Get_MaximumSet_Gen", + "operationId": "NetworkTaps_Get", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkTapName": "example-networkTap" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkPacketBrokerId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkPacketBrokers/example-networkPacketBroker", + "sourceTapRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-sourceTapRule", + "destinations": [ + { + "name": "example-destinaionName", + "destinationType": "IsolationDomain", + "destinationId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsloationDomains/example-l3Domain/internalNetworks/example-internalNetwork", + "isolationDomainProperties": { + "encapsulation": "None", + "neighborGroupIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup" + ] + }, + "destinationTapRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-destinationTapRule" + } + ], + "pollingType": "Pull", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-networkTap", + "name": "example-networkTap", + "type": "microsoft.managednetworkfabric/networkTaps", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkTaps_ListByResourceGroup.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkTaps_ListByResourceGroup.json new file mode 100644 index 000000000000..b13b23d36099 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkTaps_ListByResourceGroup.json @@ -0,0 +1,58 @@ +{ + "title": "NetworkTaps_ListByResourceGroup_MaximumSet_Gen", + "operationId": "NetworkTaps_ListByResourceGroup", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "networkPacketBrokerId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkPacketBrokers/example-networkPacketBroker", + "sourceTapRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-sourceTapRule", + "destinations": [ + { + "name": "example-destinaionName", + "destinationType": "IsolationDomain", + "destinationId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsloationDomains/example-l3Domain/internalNetworks/example-internalNetwork", + "isolationDomainProperties": { + "encapsulation": "None", + "neighborGroupIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup" + ] + }, + "destinationTapRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-destinationTapRule" + } + ], + "pollingType": "Pull", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-networkTap", + "name": "example-networkTap", + "type": "microsoft.managednetworkfabric/networkTaps", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkTaps_ListBySubscription.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkTaps_ListBySubscription.json new file mode 100644 index 000000000000..6dc9c84c98db --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkTaps_ListBySubscription.json @@ -0,0 +1,57 @@ +{ + "title": "NetworkTaps_ListBySubscription_MaximumSet_Gen", + "operationId": "NetworkTaps_ListBySubscription", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "networkPacketBrokerId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkPacketBrokers/example-networkPacketBroker", + "sourceTapRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-sourceTapRule", + "destinations": [ + { + "name": "example-destinaionName", + "destinationType": "IsolationDomain", + "destinationId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsloationDomains/example-l3Domain/internalNetworks/example-internalNetwork", + "isolationDomainProperties": { + "encapsulation": "None", + "neighborGroupIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup" + ] + }, + "destinationTapRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-destinationTapRule" + } + ], + "pollingType": "Pull", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-networkTap", + "name": "example-networkTap", + "type": "microsoft.managednetworkfabric/networkTaps", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkTaps_Resync.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkTaps_Resync.json new file mode 100644 index 000000000000..3d231062a446 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkTaps_Resync.json @@ -0,0 +1,34 @@ +{ + "title": "NetworkTaps_Resync_MaximumSet_Gen", + "operationId": "NetworkTaps_Resync", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkTapName": "example-networkTap" + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkTaps_Update.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkTaps_Update.json new file mode 100644 index 000000000000..d915ef60c312 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkTaps_Update.json @@ -0,0 +1,82 @@ +{ + "title": "NetworkTaps_Update_MaximumSet_Gen", + "operationId": "NetworkTaps_Update", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkTapName": "example-networkTap", + "properties": { + "tags": { + "keyId": "keyValue" + }, + "properties": { + "annotation": "annotation1", + "pollingType": "Pull", + "destinations": [ + { + "name": "example-destinaionName", + "destinationType": "IsolationDomain", + "destinationId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsloationDomains/example-l3Domain/internalNetworks/example-internalNetwork", + "isolationDomainProperties": { + "encapsulation": "None", + "neighborGroupIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup" + ] + }, + "destinationTapRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-destinationTapRule" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkPacketBrokerId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkPacketBrokers/example-networkPacketBroker", + "sourceTapRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-sourceTapRule", + "destinations": [ + { + "name": "example-destinaionName", + "destinationType": "IsolationDomain", + "destinationId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsloationDomains/example-l3Domain/internalNetworks/example-internalNetwork", + "isolationDomainProperties": { + "encapsulation": "None", + "neighborGroupIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup" + ] + }, + "destinationTapRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-destinationTapRule" + } + ], + "pollingType": "Pull", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-networkTap", + "name": "example-networkTap", + "type": "microsoft.managednetworkfabric/networkTaps", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkTaps_UpdateAdministrativeState.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkTaps_UpdateAdministrativeState.json new file mode 100644 index 000000000000..c06540817af3 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkTaps_UpdateAdministrativeState.json @@ -0,0 +1,46 @@ +{ + "title": "NetworkTaps_UpdateAdministrativeState_MaximumSet_Gen", + "operationId": "NetworkTaps_UpdateAdministrativeState", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkTapName": "example-networkTap", + "body": { + "resourceIds": [ + "" + ], + "state": "Enable" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded", + "successfulDevices": [ + "" + ], + "failedDevices": [ + "" + ] + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkToNetworkInterconnects_Create.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkToNetworkInterconnects_Create.json new file mode 100644 index 000000000000..0305f288a174 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkToNetworkInterconnects_Create.json @@ -0,0 +1,211 @@ +{ + "title": "NetworkToNetworkInterconnects_Create_MaximumSet_Gen", + "operationId": "NetworkToNetworkInterconnects_Create", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-nf", + "networkToNetworkInterconnectName": "example-nni", + "resource": { + "properties": { + "nniType": "CE", + "isManagementType": "True", + "useOptionB": "True", + "layer2Configuration": { + "mtu": 1500, + "interfaces": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice/networkInterfaces/example-networkInterface" + ] + }, + "optionBLayer3Configuration": { + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "40.0.0.14/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127", + "peerASN": 61234, + "vlanId": 1234 + }, + "npbStaticRouteConfiguration": { + "bfdConfiguration": { + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "jffgck", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "jffgck", + "nextHop": [ + "10.0.0.1" + ] + } + ] + }, + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "nniType": "CE", + "isManagementType": "True", + "useOptionB": "True", + "layer2Configuration": { + "mtu": 1500, + "interfaces": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice/networkInterfaces/example-networkInterface" + ] + }, + "optionBLayer3Configuration": { + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "40.0.0.14/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127", + "peerASN": 61234, + "vlanId": 1234, + "fabricASN": 17 + }, + "npbStaticRouteConfiguration": { + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "jffgck", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "jffgck", + "nextHop": [ + "10.0.0.1" + ] + } + ] + }, + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "name": "example-nni", + "type": "microsoft.managedNetworkFabric/networkFabrics/networkToNetworkInterconnects", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "nniType": "CE", + "isManagementType": "True", + "useOptionB": "True", + "layer2Configuration": { + "mtu": 1500, + "interfaces": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice/networkInterfaces/example-networkInterface" + ] + }, + "optionBLayer3Configuration": { + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "40.0.0.14/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127", + "peerASN": 61234, + "vlanId": 1234, + "fabricASN": 17 + }, + "npbStaticRouteConfiguration": { + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "jffgck", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "jffgck", + "nextHop": [ + "10.0.0.1" + ] + } + ] + }, + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "name": "example-nni", + "type": "microsoft.managedNetworkFabric/networkFabrics/networkToNetworkInterconnects", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkToNetworkInterconnects_Delete.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkToNetworkInterconnects_Delete.json new file mode 100644 index 000000000000..454a58faf0c3 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkToNetworkInterconnects_Delete.json @@ -0,0 +1,19 @@ +{ + "title": "NetworkToNetworkInterconnects_Delete_MaximumSet_Gen", + "operationId": "NetworkToNetworkInterconnects_Delete", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-nf", + "networkToNetworkInterconnectName": "example-nni" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkToNetworkInterconnects_Get.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkToNetworkInterconnects_Get.json new file mode 100644 index 000000000000..0e26b026c3ad --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkToNetworkInterconnects_Get.json @@ -0,0 +1,84 @@ +{ + "title": "NetworkToNetworkInterconnects_Get_MaximumSet_Gen", + "operationId": "NetworkToNetworkInterconnects_Get", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-nf", + "networkToNetworkInterconnectName": "example-nni" + }, + "responses": { + "200": { + "body": { + "properties": { + "nniType": "CE", + "isManagementType": "True", + "useOptionB": "True", + "layer2Configuration": { + "mtu": 1500, + "interfaces": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice/networkInterfaces/example-networkInterface" + ] + }, + "optionBLayer3Configuration": { + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "40.0.0.14/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127", + "peerASN": 61234, + "vlanId": 1234, + "fabricASN": 17 + }, + "npbStaticRouteConfiguration": { + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "jffgck", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "jffgck", + "nextHop": [ + "10.0.0.1" + ] + } + ] + }, + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "name": "example-nni", + "type": "microsoft.managedNetworkFabric/networkFabrics/networkToNetworkInterconnects", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkToNetworkInterconnects_ListByNetworkFabric.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkToNetworkInterconnects_ListByNetworkFabric.json new file mode 100644 index 000000000000..ec5ecac1f7d9 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkToNetworkInterconnects_ListByNetworkFabric.json @@ -0,0 +1,88 @@ +{ + "title": "NetworkToNetworkInterconnects_ListByNetworkFabric_MaximumSet_Gen", + "operationId": "NetworkToNetworkInterconnects_ListByNetworkFabric", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-nf" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "nniType": "CE", + "isManagementType": "True", + "useOptionB": "True", + "layer2Configuration": { + "mtu": 1500, + "interfaces": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice/networkInterfaces/example-networkInterface" + ] + }, + "optionBLayer3Configuration": { + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "40.0.0.14/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127", + "peerASN": 61234, + "vlanId": 1234, + "fabricASN": 17 + }, + "npbStaticRouteConfiguration": { + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "jffgck", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "jffgck", + "nextHop": [ + "10.0.0.1" + ] + } + ] + }, + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "name": "example-nni", + "type": "microsoft.managedNetworkFabric/networkFabrics/networkToNetworkInterconnects", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkToNetworkInterconnects_Update.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkToNetworkInterconnects_Update.json new file mode 100644 index 000000000000..c202ce3d7f5e --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkToNetworkInterconnects_Update.json @@ -0,0 +1,139 @@ +{ + "title": "NetworkToNetworkInterconnects_Update_MaximumSet_Gen", + "operationId": "NetworkToNetworkInterconnects_Update", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-nf", + "networkToNetworkInterconnectName": "example-nni", + "properties": { + "properties": { + "layer2Configuration": { + "mtu": 1500, + "interfaces": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice/networkInterfaces/example-networkInterface" + ] + }, + "optionBLayer3Configuration": { + "primaryIpv4Prefix": "20.0.0.12/29", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "20.0.0.14/29", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127", + "peerASN": 2345, + "vlanId": 1235 + }, + "npbStaticRouteConfiguration": { + "bfdConfiguration": { + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "jffgck", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "jffgck", + "nextHop": [ + "10.0.0.1" + ] + } + ] + }, + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "nniType": "CE", + "isManagementType": "True", + "useOptionB": "True", + "layer2Configuration": { + "mtu": 1500, + "interfaces": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice/networkInterfaces/example-networkInterface" + ] + }, + "optionBLayer3Configuration": { + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "40.0.0.14/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127", + "peerASN": 61234, + "vlanId": 1234, + "fabricASN": 17 + }, + "npbStaticRouteConfiguration": { + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "jffgck", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "jffgck", + "nextHop": [ + "10.0.0.1" + ] + } + ] + }, + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "name": "example-nni", + "type": "microsoft.managedNetworkFabric/networkFabrics/networkToNetworkInterconnects", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkToNetworkInterconnects_UpdateAdministrativeState.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkToNetworkInterconnects_UpdateAdministrativeState.json new file mode 100644 index 000000000000..366039ba84bf --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkToNetworkInterconnects_UpdateAdministrativeState.json @@ -0,0 +1,41 @@ +{ + "title": "NetworkToNetworkInterconnects_UpdateAdministrativeState_MaximumSet_Gen", + "operationId": "NetworkToNetworkInterconnects_UpdateAdministrativeState", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-nf", + "networkToNetworkInterconnectName": "example-nni", + "body": { + "resourceIds": [ + "" + ], + "state": "Enable" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkToNetworkInterconnects_UpdateNpbStaticRouteBfdAdministrativeState.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkToNetworkInterconnects_UpdateNpbStaticRouteBfdAdministrativeState.json new file mode 100644 index 000000000000..e68765388922 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/NetworkToNetworkInterconnects_UpdateNpbStaticRouteBfdAdministrativeState.json @@ -0,0 +1,41 @@ +{ + "title": "NetworkToNetworkInterconnects_UpdateNpbStaticRouteBfdAdministrativeState_MaximumSet_Gen", + "operationId": "NetworkToNetworkInterconnects_UpdateNpbStaticRouteBfdAdministrativeState", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-nf", + "networkToNetworkInterconnectName": "example-nni", + "body": { + "resourceIds": [ + "" + ], + "state": "Enable" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/Operations_List.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/Operations_List.json new file mode 100644 index 000000000000..e752db72760e --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/Operations_List.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "api-version": "2024-02-15-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.ManagedNetworkFabric/NetworkFabricControllers/Read", + "actionType": "Internal", + "isDataAction": true, + "origin": "user,system", + "display": { + "provider": "Microsoft.ManagedNetworkFabric resource provider", + "resource": "NetworkFabricControllers", + "operation": "Gets/List NetworkFabricController resources.", + "description": "Gets/List the NetworkFabricController resource data." + } + }, + { + "name": "Microsoft.ManagedNetworkFabric/NetworkFabricControllers/Write", + "actionType": "Internal", + "isDataAction": true, + "origin": "user,system", + "display": { + "provider": "Microsoft.ManagedNetworkFabric resource provider", + "resource": "NetworkFabricControllers", + "operation": "Create or Update NetworkFabricController resource.", + "description": "Create or Update NetworkFabricController resource data." + } + }, + { + "name": "Microsoft.ManagedNetworkFabric/NetworkFabricControllers/Delete", + "actionType": "Internal", + "isDataAction": true, + "origin": "user,system", + "display": { + "provider": "Microsoft.ManagedNetworkFabric resource provider", + "resource": "NetworkFabricControllers", + "operation": "Deletes the NetworkFabricController resource.", + "description": "Deletes the NetworkFabricController resource." + } + } + ] + } + } + }, + "operationId": "Operations_List", + "title": "Operations_List_MaximumSet_Gen" +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/RoutePolicies_CommitConfiguration.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/RoutePolicies_CommitConfiguration.json new file mode 100644 index 000000000000..c0abcc368cc3 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/RoutePolicies_CommitConfiguration.json @@ -0,0 +1,34 @@ +{ + "title": "RoutePolicies_CommitConfiguration_MaximumSet_Gen", + "operationId": "RoutePolicies_CommitConfiguration", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "routePolicyName": "example-routePolicy" + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/RoutePolicies_Create.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/RoutePolicies_Create.json new file mode 100644 index 000000000000..7692fa8cec05 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/RoutePolicies_Create.json @@ -0,0 +1,246 @@ +{ + "title": "RoutePolicies_Create_MaximumSet_Gen", + "operationId": "RoutePolicies_Create", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "routePolicyName": "example-routePolicy", + "resource": { + "properties": { + "annotation": "annotation", + "defaultAction": "Permit", + "statements": [ + { + "annotation": "annotation", + "sequenceNumber": 7, + "condition": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ], + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ], + "type": "Or", + "ipPrefixId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix" + }, + "action": { + "localPreference": 20, + "actionType": "Permit", + "ipCommunityProperties": { + "add": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + }, + "delete": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + }, + "set": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + } + }, + "ipExtendedCommunityProperties": { + "add": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + }, + "delete": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + }, + "set": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + } + } + } + } + ], + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "addressFamilyType": "IPv4", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "defaultAction": "Permit", + "statements": [ + { + "annotation": "annotation", + "sequenceNumber": 7, + "condition": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ], + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ], + "type": "Or", + "ipPrefixId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix" + }, + "action": { + "localPreference": 20, + "actionType": "Permit", + "ipCommunityProperties": { + "add": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + }, + "delete": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + }, + "set": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + } + }, + "ipExtendedCommunityProperties": { + "add": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + }, + "delete": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + }, + "set": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + } + } + } + } + ], + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "addressFamilyType": "IPv4", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "name": "example-routePolicy", + "type": "microsoft.managednetworkfabric/routePolicies", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotation", + "defaultAction": "Permit", + "statements": [ + { + "annotation": "annotation", + "sequenceNumber": 7, + "condition": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ], + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ], + "type": "Or", + "ipPrefixId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix" + }, + "action": { + "localPreference": 20, + "actionType": "Permit", + "ipCommunityProperties": { + "add": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + }, + "delete": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + }, + "set": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + } + }, + "ipExtendedCommunityProperties": { + "add": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + }, + "delete": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + }, + "set": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + } + } + } + } + ], + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "addressFamilyType": "IPv4", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "name": "example-routePolicy", + "type": "microsoft.managednetworkfabric/routePolicies", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/RoutePolicies_Delete.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/RoutePolicies_Delete.json new file mode 100644 index 000000000000..394c5799f5e2 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/RoutePolicies_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "RoutePolicies_Delete_MaximumSet_Gen", + "operationId": "RoutePolicies_Delete", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "routePolicyName": "example-routePolicy" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/RoutePolicies_Get.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/RoutePolicies_Get.json new file mode 100644 index 000000000000..d2be66d5fc46 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/RoutePolicies_Get.json @@ -0,0 +1,94 @@ +{ + "title": "RoutePolicies_Get_MaximumSet_Gen", + "operationId": "RoutePolicies_Get", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "routePolicyName": "example-routePolicy" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "defaultAction": "Permit", + "statements": [ + { + "annotation": "annotation", + "sequenceNumber": 7, + "condition": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ], + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ], + "type": "Or", + "ipPrefixId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix" + }, + "action": { + "localPreference": 20, + "actionType": "Permit", + "ipCommunityProperties": { + "add": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + }, + "delete": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + }, + "set": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + } + }, + "ipExtendedCommunityProperties": { + "add": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + }, + "delete": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + }, + "set": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + } + } + } + } + ], + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "addressFamilyType": "IPv4", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "name": "example-routePolicy", + "type": "microsoft.managednetworkfabric/routePolicies", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/RoutePolicies_ListByResourceGroup.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/RoutePolicies_ListByResourceGroup.json new file mode 100644 index 000000000000..c389e077a3aa --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/RoutePolicies_ListByResourceGroup.json @@ -0,0 +1,98 @@ +{ + "title": "RoutePolicies_ListByResourceGroup_MaximumSet_Gen", + "operationId": "RoutePolicies_ListByResourceGroup", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "defaultAction": "Permit", + "statements": [ + { + "annotation": "annotation", + "sequenceNumber": 7, + "condition": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ], + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ], + "type": "Or", + "ipPrefixId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix" + }, + "action": { + "localPreference": 20, + "actionType": "Permit", + "ipCommunityProperties": { + "add": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + }, + "delete": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + }, + "set": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + } + }, + "ipExtendedCommunityProperties": { + "add": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + }, + "delete": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + }, + "set": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + } + } + } + } + ], + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "addressFamilyType": "IPv4", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "name": "example-routePolicy", + "type": "microsoft.managednetworkfabric/routePolicies", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/RoutePolicies_ListBySubscription.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/RoutePolicies_ListBySubscription.json new file mode 100644 index 000000000000..a7f47a51dae4 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/RoutePolicies_ListBySubscription.json @@ -0,0 +1,97 @@ +{ + "title": "RoutePolicies_ListBySubscription_MaximumSet_Gen", + "operationId": "RoutePolicies_ListBySubscription", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "defaultAction": "Permit", + "statements": [ + { + "annotation": "annotation", + "sequenceNumber": 7, + "condition": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ], + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ], + "type": "Or", + "ipPrefixId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix" + }, + "action": { + "localPreference": 20, + "actionType": "Permit", + "ipCommunityProperties": { + "add": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + }, + "delete": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + }, + "set": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + } + }, + "ipExtendedCommunityProperties": { + "add": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + }, + "delete": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + }, + "set": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + } + } + } + } + ], + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "addressFamilyType": "IPv4", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "name": "example-routePolicy", + "type": "microsoft.managednetworkfabric/routePolicies", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/RoutePolicies_Update.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/RoutePolicies_Update.json new file mode 100644 index 000000000000..210aabe13601 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/RoutePolicies_Update.json @@ -0,0 +1,161 @@ +{ + "title": "RoutePolicies_Update_MaximumSet_Gen", + "operationId": "RoutePolicies_Update", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "routePolicyName": "example-routePolicy", + "properties": { + "tags": { + "keyId": "keyValue" + }, + "properties": { + "defaultAction": "Permit", + "statements": [ + { + "annotation": "annotation", + "sequenceNumber": 7, + "condition": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ], + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ], + "type": "Or", + "ipPrefixId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix" + }, + "action": { + "localPreference": 20, + "actionType": "Permit", + "ipCommunityProperties": { + "add": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + }, + "delete": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + }, + "set": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + } + }, + "ipExtendedCommunityProperties": { + "add": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + }, + "delete": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + }, + "set": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + } + } + } + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "defaultAction": "Permit", + "statements": [ + { + "annotation": "annotation", + "sequenceNumber": 7, + "condition": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ], + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ], + "type": "Or", + "ipPrefixId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix" + }, + "action": { + "localPreference": 20, + "actionType": "Permit", + "ipCommunityProperties": { + "add": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + }, + "delete": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + }, + "set": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + } + }, + "ipExtendedCommunityProperties": { + "add": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + }, + "delete": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + }, + "set": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + } + } + } + } + ], + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "addressFamilyType": "IPv4", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "name": "example-routePolicy", + "type": "microsoft.managednetworkfabric/routePolicies", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/RoutePolicies_UpdateAdministrativeState.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/RoutePolicies_UpdateAdministrativeState.json new file mode 100644 index 000000000000..9bb4b8110cef --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/RoutePolicies_UpdateAdministrativeState.json @@ -0,0 +1,46 @@ +{ + "title": "RoutePolicies_UpdateAdministrativeState_MaximumSet_Gen", + "operationId": "RoutePolicies_UpdateAdministrativeState", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "routePolicyName": "example-routePolicy", + "body": { + "resourceIds": [ + "" + ], + "state": "Enable" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded", + "successfulDevices": [ + "" + ], + "failedDevices": [ + "" + ] + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/RoutePolicies_ValidateConfiguration.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/RoutePolicies_ValidateConfiguration.json new file mode 100644 index 000000000000..fa11d7b11a20 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-02-15-preview/RoutePolicies_ValidateConfiguration.json @@ -0,0 +1,35 @@ +{ + "title": "RoutePolicies_ValidateConfiguration_MaximumSet_Gen", + "operationId": "RoutePolicies_ValidateConfiguration", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "routePolicyName": "example-routePolicy" + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded", + "url": "https://ActionDetails" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/AccessControlLists_Create.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/AccessControlLists_Create.json new file mode 100644 index 000000000000..0a1fffd3c3f9 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/AccessControlLists_Create.json @@ -0,0 +1,457 @@ +{ + "title": "AccessControlLists_Create_MaximumSet_Gen", + "operationId": "AccessControlLists_Create", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "accessControlListName": "example-acl", + "resource": { + "properties": { + "annotation": "annotation", + "configurationType": "File", + "aclsUrl": "https://ACL-Storage-URL", + "defaultAction": "Permit", + "matchConfigurations": [ + { + "matchConfigurationName": "example-match", + "sequenceNumber": 123, + "ipAddressType": "IPv4", + "matchConditions": [ + { + "protocolTypes": [ + "TCP" + ], + "vlanMatchCondition": { + "vlans": [ + "20-30" + ], + "innerVlans": [ + "30" + ], + "vlanGroupNames": [ + "example-vlanGroup" + ] + }, + "ipCondition": { + "type": "SourceIP", + "prefixType": "Prefix", + "ipPrefixValues": [ + "10.20.20.20/12" + ], + "ipGroupNames": [ + "example-ipGroup" + ] + }, + "etherTypes": [ + "0x1" + ], + "fragments": [ + "0xff00-0xffff" + ], + "ipLengths": [ + "4094-9214" + ], + "ttlValues": [ + "23" + ], + "dscpMarkings": [ + "32" + ], + "protocolNeighbors": [ + "example-neighbor" + ], + "portCondition": { + "portType": "SourcePort", + "layer4Protocol": "TCP", + "ports": [ + "1-20" + ], + "portGroupNames": [ + "example-portGroup" + ], + "flags": [ + "established" + ] + }, + "icmpConfiguration": { + "icmpTypes": [ + "echo" + ] + } + } + ], + "actions": [ + { + "type": "Count", + "counterName": "example-counter", + "remarkComment": "example-remark", + "policeRateConfiguration": { + "bitRate": { + "rate": 15, + "unit": "bps" + }, + "burstSize": { + "size": 2, + "unit": "Bytes" + } + } + } + ] + } + ], + "dynamicMatchConfigurations": [ + { + "ipGroups": [ + { + "name": "example-ipGroup", + "ipAddressType": "IPv4", + "ipPrefixes": [ + "10.20.3.1/20" + ] + } + ], + "vlanGroups": [ + { + "name": "example-vlanGroup", + "vlans": [ + "20-30" + ] + } + ], + "portGroups": [ + { + "name": "example-portGroup", + "ports": [ + "100-200" + ] + } + ] + } + ], + "aclType": "ControlPlaneTrafficPolicy", + "deviceRole": "CE", + "globalAccessControlListActions": { + "enableCount": "True" + } + }, + "tags": { + "keyID": "keyValue" + }, + "location": "eastUs" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "configurationType": "File", + "aclsUrl": "https://ACL-Storage-URL", + "defaultAction": "Permit", + "matchConfigurations": [ + { + "matchConfigurationName": "example-match", + "sequenceNumber": 123, + "ipAddressType": "IPv4", + "matchConditions": [ + { + "protocolTypes": [ + "TCP" + ], + "vlanMatchCondition": { + "vlans": [ + "20-30" + ], + "innerVlans": [ + "30" + ], + "vlanGroupNames": [ + "example-vlanGroup" + ] + }, + "ipCondition": { + "type": "SourceIP", + "prefixType": "Prefix", + "ipPrefixValues": [ + "10.20.20.20/12" + ], + "ipGroupNames": [ + "example-ipGroup" + ] + }, + "etherTypes": [ + "0x1" + ], + "fragments": [ + "0xff00-0xffff" + ], + "ipLengths": [ + "4094-9214" + ], + "ttlValues": [ + "23" + ], + "dscpMarkings": [ + "32" + ], + "protocolNeighbors": [ + "example-neighbor" + ], + "portCondition": { + "portType": "SourcePort", + "layer4Protocol": "TCP", + "ports": [ + "1-20" + ], + "portGroupNames": [ + "example-portGroup" + ], + "flags": [ + "established" + ] + }, + "icmpConfiguration": { + "icmpTypes": [ + "echo" + ] + } + } + ], + "actions": [ + { + "type": "Count", + "counterName": "example-counter", + "remarkComment": "example-remark", + "policeRateConfiguration": { + "bitRate": { + "rate": 15, + "unit": "bps" + }, + "burstSize": { + "size": 2, + "unit": "Bytes" + } + } + } + ] + } + ], + "dynamicMatchConfigurations": [ + { + "ipGroups": [ + { + "name": "example-ipGroup", + "ipAddressType": "IPv4", + "ipPrefixes": [ + "10.20.3.1/20" + ] + } + ], + "vlanGroups": [ + { + "name": "example-vlanGroup", + "vlans": [ + "20-30" + ] + } + ], + "portGroups": [ + { + "name": "example-portGroup", + "ports": [ + "100-200" + ] + } + ] + } + ], + "lastSyncedTime": "2023-06-17T08:56:23.203Z", + "aclType": "ControlPlaneTrafficPolicy", + "deviceRole": "CE", + "globalAccessControlListActions": { + "enableCount": "True" + }, + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "keyValue" + }, + "location": "eastUs", + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "name": "example-acl", + "type": "microsoft.managednetworkfabric/accessControlLists", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotation", + "configurationType": "File", + "aclsUrl": "https://ACL-Storage-URL", + "defaultAction": "Permit", + "matchConfigurations": [ + { + "matchConfigurationName": "example-match", + "sequenceNumber": 123, + "ipAddressType": "IPv4", + "matchConditions": [ + { + "protocolTypes": [ + "TCP" + ], + "vlanMatchCondition": { + "vlans": [ + "20-30" + ], + "innerVlans": [ + "30" + ], + "vlanGroupNames": [ + "example-vlanGroup" + ] + }, + "ipCondition": { + "type": "SourceIP", + "prefixType": "Prefix", + "ipPrefixValues": [ + "10.20.20.20/12" + ], + "ipGroupNames": [ + "example-ipGroup" + ] + }, + "etherTypes": [ + "0x1" + ], + "fragments": [ + "0xff00-0xffff" + ], + "ipLengths": [ + "4094-9214" + ], + "ttlValues": [ + "23" + ], + "dscpMarkings": [ + "32" + ], + "protocolNeighbors": [ + "example-neighbor" + ], + "portCondition": { + "portType": "SourcePort", + "layer4Protocol": "TCP", + "ports": [ + "1-20" + ], + "portGroupNames": [ + "example-portGroup" + ], + "flags": [ + "established" + ] + }, + "icmpConfiguration": { + "icmpTypes": [ + "echo" + ] + } + } + ], + "actions": [ + { + "type": "Count", + "counterName": "example-counter", + "remarkComment": "example-remark", + "policeRateConfiguration": { + "bitRate": { + "rate": 15, + "unit": "bps" + }, + "burstSize": { + "size": 2, + "unit": "Bytes" + } + } + } + ] + } + ], + "dynamicMatchConfigurations": [ + { + "ipGroups": [ + { + "name": "example-ipGroup", + "ipAddressType": "IPv4", + "ipPrefixes": [ + "10.20.3.1/20" + ] + } + ], + "vlanGroups": [ + { + "name": "example-vlanGroup", + "vlans": [ + "20-30" + ] + } + ], + "portGroups": [ + { + "name": "example-portGroup", + "ports": [ + "100-200" + ] + } + ] + } + ], + "lastSyncedTime": "2023-06-17T08:56:23.203Z", + "aclType": "ControlPlaneTrafficPolicy", + "deviceRole": "CE", + "globalAccessControlListActions": { + "enableCount": "True" + }, + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastUs", + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "name": "example-acl", + "type": "microsoft.managednetworkfabric/accessControlLists", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/AccessControlLists_Delete.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/AccessControlLists_Delete.json new file mode 100644 index 000000000000..3cefd65c2e0e --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/AccessControlLists_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "AccessControlLists_Delete_MaximumSet_Gen", + "operationId": "AccessControlLists_Delete", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "accessControlListName": "example-acl" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/AccessControlLists_Get.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/AccessControlLists_Get.json new file mode 100644 index 000000000000..e9d396a65713 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/AccessControlLists_Get.json @@ -0,0 +1,166 @@ +{ + "title": "AccessControlLists_Get_MaximumSet_Gen", + "operationId": "AccessControlLists_Get", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "accessControlListName": "example-acl" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "configurationType": "File", + "aclsUrl": "https://ACL-Storage-URL", + "defaultAction": "Permit", + "matchConfigurations": [ + { + "matchConfigurationName": "example-match", + "sequenceNumber": 123, + "ipAddressType": "IPv4", + "matchConditions": [ + { + "protocolTypes": [ + "TCP" + ], + "vlanMatchCondition": { + "vlans": [ + "20-30" + ], + "innerVlans": [ + "30" + ], + "vlanGroupNames": [ + "example-vlanGroup" + ] + }, + "ipCondition": { + "type": "SourceIP", + "prefixType": "Prefix", + "ipPrefixValues": [ + "10.20.20.20/12" + ], + "ipGroupNames": [ + "example-ipGroup" + ] + }, + "etherTypes": [ + "0x1" + ], + "fragments": [ + "0xff00-0xffff" + ], + "ipLengths": [ + "4094-9214" + ], + "ttlValues": [ + "23" + ], + "dscpMarkings": [ + "32" + ], + "protocolNeighbors": [ + "example-neighbor" + ], + "portCondition": { + "portType": "SourcePort", + "layer4Protocol": "TCP", + "ports": [ + "1-20" + ], + "portGroupNames": [ + "example-portGroup" + ], + "flags": [ + "established" + ] + }, + "icmpConfiguration": { + "icmpTypes": [ + "echo" + ] + } + } + ], + "actions": [ + { + "type": "Count", + "counterName": "example-counter", + "remarkComment": "example-remark", + "policeRateConfiguration": { + "bitRate": { + "rate": 15, + "unit": "bps" + }, + "burstSize": { + "size": 2, + "unit": "Bytes" + } + } + } + ] + } + ], + "dynamicMatchConfigurations": [ + { + "ipGroups": [ + { + "name": "example-ipGroup", + "ipAddressType": "IPv4", + "ipPrefixes": [ + "10.20.3.1/20" + ] + } + ], + "vlanGroups": [ + { + "name": "example-vlanGroup", + "vlans": [ + "20-30" + ] + } + ], + "portGroups": [ + { + "name": "example-portGroup", + "ports": [ + "100-200" + ] + } + ] + } + ], + "lastSyncedTime": "2023-06-17T08:56:23.203Z", + "aclType": "ControlPlaneTrafficPolicy", + "deviceRole": "CE", + "globalAccessControlListActions": { + "enableCount": "True" + }, + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "keyValue" + }, + "location": "eastUs", + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "name": "example-acl", + "type": "microsoft.managednetworkfabric/accessControlLists", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/AccessControlLists_ListByResourceGroup.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/AccessControlLists_ListByResourceGroup.json new file mode 100644 index 000000000000..cba54d8fba1e --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/AccessControlLists_ListByResourceGroup.json @@ -0,0 +1,170 @@ +{ + "title": "AccessControlLists_ListByResourceGroup_MaximumSet_Gen", + "operationId": "AccessControlLists_ListByResourceGroup", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "configurationType": "File", + "aclsUrl": "https://ACL-Storage-URL", + "defaultAction": "Permit", + "matchConfigurations": [ + { + "matchConfigurationName": "example-match", + "sequenceNumber": 123, + "ipAddressType": "IPv4", + "matchConditions": [ + { + "protocolTypes": [ + "TCP" + ], + "vlanMatchCondition": { + "vlans": [ + "20-30" + ], + "innerVlans": [ + "30" + ], + "vlanGroupNames": [ + "example-vlanGroup" + ] + }, + "ipCondition": { + "type": "SourceIP", + "prefixType": "Prefix", + "ipPrefixValues": [ + "10.20.20.20/12" + ], + "ipGroupNames": [ + "example-ipGroup" + ] + }, + "etherTypes": [ + "0x1" + ], + "fragments": [ + "0xff00-0xffff" + ], + "ipLengths": [ + "4094-9214" + ], + "ttlValues": [ + "23" + ], + "dscpMarkings": [ + "32" + ], + "protocolNeighbors": [ + "example-neighbor" + ], + "portCondition": { + "portType": "SourcePort", + "layer4Protocol": "TCP", + "ports": [ + "1-20" + ], + "portGroupNames": [ + "example-portGroup" + ], + "flags": [ + "established" + ] + }, + "icmpConfiguration": { + "icmpTypes": [ + "echo" + ] + } + } + ], + "actions": [ + { + "type": "Count", + "counterName": "example-counter", + "remarkComment": "example-remark", + "policeRateConfiguration": { + "bitRate": { + "rate": 15, + "unit": "bps" + }, + "burstSize": { + "size": 2, + "unit": "Bytes" + } + } + } + ] + } + ], + "dynamicMatchConfigurations": [ + { + "ipGroups": [ + { + "name": "example-ipGroup", + "ipAddressType": "IPv4", + "ipPrefixes": [ + "10.20.3.1/20" + ] + } + ], + "vlanGroups": [ + { + "name": "example-vlanGroup", + "vlans": [ + "20-30" + ] + } + ], + "portGroups": [ + { + "name": "example-portGroup", + "ports": [ + "100-200" + ] + } + ] + } + ], + "lastSyncedTime": "2023-06-17T08:56:23.203Z", + "aclType": "ControlPlaneTrafficPolicy", + "deviceRole": "CE", + "globalAccessControlListActions": { + "enableCount": "True" + }, + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "keyValue" + }, + "location": "eastUs", + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "name": "example-acl", + "type": "microsoft.managednetworkfabric/accessControlLists", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/AccessControlLists_ListBySubscription.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/AccessControlLists_ListBySubscription.json new file mode 100644 index 000000000000..123cae6f5ddd --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/AccessControlLists_ListBySubscription.json @@ -0,0 +1,169 @@ +{ + "title": "AccessControlLists_ListBySubscription_MaximumSet_Gen", + "operationId": "AccessControlLists_ListBySubscription", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "configurationType": "File", + "aclsUrl": "https://ACL-Storage-URL", + "defaultAction": "Permit", + "matchConfigurations": [ + { + "matchConfigurationName": "example-match", + "sequenceNumber": 123, + "ipAddressType": "IPv4", + "matchConditions": [ + { + "protocolTypes": [ + "TCP" + ], + "vlanMatchCondition": { + "vlans": [ + "20-30" + ], + "innerVlans": [ + "30" + ], + "vlanGroupNames": [ + "example-vlanGroup" + ] + }, + "ipCondition": { + "type": "SourceIP", + "prefixType": "Prefix", + "ipPrefixValues": [ + "10.20.20.20/12" + ], + "ipGroupNames": [ + "example-ipGroup" + ] + }, + "etherTypes": [ + "0x1" + ], + "fragments": [ + "0xff00-0xffff" + ], + "ipLengths": [ + "4094-9214" + ], + "ttlValues": [ + "23" + ], + "dscpMarkings": [ + "32" + ], + "protocolNeighbors": [ + "example-neighbor" + ], + "portCondition": { + "portType": "SourcePort", + "layer4Protocol": "TCP", + "ports": [ + "1-20" + ], + "portGroupNames": [ + "example-portGroup" + ], + "flags": [ + "established" + ] + }, + "icmpConfiguration": { + "icmpTypes": [ + "echo" + ] + } + } + ], + "actions": [ + { + "type": "Count", + "counterName": "example-counter", + "remarkComment": "example-remark", + "policeRateConfiguration": { + "bitRate": { + "rate": 15, + "unit": "bps" + }, + "burstSize": { + "size": 2, + "unit": "Bytes" + } + } + } + ] + } + ], + "dynamicMatchConfigurations": [ + { + "ipGroups": [ + { + "name": "example-ipGroup", + "ipAddressType": "IPv4", + "ipPrefixes": [ + "10.20.3.1/20" + ] + } + ], + "vlanGroups": [ + { + "name": "example-vlanGroup", + "vlans": [ + "20-30" + ] + } + ], + "portGroups": [ + { + "name": "example-portGroup", + "ports": [ + "100-200" + ] + } + ] + } + ], + "lastSyncedTime": "2023-06-17T08:56:23.203Z", + "aclType": "ControlPlaneTrafficPolicy", + "deviceRole": "CE", + "globalAccessControlListActions": { + "enableCount": "True" + }, + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "keyValue" + }, + "location": "eastUs", + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "name": "example-acl", + "type": "microsoft.managednetworkfabric/accessControlLists", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/AccessControlLists_Resync.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/AccessControlLists_Resync.json new file mode 100644 index 000000000000..01d3ca5bd192 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/AccessControlLists_Resync.json @@ -0,0 +1,34 @@ +{ + "title": "AccessControlLists_Resync_MaximumSet_Gen", + "operationId": "AccessControlLists_Resync", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "accessControlListName": "example-acl" + }, + "responses": { + "200": { + "body": { + "configurationState": "Succeeded", + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/AccessControlLists_Update.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/AccessControlLists_Update.json new file mode 100644 index 000000000000..d46cf9755223 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/AccessControlLists_Update.json @@ -0,0 +1,304 @@ +{ + "title": "AccessControlLists_Update_MaximumSet_Gen", + "operationId": "AccessControlLists_Update", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "accessControlListName": "example-acl", + "properties": { + "tags": { + "KeyId": "KeyValue" + }, + "properties": { + "configurationType": "File", + "aclsUrl": "https://microsoft.com/a", + "defaultAction": "Permit", + "matchConfigurations": [ + { + "matchConfigurationName": "example-match", + "sequenceNumber": 123, + "ipAddressType": "IPv4", + "matchConditions": [ + { + "protocolTypes": [ + "TCP" + ], + "vlanMatchCondition": { + "vlans": [ + "20-30" + ], + "innerVlans": [ + "30" + ], + "vlanGroupNames": [ + "example-vlanGroup" + ] + }, + "ipCondition": { + "type": "SourceIP", + "prefixType": "Prefix", + "ipPrefixValues": [ + "10.20.20.20/12" + ], + "ipGroupNames": [ + "example-ipGroup" + ] + }, + "etherTypes": [ + "0x1" + ], + "fragments": [ + "0xff00-0xffff" + ], + "ipLengths": [ + "4094-9214" + ], + "ttlValues": [ + "23" + ], + "dscpMarkings": [ + "32" + ], + "portCondition": { + "portType": "SourcePort", + "layer4Protocol": "TCP", + "ports": [ + "1-20" + ], + "portGroupNames": [ + "example-portGroup" + ], + "flags": [ + "established" + ] + }, + "protocolNeighbors": [ + "example-neighbor" + ], + "icmpConfiguration": { + "icmpTypes": [ + "echo" + ] + } + } + ], + "actions": [ + { + "type": "Count", + "counterName": "example-counter", + "remarkComment": "example-remark", + "policeRateConfiguration": { + "bitRate": { + "rate": 15, + "unit": "bps" + }, + "burstSize": { + "size": 2, + "unit": "Bytes" + } + } + } + ] + } + ], + "dynamicMatchConfigurations": [ + { + "ipGroups": [ + { + "name": "example-ipGroup", + "ipAddressType": "IPv4", + "ipPrefixes": [ + "10.20.3.1/20" + ] + } + ], + "vlanGroups": [ + { + "name": "example-vlanGroup", + "vlans": [ + "20-30" + ] + } + ], + "portGroups": [ + { + "name": "example-portGroup", + "ports": [ + "100-200" + ] + } + ] + } + ], + "aclType": "ControlPlaneTrafficPolicy", + "deviceRole": "CE", + "globalAccessControlListActions": { + "enableCount": "True" + }, + "annotation": "annotation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "configurationType": "File", + "aclsUrl": "https://ACL-Storage-URL", + "defaultAction": "Permit", + "matchConfigurations": [ + { + "matchConfigurationName": "example-match", + "sequenceNumber": 123, + "ipAddressType": "IPv4", + "matchConditions": [ + { + "protocolTypes": [ + "TCP" + ], + "vlanMatchCondition": { + "vlans": [ + "20-30" + ], + "innerVlans": [ + "30" + ], + "vlanGroupNames": [ + "example-vlanGroup" + ] + }, + "ipCondition": { + "type": "SourceIP", + "prefixType": "Prefix", + "ipPrefixValues": [ + "10.20.20.20/12" + ], + "ipGroupNames": [ + "example-ipGroup" + ] + }, + "etherTypes": [ + "0x1" + ], + "fragments": [ + "0xff00-0xffff" + ], + "ipLengths": [ + "4094-9214" + ], + "ttlValues": [ + "23" + ], + "dscpMarkings": [ + "32" + ], + "protocolNeighbors": [ + "example-neighbor" + ], + "portCondition": { + "portType": "SourcePort", + "layer4Protocol": "TCP", + "ports": [ + "1-20" + ], + "portGroupNames": [ + "example-portGroup" + ], + "flags": [ + "established" + ] + }, + "icmpConfiguration": { + "icmpTypes": [ + "echo" + ] + } + } + ], + "actions": [ + { + "type": "Count", + "counterName": "example-counter", + "remarkComment": "remark-comment", + "policeRateConfiguration": { + "bitRate": { + "rate": 15, + "unit": "bps" + }, + "burstSize": { + "size": 2, + "unit": "Bytes" + } + } + } + ] + } + ], + "dynamicMatchConfigurations": [ + { + "ipGroups": [ + { + "name": "example-ipGroup", + "ipAddressType": "IPv4", + "ipPrefixes": [ + "10.20.3.1/20" + ] + } + ], + "vlanGroups": [ + { + "name": "example-vlanGroup", + "vlans": [ + "20-30" + ] + } + ], + "portGroups": [ + { + "name": "example-portGroup", + "ports": [ + "100-200" + ] + } + ] + } + ], + "lastSyncedTime": "2023-06-17T08:56:23.203Z", + "aclType": "ControlPlaneTrafficPolicy", + "deviceRole": "CE", + "globalAccessControlListActions": { + "enableCount": "True" + }, + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "keyValue" + }, + "location": "eastUs", + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "name": "example-acl", + "type": "microsoft.managednetworkfabric/accessControlLists", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/AccessControlLists_UpdateAdministrativeState.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/AccessControlLists_UpdateAdministrativeState.json new file mode 100644 index 000000000000..a7b43bbb1a22 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/AccessControlLists_UpdateAdministrativeState.json @@ -0,0 +1,40 @@ +{ + "title": "AccessControlLists_UpdateAdministrativeState_MaximumSet_Gen", + "operationId": "AccessControlLists_UpdateAdministrativeState", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "accessControlListName": "example-acl", + "body": { + "resourceIds": [ + "" + ], + "state": "Enable" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/AccessControlLists_ValidateConfiguration.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/AccessControlLists_ValidateConfiguration.json new file mode 100644 index 000000000000..81b6a94e7b8f --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/AccessControlLists_ValidateConfiguration.json @@ -0,0 +1,35 @@ +{ + "title": "AccessControlLists_ValidateConfiguration_MaximumSet_Gen", + "operationId": "AccessControlLists_ValidateConfiguration", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "accessControlListName": "example-acl" + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded", + "url": "https://ActionDetails" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/ExternalNetworks_Create.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/ExternalNetworks_Create.json new file mode 100644 index 000000000000..70996a3338d7 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/ExternalNetworks_Create.json @@ -0,0 +1,351 @@ +{ + "title": "ExternalNetworks_Create_MaximumSet_Gen", + "operationId": "ExternalNetworks_Create", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-externalnetwork", + "externalNetworkName": "example-ext", + "resource": { + "properties": { + "annotation": "annotation", + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10039" + ], + "exportRouteTargets": [ + "65046:10039" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "primaryIpv4Prefix": "10.1.1.0/30", + "primaryIpv6Prefix": "3FFE:FFFF:0:CD30::a0/126", + "secondaryIpv4Prefix": "10.1.1.4/30", + "secondaryIpv6Prefix": "3FFE:FFFF:0:CD30::a4/126", + "mtu": 1500, + "vlanId": 1001, + "peerASN": 65047, + "bfdConfiguration": { + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "bmpConfiguration": { + "configurationState": "Enabled" + }, + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "v4OverV6BgpSession": "Enabled", + "v6OverV4BgpSession": "Enabled", + "nativeIpv4PrefixLimit": { + "prefixLimits": [ + { + "maximumRoutes": 14, + "threshold": 17, + "idleTimeExpiry": 7 + } + ] + }, + "nativeIpv6PrefixLimit": { + "prefixLimits": [ + { + "maximumRoutes": 14, + "threshold": 17, + "idleTimeExpiry": 7 + } + ] + } + }, + "staticRouteConfiguration": { + "bfdConfiguration": { + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "10.0.0.1/24", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "2fff::/64", + "nextHop": [ + "3ffe::1" + ] + } + ] + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10039" + ], + "exportRouteTargets": [ + "65046:10039" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "primaryIpv4Prefix": "10.1.1.0/30", + "primaryIpv6Prefix": "3FFE:FFFF:0:CD30::a0/126", + "secondaryIpv4Prefix": "10.1.1.4/30", + "secondaryIpv6Prefix": "3FFE:FFFF:0:CD30::a4/126", + "mtu": 1500, + "vlanId": 1001, + "fabricASN": 1234, + "peerASN": 65047, + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "bmpConfiguration": { + "configurationState": "Enabled" + }, + "v4OverV6BgpSession": "Enabled", + "v6OverV4BgpSession": "Enabled", + "nativeIpv4PrefixLimit": { + "prefixLimits": [ + { + "maximumRoutes": 14, + "threshold": 17, + "idleTimeExpiry": 7 + } + ] + }, + "nativeIpv6PrefixLimit": { + "prefixLimits": [ + { + "maximumRoutes": 14, + "threshold": 17, + "idleTimeExpiry": 7 + } + ] + } + }, + "staticRouteConfiguration": { + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "10.0.0.1/24", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "2fff::/64", + "nextHop": [ + "3ffe::1" + ] + } + ] + }, + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain/externalNetworks/example-externalnetwork", + "name": "example-externalnetwork", + "type": "microsoft.managednetworkfabric/l3IsolationDomains/externalnetworks", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotation", + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10039" + ], + "exportRouteTargets": [ + "65046:10039" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "primaryIpv4Prefix": "10.1.1.0/30", + "primaryIpv6Prefix": "3FFE:FFFF:0:CD30::a0/126", + "secondaryIpv4Prefix": "10.1.1.4/30", + "secondaryIpv6Prefix": "3FFE:FFFF:0:CD30::a4/126", + "mtu": 1500, + "vlanId": 1001, + "fabricASN": 1234, + "peerASN": 65047, + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "bmpConfiguration": { + "configurationState": "Enabled" + }, + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "v4OverV6BgpSession": "Enabled", + "v6OverV4BgpSession": "Enabled", + "nativeIpv4PrefixLimit": { + "prefixLimits": [ + { + "maximumRoutes": 14, + "threshold": 17, + "idleTimeExpiry": 7 + } + ] + }, + "nativeIpv6PrefixLimit": { + "prefixLimits": [ + { + "maximumRoutes": 14, + "threshold": 17, + "idleTimeExpiry": 7 + } + ] + } + }, + "staticRouteConfiguration": { + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "10.0.0.1/24", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "2fff::/64", + "nextHop": [ + "3ffe::1" + ] + } + ] + }, + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain/externalNetworks/example-externalnetwork", + "name": "example-externalnetwork", + "type": "microsoft.managednetworkfabric/l3IsolationDomains/externalnetworks", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/ExternalNetworks_Delete.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/ExternalNetworks_Delete.json new file mode 100644 index 000000000000..18cc361079eb --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/ExternalNetworks_Delete.json @@ -0,0 +1,19 @@ +{ + "title": "ExternalNetworks_Delete_MaximumSet_Gen", + "operationId": "ExternalNetworks_Delete", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-externalnetwork", + "externalNetworkName": "example-ext" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/ExternalNetworks_Get.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/ExternalNetworks_Get.json new file mode 100644 index 000000000000..998babe4aebc --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/ExternalNetworks_Get.json @@ -0,0 +1,132 @@ +{ + "title": "ExternalNetworks_Get_MaximumSet_Gen", + "operationId": "ExternalNetworks_Get", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-externalnetwork", + "externalNetworkName": "example-ext" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10039" + ], + "exportRouteTargets": [ + "65046:10039" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "primaryIpv4Prefix": "10.1.1.0/30", + "primaryIpv6Prefix": "3FFE:FFFF:0:CD30::a0/126", + "secondaryIpv4Prefix": "10.1.1.4/30", + "secondaryIpv6Prefix": "3FFE:FFFF:0:CD30::a4/126", + "mtu": 1500, + "vlanId": 1001, + "fabricASN": 1234, + "peerASN": 65047, + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "bmpConfiguration": { + "configurationState": "Enabled" + }, + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "v4OverV6BgpSession": "Enabled", + "v6OverV4BgpSession": "Enabled", + "nativeIpv4PrefixLimit": { + "prefixLimits": [ + { + "maximumRoutes": 14, + "threshold": 17, + "idleTimeExpiry": 7 + } + ] + }, + "nativeIpv6PrefixLimit": { + "prefixLimits": [ + { + "maximumRoutes": 14, + "threshold": 17, + "idleTimeExpiry": 7 + } + ] + } + }, + "staticRouteConfiguration": { + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "10.0.0.1/24", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "2fff::/64", + "nextHop": [ + "3ffe::1" + ] + } + ] + }, + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain/externalNetworks/example-externalnetwork", + "name": "example-externalnetwork", + "type": "microsoft.managednetworkfabric/l3IsolationDomains/externalnetworks", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/ExternalNetworks_ListByL3IsolationDomain.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/ExternalNetworks_ListByL3IsolationDomain.json new file mode 100644 index 000000000000..bec10c2d0cfe --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/ExternalNetworks_ListByL3IsolationDomain.json @@ -0,0 +1,136 @@ +{ + "title": "ExternalNetworks_ListByL3IsolationDomain_MaximumSet_Gen", + "operationId": "ExternalNetworks_ListByL3IsolationDomain", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-externalnetwork" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10039" + ], + "exportRouteTargets": [ + "65046:10039" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "primaryIpv4Prefix": "10.1.1.0/30", + "primaryIpv6Prefix": "3FFE:FFFF:0:CD30::a0/126", + "secondaryIpv4Prefix": "10.1.1.4/30", + "secondaryIpv6Prefix": "3FFE:FFFF:0:CD30::a4/126", + "mtu": 1500, + "vlanId": 1001, + "fabricASN": 1234, + "peerASN": 65047, + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "bmpConfiguration": { + "configurationState": "Enabled" + }, + "v4OverV6BgpSession": "Enabled", + "v6OverV4BgpSession": "Enabled", + "nativeIpv4PrefixLimit": { + "prefixLimits": [ + { + "maximumRoutes": 14, + "threshold": 17, + "idleTimeExpiry": 7 + } + ] + }, + "nativeIpv6PrefixLimit": { + "prefixLimits": [ + { + "maximumRoutes": 14, + "threshold": 17, + "idleTimeExpiry": 7 + } + ] + } + }, + "staticRouteConfiguration": { + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "10.0.0.1/14", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "2fff::/64", + "nextHop": [ + "3ffe::1" + ] + } + ] + }, + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain/externalNetworks/example-externalnetwork", + "name": "example-externalnetwork", + "type": "microsoft.managednetworkfabric/l3IsolationDomains/externalnetworks", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/ExternalNetworks_Update.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/ExternalNetworks_Update.json new file mode 100644 index 000000000000..44f02e6664ff --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/ExternalNetworks_Update.json @@ -0,0 +1,211 @@ +{ + "title": "ExternalNetworks_Update_MaximumSet_Gen", + "operationId": "ExternalNetworks_Update", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-externalnetwork", + "externalNetworkName": "example-ext", + "properties": { + "properties": { + "annotation": "annotation1", + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10039" + ], + "exportRouteTargets": [ + "65046:10039" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "primaryIpv4Prefix": "10.1.1.0/30", + "primaryIpv6Prefix": "3FFE:FFFF:0:CD30::a0/126", + "secondaryIpv4Prefix": "10.1.1.4/30", + "secondaryIpv6Prefix": "3FFE:FFFF:0:CD30::a4/126", + "mtu": 1500, + "vlanId": 1001, + "peerASN": 65047, + "bfdConfiguration": { + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "bmpConfiguration": { + "configurationState": "Enabled" + }, + "v4OverV6BgpSession": "Enabled", + "v6OverV4BgpSession": "Enabled", + "nativeIpv4PrefixLimit": { + "prefixLimits": [ + { + "maximumRoutes": 13, + "threshold": 24, + "idleTimeExpiry": 8 + } + ] + }, + "nativeIpv6PrefixLimit": { + "prefixLimits": [ + { + "maximumRoutes": 13, + "threshold": 24, + "idleTimeExpiry": 8 + } + ] + } + }, + "staticRouteConfiguration": { + "bfdConfiguration": { + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "10.0.0.1/14", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "2fff::/64", + "nextHop": [ + "3ffe::1" + ] + } + ] + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10039" + ], + "exportRouteTargets": [ + "65046:10039" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "primaryIpv4Prefix": "10.1.1.0/30", + "primaryIpv6Prefix": "3FFE:FFFF:0:CD30::a0/126", + "secondaryIpv4Prefix": "10.1.1.4/30", + "secondaryIpv6Prefix": "3FFE:FFFF:0:CD30::a4/126", + "mtu": 1500, + "vlanId": 1001, + "fabricASN": 1234, + "peerASN": 65047, + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "bmpConfiguration": { + "configurationState": "Enabled" + } + }, + "staticRouteConfiguration": { + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "10.0.0.1/24", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "2fff::/64", + "nextHop": [ + "3ffe::1" + ] + } + ] + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain/externalNetworks/example-externalnetwork", + "name": "example-externalnetwork", + "type": "microsoft.managednetworkfabric/l3IsolationDomains/externalnetworks", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/ExternalNetworks_UpdateAdministrativeState.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/ExternalNetworks_UpdateAdministrativeState.json new file mode 100644 index 000000000000..b99bfe2d77a5 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/ExternalNetworks_UpdateAdministrativeState.json @@ -0,0 +1,41 @@ +{ + "title": "ExternalNetworks_UpdateAdministrativeState_MaximumSet_Gen", + "operationId": "ExternalNetworks_UpdateAdministrativeState", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-externalnetwork", + "externalNetworkName": "example-ext", + "body": { + "resourceIds": [ + "" + ], + "state": "Enable" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/ExternalNetworks_UpdateBfdAdministrativeState.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/ExternalNetworks_UpdateBfdAdministrativeState.json new file mode 100644 index 000000000000..91034d0e614a --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/ExternalNetworks_UpdateBfdAdministrativeState.json @@ -0,0 +1,40 @@ +{ + "title": "ExternalNetworks_UpdateBfdAdministrativeState", + "operationId": "ExternalNetworks_UpdateBfdAdministrativeState", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-externalnetwork", + "externalNetworkName": "example-ext", + "body": { + "routeType": "Static", + "administrativeState": "Enable" + } + }, + "responses": { + "200": { + "body": { + "routeType": "Static", + "administrativeState": "Enable", + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/InternalNetworks_Create.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/InternalNetworks_Create.json new file mode 100644 index 000000000000..8aacf8f265c4 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/InternalNetworks_Create.json @@ -0,0 +1,397 @@ +{ + "title": "InternalNetworks_Create_MaximumSet_Gen", + "operationId": "InternalNetworks_Create", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-l3isd", + "internalNetworkName": "example-internalnetwork", + "resource": { + "properties": { + "annotation": "annotation", + "mtu": 1500, + "connectedIPv4Subnets": [ + { + "annotation": "annotation", + "prefix": "10.0.0.0/24" + } + ], + "connectedIPv6Subnets": [ + { + "annotation": "annotation", + "prefix": "3FFE:FFFF:0:CD30::a0/29" + } + ], + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "isMonitoringEnabled": "True", + "extension": "NoExtension", + "vlanId": 755, + "bgpConfiguration": { + "annotation": "annotation", + "bfdConfiguration": { + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "defaultRouteOriginate": "True", + "allowAS": 10, + "allowASOverride": "Enable", + "peerASN": 61234, + "ipv4ListenRangePrefixes": [ + "10.1.0.0/25" + ], + "ipv6ListenRangePrefixes": [ + "2fff::/66" + ], + "ipv4NeighborAddress": [ + { + "address": "10.1.0.0", + "bfdAdministrativeState": "Enable", + "bgpAdministrativeState": "Enable" + } + ], + "ipv6NeighborAddress": [ + { + "address": "2fff::", + "bfdAdministrativeState": "Enable", + "bgpAdministrativeState": "Enable" + } + ], + "bmpConfiguration": { + "neighborIpExclusions": [ + "10.0.0.1" + ], + "bmpConfigurationState": "Enabled" + }, + "v4OverV6BgpSession": "Enabled", + "v6OverV4BgpSession": "Enabled" + }, + "staticRouteConfiguration": { + "bfdConfiguration": { + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "10.0.0.1/24", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "2fff::/64", + "nextHop": [ + "3ffe::1" + ] + } + ], + "extension": "NoExtension" + }, + "nativeIpv4PrefixLimit": { + "prefixLimits": [ + { + "maximumRoutes": 23, + "threshold": 7, + "idleTimeExpiry": 28 + } + ] + }, + "nativeIpv6PrefixLimit": { + "prefixLimits": [ + { + "maximumRoutes": 23, + "threshold": 7, + "idleTimeExpiry": 28 + } + ] + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "mtu": 1500, + "connectedIPv4Subnets": [ + { + "prefix": "10.0.0.0/24", + "annotation": "annotation" + } + ], + "connectedIPv6Subnets": [ + { + "prefix": "3FFE:FFFF:0:CD30::a0/29", + "annotation": "annotation" + } + ], + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "isMonitoringEnabled": "True", + "extension": "NoExtension", + "vlanId": 755, + "bgpConfiguration": { + "annotation": "annotation", + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "defaultRouteOriginate": "True", + "allowAS": 10, + "allowASOverride": "Enable", + "fabricASN": 20, + "peerASN": 61234, + "ipv4ListenRangePrefixes": [ + "10.1.0.0/25" + ], + "ipv6ListenRangePrefixes": [ + "2fff::/66" + ], + "ipv4NeighborAddress": [ + { + "address": "10.1.0.0", + "bfdAdministrativeState": "Enable", + "bgpAdministrativeState": "Enable", + "configurationState": "Succeeded" + } + ], + "ipv6NeighborAddress": [ + { + "address": "2fff::", + "bfdAdministrativeState": "Enable", + "bgpAdministrativeState": "Enable", + "configurationState": "Succeeded" + } + ], + "bmpConfiguration": { + "neighborIpExclusions": [ + "10.0.0.1" + ], + "bmpConfigurationState": "Enabled" + }, + "v4OverV6BgpSession": "Enabled", + "v6OverV4BgpSession": "Enabled" + }, + "staticRouteConfiguration": { + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "10.0.0.1/24", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "2fff::/64", + "nextHop": [ + "3ffe::1" + ] + } + ], + "extension": "NoExtension" + }, + "nativeIpv4PrefixLimit": { + "prefixLimits": [ + { + "maximumRoutes": 23, + "threshold": 7, + "idleTimeExpiry": 28 + } + ] + }, + "nativeIpv6PrefixLimit": { + "prefixLimits": [ + { + "maximumRoutes": 23, + "threshold": 7, + "idleTimeExpiry": 28 + } + ] + }, + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain/internalNetworks/example-internalnetwork", + "name": "example-internalnetwork", + "type": "microsoft.managednetworkfabric/l3IsolationDomains/internalnetworks", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotation", + "mtu": 1500, + "connectedIPv4Subnets": [ + { + "prefix": "10.0.0.0/24", + "annotation": "annotation" + } + ], + "connectedIPv6Subnets": [ + { + "prefix": "3FFE:FFFF:0:CD30::a0/29", + "annotation": "annotation" + } + ], + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "isMonitoringEnabled": "True", + "extension": "NoExtension", + "vlanId": 755, + "bgpConfiguration": { + "annotation": "annotation", + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "defaultRouteOriginate": "True", + "allowAS": 10, + "allowASOverride": "Enable", + "fabricASN": 20, + "peerASN": 61234, + "ipv4ListenRangePrefixes": [ + "10.1.0.0/25" + ], + "ipv6ListenRangePrefixes": [ + "2fff::/66" + ], + "ipv4NeighborAddress": [ + { + "address": "10.1.0.0", + "bfdAdministrativeState": "Enable", + "bgpAdministrativeState": "Enable", + "configurationState": "Succeeded" + } + ], + "ipv6NeighborAddress": [ + { + "address": "2fff::", + "bfdAdministrativeState": "Enable", + "bgpAdministrativeState": "Enable", + "configurationState": "Succeeded" + } + ], + "bmpConfiguration": { + "neighborIpExclusions": [ + "10.0.0.1" + ], + "bmpConfigurationState": "Enabled" + }, + "v4OverV6BgpSession": "Enabled", + "v6OverV4BgpSession": "Enabled" + }, + "staticRouteConfiguration": { + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "10.0.0.1/24", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "2fff::/64", + "nextHop": [ + "3ffe::1" + ] + } + ], + "extension": "NoExtension" + }, + "nativeIpv4PrefixLimit": { + "prefixLimits": [ + { + "maximumRoutes": 23, + "threshold": 7, + "idleTimeExpiry": 28 + } + ] + }, + "nativeIpv6PrefixLimit": { + "prefixLimits": [ + { + "maximumRoutes": 23, + "threshold": 7, + "idleTimeExpiry": 28 + } + ] + }, + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain/internalNetworks/example-internalnetwork", + "name": "example-internalnetwork", + "type": "microsoft.managednetworkfabric/l3IsolationDomains/internalnetworks", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/InternalNetworks_Delete.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/InternalNetworks_Delete.json new file mode 100644 index 000000000000..5f00e70f4ee8 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/InternalNetworks_Delete.json @@ -0,0 +1,19 @@ +{ + "title": "InternalNetworks_Delete_MaximumSet_Gen", + "operationId": "InternalNetworks_Delete", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-l3isd", + "internalNetworkName": "example-internalnetwork" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/InternalNetworks_Get.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/InternalNetworks_Get.json new file mode 100644 index 000000000000..ccc0f105724f --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/InternalNetworks_Get.json @@ -0,0 +1,148 @@ +{ + "title": "InternalNetworks_Get_MaximumSet_Gen", + "operationId": "InternalNetworks_Get", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-l3isd", + "internalNetworkName": "example-internalnetwork" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "mtu": 1500, + "connectedIPv4Subnets": [ + { + "prefix": "10.0.0.0/24", + "annotation": "annotation" + } + ], + "connectedIPv6Subnets": [ + { + "prefix": "3FFE:FFFF:0:CD30::a0/29", + "annotation": "annotation" + } + ], + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "isMonitoringEnabled": "True", + "extension": "NoExtension", + "vlanId": 755, + "bgpConfiguration": { + "annotation": "annotation", + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "defaultRouteOriginate": "True", + "allowAS": 10, + "allowASOverride": "Enable", + "fabricASN": 20, + "peerASN": 61234, + "ipv4ListenRangePrefixes": [ + "10.1.0.0/25" + ], + "ipv6ListenRangePrefixes": [ + "2fff::/66" + ], + "ipv4NeighborAddress": [ + { + "address": "10.1.0.0", + "bfdAdministrativeState": "Enable", + "bgpAdministrativeState": "Enable", + "configurationState": "Succeeded" + } + ], + "ipv6NeighborAddress": [ + { + "address": "2fff::", + "bfdAdministrativeState": "Enable", + "bgpAdministrativeState": "Enable", + "configurationState": "Succeeded" + } + ], + "bmpConfiguration": { + "neighborIpExclusions": [ + "10.0.0.1/24" + ], + "bmpConfigurationState": "Enabled" + }, + "v4OverV6BgpSession": "Enabled", + "v6OverV4BgpSession": "Enabled" + }, + "staticRouteConfiguration": { + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "jffgck", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "2fff::/64", + "nextHop": [ + "3ffe::1" + ] + } + ], + "extension": "NoExtension" + }, + "nativeIpv4PrefixLimit": { + "prefixLimits": [ + { + "maximumRoutes": 23, + "threshold": 7, + "idleTimeExpiry": 28 + } + ] + }, + "nativeIpv6PrefixLimit": { + "prefixLimits": [ + { + "maximumRoutes": 23, + "threshold": 7, + "idleTimeExpiry": 28 + } + ] + }, + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain/internalNetworks/example-internalnetwork", + "name": "example-internalnetwork", + "type": "microsoft.managednetworkfabric/l3IsolationDomains/internalnetworks", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/InternalNetworks_ListByL3IsolationDomain.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/InternalNetworks_ListByL3IsolationDomain.json new file mode 100644 index 000000000000..226e7ae9b7c1 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/InternalNetworks_ListByL3IsolationDomain.json @@ -0,0 +1,152 @@ +{ + "title": "InternalNetworks_ListByL3IsolationDomain_MaximumSet_Gen", + "operationId": "InternalNetworks_ListByL3IsolationDomain", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-l3isd" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "mtu": 1500, + "connectedIPv4Subnets": [ + { + "prefix": "10.0.0.0/24", + "annotation": "annotation" + } + ], + "connectedIPv6Subnets": [ + { + "prefix": "3FFE:FFFF:0:CD30::a0/29", + "annotation": "annotation" + } + ], + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "isMonitoringEnabled": "True", + "extension": "NoExtension", + "vlanId": 755, + "bgpConfiguration": { + "annotation": "annotation", + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "defaultRouteOriginate": "True", + "allowAS": 10, + "allowASOverride": "Enable", + "fabricASN": 20, + "peerASN": 61234, + "ipv4ListenRangePrefixes": [ + "10.1.0.0/25" + ], + "ipv6ListenRangePrefixes": [ + "2fff::/66" + ], + "ipv4NeighborAddress": [ + { + "address": "10.1.0.0", + "bfdAdministrativeState": "Enable", + "bgpAdministrativeState": "Enable", + "configurationState": "Succeeded" + } + ], + "ipv6NeighborAddress": [ + { + "address": "2fff::", + "bfdAdministrativeState": "Enable", + "bgpAdministrativeState": "Enable", + "configurationState": "Succeeded" + } + ], + "bmpConfiguration": { + "neighborIpExclusions": [ + "10.0.0.1/24" + ], + "bmpConfigurationState": "Enabled" + }, + "v4OverV6BgpSession": "Enabled", + "v6OverV4BgpSession": "Enabled" + }, + "staticRouteConfiguration": { + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "jffgck", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "2fff::/64", + "nextHop": [ + "3ffe::1" + ] + } + ], + "extension": "NoExtension" + }, + "nativeIpv4PrefixLimit": { + "prefixLimits": [ + { + "maximumRoutes": 23, + "threshold": 7, + "idleTimeExpiry": 28 + } + ] + }, + "nativeIpv6PrefixLimit": { + "prefixLimits": [ + { + "maximumRoutes": 23, + "threshold": 7, + "idleTimeExpiry": 28 + } + ] + }, + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain/internalNetworks/example-internalnetwork", + "name": "example-internalnetwork", + "type": "microsoft.managednetworkfabric/l3IsolationDomains/internalnetworks", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/InternalNetworks_Update.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/InternalNetworks_Update.json new file mode 100644 index 000000000000..82745398d8ce --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/InternalNetworks_Update.json @@ -0,0 +1,258 @@ +{ + "title": "InternalNetworks_Update_MaximumSet_Gen", + "operationId": "InternalNetworks_Update", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-l3isd", + "internalNetworkName": "example-internalnetwork", + "properties": { + "properties": { + "annotation": "annotation", + "mtu": 1500, + "connectedIPv4Subnets": [ + { + "annotation": "annotation", + "prefix": "10.0.0.0/24" + } + ], + "connectedIPv6Subnets": [ + { + "annotation": "annotation", + "prefix": "10.0.0.0/24" + } + ], + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "isMonitoringEnabled": "True", + "bgpConfiguration": { + "annotation": "annotation", + "bfdConfiguration": { + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "defaultRouteOriginate": "True", + "allowAS": 10, + "allowASOverride": "Enable", + "peerASN": 61234, + "ipv4ListenRangePrefixes": [ + "10.1.0.0/25" + ], + "ipv6ListenRangePrefixes": [ + "2fff::/66" + ], + "ipv4NeighborAddress": [ + { + "address": "10.1.0.0", + "bfdAdministrativeState": "Enable", + "bgpAdministrativeState": "Enable" + } + ], + "ipv6NeighborAddress": [ + { + "address": "10.1.0.0", + "bfdAdministrativeState": "Enable", + "bgpAdministrativeState": "Enable" + } + ], + "bmpConfiguration": { + "neighborIpExclusions": [ + "10.0.0.10" + ], + "bmpConfigurationState": "Enabled" + }, + "v4OverV6BgpSession": "Enabled", + "v6OverV4BgpSession": "Enabled" + }, + "staticRouteConfiguration": { + "bfdConfiguration": { + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "jffgck", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "jffgck", + "nextHop": [ + "10.0.0.1" + ] + } + ] + }, + "nativeIpv4PrefixLimit": { + "prefixLimits": [ + { + "maximumRoutes": 24, + "threshold": 6, + "idleTimeExpiry": 20 + } + ] + }, + "nativeIpv6PrefixLimit": { + "prefixLimits": [ + { + "maximumRoutes": 24, + "threshold": 6, + "idleTimeExpiry": 20 + } + ] + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "mtu": 1500, + "connectedIPv4Subnets": [ + { + "prefix": "10.0.0.0/24", + "annotation": "annotation" + } + ], + "connectedIPv6Subnets": [ + { + "prefix": "3FFE:FFFF:0:CD30::a0/29", + "annotation": "annotation" + } + ], + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "isMonitoringEnabled": "True", + "extension": "NoExtension", + "vlanId": 755, + "bgpConfiguration": { + "annotation": "annotation", + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "defaultRouteOriginate": "True", + "allowAS": 10, + "allowASOverride": "Enable", + "fabricASN": 20, + "peerASN": 61234, + "ipv4ListenRangePrefixes": [ + "10.1.0.0/25" + ], + "ipv6ListenRangePrefixes": [ + "2fff::/66" + ], + "ipv4NeighborAddress": [ + { + "address": "10.1.0.0", + "bfdAdministrativeState": "Enable", + "bgpAdministrativeState": "Enable", + "configurationState": "Succeeded" + } + ], + "ipv6NeighborAddress": [ + { + "address": "2fff::", + "bfdAdministrativeState": "Enable", + "bgpAdministrativeState": "Enable", + "configurationState": "Succeeded" + } + ], + "bmpConfiguration": { + "neighborIpExclusions": [ + "10.0.0.1" + ], + "bmpConfigurationState": "Enabled" + }, + "v4OverV6BgpSession": "Enabled", + "v6OverV4BgpSession": "Enabled" + }, + "staticRouteConfiguration": { + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "jffgck", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "2fff::/64", + "nextHop": [ + "3ffe::1" + ] + } + ], + "extension": "NoExtension" + }, + "nativeIpv4PrefixLimit": { + "prefixLimits": [ + { + "maximumRoutes": 24, + "threshold": 7, + "idleTimeExpiry": 20 + } + ] + }, + "nativeIpv6PrefixLimit": { + "prefixLimits": [ + { + "maximumRoutes": 24, + "threshold": 7, + "idleTimeExpiry": 20 + } + ] + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain/internalNetworks/example-internalnetwork", + "name": "example-internalnetwork", + "type": "microsoft.managednetworkfabric/l3IsolationDomains/internalnetworks", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/InternalNetworks_UpdateAdministrativeState.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/InternalNetworks_UpdateAdministrativeState.json new file mode 100644 index 000000000000..e478dbdd8557 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/InternalNetworks_UpdateAdministrativeState.json @@ -0,0 +1,41 @@ +{ + "title": "InternalNetworks_UpdateAdministrativeState_MaximumSet_Gen", + "operationId": "InternalNetworks_UpdateAdministrativeState", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-l3isd", + "internalNetworkName": "example-internalnetwork", + "body": { + "resourceIds": [ + "" + ], + "state": "Enable" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/InternalNetworks_UpdateBfdAdministrativeState.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/InternalNetworks_UpdateBfdAdministrativeState.json new file mode 100644 index 000000000000..8a6aaf9a9d29 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/InternalNetworks_UpdateBfdAdministrativeState.json @@ -0,0 +1,46 @@ +{ + "title": "InternalNetworks_UpdateBfdAdministrativeState", + "operationId": "InternalNetworks_UpdateBfdAdministrativeState", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-l3isd", + "internalNetworkName": "example-internalnetwork", + "body": { + "routeType": "Static", + "neighborAddress": "10.10.1.10", + "administrativeState": "Enable" + } + }, + "responses": { + "200": { + "body": { + "neighborAddressAdministrativeStatus": [ + { + "neighborAddress": "10.10.1.10", + "administrativeState": "Enable", + "error": "" + } + ], + "error": { + "code": "bidbvvmy", + "message": "ekbarfd", + "target": "wpnbisaqlnidiilkhaadmu", + "details": [], + "additionalInfo": [ + { + "type": "qakayuauodscmplibrcmvrnvfnia", + "info": {} + } + ] + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/InternalNetworks_UpdateBgpAdministrativeState.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/InternalNetworks_UpdateBgpAdministrativeState.json new file mode 100644 index 000000000000..eb416992983f --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/InternalNetworks_UpdateBgpAdministrativeState.json @@ -0,0 +1,45 @@ +{ + "title": "InternalNetworks_UpdateBgpAdministrativeState_MaximumSet_Gen", + "operationId": "InternalNetworks_UpdateBgpAdministrativeState", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-l3isd", + "internalNetworkName": "example-internalnetwork", + "body": { + "neighborAddress": "10.10.10.10", + "administrativeState": "Enable" + } + }, + "responses": { + "200": { + "body": { + "neighborAddressAdministrativeStatus": [ + { + "neighborAddress": "10.10.10.10", + "administrativeState": "Enable", + "error": "" + } + ], + "error": { + "code": "bidbvvmy", + "message": "ekbarfd", + "target": "wpnbisaqlnidiilkhaadmu", + "details": [], + "additionalInfo": [ + { + "type": "qakayuauodscmplibrcmvrnvfnia", + "info": {} + } + ] + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/InternetGatewayRules_Create.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/InternetGatewayRules_Create.json new file mode 100644 index 000000000000..c8e8c74032d3 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/InternetGatewayRules_Create.json @@ -0,0 +1,139 @@ +{ + "title": "InternetGatewayRules_Create_MaximumSet_Gen", + "operationId": "InternetGatewayRules_Create", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "internetGatewayRuleName": "example-internetGatewayRule", + "resource": { + "properties": { + "annotation": "annotationValue", + "ruleProperties": { + "action": "Allow", + "addressList": [ + "10.10.10.10" + ], + "condition": "Or", + "destinationAddressList": [ + "11.11.10.11" + ], + "sourceAddressList": [ + "10.10.10.10" + ], + "headerAddressList": [ + { + "headerName": "abcHeader", + "addressList": [ + "10.10.10.10" + ] + } + ] + } + }, + "tags": { + "KeyID": "KeyValue" + }, + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotationValue", + "ruleProperties": { + "action": "Allow", + "addressList": [ + "10.10.10.10" + ], + "condition": "Or", + "destinationAddressList": [ + "11.11.10.11" + ], + "sourceAddressList": [ + "10.10.10.10" + ], + "headerAddressList": [ + { + "headerName": "abcHeader", + "addressList": [ + "10.10.10.10" + ] + } + ] + }, + "provisioningState": "Accepted", + "internetGatewayIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/internetGateways/example-internetGateway" + ] + }, + "tags": { + "KeyID": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/internetGatewayRules/example-InternetGatewayRule", + "name": "example-internetGatewayRule", + "type": "microsoft.managednetworkfabric/internetGatewayRules", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotationValue", + "ruleProperties": { + "action": "Allow", + "addressList": [ + "10.10.10.10" + ], + "condition": "Or", + "destinationAddressList": [ + "11.11.10.11" + ], + "sourceAddressList": [ + "10.10.10.10" + ], + "headerAddressList": [ + { + "headerName": "abcHeader", + "addressList": [ + "10.10.10.10" + ] + } + ] + }, + "provisioningState": "Accepted", + "internetGatewayIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/internetGateways/example-internetGateway" + ] + }, + "tags": { + "KeyID": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/internetGatewayRules/example-InternetGatewayRule", + "name": "example-internetGatewayRule", + "type": "microsoft.managednetworkfabric/internetGatewayRules", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/InternetGatewayRules_Delete.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/InternetGatewayRules_Delete.json new file mode 100644 index 000000000000..8906fb215958 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/InternetGatewayRules_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "InternetGatewayRules_Delete_MaximumSet_Gen", + "operationId": "InternetGatewayRules_Delete", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "internetGatewayRuleName": "example-internetGatewayRule" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/InternetGatewayRules_Get.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/InternetGatewayRules_Get.json new file mode 100644 index 000000000000..972a8004d9ca --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/InternetGatewayRules_Get.json @@ -0,0 +1,62 @@ +{ + "title": "InternetGatewayRules_Get_MaximumSet_Gen", + "operationId": "InternetGatewayRules_Get", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "internetGatewayRuleName": "example-internetGatewayRule" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotationValue", + "ruleProperties": { + "action": "Allow", + "addressList": [ + "10.10.10.10" + ], + "condition": "Or", + "destinationAddressList": [ + "11.11.10.11" + ], + "sourceAddressList": [ + "10.10.10.10" + ], + "headerAddressList": [ + { + "headerName": "abcHeader", + "addressList": [ + "10.10.10.10" + ] + } + ] + }, + "lastOperation": { + "details": "Succeeded" + }, + "provisioningState": "Accepted", + "internetGatewayIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/internetGateways/example-internetGateway" + ] + }, + "tags": { + "KeyID": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/internetGatewayRules/example-InternetGatewayRule", + "name": "example-internetGatewayRule", + "type": "microsoft.managednetworkfabric/internetGatewayRules", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/InternetGatewayRules_ListByResourceGroup.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/InternetGatewayRules_ListByResourceGroup.json new file mode 100644 index 000000000000..3ecabbd7f646 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/InternetGatewayRules_ListByResourceGroup.json @@ -0,0 +1,66 @@ +{ + "title": "InternetGatewayRules_ListByResourceGroup_MaximumSet_Gen", + "operationId": "InternetGatewayRules_ListByResourceGroup", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-internetGatewayRule" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotationValue", + "ruleProperties": { + "action": "Allow", + "addressList": [ + "10.10.10.10" + ], + "condition": "Or", + "destinationAddressList": [ + "11.11.10.11" + ], + "sourceAddressList": [ + "10.10.10.10" + ], + "headerAddressList": [ + { + "headerName": "abcHeader", + "addressList": [ + "10.10.10.10" + ] + } + ] + }, + "lastOperation": { + "details": "Succeeded" + }, + "provisioningState": "Accepted", + "internetGatewayIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/internetGateways/example-internetGateway" + ] + }, + "tags": { + "KeyID": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/internetGatewayRules/example-InternetGatewayRule", + "name": "example-internetGatewayRule", + "type": "microsoft.managednetworkfabric/internetGatewayRules", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/InternetGatewayRules_ListBySubscription.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/InternetGatewayRules_ListBySubscription.json new file mode 100644 index 000000000000..61659b5d2568 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/InternetGatewayRules_ListBySubscription.json @@ -0,0 +1,65 @@ +{ + "title": "InternetGatewayRules_ListBySubscription_MaximumSet_Gen", + "operationId": "InternetGatewayRules_ListBySubscription", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotationValue", + "ruleProperties": { + "action": "Allow", + "addressList": [ + "10.10.10.10" + ], + "condition": "Or", + "destinationAddressList": [ + "11.11.10.11" + ], + "sourceAddressList": [ + "10.10.10.10" + ], + "headerAddressList": [ + { + "headerName": "abcHeader", + "addressList": [ + "10.10.10.10" + ] + } + ] + }, + "lastOperation": { + "details": "Succeeded" + }, + "provisioningState": "Accepted", + "internetGatewayIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/internetGateways/example-internetGateway" + ] + }, + "tags": { + "KeyID": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/internetGatewayRules/example-InternetGatewayRule", + "name": "example-internetGatewayRule", + "type": "microsoft.managednetworkfabric/internetGatewayRules", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/InternetGatewayRules_Update.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/InternetGatewayRules_Update.json new file mode 100644 index 000000000000..ea5c146c2d38 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/InternetGatewayRules_Update.json @@ -0,0 +1,69 @@ +{ + "title": "InternetGatewayRules_Update_MaximumSet_Gen", + "operationId": "InternetGatewayRules_Update", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "internetGatewayRuleName": "example-internetGatewayRule", + "properties": { + "tags": { + "KeyID": "KeyValue1" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotationValue", + "ruleProperties": { + "action": "Allow", + "addressList": [ + "10.10.10.10" + ], + "condition": "Or", + "destinationAddressList": [ + "11.11.10.11" + ], + "sourceAddressList": [ + "10.10.10.10" + ], + "headerAddressList": [ + { + "headerName": "abcHeader", + "addressList": [ + "10.10.10.10" + ] + } + ] + }, + "provisioningState": "Accepted", + "internetGatewayIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/internetGateways/example-internetGateway" + ] + }, + "tags": { + "KeyID": "KeyValue1" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/internetGatewayRules/example-InternetGatewayRule", + "name": "example-internetGatewayRule", + "type": "microsoft.managednetworkfabric/internetGatewayRules", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/InternetGateways_Create.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/InternetGateways_Create.json new file mode 100644 index 000000000000..5fc7fc6436f7 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/InternetGateways_Create.json @@ -0,0 +1,86 @@ +{ + "title": "InternetGateways_Create_MaximumSet_Gen", + "operationId": "InternetGateways_Create", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "internetGatewayName": "example-internetGateway", + "resource": { + "properties": { + "annotation": "annotation", + "internetGatewayRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/providers/Microsoft.ManagedNetworkFabric/internetGatewayRules/example-internetGatewayRule", + "type": "Infrastructure", + "internetGatewayType": "Infrastructure", + "networkFabricControllerId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-networkFabricController" + }, + "tags": { + "keyId": "KeyValue" + }, + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "internetGatewayRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/providers/Microsoft.ManagedNetworkFabric/internetGatewayRules/example-internetGatewayRule", + "ipv4Address": "10.10.10.10", + "port": 25, + "type": "Infrastructure", + "internetGatewayType": "Infrastructure", + "networkFabricControllerId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-networkFabricController", + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/subscriptionId/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/internetGateways/example-internetGateway", + "name": "example-internetGateway", + "type": "microsoft.managednetworkfabric/internetGateways", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotation", + "internetGatewayRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/providers/Microsoft.ManagedNetworkFabric/internetGatewayRules/example-internetGatewayRule", + "ipv4Address": "10.10.10.10", + "port": 25, + "type": "Infrastructure", + "internetGatewayType": "Infrastructure", + "networkFabricControllerId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-networkFabricController", + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/subscriptionId/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/internetGateways/example-internetGateway", + "name": "example-internetGateway", + "type": "microsoft.managednetworkfabric/internetGateways", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/InternetGateways_Delete.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/InternetGateways_Delete.json new file mode 100644 index 000000000000..f67ab2d2ac1b --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/InternetGateways_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "InternetGateways_Delete_MaximumSet_Gen", + "operationId": "InternetGateways_Delete", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "internetGatewayName": "example-internetGateway" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/InternetGateways_Get.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/InternetGateways_Get.json new file mode 100644 index 000000000000..750ab3e8bd04 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/InternetGateways_Get.json @@ -0,0 +1,44 @@ +{ + "title": "InternetGateways_Get_MaximumSet_Gen", + "operationId": "InternetGateways_Get", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "internetGatewayName": "example-internetGateway" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "internetGatewayRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/providers/Microsoft.ManagedNetworkFabric/internetGatewayRules/example-internetGatewayRule", + "ipv4Address": "10.10.10.10", + "port": 25, + "type": "Infrastructure", + "internetGatewayType": "Infrastructure", + "networkFabricControllerId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-networkFabricController", + "lastOperation": { + "details": "Succeeded" + }, + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/subscriptionId/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/internetGateways/example-internetGateway", + "name": "example-internetGateway", + "type": "microsoft.managednetworkfabric/internetGateways", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/InternetGateways_ListByResourceGroup.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/InternetGateways_ListByResourceGroup.json new file mode 100644 index 000000000000..915937f220af --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/InternetGateways_ListByResourceGroup.json @@ -0,0 +1,48 @@ +{ + "title": "InternetGateways_ListByResourceGroup_MaximumSet_Gen", + "operationId": "InternetGateways_ListByResourceGroup", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "internetGatewayRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/providers/Microsoft.ManagedNetworkFabric/internetGatewayRules/example-internetGatewayRule", + "ipv4Address": "10.10.10.10", + "port": 25, + "type": "Infrastructure", + "internetGatewayType": "Infrastructure", + "networkFabricControllerId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-networkFabricController", + "lastOperation": { + "details": "Succeeded" + }, + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/subscriptionId/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/internetGateways/example-internetGateway", + "name": "example-internetGateway", + "type": "microsoft.managednetworkfabric/internetGateways", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/InternetGateways_ListBySubscription.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/InternetGateways_ListBySubscription.json new file mode 100644 index 000000000000..3c7ffd6d0975 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/InternetGateways_ListBySubscription.json @@ -0,0 +1,47 @@ +{ + "title": "InternetGateways_ListBySubscription_MaximumSet_Gen", + "operationId": "InternetGateways_ListBySubscription", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "internetGatewayRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/providers/Microsoft.ManagedNetworkFabric/internetGatewayRules/example-internetGatewayRule", + "ipv4Address": "10.10.10.10", + "port": 25, + "type": "Infrastructure", + "internetGatewayType": "Infrastructure", + "networkFabricControllerId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-networkFabricController", + "lastOperation": { + "details": "Succeeded" + }, + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/subscriptionId/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/internetGateways/example-internetGateway", + "name": "example-internetGateway", + "type": "microsoft.managednetworkfabric/internetGateways", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/InternetGateways_Update.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/InternetGateways_Update.json new file mode 100644 index 000000000000..f64b052f581d --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/InternetGateways_Update.json @@ -0,0 +1,54 @@ +{ + "title": "InternetGateways_Update_MaximumSet_Gen", + "operationId": "InternetGateways_Update", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "internetGatewayName": "example-internetGateway", + "properties": { + "tags": { + "keyId": "KeyValue" + }, + "properties": { + "internetGatewayRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/providers/Microsoft.ManagedNetworkFabric/internetGatewayRules/example-internetGatewayRule" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "internetGatewayRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/providers/Microsoft.ManagedNetworkFabric/internetGatewayRules/example-internetGatewayRule", + "ipv4Address": "10.10.10.10", + "port": 25, + "type": "Infrastructure", + "internetGatewayType": "Infrastructure", + "networkFabricControllerId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-networkFabricController", + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/subscriptionId/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/internetGateways/example-internetGateway", + "name": "example-internetGateway", + "type": "microsoft.managednetworkfabric/internetGateways", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/IpCommunities_Create.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/IpCommunities_Create.json new file mode 100644 index 000000000000..1f13a23728e0 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/IpCommunities_Create.json @@ -0,0 +1,113 @@ +{ + "title": "IpCommunities_Create_MaximumSet_Gen", + "operationId": "IpCommunities_Create", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "ipCommunityName": "example-ipcommunity", + "resource": { + "properties": { + "annotation": "annotation", + "ipCommunityRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "wellKnownCommunities": [ + "Internet" + ], + "communityMembers": [ + "1:1" + ] + } + ], + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "ipCommunityRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "wellKnownCommunities": [ + "Internet" + ], + "communityMembers": [ + "1:1" + ] + } + ], + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipcommunity", + "name": "example-ipcommunity", + "type": "microsoft.managednetworkfabric/ipcommunities", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotation", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "ipCommunityRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "wellKnownCommunities": [ + "Internet" + ], + "communityMembers": [ + "1:1" + ] + } + ], + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipcommunity", + "name": "example-ipcommunity", + "type": "microsoft.managednetworkfabric/ipcommunities", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/IpCommunities_Delete.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/IpCommunities_Delete.json new file mode 100644 index 000000000000..6ca7f53e4766 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/IpCommunities_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "IpCommunities_Delete_MaximumSet_Gen", + "operationId": "IpCommunities_Delete", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "ipCommunityName": "example-ipcommunity" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/IpCommunities_Get.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/IpCommunities_Get.json new file mode 100644 index 000000000000..1a0b5dcb42cf --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/IpCommunities_Get.json @@ -0,0 +1,53 @@ +{ + "title": "IpCommunities_Get_MaximumSet_Gen", + "operationId": "IpCommunities_Get", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "ipCommunityName": "example-ipcommunity" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "ipCommunityRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "wellKnownCommunities": [ + "Internet" + ], + "communityMembers": [ + "1:1" + ] + } + ], + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipcommunity", + "name": "example-ipcommunity", + "type": "microsoft.managednetworkfabric/ipcommunities", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/IpCommunities_ListByResourceGroup.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/IpCommunities_ListByResourceGroup.json new file mode 100644 index 000000000000..42e841dbeca8 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/IpCommunities_ListByResourceGroup.json @@ -0,0 +1,57 @@ +{ + "title": "IpCommunities_ListByResourceGroup_MaximumSet_Gen", + "operationId": "IpCommunities_ListByResourceGroup", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "ipCommunityRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "wellKnownCommunities": [ + "Internet" + ], + "communityMembers": [ + "1:1" + ] + } + ], + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipcommunity", + "name": "example-ipcommunity", + "type": "microsoft.managednetworkfabric/ipcommunities", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/IpCommunities_ListBySubscription.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/IpCommunities_ListBySubscription.json new file mode 100644 index 000000000000..25515ddc7a99 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/IpCommunities_ListBySubscription.json @@ -0,0 +1,56 @@ +{ + "title": "IpCommunities_ListBySubscription_MaximumSet_Gen", + "operationId": "IpCommunities_ListBySubscription", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "ipCommunityRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "wellKnownCommunities": [ + "Internet" + ], + "communityMembers": [ + "1:1" + ] + } + ], + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipcommunity", + "name": "example-ipcommunity", + "type": "microsoft.managednetworkfabric/ipcommunities", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/IpCommunities_Update.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/IpCommunities_Update.json new file mode 100644 index 000000000000..a5a082201433 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/IpCommunities_Update.json @@ -0,0 +1,74 @@ +{ + "title": "IpCommunities_Update_MaximumSet_Gen", + "operationId": "IpCommunities_Update", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "ipCommunityName": "example-ipcommunity", + "properties": { + "tags": { + "keyID": "KeyValue" + }, + "properties": { + "ipCommunityRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "wellKnownCommunities": [ + "Internet" + ], + "communityMembers": [ + "1:1" + ] + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "ipCommunityRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "wellKnownCommunities": [ + "Internet" + ], + "communityMembers": [ + "1:1" + ] + } + ], + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipcommunity", + "name": "example-ipcommunity", + "type": "microsoft.managednetworkfabric/ipcommunities", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/IpExtendedCommunities_Create.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/IpExtendedCommunities_Create.json new file mode 100644 index 000000000000..c390472a2cb5 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/IpExtendedCommunities_Create.json @@ -0,0 +1,104 @@ +{ + "title": "IpExtendedCommunities_Create_MaximumSet_Gen", + "operationId": "IpExtendedCommunities_Create", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "ipExtendedCommunityName": "example-ipExtendedCommunity", + "resource": { + "properties": { + "annotation": "annotation", + "ipExtendedCommunityRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "routeTargets": [ + "1234:2345" + ] + } + ], + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "ipExtendedCommunityRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "routeTargets": [ + "1234:2345" + ] + } + ], + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity", + "name": "example-ipExtendedCommunity", + "type": "microsoft.managednetworkfabric/ipExtendedCommunities", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotation", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "ipExtendedCommunityRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "routeTargets": [ + "1234:2345" + ] + } + ], + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity", + "name": "example-ipExtendedCommunity", + "type": "microsoft.managednetworkfabric/ipExtendedCommunities", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/IpExtendedCommunities_Delete.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/IpExtendedCommunities_Delete.json new file mode 100644 index 000000000000..24bc034f2b9b --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/IpExtendedCommunities_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "IpExtendedCommunities_Delete_MaximumSet_Gen", + "operationId": "IpExtendedCommunities_Delete", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "ipExtendedCommunityName": "example-ipExtendedCommunity" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/IpExtendedCommunities_Get.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/IpExtendedCommunities_Get.json new file mode 100644 index 000000000000..9d360eef9c5c --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/IpExtendedCommunities_Get.json @@ -0,0 +1,50 @@ +{ + "title": "IpExtendedCommunities_Get_MaximumSet_Gen", + "operationId": "IpExtendedCommunities_Get", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "ipExtendedCommunityName": "example-ipExtendedCommunity" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "ipExtendedCommunityRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "routeTargets": [ + "1234:2345" + ] + } + ], + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity", + "name": "example-ipExtendedCommunity", + "type": "microsoft.managednetworkfabric/ipExtendedCommunities", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/IpExtendedCommunities_ListByResourceGroup.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/IpExtendedCommunities_ListByResourceGroup.json new file mode 100644 index 000000000000..381c30d93453 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/IpExtendedCommunities_ListByResourceGroup.json @@ -0,0 +1,54 @@ +{ + "title": "IpExtendedCommunities_ListByResourceGroup_MaximumSet_Gen", + "operationId": "IpExtendedCommunities_ListByResourceGroup", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "ipExtendedCommunityRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "routeTargets": [ + "1234:2345" + ] + } + ], + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity", + "name": "example-ipExtendedCommunity", + "type": "microsoft.managednetworkfabric/ipExtendedCommunities", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/IpExtendedCommunities_ListBySubscription.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/IpExtendedCommunities_ListBySubscription.json new file mode 100644 index 000000000000..3c5017672ba1 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/IpExtendedCommunities_ListBySubscription.json @@ -0,0 +1,53 @@ +{ + "title": "IpExtendedCommunities_ListBySubscription_MaximumSet_Gen", + "operationId": "IpExtendedCommunities_ListBySubscription", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "ipExtendedCommunityRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "routeTargets": [ + "1234:2345" + ] + } + ], + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity", + "name": "example-ipExtendedCommunity", + "type": "microsoft.managednetworkfabric/ipExtendedCommunities", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/IpExtendedCommunities_Update.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/IpExtendedCommunities_Update.json new file mode 100644 index 000000000000..308496e4220c --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/IpExtendedCommunities_Update.json @@ -0,0 +1,69 @@ +{ + "title": "IpExtendedCommunities_Update_MaximumSet_Gen", + "operationId": "IpExtendedCommunities_Update", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "ipExtendedCommunityName": "example-ipExtendedCommunity", + "properties": { + "tags": { + "KeyId": "KeyValue" + }, + "properties": { + "ipExtendedCommunityRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "routeTargets": [ + "1234:2345" + ] + } + ], + "annotation": "annotation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "ipExtendedCommunityRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "routeTargets": [ + "1234:2345" + ] + } + ], + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity", + "name": "example-ipExtendedCommunity", + "type": "microsoft.managednetworkfabric/ipExtendedCommunities", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/IpPrefixes_Create.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/IpPrefixes_Create.json new file mode 100644 index 000000000000..1b972143335c --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/IpPrefixes_Create.json @@ -0,0 +1,104 @@ +{ + "title": "IpPrefixes_Create_MaximumSet_Gen", + "operationId": "IpPrefixes_Create", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "ipPrefixName": "example-ipPrefix", + "resource": { + "properties": { + "annotation": "annotation", + "ipPrefixRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "networkPrefix": "10.10.10.10/30", + "condition": "GreaterThanOrEqualTo", + "subnetMaskLength": "10" + } + ], + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "ipPrefixRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "networkPrefix": "10.10.10.10/30", + "condition": "GreaterThanOrEqualTo", + "subnetMaskLength": "10" + } + ], + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix", + "name": "example-ipPrefix", + "type": "microsoft.managednetworkfabric/ipPrefixes", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotation", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "ipPrefixRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "networkPrefix": "10.10.10.10/30", + "condition": "GreaterThanOrEqualTo", + "subnetMaskLength": "10" + } + ], + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix", + "name": "example-ipPrefix", + "type": "microsoft.managednetworkfabric/ipPrefixes", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/IpPrefixes_Delete.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/IpPrefixes_Delete.json new file mode 100644 index 000000000000..a6378236bb64 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/IpPrefixes_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "IpPrefixes_Delete_MaximumSet_Gen", + "operationId": "IpPrefixes_Delete", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "ipPrefixName": "example-ipPrefix" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/IpPrefixes_Get.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/IpPrefixes_Get.json new file mode 100644 index 000000000000..4e994e543405 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/IpPrefixes_Get.json @@ -0,0 +1,50 @@ +{ + "title": "IpPrefixes_Get_MaximumSet_Gen", + "operationId": "IpPrefixes_Get", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "ipPrefixName": "example-ipPrefix" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "ipPrefixRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "networkPrefix": "10.10.10.10/30", + "condition": "GreaterThanOrEqualTo", + "subnetMaskLength": "10" + } + ], + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix", + "name": "example-ipPrefix", + "type": "microsoft.managednetworkfabric/ipPrefixes", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/IpPrefixes_ListByResourceGroup.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/IpPrefixes_ListByResourceGroup.json new file mode 100644 index 000000000000..e620afe892e5 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/IpPrefixes_ListByResourceGroup.json @@ -0,0 +1,54 @@ +{ + "title": "IpPrefixes_ListByResourceGroup_MaximumSet_Gen", + "operationId": "IpPrefixes_ListByResourceGroup", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "ipPrefixRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "networkPrefix": "10.10.10.10/30", + "condition": "GreaterThanOrEqualTo", + "subnetMaskLength": "10" + } + ], + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix", + "name": "example-ipPrefix", + "type": "microsoft.managednetworkfabric/ipPrefixes", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/IpPrefixes_ListBySubscription.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/IpPrefixes_ListBySubscription.json new file mode 100644 index 000000000000..0fc0d584aae1 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/IpPrefixes_ListBySubscription.json @@ -0,0 +1,53 @@ +{ + "title": "IpPrefixes_ListBySubscription_MaximumSet_Gen", + "operationId": "IpPrefixes_ListBySubscription", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "ipPrefixRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "networkPrefix": "10.10.10.10/30", + "condition": "GreaterThanOrEqualTo", + "subnetMaskLength": "10" + } + ], + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix", + "name": "example-ipPrefix", + "type": "microsoft.managednetworkfabric/ipPrefixes", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/IpPrefixes_Update.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/IpPrefixes_Update.json new file mode 100644 index 000000000000..5ae33efd32d1 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/IpPrefixes_Update.json @@ -0,0 +1,69 @@ +{ + "title": "IpPrefixes_Update_MaximumSet_Gen", + "operationId": "IpPrefixes_Update", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "ipPrefixName": "example-ipPrefix", + "properties": { + "tags": { + "KeyId": "KeyValue" + }, + "properties": { + "annotation": "annotation", + "ipPrefixRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "networkPrefix": "10.10.10.10/30", + "condition": "GreaterThanOrEqualTo", + "subnetMaskLength": "10" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "ipPrefixRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "networkPrefix": "10.10.10.10/30", + "condition": "GreaterThanOrEqualTo", + "subnetMaskLength": "10" + } + ], + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix", + "name": "example-ipPrefix", + "type": "microsoft.managednetworkfabric/ipPrefixes", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/L2IsolationDomains_CommitConfiguration.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/L2IsolationDomains_CommitConfiguration.json new file mode 100644 index 000000000000..f627d7cdc9fb --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/L2IsolationDomains_CommitConfiguration.json @@ -0,0 +1,34 @@ +{ + "title": "L2IsolationDomains_CommitConfiguration_MaximumSet_Gen", + "operationId": "L2IsolationDomains_CommitConfiguration", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l2IsolationDomainName": "example-l2domain" + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/L2IsolationDomains_Create.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/L2IsolationDomains_Create.json new file mode 100644 index 000000000000..8d25ea059ffa --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/L2IsolationDomains_Create.json @@ -0,0 +1,96 @@ +{ + "title": "L2IsolationDomains_Create_MaximumSet_Gen", + "operationId": "L2IsolationDomains_Create", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l2IsolationDomainName": "example-l2domain", + "resource": { + "properties": { + "annotation": "annotation", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "vlanId": 501, + "mtu": 1500, + "extendedVlan": "Enabled", + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "vlanId": 501, + "mtu": 1500, + "extendedVlan": "Enabled", + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/example-l2domain", + "name": "example-l2domain", + "type": "microsoft.managednetworkfabric/l2IsolationDomains", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotation", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "vlanId": 501, + "mtu": 1500, + "extendedVlan": "Enabled", + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/example-l2domain", + "name": "example-l2domain", + "type": "microsoft.managednetworkfabric/l2IsolationDomains", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/L2IsolationDomains_Delete.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/L2IsolationDomains_Delete.json new file mode 100644 index 000000000000..fd833e932122 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/L2IsolationDomains_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "L2IsolationDomains_Delete_MaximumSet_Gen", + "operationId": "L2IsolationDomains_Delete", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l2IsolationDomainName": "example-l2domain" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/L2IsolationDomains_Get.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/L2IsolationDomains_Get.json new file mode 100644 index 000000000000..30a92bf1bb91 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/L2IsolationDomains_Get.json @@ -0,0 +1,45 @@ +{ + "title": "L2IsolationDomains_Get_MaximumSet_Gen", + "operationId": "L2IsolationDomains_Get", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l2IsolationDomainName": "example-l2domain" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "vlanId": 501, + "mtu": 1500, + "extendedVlan": "Enabled", + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/example-l2domain", + "name": "example-l2domain", + "type": "microsoft.managednetworkfabric/l2IsolationDomains", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/L2IsolationDomains_ListByResourceGroup.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/L2IsolationDomains_ListByResourceGroup.json new file mode 100644 index 000000000000..e231b5e86d53 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/L2IsolationDomains_ListByResourceGroup.json @@ -0,0 +1,49 @@ +{ + "title": "L2IsolationDomains_ListByResourceGroup_MaximumSet_Gen", + "operationId": "L2IsolationDomains_ListByResourceGroup", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "vlanId": 501, + "mtu": 1500, + "extendedVlan": "Enabled", + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/example-l2domain", + "name": "example-l2domain", + "type": "microsoft.managednetworkfabric/l2IsolationDomains", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/L2IsolationDomains_ListBySubscription.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/L2IsolationDomains_ListBySubscription.json new file mode 100644 index 000000000000..ec76a873fd3d --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/L2IsolationDomains_ListBySubscription.json @@ -0,0 +1,48 @@ +{ + "title": "L2IsolationDomains_ListBySubscription_MaximumSet_Gen", + "operationId": "L2IsolationDomains_ListBySubscription", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "vlanId": 501, + "mtu": 1500, + "extendedVlan": "Enabled", + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/example-l2domain", + "name": "example-l2domain", + "type": "microsoft.managednetworkfabric/l2IsolationDomains", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/L2IsolationDomains_Update.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/L2IsolationDomains_Update.json new file mode 100644 index 000000000000..c6ac3ffd60d1 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/L2IsolationDomains_Update.json @@ -0,0 +1,57 @@ +{ + "title": "L2IsolationDomains_Update_MaximumSet_Gen", + "operationId": "L2IsolationDomains_Update", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l2IsolationDomainName": "example-l2domain", + "properties": { + "tags": { + "KeyId": "KeyValue" + }, + "properties": { + "annotation": "annotation1", + "mtu": 6000, + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "vlanId": 501, + "mtu": 1500, + "extendedVlan": "Enabled", + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/example-l2domain", + "name": "example-l2domain", + "type": "microsoft.managednetworkfabric/l2IsolationDomains", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/L2IsolationDomains_UpdateAdministrativeState.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/L2IsolationDomains_UpdateAdministrativeState.json new file mode 100644 index 000000000000..8eafd68370a0 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/L2IsolationDomains_UpdateAdministrativeState.json @@ -0,0 +1,46 @@ +{ + "title": "L2IsolationDomains_UpdateAdministrativeState_MaximumSet_Gen", + "operationId": "L2IsolationDomains_UpdateAdministrativeState", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l2IsolationDomainName": "example-l2domain", + "body": { + "resourceIds": [ + "" + ], + "state": "Enable" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded", + "successfulDevices": [ + "" + ], + "failedDevices": [ + "" + ] + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/L2IsolationDomains_ValidateConfiguration.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/L2IsolationDomains_ValidateConfiguration.json new file mode 100644 index 000000000000..5a5cc173f414 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/L2IsolationDomains_ValidateConfiguration.json @@ -0,0 +1,35 @@ +{ + "title": "L2IsolationDomains_ValidateConfiguration_MaximumSet_Gen", + "operationId": "L2IsolationDomains_ValidateConfiguration", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l2IsolationDomainName": "example-l2domain" + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded", + "url": "https://ActionDetails" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/L3IsolationDomains_CommitConfiguration.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/L3IsolationDomains_CommitConfiguration.json new file mode 100644 index 000000000000..3c74f41369bc --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/L3IsolationDomains_CommitConfiguration.json @@ -0,0 +1,34 @@ +{ + "title": "L3IsolationDomains_CommitConfiguration_MaximumSet_Gen", + "operationId": "L3IsolationDomains_CommitConfiguration", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-l3domain" + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/L3IsolationDomains_Create.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/L3IsolationDomains_Create.json new file mode 100644 index 000000000000..349799982cc8 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/L3IsolationDomains_Create.json @@ -0,0 +1,179 @@ +{ + "title": "L3IsolationDomains_Create_MaximumSet_Gen", + "operationId": "L3IsolationDomains_Create", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-l3domain", + "resource": { + "properties": { + "annotation": "annotation", + "redistributeConnectedSubnets": "True", + "redistributeStaticRoutes": "True", + "aggregateRouteConfiguration": { + "ipv4Routes": [ + { + "prefix": "10.0.0.0/24" + } + ], + "ipv6Routes": [ + { + "prefix": "3FFE:FFFF:0:CD30::a0/29" + } + ] + }, + "connectedSubnetRoutePolicy": { + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + } + }, + "staticRouteRoutePolicy": { + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + } + }, + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "uniqueRdConfiguration": {}, + "routePrefixLimit": { + "hardLimit": 1, + "threshold": 90 + }, + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "redistributeConnectedSubnets": "True", + "redistributeStaticRoutes": "True", + "aggregateRouteConfiguration": { + "ipv4Routes": [ + { + "prefix": "10.0.0.0/24" + } + ], + "ipv6Routes": [ + { + "prefix": "3FFE:FFFF:0:CD30::a0/29" + } + ] + }, + "connectedSubnetRoutePolicy": { + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + } + }, + "staticRouteRoutePolicy": { + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + } + }, + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "uniqueRdConfiguration": { + "uniqueRds": [ + "uniquerd-1" + ] + }, + "routePrefixLimit": { + "hardLimit": 1, + "threshold": 90 + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain", + "name": "example-l3domain", + "type": "microsoft.managednetworkfabric/l3isolationdomains", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotation", + "redistributeConnectedSubnets": "True", + "redistributeStaticRoutes": "True", + "aggregateRouteConfiguration": { + "ipv4Routes": [ + { + "prefix": "10.0.0.0/24" + } + ], + "ipv6Routes": [ + { + "prefix": "3FFE:FFFF:0:CD30::a0/29" + } + ] + }, + "connectedSubnetRoutePolicy": { + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + } + }, + "staticRouteRoutePolicy": { + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + } + }, + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "uniqueRdConfiguration": { + "uniqueRds": [ + "uniquerd-1" + ] + }, + "routePrefixLimit": { + "hardLimit": 1, + "threshold": 90 + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain", + "name": "example-l3domain", + "type": "microsoft.managednetworkfabric/l3isolationdomains", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/L3IsolationDomains_Delete.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/L3IsolationDomains_Delete.json new file mode 100644 index 000000000000..dff9f7a7d2fc --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/L3IsolationDomains_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "L3IsolationDomains_Delete_MaximumSet_Gen", + "operationId": "L3IsolationDomains_Delete", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-l3domain" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/L3IsolationDomains_Get.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/L3IsolationDomains_Get.json new file mode 100644 index 000000000000..95c165f91309 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/L3IsolationDomains_Get.json @@ -0,0 +1,76 @@ +{ + "title": "L3IsolationDomains_Get_MaximumSet_Gen", + "operationId": "L3IsolationDomains_Get", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-l3domain" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "redistributeConnectedSubnets": "True", + "redistributeStaticRoutes": "True", + "aggregateRouteConfiguration": { + "ipv4Routes": [ + { + "prefix": "10.0.0.0/24" + } + ], + "ipv6Routes": [ + { + "prefix": "3FFE:FFFF:0:CD30::a0/29" + } + ] + }, + "connectedSubnetRoutePolicy": { + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + } + }, + "staticRouteRoutePolicy": { + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + } + }, + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "uniqueRdConfiguration": { + "uniqueRds": [ + "uniquerd-1" + ] + }, + "routePrefixLimit": { + "hardLimit": 1, + "threshold": 10 + }, + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain", + "name": "example-l3domain", + "type": "microsoft.managednetworkfabric/l3isolationdomains", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/L3IsolationDomains_ListByResourceGroup.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/L3IsolationDomains_ListByResourceGroup.json new file mode 100644 index 000000000000..18a923d41a46 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/L3IsolationDomains_ListByResourceGroup.json @@ -0,0 +1,80 @@ +{ + "title": "L3IsolationDomains_ListByResourceGroup_MaximumSet_Gen", + "operationId": "L3IsolationDomains_ListByResourceGroup", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "redistributeConnectedSubnets": "True", + "redistributeStaticRoutes": "True", + "aggregateRouteConfiguration": { + "ipv4Routes": [ + { + "prefix": "10.0.0.0/24" + } + ], + "ipv6Routes": [ + { + "prefix": "3FFE:FFFF:0:CD30::a0/29" + } + ] + }, + "connectedSubnetRoutePolicy": { + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + } + }, + "staticRouteRoutePolicy": { + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + } + }, + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "uniqueRdConfiguration": { + "uniqueRds": [ + "uniquerd-1" + ] + }, + "routePrefixLimit": { + "hardLimit": 1, + "threshold": 50 + }, + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain", + "name": "example-l3domain", + "type": "microsoft.managednetworkfabric/l3isolationdomains", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/L3IsolationDomains_ListBySubscription.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/L3IsolationDomains_ListBySubscription.json new file mode 100644 index 000000000000..8d4ea4e199fd --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/L3IsolationDomains_ListBySubscription.json @@ -0,0 +1,79 @@ +{ + "title": "L3IsolationDomains_ListBySubscription_MaximumSet_Gen", + "operationId": "L3IsolationDomains_ListBySubscription", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "redistributeConnectedSubnets": "True", + "redistributeStaticRoutes": "True", + "aggregateRouteConfiguration": { + "ipv4Routes": [ + { + "prefix": "10.0.0.0/24" + } + ], + "ipv6Routes": [ + { + "prefix": "3FFE:FFFF:0:CD30::a0/29" + } + ] + }, + "connectedSubnetRoutePolicy": { + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + } + }, + "staticRouteRoutePolicy": { + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + } + }, + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "uniqueRdConfiguration": { + "uniqueRds": [ + "uniquerd-1" + ] + }, + "routePrefixLimit": { + "hardLimit": 1, + "threshold": 50 + }, + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain", + "name": "example-l3domain", + "type": "microsoft.managednetworkfabric/l3isolationdomains", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/L3IsolationDomains_Update.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/L3IsolationDomains_Update.json new file mode 100644 index 000000000000..28ad79dcd17c --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/L3IsolationDomains_Update.json @@ -0,0 +1,116 @@ +{ + "title": "L3IsolationDomains_Update_MaximumSet_Gen", + "operationId": "L3IsolationDomains_Update", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-l3domain", + "properties": { + "tags": { + "KeyId": "KeyValue" + }, + "properties": { + "annotation": "annotation1", + "redistributeConnectedSubnets": "True", + "redistributeStaticRoutes": "True", + "aggregateRouteConfiguration": { + "ipv4Routes": [ + { + "prefix": "10.0.0.0/24" + } + ], + "ipv6Routes": [ + { + "prefix": "3FFE:FFFF:0:CD30::a0/29" + } + ] + }, + "connectedSubnetRoutePolicy": { + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + } + }, + "staticRouteRoutePolicy": { + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + } + }, + "routePrefixLimit": { + "hardLimit": 28, + "threshold": 50 + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "redistributeConnectedSubnets": "True", + "redistributeStaticRoutes": "True", + "aggregateRouteConfiguration": { + "ipv4Routes": [ + { + "prefix": "10.0.0.0/24" + } + ], + "ipv6Routes": [ + { + "prefix": "3FFE:FFFF:0:CD30::a0/29" + } + ] + }, + "connectedSubnetRoutePolicy": { + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + } + }, + "staticRouteRoutePolicy": { + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + } + }, + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "uniqueRdConfiguration": { + "uniqueRds": [ + "uniquerd-1" + ] + }, + "routePrefixLimit": { + "hardLimit": 28, + "threshold": 90 + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain", + "name": "example-l3domain", + "type": "microsoft.managednetworkfabric/l3isolationdomains", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/L3IsolationDomains_UpdateAdministrativeState.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/L3IsolationDomains_UpdateAdministrativeState.json new file mode 100644 index 000000000000..0d79600c31e0 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/L3IsolationDomains_UpdateAdministrativeState.json @@ -0,0 +1,46 @@ +{ + "title": "L3IsolationDomains_UpdateAdministrativeState_MaximumSet_Gen", + "operationId": "L3IsolationDomains_UpdateAdministrativeState", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-l3domain", + "body": { + "resourceIds": [ + "" + ], + "state": "Enable" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded", + "successfulDevices": [ + "" + ], + "failedDevices": [ + "" + ] + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/L3IsolationDomains_ValidateConfiguration.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/L3IsolationDomains_ValidateConfiguration.json new file mode 100644 index 000000000000..e8c10f5f9645 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/L3IsolationDomains_ValidateConfiguration.json @@ -0,0 +1,35 @@ +{ + "title": "L3IsolationDomains_ValidateConfiguration_MaximumSet_Gen", + "operationId": "L3IsolationDomains_ValidateConfiguration", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-l3domain" + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded", + "url": "mg" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NeighborGroups_Create.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NeighborGroups_Create.json new file mode 100644 index 000000000000..e6549c7ac906 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NeighborGroups_Create.json @@ -0,0 +1,130 @@ +{ + "title": "NeighborGroups_Create_MaximumSet_Gen", + "operationId": "NeighborGroups_Create", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "neighborGroupName": "example-neighborGroup", + "resource": { + "properties": { + "annotation": "annotation", + "destination": { + "ipv4Addresses": [ + "10.10.10.10", + "20.10.10.10", + "30.10.10.10", + "40.10.10.10", + "50.10.10.10", + "60.10.10.10", + "70.10.10.10", + "80.10.10.10", + "90.10.10.10" + ], + "ipv6Addresses": [ + "2F::/100" + ] + } + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "destination": { + "ipv4Addresses": [ + "10.10.10.10", + "20.10.10.10", + "30.10.10.10", + "40.10.10.10", + "50.10.10.10", + "60.10.10.10", + "70.10.10.10", + "80.10.10.10", + "90.10.10.10" + ], + "ipv6Addresses": [ + "2F::/100" + ] + }, + "networkTapIds": [ + "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-networkTap" + ], + "networkTapRuleIds": [ + "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-networkTapRule" + ], + "provisioningState": "Accepted" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/subscriptionId/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup", + "name": "example-neighborGroup", + "type": "microsoft.managednetworkfabric/neighborGroups", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotation", + "destination": { + "ipv4Addresses": [ + "10.10.10.10", + "20.10.10.10", + "30.10.10.10", + "40.10.10.10", + "50.10.10.10", + "60.10.10.10", + "70.10.10.10", + "80.10.10.10", + "90.10.10.10" + ], + "ipv6Addresses": [ + "2F::/100" + ] + }, + "networkTapIds": [ + "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-networkTap" + ], + "networkTapRuleIds": [ + "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-networkTapRule" + ], + "provisioningState": "Accepted" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/subscriptionId/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup", + "name": "example-neighborGroup", + "type": "microsoft.managednetworkfabric/neighborGroups", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NeighborGroups_Delete.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NeighborGroups_Delete.json new file mode 100644 index 000000000000..10585dc47608 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NeighborGroups_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "NeighborGroups_Delete_MaximumSet_Gen", + "operationId": "NeighborGroups_Delete", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "neighborGroupName": "example-neighborGroup" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NeighborGroups_Get.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NeighborGroups_Get.json new file mode 100644 index 000000000000..0b6fbece5896 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NeighborGroups_Get.json @@ -0,0 +1,60 @@ +{ + "title": "NeighborGroups_Get_MaximumSet_Gen", + "operationId": "NeighborGroups_Get", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "neighborGroupName": "example-neighborGroup" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "destination": { + "ipv4Addresses": [ + "10.10.10.10", + "20.10.10.10", + "30.10.10.10", + "40.10.10.10", + "50.10.10.10", + "60.10.10.10", + "70.10.10.10", + "80.10.10.10", + "90.10.10.10" + ], + "ipv6Addresses": [ + "2F::/100" + ] + }, + "networkTapIds": [ + "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-networkTap" + ], + "networkTapRuleIds": [ + "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-networkTapRule" + ], + "lastOperation": { + "details": "Succeeded" + }, + "provisioningState": "Accepted" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/subscriptionId/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup", + "name": "example-neighborGroup", + "type": "microsoft.managednetworkfabric/neighborGroups", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NeighborGroups_ListByResourceGroup.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NeighborGroups_ListByResourceGroup.json new file mode 100644 index 000000000000..9dc246eda890 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NeighborGroups_ListByResourceGroup.json @@ -0,0 +1,64 @@ +{ + "title": "NeighborGroups_ListByResourceGroup_MaximumSet_Gen", + "operationId": "NeighborGroups_ListByResourceGroup", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "destination": { + "ipv4Addresses": [ + "10.10.10.10", + "20.10.10.10", + "30.10.10.10", + "40.10.10.10", + "50.10.10.10", + "60.10.10.10", + "70.10.10.10", + "80.10.10.10", + "90.10.10.10" + ], + "ipv6Addresses": [ + "2F::/100" + ] + }, + "networkTapIds": [ + "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-networkTap" + ], + "networkTapRuleIds": [ + "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-networkTapRule" + ], + "lastOperation": { + "details": "Succeeded" + }, + "provisioningState": "Accepted" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/subscriptionId/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup", + "name": "example-neighborGroup", + "type": "microsoft.managednetworkfabric/neighborGroups", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NeighborGroups_ListBySubscription.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NeighborGroups_ListBySubscription.json new file mode 100644 index 000000000000..0746e509467e --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NeighborGroups_ListBySubscription.json @@ -0,0 +1,63 @@ +{ + "title": "NeighborGroups_ListBySubscription_MaximumSet_Gen", + "operationId": "NeighborGroups_ListBySubscription", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "destination": { + "ipv4Addresses": [ + "10.10.10.10", + "20.10.10.10", + "30.10.10.10", + "40.10.10.10", + "50.10.10.10", + "60.10.10.10", + "70.10.10.10", + "80.10.10.10", + "90.10.10.10" + ], + "ipv6Addresses": [ + "2F::/100" + ] + }, + "networkTapIds": [ + "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-networkTap" + ], + "networkTapRuleIds": [ + "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-networkTapRule" + ], + "lastOperation": { + "details": "Succeeded" + }, + "provisioningState": "Accepted" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/subscriptionId/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup", + "name": "example-neighborGroup", + "type": "microsoft.managednetworkfabric/neighborGroups", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NeighborGroups_Update.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NeighborGroups_Update.json new file mode 100644 index 000000000000..52ea00af47f9 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NeighborGroups_Update.json @@ -0,0 +1,86 @@ +{ + "title": "NeighborGroups_Update_MaximumSet_Gen", + "operationId": "NeighborGroups_Update", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "neighborGroupName": "example-neighborGroup", + "properties": { + "tags": { + "KeyId": "KeyValue" + }, + "properties": { + "annotation": "Updating", + "destination": { + "ipv4Addresses": [ + "10.10.10.10", + "20.10.10.10", + "30.10.10.10", + "40.10.10.10", + "50.10.10.10", + "60.10.10.10", + "70.10.10.10", + "80.10.10.10", + "90.10.10.10" + ], + "ipv6Addresses": [ + "2F::/100" + ] + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "destination": { + "ipv4Addresses": [ + "10.10.10.10", + "20.10.10.10", + "30.10.10.10", + "40.10.10.10", + "50.10.10.10", + "60.10.10.10", + "70.10.10.10", + "80.10.10.10", + "90.10.10.10" + ], + "ipv6Addresses": [ + "2F::/100" + ] + }, + "networkTapIds": [ + "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-networkTap" + ], + "networkTapRuleIds": [ + "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-networkTapRule" + ], + "provisioningState": "Accepted" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/subscriptionId/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup", + "name": "example-neighborGroup", + "type": "microsoft.managednetworkfabric/neighborGroups", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkDeviceSkus_Get.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkDeviceSkus_Get.json new file mode 100644 index 000000000000..860961e62917 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkDeviceSkus_Get.json @@ -0,0 +1,54 @@ +{ + "title": "NetworkDeviceSkus_Get_MaximumSet_Gen", + "operationId": "NetworkDeviceSkus_Get", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "networkDeviceSkuName": "example-deviceSku" + }, + "responses": { + "200": { + "body": { + "properties": { + "model": "model1", + "manufacturer": "Arista", + "supportedVersions": [ + { + "version": "1.0.0", + "vendorOsVersion": "2.0", + "vendorFirmwareVersion": "11.2", + "isDefault": "True" + } + ], + "supportedRoleTypes": [ + "CE" + ], + "interfaces": [ + { + "identifier": "HundredGigE0/0", + "interfaceType": "type1", + "supportedConnectorTypes": [ + { + "connectorType": "Optical", + "maxSpeedInMbps": 100 + } + ] + } + ], + "provisioningState": "Accepted" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/providers/Microsoft.ManagedNetworkFabric/networkDeviceSkus/example-deviceSku", + "name": "example-deviceSku", + "type": "microsoft.managednetworkfabric/networkDeviceSkus", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkDeviceSkus_ListBySubscription.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkDeviceSkus_ListBySubscription.json new file mode 100644 index 000000000000..56d43e0b6721 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkDeviceSkus_ListBySubscription.json @@ -0,0 +1,58 @@ +{ + "title": "NetworkDeviceSkus_ListBySubscription_MaximumSet_Gen", + "operationId": "NetworkDeviceSkus_ListBySubscription", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "model": "model1", + "manufacturer": "Arista", + "supportedVersions": [ + { + "version": "1.0.0", + "vendorOsVersion": "2.0", + "vendorFirmwareVersion": "11.2", + "isDefault": "True" + } + ], + "supportedRoleTypes": [ + "CE" + ], + "interfaces": [ + { + "identifier": "HundredGigE0/0", + "interfaceType": "type1", + "supportedConnectorTypes": [ + { + "connectorType": "Optical", + "maxSpeedInMbps": 100 + } + ] + } + ], + "provisioningState": "Accepted" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/providers/Microsoft.ManagedNetworkFabric/networkDeviceSkus/example-deviceSku", + "name": "example-deviceSku", + "type": "microsoft.managednetworkfabric/networkDeviceSkus", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkDevices_Create.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkDevices_Create.json new file mode 100644 index 000000000000..0eb2249de53c --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkDevices_Create.json @@ -0,0 +1,97 @@ +{ + "title": "NetworkDevices_Create_MaximumSet_Gen", + "operationId": "NetworkDevices_Create", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkDeviceName": "example-device", + "resource": { + "properties": { + "annotation": "annotation", + "hostName": "NFA-Device", + "serialNumber": "Vendor;DCS-7280XXX-24;12.05;JPE2111XXXX", + "networkDeviceSku": "DeviceSku", + "networkDeviceRole": "CE", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastuseuap" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "hostName": "NFA-Device", + "serialNumber": "Vendor;DCS-7280XXX-24;12.05;JPE2111XXXX", + "version": "1.0", + "networkDeviceSku": "DeviceSku", + "networkDeviceRole": "CE", + "networkRackId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-rack", + "managementIpv4Address": "10.10.10.10", + "managementIpv6Address": "2F::1/100", + "rwDeviceConfig": "hostname access-switch1\n enable secret somestrongpass", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-device", + "name": "example-device", + "type": "microsoft.managednetworkfabric/networkdevices", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotation", + "hostName": "NFA-Device", + "serialNumber": "Vendor;DCS-7280XXX-24;12.05;JPE2111XXXX", + "version": "1.0", + "networkDeviceSku": "DeviceSku", + "networkDeviceRole": "CE", + "networkRackId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-rack", + "managementIpv4Address": "10.10.10.10", + "managementIpv6Address": "2F::1/100", + "rwDeviceConfig": "hostname access-switch1\n enable secret somestrongpass", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-device", + "name": "example-device", + "type": "microsoft.managednetworkfabric/networkdevices", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkDevices_Delete.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkDevices_Delete.json new file mode 100644 index 000000000000..b83e96dc47f0 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkDevices_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "NetworkDevices_Delete_MaximumSet_Gen", + "operationId": "NetworkDevices_Delete", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkDeviceName": "example-device" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkDevices_Get.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkDevices_Get.json new file mode 100644 index 000000000000..e4433c2309af --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkDevices_Get.json @@ -0,0 +1,49 @@ +{ + "title": "NetworkDevices_Get_MaximumSet_Gen", + "operationId": "NetworkDevices_Get", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkDeviceName": "example-device" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "hostName": "NFA-Device", + "serialNumber": "Vendor;DCS-7280XXX-24;12.05;JPE2111XXXX", + "version": "1.0", + "networkDeviceSku": "DeviceSku", + "networkDeviceRole": "CE", + "networkRackId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-rack", + "managementIpv4Address": "10.10.10.10", + "managementIpv6Address": "2F::1/100", + "rwDeviceConfig": "hostname access-switch1\n enable secret somestrongpass", + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-device", + "name": "example-device", + "type": "microsoft.managednetworkfabric/networkdevices", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkDevices_ListByResourceGroup.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkDevices_ListByResourceGroup.json new file mode 100644 index 000000000000..6a442d1ea8c5 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkDevices_ListByResourceGroup.json @@ -0,0 +1,53 @@ +{ + "title": "NetworkDevices_ListByResourceGroup_MaximumSet_Gen", + "operationId": "NetworkDevices_ListByResourceGroup", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "hostName": "NFA-Device", + "serialNumber": "Vendor;DCS-7280XXX-24;12.05;JPE2111XXXX", + "version": "1.0", + "networkDeviceSku": "DeviceSku", + "networkDeviceRole": "CE", + "networkRackId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-rack", + "managementIpv4Address": "10.10.10.10", + "managementIpv6Address": "2F::1/100", + "rwDeviceConfig": "hostname access-switch1\n enable secret somestrongpass", + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-device", + "name": "example-device", + "type": "microsoft.managednetworkfabric/networkdevices", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkDevices_ListBySubscription.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkDevices_ListBySubscription.json new file mode 100644 index 000000000000..95b6a9bf82f1 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkDevices_ListBySubscription.json @@ -0,0 +1,52 @@ +{ + "title": "NetworkDevices_ListBySubscription_MaximumSet_Gen", + "operationId": "NetworkDevices_ListBySubscription", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "hostName": "NFA-Device", + "serialNumber": "Vendor;DCS-7280XXX-24;12.05;JPE2111XXXX", + "version": "1.0", + "networkDeviceSku": "DeviceSku", + "networkDeviceRole": "CE", + "networkRackId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-rack", + "managementIpv4Address": "10.10.10.10", + "managementIpv6Address": "2F::1/100", + "rwDeviceConfig": "hostname access-switch1\n enable secret somestrongpass", + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-device", + "name": "example-device", + "type": "microsoft.managednetworkfabric/networkdevices", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkDevices_Reboot.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkDevices_Reboot.json new file mode 100644 index 000000000000..5fac4569baab --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkDevices_Reboot.json @@ -0,0 +1,37 @@ +{ + "title": "NetworkDevices_Reboot_MaximumSet_Gen", + "operationId": "NetworkDevices_Reboot", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkDeviceName": "example-device", + "body": { + "rebootType": "GracefulRebootWithZTP" + } + }, + "responses": { + "200": { + "body": { + "configurationState": "Succeeded", + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkDevices_RefreshConfiguration.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkDevices_RefreshConfiguration.json new file mode 100644 index 000000000000..956946244584 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkDevices_RefreshConfiguration.json @@ -0,0 +1,34 @@ +{ + "title": "NetworkDevices_RefreshConfiguration_MaximumSet_Gen", + "operationId": "NetworkDevices_RefreshConfiguration", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkDeviceName": "example-device" + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkDevices_RunRoCommand.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkDevices_RunRoCommand.json new file mode 100644 index 000000000000..220b6f637bd1 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkDevices_RunRoCommand.json @@ -0,0 +1,47 @@ +{ + "title": "NetworkDevices_RunRoCommand_MaximumSet_Gen", + "operationId": "NetworkDevices_RunRoCommand", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "1234ABCD-0A1B-1234-5678-123456ABCDEF", + "resourceGroupName": "example-rg", + "networkDeviceName": "example-device", + "body": { + "command": "show version" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "zuwgsrizc", + "message": "v", + "target": "elwgfga", + "details": [], + "additionalInfo": [ + { + "type": "modrphiaxpggwxenqcitxvbeevku", + "info": {} + } + ] + }, + "endTime": "2025-04-25T08:06:00.912Z", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/providers/Microsoft.ManagedNetworkFabric/locations/UKSOUTH/operationStatuses/b7c3d8f2-56e4-4a9b-8c7d-123456789ABC*1234567890ABCDEF1234567890ABCDEF1234567890ABCDEF1234567890ABCDEF", + "name": "b7c3d8f2-56e4-4a9b-8c7d-123456789ABC*1234567890ABCDEF1234567890ABCDEF1234567890ABCDEF1234567890ABCDEF", + "properties": { + "configurationState": "Succeeded", + "outputUrl": "https://testsast1.blob.core.windows.net/container1", + "deviceConfigurationPreview": "{\n \"architecture\": \"arm64\",\n \"bootupTimestamp\": 1745279999.1234567,\n \"configMacAddress\": \"11:22:33:44:55:66\",\n \"hardwareRevision\": \"RevB\",\n \"hwMacAddress\": \"66:55:44:33:22:11\",\n \"imageFormatVersion\": \"2.0\",\n \"imageOptimization\": \"High\",\n \"internalBuildId\": \"a123b456-c789-0123-d456-7890e123f456\",\n \"internalVersion\": \"5.12.1FX-NX-12345678.5121FXNX\",\n \"isIntlVersion\": true,\n \"kernelVersion\": \"6.0.0-1.cm3\",\n \"memFree\": 209715200,\n \"memTotal\": 262144000,\n \"mfgName\": \"Cisco\",\n \"modelName\": \"vEOS\",\n \"serialNumber\": \"1234567890ABCDEF1234567890ABCDEF\",\n \"systemMacAddress\": \"aa:bb:cc:dd:ee:ff\",\n \"uptime\": 123456.78901234567,\n \"version\": \"5.12.1FX-NX-12345678.5121FXNX (release build)\"\n}" + }, + "resourceId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-device", + "startTime": "2025-04-25T08:06:00.912Z", + "status": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkDevices_RunRwCommand.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkDevices_RunRwCommand.json new file mode 100644 index 000000000000..354d7785cc4e --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkDevices_RunRwCommand.json @@ -0,0 +1,38 @@ +{ + "title": "NetworkDevices_RunRwCommand_MaximumSet_Gen", + "operationId": "NetworkDevices_RunRwCommand", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkDeviceName": "example-device", + "body": { + "command": "yzuabghycngqmqtfacvoh" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "svvzwijqaghjlelhr", + "message": "kgttomemzowwdiqvbtqlrd", + "target": "txdqddgrezjihhhrmdovikhm", + "details": [], + "additionalInfo": [ + { + "type": "vcaekwfqlkfzcjompti", + "info": {} + } + ] + }, + "configurationState": "Succeeded", + "outputUrl": "hypjtiwzhevuc" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkDevices_Update.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkDevices_Update.json new file mode 100644 index 000000000000..dfc91b4d8b01 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkDevices_Update.json @@ -0,0 +1,61 @@ +{ + "title": "NetworkDevices_Update_MaximumSet_Gen", + "operationId": "NetworkDevices_Update", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkDeviceName": "example-device", + "properties": { + "tags": { + "KeyId": "KeyValue" + }, + "properties": { + "annotation": "annotation", + "hostName": "NFA-Device", + "serialNumber": "Vendor;DCS-7280XXX-24;12.05;JPE2111XXXX" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "hostName": "NFA-Device", + "serialNumber": "Vendor;DCS-7280XXX-24;12.05;JPE2111XXXX", + "version": "1.0", + "networkDeviceSku": "DeviceSku", + "networkDeviceRole": "CE", + "networkRackId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-rack", + "managementIpv4Address": "10.10.10.10", + "managementIpv6Address": "2F::1/100", + "rwDeviceConfig": "hostname access-switch1\n enable secret somestrongpass", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-device", + "name": "example-device", + "type": "microsoft.managednetworkfabric/networkdevices", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkDevices_UpdateAdministrativeState.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkDevices_UpdateAdministrativeState.json new file mode 100644 index 000000000000..e20ace6660bc --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkDevices_UpdateAdministrativeState.json @@ -0,0 +1,40 @@ +{ + "title": "NetworkDevices_UpdateAdministrativeState_MaximumSet_Gen", + "operationId": "NetworkDevices_UpdateAdministrativeState", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkDeviceName": "example-device", + "body": { + "resourceIds": [ + "" + ], + "state": "RMA" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkDevices_Upgrade.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkDevices_Upgrade.json new file mode 100644 index 000000000000..9ae32f7195e8 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkDevices_Upgrade.json @@ -0,0 +1,37 @@ +{ + "title": "NetworkDevices_Upgrade_MaximumSet_Gen", + "operationId": "NetworkDevices_Upgrade", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkDeviceName": "example-device", + "body": { + "version": "1.0.0" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabricControllers_Create.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabricControllers_Create.json new file mode 100644 index 000000000000..cfb75f7bdf0c --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabricControllers_Create.json @@ -0,0 +1,174 @@ +{ + "title": "NetworkFabricControllers_Create_MaximumSet_Gen", + "operationId": "NetworkFabricControllers_Create", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricControllerName": "example-networkController", + "resource": { + "properties": { + "annotation": "annotation", + "infrastructureExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName", + "expressRouteAuthorizationKey": "xxx-xxx-xxx" + } + ], + "workloadExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName", + "expressRouteAuthorizationKey": "xxx-xxx-xxx" + } + ], + "infrastructureServices": { + "ipv4AddressSpaces": [ + "172.253.0.0/19" + ], + "ipv6AddressSpaces": [] + }, + "workloadServices": { + "ipv4AddressSpaces": [ + "172.253.28.0/22" + ], + "ipv6AddressSpaces": [] + }, + "managedResourceGroupConfiguration": { + "name": "managedResourceGroupName", + "location": "eastus" + }, + "isWorkloadManagementNetworkEnabled": "True", + "ipv4AddressSpace": "172.253.0.0/19", + "ipv6AddressSpace": "::/60", + "nfcSku": "Standard" + }, + "tags": { + "keyId": "KeyValue" + }, + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "infrastructureExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName" + } + ], + "workloadExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName" + } + ], + "infrastructureServices": { + "ipv4AddressSpaces": [ + "172.253.0.0/19" + ], + "ipv6AddressSpaces": [] + }, + "workloadServices": { + "ipv4AddressSpaces": [ + "172.253.28.0/22" + ], + "ipv6AddressSpaces": [] + }, + "managedResourceGroupConfiguration": { + "name": "managedResourceGroupName", + "location": "eastus" + }, + "networkFabricIds": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/eaxmple-fabric" + ], + "isWorkloadManagementNetworkEnabled": "True", + "tenantInternetGatewayIds": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/internetGateways/example-internetGateway" + ], + "ipv4AddressSpace": "172.253.0.0/19", + "ipv6AddressSpace": "::/60", + "nfcSku": "Standard", + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-networkController", + "name": "example-networkController", + "type": "microsoft.managednetworkfabric/networkfabriccontrollers", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotation", + "infrastructureExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName" + } + ], + "workloadExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName" + } + ], + "infrastructureServices": { + "ipv4AddressSpaces": [ + "172.253.0.0/19" + ], + "ipv6AddressSpaces": [] + }, + "workloadServices": { + "ipv4AddressSpaces": [ + "172.253.28.0/22" + ], + "ipv6AddressSpaces": [] + }, + "managedResourceGroupConfiguration": { + "name": "managedResourceGroupName", + "location": "eastus" + }, + "networkFabricIds": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/eaxmple-fabric" + ], + "isWorkloadManagementNetworkEnabled": "True", + "tenantInternetGatewayIds": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/internetGateways/example-internetGateway" + ], + "ipv4AddressSpace": "172.253.0.0/19", + "ipv6AddressSpace": "::/60", + "nfcSku": "Standard", + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-networkController", + "name": "example-networkController", + "type": "microsoft.managednetworkfabric/networkfabriccontrollers", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabricControllers_Delete.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabricControllers_Delete.json new file mode 100644 index 000000000000..66bc2de3e8b7 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabricControllers_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "NetworkFabricControllers_Delete_MaximumSet_Gen", + "operationId": "NetworkFabricControllers_Delete", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricControllerName": "example-networkController" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabricControllers_Get.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabricControllers_Get.json new file mode 100644 index 000000000000..7ff43178add7 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabricControllers_Get.json @@ -0,0 +1,74 @@ +{ + "title": "NetworkFabricControllers_Get_MaximumSet_Gen", + "operationId": "NetworkFabricControllers_Get", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricControllerName": "example-networkController" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "infrastructureExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName" + } + ], + "workloadExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName" + } + ], + "infrastructureServices": { + "ipv4AddressSpaces": [ + "172.253.0.0/19" + ], + "ipv6AddressSpaces": [] + }, + "workloadServices": { + "ipv4AddressSpaces": [ + "172.253.28.0/22" + ], + "ipv6AddressSpaces": [] + }, + "managedResourceGroupConfiguration": { + "name": "managedResourceGroupName", + "location": "eastus" + }, + "networkFabricIds": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/eaxmple-fabric" + ], + "isWorkloadManagementNetworkEnabled": "True", + "tenantInternetGatewayIds": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/internetGateways/example-internetGateway" + ], + "ipv4AddressSpace": "172.253.0.0/19", + "ipv6AddressSpace": "::/60", + "nfcSku": "Standard", + "lastOperation": { + "details": "Succeeded" + }, + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-networkController", + "name": "example-networkController", + "type": "microsoft.managednetworkfabric/networkfabriccontrollers", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabricControllers_ListByResourceGroup.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabricControllers_ListByResourceGroup.json new file mode 100644 index 000000000000..8258f44a82bd --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabricControllers_ListByResourceGroup.json @@ -0,0 +1,78 @@ +{ + "title": "NetworkFabricControllers_ListByResourceGroup_MaximumSet_Gen", + "operationId": "NetworkFabricControllers_ListByResourceGroup", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "infrastructureExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName" + } + ], + "workloadExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName" + } + ], + "infrastructureServices": { + "ipv4AddressSpaces": [ + "172.253.0.0/19" + ], + "ipv6AddressSpaces": [] + }, + "workloadServices": { + "ipv4AddressSpaces": [ + "172.253.28.0/22" + ], + "ipv6AddressSpaces": [] + }, + "managedResourceGroupConfiguration": { + "name": "managedResourceGroupName", + "location": "eastus" + }, + "networkFabricIds": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/eaxmple-fabric" + ], + "isWorkloadManagementNetworkEnabled": "True", + "tenantInternetGatewayIds": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/internetGateways/example-internetGateway" + ], + "ipv4AddressSpace": "172.253.0.0/19", + "ipv6AddressSpace": "::/60", + "nfcSku": "Standard", + "lastOperation": { + "details": "Succeeded" + }, + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-networkController", + "name": "example-networkController", + "type": "microsoft.managednetworkfabric/networkfabriccontrollers", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabricControllers_ListBySubscription.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabricControllers_ListBySubscription.json new file mode 100644 index 000000000000..9fec9104010c --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabricControllers_ListBySubscription.json @@ -0,0 +1,77 @@ +{ + "title": "NetworkFabricControllers_ListBySubscription_MaximumSet_Gen", + "operationId": "NetworkFabricControllers_ListBySubscription", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "infrastructureExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName" + } + ], + "workloadExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName" + } + ], + "infrastructureServices": { + "ipv4AddressSpaces": [ + "172.253.0.0/19" + ], + "ipv6AddressSpaces": [] + }, + "workloadServices": { + "ipv4AddressSpaces": [ + "172.253.28.0/22" + ], + "ipv6AddressSpaces": [] + }, + "managedResourceGroupConfiguration": { + "name": "managedResourceGroupName", + "location": "eastus" + }, + "networkFabricIds": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/eaxmple-fabric" + ], + "isWorkloadManagementNetworkEnabled": "True", + "tenantInternetGatewayIds": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/internetGateways/example-internetGateway" + ], + "ipv4AddressSpace": "172.253.0.0/19", + "ipv6AddressSpace": "::/60", + "nfcSku": "Standard", + "lastOperation": { + "details": "Succeeded" + }, + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-networkController", + "name": "example-networkController", + "type": "microsoft.managednetworkfabric/networkfabriccontrollers", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabricControllers_Update.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabricControllers_Update.json new file mode 100644 index 000000000000..32956e2232fb --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabricControllers_Update.json @@ -0,0 +1,95 @@ +{ + "title": "NetworkFabricControllers_Update_MaximumSet_Gen", + "operationId": "NetworkFabricControllers_Update", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricControllerName": "example-networkController", + "properties": { + "tags": { + "keyId": "KeyValue" + }, + "properties": { + "infrastructureExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName", + "expressRouteAuthorizationKey": "xxx-xxx-xxx" + } + ], + "workloadExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName", + "expressRouteAuthorizationKey": "xxx-xxx-xxx" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "infrastructureExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName" + } + ], + "workloadExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName" + } + ], + "infrastructureServices": { + "ipv4AddressSpaces": [ + "172.253.0.0/19" + ], + "ipv6AddressSpaces": [] + }, + "workloadServices": { + "ipv4AddressSpaces": [ + "172.253.28.0/22" + ], + "ipv6AddressSpaces": [] + }, + "managedResourceGroupConfiguration": { + "name": "managedResourceGroupName", + "location": "eastus" + }, + "networkFabricIds": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/eaxmple-fabric" + ], + "isWorkloadManagementNetworkEnabled": "True", + "tenantInternetGatewayIds": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/internetGateways/example-internetGateway" + ], + "ipv4AddressSpace": "172.253.0.0/19", + "ipv6AddressSpace": "::/60", + "nfcSku": "Standard", + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-networkController", + "name": "example-networkController", + "type": "microsoft.managednetworkfabric/networkfabriccontrollers", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabricSkus_Get.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabricSkus_Get.json new file mode 100644 index 000000000000..28ee19f69744 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabricSkus_Get.json @@ -0,0 +1,36 @@ +{ + "title": "NetworkFabricSkus_Get_MaximumSet_Gen", + "operationId": "NetworkFabricSkus_Get", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "networkFabricSkuName": "wxample-fabricsku" + }, + "responses": { + "200": { + "body": { + "properties": { + "type": "SingleRack", + "maxComputeRacks": 4, + "maximumServerCount": 9, + "supportedVersions": [ + "1.0.0" + ], + "details": "https://azure/fabricskuDetails", + "provisioningState": "Accepted" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/providers/Microsoft.ManagedNetworkFabric/networkFabricSkus/example-fabricsku", + "name": "example-fabricsku", + "type": "microsoft.managednetworkfabric/networkFabricSkus", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabricSkus_ListBySubscription.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabricSkus_ListBySubscription.json new file mode 100644 index 000000000000..40c53fb72bb0 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabricSkus_ListBySubscription.json @@ -0,0 +1,40 @@ +{ + "title": "NetworkFabricSkus_ListBySubscription_MaximumSet_Gen", + "operationId": "NetworkFabricSkus_ListBySubscription", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "type": "SingleRack", + "maxComputeRacks": 4, + "maximumServerCount": 9, + "supportedVersions": [ + "1.0.0" + ], + "details": "https://azure/fabricskuDetails", + "provisioningState": "Accepted" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/providers/Microsoft.ManagedNetworkFabric/networkFabricSkus/example-fabricsku", + "name": "example-fabricsku", + "type": "microsoft.managednetworkfabric/networkFabricSkus", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabrics_ArmConfigurationDiff.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabrics_ArmConfigurationDiff.json new file mode 100644 index 000000000000..6e028fc88a2b --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabrics_ArmConfigurationDiff.json @@ -0,0 +1,34 @@ +{ + "title": "NetworkFabrics_ArmConfigurationDiff_MaximumSet", + "operationId": "NetworkFabrics_ArmConfigurationDiff", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-fabric" + }, + "responses": { + "200": { + "body": { + "configurationDiffUrl": "", + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "seonvum", + "info": {} + } + ] + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabrics_BatchUpdate.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabrics_BatchUpdate.json new file mode 100644 index 000000000000..e2b5965a33f5 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabrics_BatchUpdate.json @@ -0,0 +1,27 @@ +{ + "title": "NetworkFabrics_BatchUpdate", + "operationId": "NetworkFabrics_BatchUpdate", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-fabric", + "body": { + "operation": "Stop", + "batchId": "batchid1" + } + }, + "responses": { + "200": { + "body": { + "batchId": "batchid1", + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabrics_CommitBatchStatus.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabrics_CommitBatchStatus.json new file mode 100644 index 000000000000..d0cc282b3d93 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabrics_CommitBatchStatus.json @@ -0,0 +1,43 @@ +{ + "title": "NetworkFabrics_CommitBatchStatus_MaximumSet", + "operationId": "NetworkFabrics_CommitBatchStatus", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-fabric", + "body": { + "commitBatchId": "batch-id" + } + }, + "responses": { + "200": { + "body": { + "commitBatchId": "batch-id", + "commitBatchState": "Processing", + "commitBatchDetails": { + "failedDevices": [ + "device-id-1" + ] + }, + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabrics_CommitConfiguration.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabrics_CommitConfiguration.json new file mode 100644 index 000000000000..78eb70b012d1 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabrics_CommitConfiguration.json @@ -0,0 +1,34 @@ +{ + "title": "NetworkFabrics_CommitConfiguration_MaximumSet_Gen", + "operationId": "NetworkFabrics_CommitConfiguration", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-networkFabric" + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabrics_Create.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabrics_Create.json new file mode 100644 index 000000000000..39708defaebd --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabrics_Create.json @@ -0,0 +1,518 @@ +{ + "title": "NetworkFabrics_Create_MaximumSet_Gen", + "operationId": "NetworkFabrics_Create", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-fabric", + "resource": { + "properties": { + "annotation": "annotation", + "networkFabricSku": "M4-A400-A100-C16-aa", + "fabricVersion": "version1", + "storageAccountConfiguration": { + "storageAccountId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Storage/storageAccounts/nfStorage", + "storageAccountIdentity": { + "identityType": "UserAssignedIdentity", + "userAssignedIdentityResourceId": "/subscriptions/12345678-1234-1234-1234-123456789abc/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/my-id" + } + }, + "networkFabricControllerId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-fabricController", + "rackCount": 4, + "serverCountPerRack": 8, + "storageArrayCount": 1, + "ipv4Prefix": "10.18.0.0/19", + "ipv6Prefix": "3FFE:FFFF:0:CD40::/59", + "fabricASN": 29249, + "terminalServerConfiguration": { + "username": "username", + "password": "xxx-xx-xx", + "serialNumber": "123456", + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "40.0.0.14/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127" + }, + "managementNetworkConfiguration": { + "infrastructureVpnConfiguration": { + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10050" + ], + "exportRouteTargets": [ + "65046:10050" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "mtu": 1501, + "vlanId": 3001, + "peerASN": 1235, + "bfdConfiguration": { + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "20.0.0.13/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127" + } + }, + "workloadVpnConfiguration": { + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10050" + ], + "exportRouteTargets": [ + "65046:10050" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "mtu": 1500, + "vlanId": 3000, + "peerASN": 61234, + "bfdConfiguration": { + "intervalInMilliSeconds": 300, + "multiplier": 5 + }, + "primaryIpv4Prefix": "10.0.0.14/30", + "primaryIpv6Prefix": "2FFE:FFFF:0:CD30::a7/126", + "secondaryIpv4Prefix": "10.0.0.15/30", + "secondaryIpv6Prefix": "2FFE:FFFF:0:CD30::ac/126" + } + } + }, + "hardwareAlertThreshold": 74, + "controlPlaneAcls": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl" + ], + "trustedIpPrefixes": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-prefix" + ], + "uniqueRdConfiguration": { + "uniqueRdConfigurationState": "Enabled", + "nniDerivedUniqueRdConfigurationState": "Enabled" + } + }, + "identity": { + "type": "None", + "userAssignedIdentities": { + "key872": {} + } + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkFabricSku": "M4-A400-A100-C16-aa", + "fabricVersion": "version1", + "routerIds": [ + "routerId" + ], + "storageAccountConfiguration": { + "storageAccountId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Storage/storageAccounts/nfStorage", + "storageAccountIdentity": { + "identityType": "UserAssignedIdentity", + "userAssignedIdentityResourceId": "/subscriptions/12345678-1234-1234-1234-123456789abc/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/my-id" + } + }, + "fabricLocks": [ + { + "lockState": "Enabled", + "lockType": "Configuration" + } + ], + "networkFabricControllerId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-fabricController", + "rackCount": 4, + "serverCountPerRack": 8, + "storageArrayCount": 1, + "ipv4Prefix": "10.18.0.0/19", + "ipv6Prefix": "3FFE:FFFF:0:CD40::/59", + "fabricASN": 29249, + "terminalServerConfiguration": { + "username": "username", + "serialNumber": "123456", + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "40.0.0.14/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127", + "networkDeviceId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice" + }, + "managementNetworkConfiguration": { + "infrastructureVpnConfiguration": { + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "administrativeState": "Enabled", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10050" + ], + "exportRouteTargets": [ + "65046:10050" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "mtu": 1501, + "vlanId": 3001, + "peerASN": 1235, + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "20.0.0.13/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127" + } + }, + "workloadVpnConfiguration": { + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "administrativeState": "Enabled", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10050" + ], + "exportRouteTargets": [ + "65046:10050" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "mtu": 1500, + "vlanId": 3000, + "peerASN": 61234, + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 5 + }, + "primaryIpv4Prefix": "10.0.0.14/30", + "primaryIpv6Prefix": "2FFE:FFFF:0:CD30::a7/126", + "secondaryIpv4Prefix": "10.0.0.15/30", + "secondaryIpv6Prefix": "2FFE:FFFF:0:CD30::ac/126" + } + } + }, + "racks": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-networkRack" + ], + "l2IsolationDomains": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/example-l2Domain" + ], + "l3IsolationDomains": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3Domain" + ], + "hardwareAlertThreshold": 74, + "controlPlaneAcls": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl" + ], + "featureFlags": [ + { + "featureFlagName": "uniqueRdConfiguration", + "featureFlagValue": "Enabled" + } + ], + "trustedIpPrefixes": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-prefix" + ], + "uniqueRdConfiguration": { + "uniqueRdConfigurationState": "Enabled", + "uniqueRds": [ + "unique-rd-1" + ], + "nniDerivedUniqueRdConfigurationState": "Enabled" + }, + "activeCommitBatches": [ + "batch-id" + ], + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "identity": { + "principalId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "tenantId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "type": "None", + "userAssignedIdentities": { + "key872": { + "principalId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "clientId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + } + } + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "name": "example-fabric", + "type": "Microsoft.ManagedNetworkFabric/networkFabrics", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotation", + "networkFabricSku": "M4-A400-A100-C16-aa", + "fabricVersion": "version1", + "routerIds": [ + "routerId" + ], + "storageAccountConfiguration": { + "storageAccountId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Storage/storageAccounts/nfStorage", + "storageAccountIdentity": { + "identityType": "UserAssignedIdentity", + "userAssignedIdentityResourceId": "/subscriptions/12345678-1234-1234-1234-123456789abc/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/my-id" + } + }, + "fabricLocks": [ + { + "lockState": "Enabled", + "lockType": "Configuration" + } + ], + "networkFabricControllerId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-fabricController", + "rackCount": 4, + "serverCountPerRack": 8, + "storageArrayCount": 1, + "ipv4Prefix": "10.18.0.0/19", + "ipv6Prefix": "3FFE:FFFF:0:CD40::/59", + "fabricASN": 29249, + "terminalServerConfiguration": { + "username": "username", + "serialNumber": "123456", + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "40.0.0.14/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127", + "networkDeviceId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice" + }, + "managementNetworkConfiguration": { + "infrastructureVpnConfiguration": { + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "administrativeState": "Enabled", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10050" + ], + "exportRouteTargets": [ + "65046:10050" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "mtu": 1501, + "vlanId": 3001, + "peerASN": 1235, + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "20.0.0.13/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127" + } + }, + "workloadVpnConfiguration": { + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "administrativeState": "Enabled", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10050" + ], + "exportRouteTargets": [ + "65046:10050" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "mtu": 1500, + "vlanId": 3000, + "peerASN": 61234, + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 5 + }, + "primaryIpv4Prefix": "10.0.0.14/30", + "primaryIpv6Prefix": "2FFE:FFFF:0:CD30::a7/126", + "secondaryIpv4Prefix": "10.0.0.15/30", + "secondaryIpv6Prefix": "2FFE:FFFF:0:CD30::ac/126" + } + } + }, + "racks": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-networkRack" + ], + "l2IsolationDomains": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/example-l2Domain" + ], + "l3IsolationDomains": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3Domain" + ], + "hardwareAlertThreshold": 74, + "controlPlaneAcls": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl" + ], + "featureFlags": [ + { + "featureFlagName": "uniqueRdConfiguration", + "featureFlagValue": "Enabled" + } + ], + "trustedIpPrefixes": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-prefix" + ], + "uniqueRdConfiguration": { + "uniqueRdConfigurationState": "Enabled", + "uniqueRds": [ + "unique-rd-1" + ], + "nniDerivedUniqueRdConfigurationState": "Enabled" + }, + "activeCommitBatches": [ + "batch-id" + ], + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "identity": { + "principalId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "tenantId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "type": "None", + "userAssignedIdentities": { + "key872": { + "principalId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "clientId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + } + } + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "name": "example-fabric", + "type": "Microsoft.ManagedNetworkFabric/networkFabrics", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabrics_Delete.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabrics_Delete.json new file mode 100644 index 000000000000..26e029aae8fa --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabrics_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "NetworkFabrics_Delete_MaximumSet_Gen", + "operationId": "NetworkFabrics_Delete", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-fabric" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabrics_Deprovision.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabrics_Deprovision.json new file mode 100644 index 000000000000..06522aeadab8 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabrics_Deprovision.json @@ -0,0 +1,40 @@ +{ + "title": "NetworkFabrics_Deprovision_MaximumSet_Gen", + "operationId": "NetworkFabrics_Deprovision", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-fabric" + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded", + "successfulDevices": [ + "" + ], + "failedDevices": [ + "" + ] + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabrics_DiscardBatchUpdate.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabrics_DiscardBatchUpdate.json new file mode 100644 index 000000000000..02411a21ca36 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabrics_DiscardBatchUpdate.json @@ -0,0 +1,25 @@ +{ + "title": "NetworkFabrics_DiscardBatchUpdate", + "operationId": "NetworkFabrics_DiscardBatchUpdate", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-fabric", + "body": { + "batchId": "batchid1" + } + }, + "responses": { + "200": { + "body": { + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabrics_DiscardCommitBatch.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabrics_DiscardCommitBatch.json new file mode 100644 index 000000000000..a2cfb81b741e --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabrics_DiscardCommitBatch.json @@ -0,0 +1,37 @@ +{ + "title": "NetworkFabrics_DiscardCommitBatch", + "operationId": "NetworkFabrics_DiscardCommitBatch", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-fabric", + "body": { + "commitBatchId": "batchId1" + } + }, + "responses": { + "200": { + "body": { + "commitBatchId": "batchId1", + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabrics_Get.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabrics_Get.json new file mode 100644 index 000000000000..17e4b37c5091 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabrics_Get.json @@ -0,0 +1,201 @@ +{ + "title": "NetworkFabrics_Get_MaximumSet_Gen", + "operationId": "NetworkFabrics_Get", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-fabric" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkFabricSku": "M4-A400-A100-C16-aa", + "fabricVersion": "version1", + "routerIds": [ + "routerId" + ], + "storageAccountConfiguration": { + "storageAccountId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Storage/storageAccounts/nfStorage", + "storageAccountIdentity": { + "identityType": "UserAssignedIdentity", + "userAssignedIdentityResourceId": "/subscriptions/12345678-1234-1234-1234-123456789abc/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/my-id" + } + }, + "fabricLocks": [ + { + "lockState": "Enabled", + "lockType": "Configuration" + } + ], + "networkFabricControllerId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-fabricController", + "rackCount": 4, + "serverCountPerRack": 8, + "storageArrayCount": 1, + "ipv4Prefix": "10.18.0.0/19", + "ipv6Prefix": "3FFE:FFFF:0:CD40::/59", + "fabricASN": 29249, + "terminalServerConfiguration": { + "username": "username", + "serialNumber": "123456", + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "40.0.0.14/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127", + "networkDeviceId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice" + }, + "managementNetworkConfiguration": { + "infrastructureVpnConfiguration": { + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "administrativeState": "Enabled", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10050" + ], + "exportRouteTargets": [ + "65046:10050" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "mtu": 1501, + "vlanId": 3001, + "peerASN": 1235, + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "20.0.0.13/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127" + } + }, + "workloadVpnConfiguration": { + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "administrativeState": "Enabled", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10050" + ], + "exportRouteTargets": [ + "65046:10050" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "mtu": 1500, + "vlanId": 3000, + "peerASN": 61234, + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 5 + }, + "primaryIpv4Prefix": "10.0.0.14/30", + "primaryIpv6Prefix": "2FFE:FFFF:0:CD30::a7/126", + "secondaryIpv4Prefix": "10.0.0.15/30", + "secondaryIpv6Prefix": "2FFE:FFFF:0:CD30::ac/126" + } + } + }, + "racks": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-networkRack" + ], + "l2IsolationDomains": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/example-l2Domain" + ], + "l3IsolationDomains": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3Domain" + ], + "hardwareAlertThreshold": 74, + "controlPlaneAcls": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl" + ], + "featureFlags": [ + { + "featureFlagName": "uniqueRdConfiguration", + "featureFlagValue": "Enabled" + } + ], + "trustedIpPrefixes": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-prefix" + ], + "uniqueRdConfiguration": { + "uniqueRdConfigurationState": "Enabled", + "uniqueRds": [ + "unique-rd-1" + ], + "nniDerivedUniqueRdConfigurationState": "Enabled" + }, + "activeCommitBatches": [ + "batch-id-1" + ], + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "identity": { + "principalId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "tenantId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "type": "None", + "userAssignedIdentities": { + "key872": { + "principalId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "clientId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + } + } + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "name": "example-fabric", + "type": "Microsoft.ManagedNetworkFabric/networkFabrics", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabrics_GetTopology.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabrics_GetTopology.json new file mode 100644 index 000000000000..90b85549addd --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabrics_GetTopology.json @@ -0,0 +1,35 @@ +{ + "title": "NetworkFabrics_GetTopology_MaximumSet_Gen", + "operationId": "NetworkFabrics_GetTopology", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-fabric" + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded", + "url": "https://ActionDetails" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabrics_ListByResourceGroup.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabrics_ListByResourceGroup.json new file mode 100644 index 000000000000..fe690a8b9062 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabrics_ListByResourceGroup.json @@ -0,0 +1,205 @@ +{ + "title": "NetworkFabrics_ListByResourceGroup_MaximumSet_Gen", + "operationId": "NetworkFabrics_ListByResourceGroup", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "networkFabricSku": "M4-A400-A100-C16-aa", + "fabricVersion": "version1", + "routerIds": [ + "routerId" + ], + "storageAccountConfiguration": { + "storageAccountId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Storage/storageAccounts/nfStorage", + "storageAccountIdentity": { + "identityType": "UserAssignedIdentity", + "userAssignedIdentityResourceId": "/subscriptions/12345678-1234-1234-1234-123456789abc/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/my-id" + } + }, + "fabricLocks": [ + { + "lockState": "Enabled", + "lockType": "Configuration" + } + ], + "networkFabricControllerId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-fabricController", + "rackCount": 4, + "serverCountPerRack": 8, + "storageArrayCount": 1, + "ipv4Prefix": "10.18.0.0/19", + "ipv6Prefix": "3FFE:FFFF:0:CD40::/59", + "fabricASN": 29249, + "terminalServerConfiguration": { + "username": "username", + "serialNumber": "123456", + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "40.0.0.14/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127", + "networkDeviceId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice" + }, + "managementNetworkConfiguration": { + "infrastructureVpnConfiguration": { + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "administrativeState": "Enabled", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10050" + ], + "exportRouteTargets": [ + "65046:10050" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "mtu": 1501, + "vlanId": 3001, + "peerASN": 1235, + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "20.0.0.13/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127" + } + }, + "workloadVpnConfiguration": { + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "administrativeState": "Enabled", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10050" + ], + "exportRouteTargets": [ + "65046:10050" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "mtu": 1500, + "vlanId": 3000, + "peerASN": 61234, + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 5 + }, + "primaryIpv4Prefix": "10.0.0.14/30", + "primaryIpv6Prefix": "2FFE:FFFF:0:CD30::a7/126", + "secondaryIpv4Prefix": "10.0.0.15/30", + "secondaryIpv6Prefix": "2FFE:FFFF:0:CD30::ac/126" + } + } + }, + "racks": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-networkRack" + ], + "l2IsolationDomains": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/example-l2Domain" + ], + "l3IsolationDomains": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3Domain" + ], + "hardwareAlertThreshold": 74, + "controlPlaneAcls": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl" + ], + "featureFlags": [ + { + "featureFlagName": "uniqueRdConfiguration", + "featureFlagValue": "Enabled" + } + ], + "trustedIpPrefixes": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-prefix" + ], + "uniqueRdConfiguration": { + "uniqueRdConfigurationState": "Enabled", + "uniqueRds": [ + "uniqueRd" + ], + "nniDerivedUniqueRdConfigurationState": "Enabled" + }, + "activeCommitBatches": [ + "batchId" + ], + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "identity": { + "principalId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "tenantId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "type": "None", + "userAssignedIdentities": { + "key872": { + "principalId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "clientId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + } + } + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "name": "example-fabric", + "type": "Microsoft.ManagedNetworkFabric/networkFabrics", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabrics_ListBySubscription.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabrics_ListBySubscription.json new file mode 100644 index 000000000000..4df91f0dfefa --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabrics_ListBySubscription.json @@ -0,0 +1,204 @@ +{ + "title": "NetworkFabrics_ListBySubscription_MaximumSet_Gen", + "operationId": "NetworkFabrics_ListBySubscription", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "networkFabricSku": "M4-A400-A100-C16-aa", + "fabricVersion": "version1", + "routerIds": [ + "routerId" + ], + "storageAccountConfiguration": { + "storageAccountId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Storage/storageAccounts/nfStorage", + "storageAccountIdentity": { + "identityType": "UserAssignedIdentity", + "userAssignedIdentityResourceId": "/subscriptions/12345678-1234-1234-1234-123456789abc/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/my-id" + } + }, + "fabricLocks": [ + { + "lockState": "Enabled", + "lockType": "Configuration" + } + ], + "networkFabricControllerId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-fabricController", + "rackCount": 4, + "serverCountPerRack": 8, + "storageArrayCount": 1, + "ipv4Prefix": "10.18.0.0/19", + "ipv6Prefix": "3FFE:FFFF:0:CD40::/59", + "fabricASN": 29249, + "terminalServerConfiguration": { + "username": "username", + "serialNumber": "123456", + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "40.0.0.14/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127", + "networkDeviceId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice" + }, + "managementNetworkConfiguration": { + "infrastructureVpnConfiguration": { + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "administrativeState": "Enabled", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10050" + ], + "exportRouteTargets": [ + "65046:10050" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "mtu": 1501, + "vlanId": 3001, + "peerASN": 1235, + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "20.0.0.13/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127" + } + }, + "workloadVpnConfiguration": { + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "administrativeState": "Enabled", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10050" + ], + "exportRouteTargets": [ + "65046:10050" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "mtu": 1500, + "vlanId": 3000, + "peerASN": 61234, + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 5 + }, + "primaryIpv4Prefix": "10.0.0.14/30", + "primaryIpv6Prefix": "2FFE:FFFF:0:CD30::a7/126", + "secondaryIpv4Prefix": "10.0.0.15/30", + "secondaryIpv6Prefix": "2FFE:FFFF:0:CD30::ac/126" + } + } + }, + "racks": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-networkRack" + ], + "l2IsolationDomains": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/example-l2Domain" + ], + "l3IsolationDomains": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3Domain" + ], + "hardwareAlertThreshold": 74, + "controlPlaneAcls": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl" + ], + "featureFlags": [ + { + "featureFlagName": "uniqueRdConfiguration", + "featureFlagValue": "Enabled" + } + ], + "trustedIpPrefixes": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-prefix" + ], + "uniqueRdConfiguration": { + "uniqueRdConfigurationState": "Enabled", + "uniqueRds": [ + "unique-rd-1" + ], + "nniDerivedUniqueRdConfigurationState": "Enabled" + }, + "activeCommitBatches": [ + "batch-id-1" + ], + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "identity": { + "principalId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "tenantId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "type": "None", + "userAssignedIdentities": { + "key872": { + "principalId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "clientId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + } + } + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "name": "example-fabric", + "type": "Microsoft.ManagedNetworkFabric/networkFabrics", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabrics_LockFabric.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabrics_LockFabric.json new file mode 100644 index 000000000000..6e147e97dbfd --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabrics_LockFabric.json @@ -0,0 +1,38 @@ +{ + "title": "NetworkFabrics_LockFabric_MaximumSet", + "operationId": "NetworkFabrics_LockFabric", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-networkFabric", + "body": { + "lockType": "Administrative", + "action": "Lock" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabrics_Provision.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabrics_Provision.json new file mode 100644 index 000000000000..f8b57a7e5b55 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabrics_Provision.json @@ -0,0 +1,40 @@ +{ + "title": "NetworkFabrics_Provision_MaximumSet_Gen", + "operationId": "NetworkFabrics_Provision", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-fabric" + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded", + "successfulDevices": [ + "" + ], + "failedDevices": [ + "" + ] + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabrics_RefreshConfiguration.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabrics_RefreshConfiguration.json new file mode 100644 index 000000000000..38d53759231f --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabrics_RefreshConfiguration.json @@ -0,0 +1,34 @@ +{ + "title": "NetworkFabrics_RefreshConfiguration_MaximumSet_Gen", + "operationId": "NetworkFabrics_RefreshConfiguration", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-fabric" + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabrics_Update.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabrics_Update.json new file mode 100644 index 000000000000..c713cf9eede5 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabrics_Update.json @@ -0,0 +1,329 @@ +{ + "title": "NetworkFabrics_Update_MaximumSet_Gen", + "operationId": "NetworkFabrics_Update", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-fabric", + "properties": { + "tags": { + "keyId": "keyValue" + }, + "identity": { + "type": "None", + "userAssignedIdentities": { + "key872": {} + } + }, + "properties": { + "annotation": "annotation1", + "rackCount": 6, + "serverCountPerRack": 10, + "ipv4Prefix": "10.18.0.0/17", + "ipv6Prefix": "3FFE:FFFF:0:CD40::/60", + "fabricASN": 12345, + "storageAccountConfiguration": { + "storageAccountId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Storage/storageAccounts/nfStorage", + "storageAccountIdentity": { + "identityType": "UserAssignedIdentity", + "userAssignedIdentityResourceId": "/subscriptions/12345678-1234-1234-1234-123456789abc/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/my-id" + } + }, + "terminalServerConfiguration": { + "username": "username1", + "password": "xxxxxxxx", + "serialNumber": "1234567", + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "40.0.0.14/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127" + }, + "managementNetworkConfiguration": { + "infrastructureVpnConfiguration": { + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10050" + ], + "exportRouteTargets": [ + "65046:10050" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "mtu": 1501, + "vlanId": 3001, + "peerASN": 1235, + "bfdConfiguration": { + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "20.0.0.13/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127" + } + }, + "workloadVpnConfiguration": { + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10050" + ], + "exportRouteTargets": [ + "65046:10050" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "mtu": 1500, + "vlanId": 3000, + "peerASN": 61234, + "bfdConfiguration": { + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "primaryIpv4Prefix": "10.0.0.14/30", + "primaryIpv6Prefix": "2FFE:FFFF:0:CD30::a7/126", + "secondaryIpv4Prefix": "10.0.0.15/30", + "secondaryIpv6Prefix": "2FFE:FFFF:0:CD30::ac/126" + } + } + }, + "hardwareAlertThreshold": 43, + "controlPlaneAcls": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl" + ], + "trustedIpPrefixes": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-prefix" + ], + "uniqueRdConfiguration": { + "uniqueRdConfigurationState": "Enabled", + "nniDerivedUniqueRdConfigurationState": "Enabled" + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkFabricSku": "M4-A400-A100-C16-aa", + "fabricVersion": "version1", + "routerIds": [ + "routerId" + ], + "storageAccountConfiguration": { + "storageAccountId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Storage/storageAccounts/nfStorage", + "storageAccountIdentity": { + "identityType": "UserAssignedIdentity", + "userAssignedIdentityResourceId": "/subscriptions/12345678-1234-1234-1234-123456789abc/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/my-id" + } + }, + "fabricLocks": [ + { + "lockState": "Enabled", + "lockType": "Configuration" + } + ], + "networkFabricControllerId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-fabricController", + "rackCount": 4, + "serverCountPerRack": 8, + "storageArrayCount": 1, + "ipv4Prefix": "10.18.0.0/19", + "ipv6Prefix": "3FFE:FFFF:0:CD40::/59", + "fabricASN": 29249, + "terminalServerConfiguration": { + "username": "username", + "serialNumber": "123456", + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "40.0.0.14/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127", + "networkDeviceId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice" + }, + "managementNetworkConfiguration": { + "infrastructureVpnConfiguration": { + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "administrativeState": "Enabled", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10050" + ], + "exportRouteTargets": [ + "65046:10050" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "mtu": 1501, + "vlanId": 3001, + "peerASN": 1235, + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "20.0.0.13/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127" + } + }, + "workloadVpnConfiguration": { + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "administrativeState": "Enabled", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10050" + ], + "exportRouteTargets": [ + "65046:10050" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "mtu": 1500, + "vlanId": 3000, + "peerASN": 61234, + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 5 + }, + "primaryIpv4Prefix": "10.0.0.14/30", + "primaryIpv6Prefix": "2FFE:FFFF:0:CD30::a7/126", + "secondaryIpv4Prefix": "10.0.0.15/30", + "secondaryIpv6Prefix": "2FFE:FFFF:0:CD30::ac/126" + } + } + }, + "racks": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-networkRack" + ], + "l2IsolationDomains": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/example-l2Domain" + ], + "l3IsolationDomains": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3Domain" + ], + "hardwareAlertThreshold": 74, + "controlPlaneAcls": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl" + ], + "featureFlags": [ + { + "featureFlagName": "uniqueRdConfiguration", + "featureFlagValue": "Enabled" + } + ], + "trustedIpPrefixes": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-prefix" + ], + "uniqueRdConfiguration": { + "uniqueRdConfigurationState": "Enabled", + "uniqueRds": [ + "apogd" + ], + "nniDerivedUniqueRdConfigurationState": "Enabled" + }, + "activeCommitBatches": [ + "izc" + ], + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "identity": { + "principalId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "tenantId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "type": "None", + "userAssignedIdentities": { + "key872": { + "principalId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "clientId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + } + } + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "name": "example-fabric", + "type": "Microsoft.ManagedNetworkFabric/networkFabrics", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabrics_UpdateInfraManagementBfdConfiguration.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabrics_UpdateInfraManagementBfdConfiguration.json new file mode 100644 index 000000000000..c07cdeabf20a --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabrics_UpdateInfraManagementBfdConfiguration.json @@ -0,0 +1,40 @@ +{ + "title": "NetworkFabrics_UpdateInfraManagementBfdConfiguration_MaximumSet_Gen", + "operationId": "NetworkFabrics_UpdateInfraManagementBfdConfiguration", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-fabric", + "body": { + "resourceIds": [ + "" + ], + "state": "Enable" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabrics_UpdateWorkloadManagementBfdConfiguration.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabrics_UpdateWorkloadManagementBfdConfiguration.json new file mode 100644 index 000000000000..105e23cc2afb --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabrics_UpdateWorkloadManagementBfdConfiguration.json @@ -0,0 +1,40 @@ +{ + "title": "NetworkFabrics_UpdateWorkloadManagementBfdConfiguration_MaximumSet_Gen", + "operationId": "NetworkFabrics_UpdateWorkloadManagementBfdConfiguration", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-fabric", + "body": { + "resourceIds": [ + "" + ], + "state": "Enable" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabrics_Upgrade.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabrics_Upgrade.json new file mode 100644 index 000000000000..b1edde5b59b8 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabrics_Upgrade.json @@ -0,0 +1,38 @@ +{ + "title": "NetworkFabrics_Upgrade_MaximumSet_Gen", + "operationId": "NetworkFabrics_Upgrade", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-fabric", + "body": { + "version": "3.x.x", + "action": "Start" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabrics_ValidateConfiguration.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabrics_ValidateConfiguration.json new file mode 100644 index 000000000000..3b31f6a7b82d --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabrics_ValidateConfiguration.json @@ -0,0 +1,38 @@ +{ + "title": "NetworkFabrics_ValidateConfiguration_MaximumSet_Gen", + "operationId": "NetworkFabrics_ValidateConfiguration", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-fabric", + "body": { + "validateAction": "Cabling" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded", + "url": "https://ActionDetails" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabrics_ViewDeviceConfiguration.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabrics_ViewDeviceConfiguration.json new file mode 100644 index 000000000000..afdcf67cd3b0 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkFabrics_ViewDeviceConfiguration.json @@ -0,0 +1,34 @@ +{ + "title": "NetworkFabrics_ViewDeviceConfiguration_MaximumSet", + "operationId": "NetworkFabrics_ViewDeviceConfiguration", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-fabric" + }, + "responses": { + "200": { + "body": { + "deviceConfigurationUrl": "", + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkInterfaces_Create.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkInterfaces_Create.json new file mode 100644 index 000000000000..d34d17961a1a --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkInterfaces_Create.json @@ -0,0 +1,78 @@ +{ + "title": "NetworkInterfaces_Create_MaximumSet_Gen", + "operationId": "NetworkInterfaces_Create", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkDeviceName": "example-device", + "networkInterfaceName": "example-interface", + "resource": { + "properties": { + "annotation": "annotation", + "interfaceType": "Management", + "description": "device 1", + "additionalDescription": "device 1" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "physicalIdentifier": "Id", + "connectedTo": "external-interface", + "interfaceType": "Management", + "ipv4Address": "10.2.2.8", + "ipv6Address": "10:2:0:0::", + "description": "device 1", + "additionalDescription": "device 1", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-device/networkInterfaces/example-interface", + "name": "example-interface", + "type": "microsoft.managednetworkfabric/networkdevices/networkinterfaces", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotation", + "physicalIdentifier": "Id", + "connectedTo": "external-interface", + "description": "device 1", + "additionalDescription": "device 1", + "interfaceType": "Management", + "ipv4Address": "10.2.2.8", + "ipv6Address": "10:2:0:0::", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-device/networkInterfaces/example-interface", + "name": "example-interface", + "type": "microsoft.managednetworkfabric/networkdevices/networkinterfaces", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkInterfaces_Delete.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkInterfaces_Delete.json new file mode 100644 index 000000000000..535994e86cbd --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkInterfaces_Delete.json @@ -0,0 +1,19 @@ +{ + "title": "NetworkInterfaces_Delete_MaximumSet_Gen", + "operationId": "NetworkInterfaces_Delete", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkDeviceName": "example-device", + "networkInterfaceName": "example-interface" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkInterfaces_Get.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkInterfaces_Get.json new file mode 100644 index 000000000000..d8014747725a --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkInterfaces_Get.json @@ -0,0 +1,43 @@ +{ + "title": "NetworkInterfaces_Get_MaximumSet_Gen", + "operationId": "NetworkInterfaces_Get", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkDeviceName": "example-device", + "networkInterfaceName": "example-interface" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "physicalIdentifier": "Id", + "connectedTo": "external-interface", + "interfaceType": "Management", + "ipv4Address": "10.2.2.8", + "ipv6Address": "10:2:0:0::", + "description": "device 1", + "lastOperation": { + "details": "Succeeded" + }, + "additionalDescription": "device 1", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-device/networkInterfaces/example-interface", + "name": "example-interface", + "type": "microsoft.managednetworkfabric/networkdevices/networkinterfaces", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkInterfaces_ListByNetworkDevice.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkInterfaces_ListByNetworkDevice.json new file mode 100644 index 000000000000..c68452138776 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkInterfaces_ListByNetworkDevice.json @@ -0,0 +1,47 @@ +{ + "title": "NetworkInterfaces_ListByNetworkDevice_MaximumSet_Gen", + "operationId": "NetworkInterfaces_ListByNetworkDevice", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkDeviceName": "example-device" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "physicalIdentifier": "Id", + "connectedTo": "external-interface", + "interfaceType": "Management", + "ipv4Address": "10.2.2.8", + "ipv6Address": "10:2:0:0::", + "description": "device 1", + "lastOperation": { + "details": "Succeeded" + }, + "additionalDescription": "device 1", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-device/networkInterfaces/example-interface", + "name": "example-interface", + "type": "microsoft.managednetworkfabric/networkdevices/networkinterfaces", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkInterfaces_Update.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkInterfaces_Update.json new file mode 100644 index 000000000000..d6505e490166 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkInterfaces_Update.json @@ -0,0 +1,52 @@ +{ + "title": "NetworkInterfaces_Update_MaximumSet_Gen", + "operationId": "NetworkInterfaces_Update", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkDeviceName": "example-device", + "networkInterfaceName": "example-interface", + "properties": { + "properties": { + "annotation": "annotation", + "description": "device 1", + "additionalDescription": "device 1" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "physicalIdentifier": "Id", + "connectedTo": "external-interface", + "interfaceType": "Management", + "ipv4Address": "10.2.2.8", + "ipv6Address": "10:2:0:0::", + "description": "device 1", + "additionalDescription": "device 1", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-device/networkInterfaces/example-interface", + "name": "example-interface", + "type": "microsoft.managednetworkfabric/networkdevices/networkinterfaces", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkInterfaces_UpdateAdministrativeState.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkInterfaces_UpdateAdministrativeState.json new file mode 100644 index 000000000000..0e680a9823c6 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkInterfaces_UpdateAdministrativeState.json @@ -0,0 +1,41 @@ +{ + "title": "NetworkInterfaces_UpdateAdministrativeState_MaximumSet_Gen", + "operationId": "NetworkInterfaces_UpdateAdministrativeState", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkDeviceName": "example-device", + "networkInterfaceName": "example-interface", + "body": { + "resourceIds": [ + "" + ], + "state": "Enable" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkMonitors_Create.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkMonitors_Create.json new file mode 100644 index 000000000000..6e293f323e9a --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkMonitors_Create.json @@ -0,0 +1,138 @@ +{ + "title": "NetworkMonitors_Create", + "operationId": "NetworkMonitors_Create", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "1234ABCD-0A1B-1234-5678-123456ABCDEF", + "resourceGroupName": "example-rg", + "networkMonitorName": "example-monitor", + "resource": { + "properties": { + "annotation": "annotation", + "bmpConfiguration": { + "stationConfigurationState": "Enabled", + "scopeResourceId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "stationName": "name", + "stationIp": "10.0.0.1", + "stationPort": 62695, + "stationConnectionMode": "Active", + "stationConnectionProperties": { + "keepaliveIdleTime": 49, + "probeInterval": 3558, + "probeCount": 43 + }, + "stationNetwork": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain/internalNetworks/example-internalnetwork", + "monitoredNetworks": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain" + ], + "exportPolicy": "Pre-Policy", + "monitoredAddressFamilies": [ + "ipv4Unicast" + ] + }, + "administrativeState": "Enabled" + }, + "tags": { + "key": "value" + }, + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "bmpConfiguration": { + "scopeResourceId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "stationConfigurationState": "Enabled", + "stationName": "name", + "stationIp": "10.0.0.1", + "stationPort": 62695, + "stationConnectionMode": "Active", + "stationConnectionProperties": { + "keepaliveIdleTime": 49, + "probeInterval": 3558, + "probeCount": 43 + }, + "stationNetwork": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain/internalNetworks/example-internalnetwork", + "monitoredNetworks": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain" + ], + "exportPolicy": "Pre-Policy", + "monitoredAddressFamilies": [ + "ipv4Unicast" + ] + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "key": "value" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkMonitors/example-monitor", + "name": "example-monitor", + "type": "microsoft.managednetworkfabric/networkmonitors", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotation", + "bmpConfiguration": { + "scopeResourceId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "stationConfigurationState": "Enabled", + "stationName": "er", + "stationIp": "cno", + "stationPort": 62695, + "stationConnectionMode": "Active", + "stationConnectionProperties": { + "keepaliveIdleTime": 49, + "probeInterval": 3558, + "probeCount": 43 + }, + "stationNetwork": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain/internalNetworks/example-internalnetwork", + "monitoredNetworks": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain" + ], + "exportPolicy": "Pre-Policy", + "monitoredAddressFamilies": [ + "ipv4Unicast" + ] + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "key": "value" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkMonitors/example-monitor", + "name": "example-monitor", + "type": "microsoft.managednetworkfabric/networkmonitors", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkMonitors_Delete.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkMonitors_Delete.json new file mode 100644 index 000000000000..096e7f681d6d --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkMonitors_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "NetworkMonitors_Delete_MaximumSet", + "operationId": "NetworkMonitors_Delete", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "rgmanagednetworkfabric", + "networkMonitorName": "example-monitor" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkMonitors_Get.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkMonitors_Get.json new file mode 100644 index 000000000000..7112ade85ede --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkMonitors_Get.json @@ -0,0 +1,61 @@ +{ + "title": "NetworkMonitors_Get_MaximumSet", + "operationId": "NetworkMonitors_Get", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "1234ABCD-0A1B-1234-5678-123456ABCDEF", + "resourceGroupName": "example-rg", + "networkMonitorName": "example-monitor" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "bmpConfiguration": { + "scopeResourceId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "stationConfigurationState": "Enabled", + "stationName": "name", + "stationIp": "10.0.0.1", + "stationPort": 62695, + "stationConnectionMode": "Active", + "stationConnectionProperties": { + "keepaliveIdleTime": 49, + "probeInterval": 3558, + "probeCount": 43 + }, + "stationNetwork": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain/internalNetworks/example-internalnetwork", + "monitoredNetworks": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain" + ], + "exportPolicy": "Pre-Policy", + "monitoredAddressFamilies": [ + "ipv4Unicast" + ] + }, + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "key": "value" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkMonitors/example-monitor", + "name": "example-monitor", + "type": "microsoft.managednetworkfabric/networkmonitors", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkMonitors_ListByResourceGroup.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkMonitors_ListByResourceGroup.json new file mode 100644 index 000000000000..bd0fb34185b4 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkMonitors_ListByResourceGroup.json @@ -0,0 +1,65 @@ +{ + "title": "NetworkMonitors_ListByResourceGroup", + "operationId": "NetworkMonitors_ListByResourceGroup", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "1234ABCD-0A1B-1234-5678-123456ABCDEF", + "resourceGroupName": "example-rg" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "bmpConfiguration": { + "scopeResourceId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "stationConfigurationState": "Enabled", + "stationName": "name", + "stationIp": "10.0.0.1", + "stationPort": 62695, + "stationConnectionMode": "Active", + "stationConnectionProperties": { + "keepaliveIdleTime": 49, + "probeInterval": 3558, + "probeCount": 43 + }, + "stationNetwork": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain/internalNetworks/example-internalnetwork", + "monitoredNetworks": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain" + ], + "exportPolicy": "Pre-Policy", + "monitoredAddressFamilies": [ + "ipv4Unicast" + ] + }, + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "key5330": "whychexhqeakupefimkszcdqsnibx" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkMonitors/example-monitor", + "name": "example-monitor", + "type": "microsoft.managednetworkfabric/networkmonitors", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkMonitors_ListBySubscription.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkMonitors_ListBySubscription.json new file mode 100644 index 000000000000..b10062fd48a7 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkMonitors_ListBySubscription.json @@ -0,0 +1,64 @@ +{ + "title": "NetworkMonitors_ListBySubscription", + "operationId": "NetworkMonitors_ListBySubscription", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "1234ABCD-0A1B-1234-5678-123456ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "bmpConfiguration": { + "scopeResourceId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "stationConfigurationState": "Enabled", + "stationName": "station-name", + "stationIp": "10.0.0.1", + "stationPort": 38846, + "stationConnectionMode": "Active", + "stationConnectionProperties": { + "keepaliveIdleTime": 489, + "probeInterval": 2854, + "probeCount": 64 + }, + "stationNetwork": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain/internalNetworks/example-internalnetwork", + "monitoredNetworks": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain" + ], + "exportPolicy": "Pre-Policy", + "monitoredAddressFamilies": [ + "ipv4Unicast" + ] + }, + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "key2555": "pv" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkMonitors/example-monitor", + "name": "example-monitor", + "type": "microsoft.managednetworkfabric/networkmonitors", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkMonitors_Update.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkMonitors_Update.json new file mode 100644 index 000000000000..8f279e52b096 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkMonitors_Update.json @@ -0,0 +1,91 @@ +{ + "title": "NetworkMonitors_Update", + "operationId": "NetworkMonitors_Update", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "1234ABCD-0A1B-1234-5678-123456ABCDEF", + "resourceGroupName": "example-rg", + "networkMonitorName": "example-monitor", + "properties": { + "tags": { + "key": "value" + }, + "properties": { + "bmpConfiguration": { + "scopeResourceId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "stationConfigurationState": "Enabled", + "stationName": "name", + "stationIp": "10.0.0.1", + "stationPort": 64685, + "stationConnectionMode": "Active", + "stationConnectionProperties": { + "keepaliveIdleTime": 49, + "probeInterval": 3558, + "probeCount": 43 + }, + "stationNetwork": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain/internalNetworks/example-internalnetwork", + "monitoredNetworks": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain" + ], + "exportPolicy": "Pre-Policy", + "monitoredAddressFamilies": [ + "ipv4Unicast" + ] + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "bmpConfiguration": { + "scopeResourceId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "stationConfigurationState": "Enabled", + "stationName": "name", + "stationIp": "10.0.0.1", + "stationPort": 64685, + "stationConnectionMode": "Active", + "stationConnectionProperties": { + "keepaliveIdleTime": 49, + "probeInterval": 3558, + "probeCount": 43 + }, + "stationNetwork": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain/internalNetworks/example-internalnetwork", + "monitoredNetworks": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain" + ], + "exportPolicy": "Pre-Policy", + "monitoredAddressFamilies": [ + "ipv4Unicast" + ] + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "key": "value" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkMonitors/example-monitor", + "name": "example-monitor", + "type": "microsoft.managednetworkfabric/networkmonitors", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkMonitors_UpdateAdministrativeState.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkMonitors_UpdateAdministrativeState.json new file mode 100644 index 000000000000..df7fc4b69715 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkMonitors_UpdateAdministrativeState.json @@ -0,0 +1,46 @@ +{ + "title": "NetworkMonitors_UpdateAdministrativeState", + "operationId": "NetworkMonitors_UpdateAdministrativeState", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "1234ABCD-0A1B-1234-5678-123456ABCDEF", + "resourceGroupName": "example-rg", + "networkMonitorName": "example-monitor", + "body": { + "resourceIds": [ + "" + ], + "state": "Enable" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded", + "successfulDevices": [ + "" + ], + "failedDevices": [ + "" + ] + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkPacketBrokers_Create.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkPacketBrokers_Create.json new file mode 100644 index 000000000000..a1f5f170cc52 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkPacketBrokers_Create.json @@ -0,0 +1,94 @@ +{ + "title": "NetworkPacketBrokers_Create_MaximumSet_Gen", + "operationId": "NetworkPacketBrokers_Create", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkPacketBrokerName": "example-networkPacketBroker", + "resource": { + "properties": { + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-networkFabric" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-networkFabric", + "networkDeviceIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice" + ], + "sourceInterfaceIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice/networkInterfaces/example-networkInterface" + ], + "networkTapIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-networkTap" + ], + "neighborGroupIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup" + ], + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkPacketBrokers/example-networkPacketBroker", + "name": "example-networkPacketBroker", + "type": "microsoft.managednetworkfabric/networkPacketBrokers", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-networkFabric", + "networkDeviceIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice" + ], + "sourceInterfaceIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice/networkInterfaces/example-networkInterface" + ], + "networkTapIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-networkTap" + ], + "neighborGroupIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup" + ], + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkPacketBrokers/example-networkPacketBroker", + "name": "example-networkPacketBroker", + "type": "microsoft.managednetworkfabric/networkPacketBrokers", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkPacketBrokers_Delete.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkPacketBrokers_Delete.json new file mode 100644 index 000000000000..4cc741f24af3 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkPacketBrokers_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "NetworkPacketBrokers_Delete_MaximumSet_Gen", + "operationId": "NetworkPacketBrokers_Delete", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkPacketBrokerName": "example-networkPacketBroker" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkPacketBrokers_Get.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkPacketBrokers_Get.json new file mode 100644 index 000000000000..f92e2b771830 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkPacketBrokers_Get.json @@ -0,0 +1,50 @@ +{ + "title": "NetworkPacketBrokers_Get_MaximumSet_Gen", + "operationId": "NetworkPacketBrokers_Get", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkPacketBrokerName": "example-networkPacketBroker" + }, + "responses": { + "200": { + "body": { + "properties": { + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-networkFabric", + "networkDeviceIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice" + ], + "sourceInterfaceIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice/networkInterfaces/example-networkInterface" + ], + "networkTapIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-networkTap" + ], + "neighborGroupIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup" + ], + "lastOperation": { + "details": "Succeeded" + }, + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkPacketBrokers/example-networkPacketBroker", + "name": "example-networkPacketBroker", + "type": "microsoft.managednetworkfabric/networkPacketBrokers", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkPacketBrokers_ListByResourceGroup.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkPacketBrokers_ListByResourceGroup.json new file mode 100644 index 000000000000..6d7cf3b9cb55 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkPacketBrokers_ListByResourceGroup.json @@ -0,0 +1,54 @@ +{ + "title": "NetworkPacketBrokers_ListByResourceGroup_MaximumSet_Gen", + "operationId": "NetworkPacketBrokers_ListByResourceGroup", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-networkFabric", + "networkDeviceIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice" + ], + "sourceInterfaceIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice/networkInterfaces/example-networkInterface" + ], + "networkTapIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-networkTap" + ], + "neighborGroupIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup" + ], + "lastOperation": { + "details": "Succeeded" + }, + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkPacketBrokers/example-networkPacketBroker", + "name": "example-networkPacketBroker", + "type": "microsoft.managednetworkfabric/networkPacketBrokers", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkPacketBrokers_ListBySubscription.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkPacketBrokers_ListBySubscription.json new file mode 100644 index 000000000000..98f3fcdeb382 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkPacketBrokers_ListBySubscription.json @@ -0,0 +1,53 @@ +{ + "title": "NetworkPacketBrokers_ListBySubscription_MaximumSet_Gen", + "operationId": "NetworkPacketBrokers_ListBySubscription", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-networkFabric", + "networkDeviceIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice" + ], + "sourceInterfaceIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice/networkInterfaces/example-networkInterface" + ], + "networkTapIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-networkTap" + ], + "neighborGroupIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup" + ], + "lastOperation": { + "details": "Succeeded" + }, + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkPacketBrokers/example-networkPacketBroker", + "name": "example-networkPacketBroker", + "type": "microsoft.managednetworkfabric/networkPacketBrokers", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkPacketBrokers_Update.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkPacketBrokers_Update.json new file mode 100644 index 000000000000..c4819c43c398 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkPacketBrokers_Update.json @@ -0,0 +1,57 @@ +{ + "title": "NetworkPacketBrokers_Update_MaximumSet_Gen", + "operationId": "NetworkPacketBrokers_Update", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkPacketBrokerName": "example-networkPacketBroker", + "properties": { + "tags": { + "keyId": "keyValue" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-networkFabric", + "networkDeviceIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice" + ], + "sourceInterfaceIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice/networkInterfaces/example-networkInterface" + ], + "networkTapIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-networkTap" + ], + "neighborGroupIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup" + ], + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkPacketBrokers/example-networkPacketBroker", + "name": "example-networkPacketBroker", + "type": "microsoft.managednetworkfabric/networkPacketBrokers", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkRacks_Create.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkRacks_Create.json new file mode 100644 index 000000000000..e837921b25d6 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkRacks_Create.json @@ -0,0 +1,82 @@ +{ + "title": "NetworkRacks_Create_MaximumSet_Gen", + "operationId": "NetworkRacks_Create", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkRackName": "example-rack", + "resource": { + "properties": { + "annotation": "annotation", + "networkRackType": "Aggregate", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-networkFabric" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkRackType": "Aggregate", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-networkFabric", + "networkDevices": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice" + ], + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-rack", + "name": "example-rack", + "type": "microsoft.managednetworkfabric/networkRacks", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotation", + "networkRackType": "Aggregate", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-networkFabric", + "networkDevices": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice" + ], + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-rack", + "name": "example-rack", + "type": "microsoft.managednetworkfabric/networkRacks", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkRacks_Delete.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkRacks_Delete.json new file mode 100644 index 000000000000..4638074fe2f8 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkRacks_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "NetworkRacks_Delete_MaximumSet_Gen", + "operationId": "NetworkRacks_Delete", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkRackName": "example-rack" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkRacks_Get.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkRacks_Get.json new file mode 100644 index 000000000000..ff06e8c4abbb --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkRacks_Get.json @@ -0,0 +1,43 @@ +{ + "title": "NetworkRacks_Get_MaximumSet_Gen", + "operationId": "NetworkRacks_Get", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkRackName": "example-rack" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkRackType": "Aggregate", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-networkFabric", + "networkDevices": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice" + ], + "lastOperation": { + "details": "Succeeded" + }, + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-rack", + "name": "example-rack", + "type": "microsoft.managednetworkfabric/networkRacks", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkRacks_ListByResourceGroup.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkRacks_ListByResourceGroup.json new file mode 100644 index 000000000000..55de114df8c3 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkRacks_ListByResourceGroup.json @@ -0,0 +1,47 @@ +{ + "title": "NetworkRacks_ListByResourceGroup_MaximumSet_Gen", + "operationId": "NetworkRacks_ListByResourceGroup", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "networkRackType": "Aggregate", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-networkFabric", + "networkDevices": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice" + ], + "lastOperation": { + "details": "Succeeded" + }, + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-rack", + "name": "example-rack", + "type": "microsoft.managednetworkfabric/networkRacks", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkRacks_ListBySubscription.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkRacks_ListBySubscription.json new file mode 100644 index 000000000000..77c149b0222e --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkRacks_ListBySubscription.json @@ -0,0 +1,46 @@ +{ + "title": "NetworkRacks_ListBySubscription_MaximumSet_Gen", + "operationId": "NetworkRacks_ListBySubscription", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "networkRackType": "Aggregate", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-networkFabric", + "networkDevices": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice" + ], + "lastOperation": { + "details": "Succeeded" + }, + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-rack", + "name": "example-rack", + "type": "microsoft.managednetworkfabric/networkRacks", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkRacks_Update.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkRacks_Update.json new file mode 100644 index 000000000000..cd3298918823 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkRacks_Update.json @@ -0,0 +1,50 @@ +{ + "title": "NetworkRacks_Update_MaximumSet_Gen", + "operationId": "NetworkRacks_Update", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkRackName": "example-rack", + "properties": { + "tags": { + "keyId": "keyValue" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkRackType": "Aggregate", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-networkFabric", + "networkDevices": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice" + ], + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-rack", + "name": "example-rack", + "type": "microsoft.managednetworkfabric/networkRacks", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkTapRules_Create.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkTapRules_Create.json new file mode 100644 index 000000000000..287b071c9efa --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkTapRules_Create.json @@ -0,0 +1,352 @@ +{ + "title": "NetworkTapRules_Create_MaximumSet_Gen", + "operationId": "NetworkTapRules_Create", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkTapRuleName": "example-tapRule", + "resource": { + "properties": { + "annotation": "annotation", + "configurationType": "File", + "tapRulesUrl": "https://microsoft.com/a", + "matchConfigurations": [ + { + "matchConfigurationName": "config1", + "sequenceNumber": 10, + "ipAddressType": "IPv4", + "matchConditions": [ + { + "protocolTypes": [ + "TCP" + ], + "vlanMatchCondition": { + "vlans": [ + "20-30" + ], + "innerVlans": [ + "30" + ], + "vlanGroupNames": [ + "example-vlanGroup" + ] + }, + "ipCondition": { + "type": "SourceIP", + "prefixType": "Prefix", + "ipPrefixValues": [ + "10.20.20.20/12" + ], + "ipGroupNames": [ + "example-ipGroup" + ] + }, + "encapsulationType": "None", + "portCondition": { + "portType": "SourcePort", + "layer4Protocol": "TCP", + "ports": [ + "100" + ], + "portGroupNames": [ + "example-portGroup1" + ] + } + } + ], + "actions": [ + { + "type": "Drop", + "truncate": "100", + "isTimestampEnabled": "True", + "destinationId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup", + "matchConfigurationName": "match1" + } + ] + } + ], + "dynamicMatchConfigurations": [ + { + "ipGroups": [ + { + "name": "example-ipGroup", + "ipAddressType": "IPv4", + "ipPrefixes": [ + "10.20.3.1/20" + ] + } + ], + "vlanGroups": [ + { + "name": "example-vlanGroup", + "vlans": [ + "20-30" + ] + } + ], + "portGroups": [ + { + "name": "example-portGroup", + "ports": [ + "100-200" + ] + } + ] + } + ], + "pollingIntervalInSeconds": 30, + "globalNetworkTapRuleActions": { + "enableCount": "True", + "truncate": "truncate-name" + }, + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "configurationType": "File", + "tapRulesUrl": "https://microsoft.com/a", + "matchConfigurations": [ + { + "matchConfigurationName": "config1", + "sequenceNumber": 10, + "ipAddressType": "IPv4", + "matchConditions": [ + { + "protocolTypes": [ + "TCP" + ], + "vlanMatchCondition": { + "vlans": [ + "20-30" + ], + "innerVlans": [ + "30" + ], + "vlanGroupNames": [ + "example-vlanGroup" + ] + }, + "ipCondition": { + "type": "SourceIP", + "prefixType": "Prefix", + "ipPrefixValues": [ + "10.20.20.20/12" + ], + "ipGroupNames": [ + "example-ipGroup" + ] + }, + "encapsulationType": "None", + "portCondition": { + "portType": "SourcePort", + "layer4Protocol": "TCP", + "ports": [ + "100" + ], + "portGroupNames": [ + "example-portGroup1" + ] + } + } + ], + "actions": [ + { + "type": "Drop", + "truncate": "100", + "isTimestampEnabled": "True", + "destinationId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup", + "matchConfigurationName": "match1" + } + ] + } + ], + "dynamicMatchConfigurations": [ + { + "ipGroups": [ + { + "name": "example-ipGroup", + "ipAddressType": "IPv4", + "ipPrefixes": [ + "10.20.3.1/20" + ] + } + ], + "vlanGroups": [ + { + "name": "example-vlanGroup", + "vlans": [ + "20-30" + ] + } + ], + "portGroups": [ + { + "name": "example-portGroup", + "ports": [ + "100-200" + ] + } + ] + } + ], + "networkTapId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-tap", + "pollingIntervalInSeconds": 30, + "lastSyncedTime": "2023-06-12T07:11:22.485Z", + "globalNetworkTapRuleActions": { + "enableCount": "True", + "truncate": "truncate-name" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-tapRule", + "name": "example-tapRule", + "type": "microsoft.managednetworkfabric/networkTapRules", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "location": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotation", + "configurationType": "File", + "tapRulesUrl": "https://microsoft.com/a", + "matchConfigurations": [ + { + "matchConfigurationName": "config1", + "sequenceNumber": 10, + "ipAddressType": "IPv4", + "matchConditions": [ + { + "protocolTypes": [ + "TCP" + ], + "vlanMatchCondition": { + "vlans": [ + "20-30" + ], + "innerVlans": [ + "30" + ], + "vlanGroupNames": [ + "example-vlanGroup" + ] + }, + "ipCondition": { + "type": "SourceIP", + "prefixType": "Prefix", + "ipPrefixValues": [ + "10.20.20.20/12" + ], + "ipGroupNames": [ + "example-ipGroup" + ] + }, + "encapsulationType": "None", + "portCondition": { + "portType": "SourcePort", + "layer4Protocol": "TCP", + "ports": [ + "100" + ], + "portGroupNames": [ + "example-portGroup1" + ] + } + } + ], + "actions": [ + { + "type": "Drop", + "truncate": "100", + "isTimestampEnabled": "True", + "destinationId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup", + "matchConfigurationName": "match1" + } + ] + } + ], + "dynamicMatchConfigurations": [ + { + "ipGroups": [ + { + "name": "example-ipGroup", + "ipAddressType": "IPv4", + "ipPrefixes": [ + "10.20.3.1/20" + ] + } + ], + "vlanGroups": [ + { + "name": "example-vlanGroup", + "vlans": [ + "20-30" + ] + } + ], + "portGroups": [ + { + "name": "example-portGroup", + "ports": [ + "100-200" + ] + } + ] + } + ], + "networkTapId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-tap", + "pollingIntervalInSeconds": 30, + "lastSyncedTime": "2023-06-12T07:11:22.485Z", + "globalNetworkTapRuleActions": { + "enableCount": "True", + "truncate": "truncate-name" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-tapRule", + "name": "example-tapRule", + "type": "microsoft.managednetworkfabric/networkTapRules", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkTapRules_Delete.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkTapRules_Delete.json new file mode 100644 index 000000000000..5955fadcaea9 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkTapRules_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "NetworkTapRules_Delete_MaximumSet_Gen", + "operationId": "NetworkTapRules_Delete", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkTapRuleName": "example-tapRule" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkTapRules_Get.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkTapRules_Get.json new file mode 100644 index 000000000000..85d34428e545 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkTapRules_Get.json @@ -0,0 +1,133 @@ +{ + "title": "NetworkTapRules_Get_MaximumSet_Gen", + "operationId": "NetworkTapRules_Get", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkTapRuleName": "example-tapRule" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "configurationType": "File", + "tapRulesUrl": "https://microsoft.com/a", + "matchConfigurations": [ + { + "matchConfigurationName": "config1", + "sequenceNumber": 10, + "ipAddressType": "IPv4", + "matchConditions": [ + { + "protocolTypes": [ + "TCP" + ], + "vlanMatchCondition": { + "vlans": [ + "20-30" + ], + "innerVlans": [ + "30" + ], + "vlanGroupNames": [ + "example-vlanGroup" + ] + }, + "ipCondition": { + "type": "SourceIP", + "prefixType": "Prefix", + "ipPrefixValues": [ + "10.20.20.20/12" + ], + "ipGroupNames": [ + "example-ipGroup" + ] + }, + "encapsulationType": "None", + "portCondition": { + "portType": "SourcePort", + "layer4Protocol": "TCP", + "ports": [ + "100" + ], + "portGroupNames": [ + "example-portGroup1" + ] + } + } + ], + "actions": [ + { + "type": "Drop", + "truncate": "100", + "isTimestampEnabled": "True", + "destinationId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup", + "matchConfigurationName": "match1" + } + ] + } + ], + "dynamicMatchConfigurations": [ + { + "ipGroups": [ + { + "name": "example-ipGroup", + "ipAddressType": "IPv4", + "ipPrefixes": [ + "10.20.3.1/20" + ] + } + ], + "vlanGroups": [ + { + "name": "example-vlanGroup", + "vlans": [ + "20-30" + ] + } + ], + "portGroups": [ + { + "name": "example-portGroup", + "ports": [ + "100-200" + ] + } + ] + } + ], + "networkTapId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-tap", + "pollingIntervalInSeconds": 30, + "lastSyncedTime": "2023-06-12T07:11:22.485Z", + "globalNetworkTapRuleActions": { + "enableCount": "True", + "truncate": "truncate-name" + }, + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-tapRule", + "name": "example-tapRule", + "type": "microsoft.managednetworkfabric/networkTapRules", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkTapRules_ListByResourceGroup.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkTapRules_ListByResourceGroup.json new file mode 100644 index 000000000000..77e8555ff65c --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkTapRules_ListByResourceGroup.json @@ -0,0 +1,137 @@ +{ + "title": "NetworkTapRules_ListByResourceGroup_MaximumSet_Gen", + "operationId": "NetworkTapRules_ListByResourceGroup", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "configurationType": "File", + "tapRulesUrl": "https://microsoft.com/a", + "matchConfigurations": [ + { + "matchConfigurationName": "config1", + "sequenceNumber": 10, + "ipAddressType": "IPv4", + "matchConditions": [ + { + "protocolTypes": [ + "TCP" + ], + "vlanMatchCondition": { + "vlans": [ + "20-30" + ], + "innerVlans": [ + "30" + ], + "vlanGroupNames": [ + "example-vlanGroup" + ] + }, + "ipCondition": { + "type": "SourceIP", + "prefixType": "Prefix", + "ipPrefixValues": [ + "10.20.20.20/12" + ], + "ipGroupNames": [ + "example-ipGroup" + ] + }, + "encapsulationType": "None", + "portCondition": { + "portType": "SourcePort", + "layer4Protocol": "TCP", + "ports": [ + "100" + ], + "portGroupNames": [ + "example-portGroup1" + ] + } + } + ], + "actions": [ + { + "type": "Drop", + "truncate": "100", + "isTimestampEnabled": "True", + "destinationId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup", + "matchConfigurationName": "match1" + } + ] + } + ], + "dynamicMatchConfigurations": [ + { + "ipGroups": [ + { + "name": "example-ipGroup", + "ipAddressType": "IPv4", + "ipPrefixes": [ + "10.20.3.1/20" + ] + } + ], + "vlanGroups": [ + { + "name": "example-vlanGroup", + "vlans": [ + "20-30" + ] + } + ], + "portGroups": [ + { + "name": "example-portGroup", + "ports": [ + "100-200" + ] + } + ] + } + ], + "networkTapId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-tap", + "pollingIntervalInSeconds": 30, + "lastSyncedTime": "2023-06-12T07:11:22.485Z", + "globalNetworkTapRuleActions": { + "enableCount": "True", + "truncate": "truncate-name" + }, + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-tapRule", + "name": "example-tapRule", + "type": "microsoft.managednetworkfabric/networkTapRules", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkTapRules_ListBySubscription.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkTapRules_ListBySubscription.json new file mode 100644 index 000000000000..4905845157ec --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkTapRules_ListBySubscription.json @@ -0,0 +1,136 @@ +{ + "title": "NetworkTapRules_ListBySubscription_MaximumSet_Gen", + "operationId": "NetworkTapRules_ListBySubscription", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "configurationType": "File", + "tapRulesUrl": "https://microsoft.com/a", + "matchConfigurations": [ + { + "matchConfigurationName": "config1", + "sequenceNumber": 10, + "ipAddressType": "IPv4", + "matchConditions": [ + { + "protocolTypes": [ + "TCP" + ], + "vlanMatchCondition": { + "vlans": [ + "20-30" + ], + "innerVlans": [ + "30" + ], + "vlanGroupNames": [ + "example-vlanGroup" + ] + }, + "ipCondition": { + "type": "SourceIP", + "prefixType": "Prefix", + "ipPrefixValues": [ + "10.20.20.20/12" + ], + "ipGroupNames": [ + "example-ipGroup" + ] + }, + "encapsulationType": "None", + "portCondition": { + "portType": "SourcePort", + "layer4Protocol": "TCP", + "ports": [ + "100" + ], + "portGroupNames": [ + "example-portGroup1" + ] + } + } + ], + "actions": [ + { + "type": "Drop", + "truncate": "100", + "isTimestampEnabled": "True", + "destinationId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup", + "matchConfigurationName": "match1" + } + ] + } + ], + "dynamicMatchConfigurations": [ + { + "ipGroups": [ + { + "name": "example-ipGroup", + "ipAddressType": "IPv4", + "ipPrefixes": [ + "10.20.3.1/20" + ] + } + ], + "vlanGroups": [ + { + "name": "example-vlanGroup", + "vlans": [ + "20-30" + ] + } + ], + "portGroups": [ + { + "name": "example-portGroup", + "ports": [ + "100-200" + ] + } + ] + } + ], + "networkTapId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-tap", + "pollingIntervalInSeconds": 30, + "lastSyncedTime": "2023-06-12T07:11:22.485Z", + "globalNetworkTapRuleActions": { + "enableCount": "True", + "truncate": "truncate-name" + }, + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-tapRule", + "name": "example-tapRule", + "type": "microsoft.managednetworkfabric/networkTapRules", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkTapRules_Resync.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkTapRules_Resync.json new file mode 100644 index 000000000000..e6f8b090dab2 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkTapRules_Resync.json @@ -0,0 +1,34 @@ +{ + "title": "NetworkTapRules_Resync_MaximumSet_Gen", + "operationId": "NetworkTapRules_Resync", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkTapRuleName": "example-tapRule" + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkTapRules_Update.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkTapRules_Update.json new file mode 100644 index 000000000000..836771675e4a --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkTapRules_Update.json @@ -0,0 +1,233 @@ +{ + "title": "NetworkTapRules_Update_MaximumSet_Gen", + "operationId": "NetworkTapRules_Update", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkTapRuleName": "example-tapRule", + "properties": { + "tags": { + "keyId": "keyValue" + }, + "properties": { + "annotation": "annotation", + "configurationType": "File", + "tapRulesUrl": "https://microsoft.com/amdsdx", + "globalNetworkTapRuleActions": { + "enableCount": "True", + "truncate": "truncate-name" + }, + "matchConfigurations": [ + { + "matchConfigurationName": "config1", + "sequenceNumber": 10, + "ipAddressType": "IPv4", + "matchConditions": [ + { + "protocolTypes": [ + "TCP" + ], + "vlanMatchCondition": { + "vlans": [ + "20-30" + ], + "innerVlans": [ + "30" + ], + "vlanGroupNames": [ + "example-vlanGroup" + ] + }, + "ipCondition": { + "type": "SourceIP", + "prefixType": "Prefix", + "ipPrefixValues": [ + "10.20.20.20/12" + ], + "ipGroupNames": [ + "example-ipGroup" + ] + }, + "encapsulationType": "None", + "portCondition": { + "portType": "SourcePort", + "layer4Protocol": "TCP", + "ports": [ + "100" + ], + "portGroupNames": [ + "example-portGroup1" + ] + } + } + ], + "actions": [ + { + "type": "Drop", + "truncate": "100", + "isTimestampEnabled": "True", + "destinationId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup", + "matchConfigurationName": "match1" + } + ] + } + ], + "dynamicMatchConfigurations": [ + { + "ipGroups": [ + { + "name": "example-ipGroup", + "ipAddressType": "IPv4", + "ipPrefixes": [ + "10.20.3.1/20" + ] + } + ], + "vlanGroups": [ + { + "name": "example-vlanGroup", + "vlans": [ + "20-30" + ] + } + ], + "portGroups": [ + { + "name": "example-portGroup", + "ports": [ + "100-200" + ] + } + ] + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "configurationType": "File", + "tapRulesUrl": "https://microsoft.com/a", + "matchConfigurations": [ + { + "matchConfigurationName": "config1", + "sequenceNumber": 10, + "ipAddressType": "IPv4", + "matchConditions": [ + { + "protocolTypes": [ + "TCP" + ], + "vlanMatchCondition": { + "vlans": [ + "20-30" + ], + "innerVlans": [ + "30" + ], + "vlanGroupNames": [ + "example-vlanGroup" + ] + }, + "ipCondition": { + "type": "SourceIP", + "prefixType": "Prefix", + "ipPrefixValues": [ + "10.20.20.20/12" + ], + "ipGroupNames": [ + "example-ipGroup" + ] + }, + "encapsulationType": "None", + "portCondition": { + "portType": "SourcePort", + "layer4Protocol": "TCP", + "ports": [ + "100" + ], + "portGroupNames": [ + "example-portGroup1" + ] + } + } + ], + "actions": [ + { + "type": "Drop", + "truncate": "100", + "isTimestampEnabled": "True", + "destinationId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup", + "matchConfigurationName": "match1" + } + ] + } + ], + "dynamicMatchConfigurations": [ + { + "ipGroups": [ + { + "name": "example-ipGroup", + "ipAddressType": "IPv4", + "ipPrefixes": [ + "10.20.3.1/20" + ] + } + ], + "vlanGroups": [ + { + "name": "example-vlanGroup", + "vlans": [ + "20-30" + ] + } + ], + "portGroups": [ + { + "name": "example-portGroup", + "ports": [ + "100-200" + ] + } + ] + } + ], + "networkTapId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-tap", + "pollingIntervalInSeconds": 30, + "lastSyncedTime": "2023-06-12T07:11:22.485Z", + "globalNetworkTapRuleActions": { + "enableCount": "True", + "truncate": "truncate-name" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-tapRule", + "name": "example-tapRule", + "type": "microsoft.managednetworkfabric/networkTapRules", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkTapRules_UpdateAdministrativeState.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkTapRules_UpdateAdministrativeState.json new file mode 100644 index 000000000000..96938eeaf2ba --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkTapRules_UpdateAdministrativeState.json @@ -0,0 +1,40 @@ +{ + "title": "NetworkTapRules_UpdateAdministrativeState_MaximumSet_Gen", + "operationId": "NetworkTapRules_UpdateAdministrativeState", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkTapRuleName": "example-tapRule", + "body": { + "resourceIds": [ + "" + ], + "state": "Enable" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkTapRules_ValidateConfiguration.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkTapRules_ValidateConfiguration.json new file mode 100644 index 000000000000..ef9cb94452da --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkTapRules_ValidateConfiguration.json @@ -0,0 +1,35 @@ +{ + "title": "NetworkTapRules_ValidateConfiguration_MaximumSet_Gen", + "operationId": "NetworkTapRules_ValidateConfiguration", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkTapRuleName": "example-tapRule" + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded", + "url": "https://ActionDetails" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkTaps_Create.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkTaps_Create.json new file mode 100644 index 000000000000..fb22cba01135 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkTaps_Create.json @@ -0,0 +1,125 @@ +{ + "title": "NetworkTaps_Create_MaximumSet_Gen", + "operationId": "NetworkTaps_Create", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkTapName": "example-networkTap", + "resource": { + "properties": { + "annotation": "annotation", + "networkPacketBrokerId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkPacketBrokers/example-networkPacketBroker", + "destinations": [ + { + "name": "example-destinaionName", + "destinationType": "IsolationDomain", + "destinationId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsloationDomains/example-l3Domain/internalNetworks/example-internalNetwork", + "isolationDomainProperties": { + "encapsulation": "None", + "neighborGroupIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup" + ] + }, + "destinationTapRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-destinationTapRule" + } + ], + "pollingType": "Pull", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkPacketBrokerId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkPacketBrokers/example-networkPacketBroker", + "sourceTapRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-sourceTapRule", + "destinations": [ + { + "name": "example-destinaionName", + "destinationType": "IsolationDomain", + "destinationId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsloationDomains/example-l3Domain/internalNetworks/example-internalNetwork", + "isolationDomainProperties": { + "encapsulation": "None", + "neighborGroupIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup" + ] + }, + "destinationTapRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-destinationTapRule" + } + ], + "pollingType": "Pull", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-networkTap", + "name": "example-networkTap", + "type": "microsoft.managednetworkfabric/networkTaps", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotation", + "networkPacketBrokerId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkPacketBrokers/example-networkPacketBroker", + "sourceTapRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-sourceTapRule", + "destinations": [ + { + "name": "example-destinaionName", + "destinationType": "IsolationDomain", + "destinationId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsloationDomains/example-l3Domain/internalNetworks/example-internalNetwork", + "isolationDomainProperties": { + "encapsulation": "None", + "neighborGroupIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup" + ] + }, + "destinationTapRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-destinationTapRule" + } + ], + "pollingType": "Pull", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-networkTap", + "name": "example-networkTap", + "type": "microsoft.managednetworkfabric/networkTaps", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkTaps_Delete.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkTaps_Delete.json new file mode 100644 index 000000000000..8e7737bd334a --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkTaps_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "NetworkTaps_Delete_MaximumSet_Gen", + "operationId": "NetworkTaps_Delete", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkTapName": "example-networkTap" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkTaps_Get.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkTaps_Get.json new file mode 100644 index 000000000000..1f6ba4b71b3d --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkTaps_Get.json @@ -0,0 +1,57 @@ +{ + "title": "NetworkTaps_Get_MaximumSet_Gen", + "operationId": "NetworkTaps_Get", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkTapName": "example-networkTap" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkPacketBrokerId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkPacketBrokers/example-networkPacketBroker", + "sourceTapRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-sourceTapRule", + "destinations": [ + { + "name": "example-destinaionName", + "destinationType": "IsolationDomain", + "destinationId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsloationDomains/example-l3Domain/internalNetworks/example-internalNetwork", + "isolationDomainProperties": { + "encapsulation": "None", + "neighborGroupIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup" + ] + }, + "destinationTapRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-destinationTapRule" + } + ], + "pollingType": "Pull", + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-networkTap", + "name": "example-networkTap", + "type": "microsoft.managednetworkfabric/networkTaps", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkTaps_ListByResourceGroup.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkTaps_ListByResourceGroup.json new file mode 100644 index 000000000000..d2651e5d89a9 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkTaps_ListByResourceGroup.json @@ -0,0 +1,61 @@ +{ + "title": "NetworkTaps_ListByResourceGroup_MaximumSet_Gen", + "operationId": "NetworkTaps_ListByResourceGroup", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "networkPacketBrokerId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkPacketBrokers/example-networkPacketBroker", + "sourceTapRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-sourceTapRule", + "destinations": [ + { + "name": "example-destinaionName", + "destinationType": "IsolationDomain", + "destinationId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsloationDomains/example-l3Domain/internalNetworks/example-internalNetwork", + "isolationDomainProperties": { + "encapsulation": "None", + "neighborGroupIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup" + ] + }, + "destinationTapRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-destinationTapRule" + } + ], + "pollingType": "Pull", + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-networkTap", + "name": "example-networkTap", + "type": "microsoft.managednetworkfabric/networkTaps", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkTaps_ListBySubscription.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkTaps_ListBySubscription.json new file mode 100644 index 000000000000..91891b276b61 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkTaps_ListBySubscription.json @@ -0,0 +1,60 @@ +{ + "title": "NetworkTaps_ListBySubscription_MaximumSet_Gen", + "operationId": "NetworkTaps_ListBySubscription", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "networkPacketBrokerId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkPacketBrokers/example-networkPacketBroker", + "sourceTapRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-sourceTapRule", + "destinations": [ + { + "name": "example-destinaionName", + "destinationType": "IsolationDomain", + "destinationId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsloationDomains/example-l3Domain/internalNetworks/example-internalNetwork", + "isolationDomainProperties": { + "encapsulation": "None", + "neighborGroupIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup" + ] + }, + "destinationTapRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-destinationTapRule" + } + ], + "pollingType": "Pull", + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-networkTap", + "name": "example-networkTap", + "type": "microsoft.managednetworkfabric/networkTaps", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkTaps_Resync.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkTaps_Resync.json new file mode 100644 index 000000000000..744e6c31f0fc --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkTaps_Resync.json @@ -0,0 +1,34 @@ +{ + "title": "NetworkTaps_Resync_MaximumSet_Gen", + "operationId": "NetworkTaps_Resync", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkTapName": "example-networkTap" + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkTaps_Update.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkTaps_Update.json new file mode 100644 index 000000000000..a8937f1b4593 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkTaps_Update.json @@ -0,0 +1,82 @@ +{ + "title": "NetworkTaps_Update_MaximumSet_Gen", + "operationId": "NetworkTaps_Update", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkTapName": "example-networkTap", + "properties": { + "tags": { + "keyId": "keyValue" + }, + "properties": { + "annotation": "annotation1", + "pollingType": "Pull", + "destinations": [ + { + "name": "example-destinaionName", + "destinationType": "IsolationDomain", + "destinationId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsloationDomains/example-l3Domain/internalNetworks/example-internalNetwork", + "isolationDomainProperties": { + "encapsulation": "None", + "neighborGroupIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup" + ] + }, + "destinationTapRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-destinationTapRule" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkPacketBrokerId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkPacketBrokers/example-networkPacketBroker", + "sourceTapRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-sourceTapRule", + "destinations": [ + { + "name": "example-destinaionName", + "destinationType": "IsolationDomain", + "destinationId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsloationDomains/example-l3Domain/internalNetworks/example-internalNetwork", + "isolationDomainProperties": { + "encapsulation": "None", + "neighborGroupIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup" + ] + }, + "destinationTapRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-destinationTapRule" + } + ], + "pollingType": "Pull", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-networkTap", + "name": "example-networkTap", + "type": "microsoft.managednetworkfabric/networkTaps", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkTaps_UpdateAdministrativeState.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkTaps_UpdateAdministrativeState.json new file mode 100644 index 000000000000..f4d3284e8f5e --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkTaps_UpdateAdministrativeState.json @@ -0,0 +1,46 @@ +{ + "title": "NetworkTaps_UpdateAdministrativeState_MaximumSet_Gen", + "operationId": "NetworkTaps_UpdateAdministrativeState", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkTapName": "example-networkTap", + "body": { + "resourceIds": [ + "" + ], + "state": "Enable" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded", + "successfulDevices": [ + "" + ], + "failedDevices": [ + "" + ] + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkToNetworkInterconnects_Create.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkToNetworkInterconnects_Create.json new file mode 100644 index 000000000000..a9063c128375 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkToNetworkInterconnects_Create.json @@ -0,0 +1,375 @@ +{ + "title": "NetworkToNetworkInterconnects_Create_MaximumSet_Gen", + "operationId": "NetworkToNetworkInterconnects_Create", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-nf", + "networkToNetworkInterconnectName": "example-nni", + "resource": { + "properties": { + "nniType": "CE", + "isManagementType": "True", + "useOptionB": "True", + "layer2Configuration": { + "mtu": 1500, + "interfaces": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice/networkInterfaces/example-networkInterface" + ] + }, + "optionBLayer3Configuration": { + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "40.0.0.14/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127", + "peerASN": 61234, + "vlanId": 1234, + "peLoopbackIpAddress": [ + "10.0.0.1" + ], + "bmpConfiguration": { + "configurationState": "Enabled" + }, + "prefixLimits": [ + { + "maximumRoutes": 24 + } + ] + }, + "npbStaticRouteConfiguration": { + "bfdConfiguration": { + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "jffgck", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "jffgck", + "nextHop": [ + "10.0.0.1" + ] + } + ] + }, + "staticRouteConfiguration": { + "bfdConfiguration": { + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "jffgck", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "2fff::/64", + "nextHop": [ + "3ffe::1" + ] + } + ] + }, + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "microBfdState": "Enabled", + "conditionalDefaultRouteConfiguration": { + "ipv4Routes": [ + { + "prefix": "10.0.0.1/24", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "fe08:00/64", + "nextHop": [ + "fe01::1" + ] + } + ] + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "nniType": "CE", + "isManagementType": "True", + "useOptionB": "True", + "layer2Configuration": { + "mtu": 1500, + "interfaces": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice/networkInterfaces/example-networkInterface" + ] + }, + "optionBLayer3Configuration": { + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "40.0.0.14/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127", + "peerASN": 61234, + "vlanId": 1234, + "fabricASN": 17, + "peLoopbackIpAddress": [ + "10.0.0.1" + ], + "bmpConfiguration": { + "configurationState": "Enabled" + }, + "prefixLimits": [ + { + "maximumRoutes": 24 + } + ] + }, + "npbStaticRouteConfiguration": { + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "10.0.0.1/24", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "fe08:00/64", + "nextHop": [ + "10.0.0.1" + ] + } + ] + }, + "staticRouteConfiguration": { + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "10.0.0.1/24", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "2fff::/64", + "nextHop": [ + "3ffe::1" + ] + } + ] + }, + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "microBfdState": "Enabled", + "conditionalDefaultRouteConfiguration": { + "ipv4Routes": [ + { + "prefix": "10.0.0.1/24", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "fe08:00/64", + "nextHop": [ + "fe01::1" + ] + } + ] + }, + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "name": "example-nni", + "type": "microsoft.managedNetworkFabric/networkFabrics/networkToNetworkInterconnects", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "nniType": "CE", + "isManagementType": "True", + "useOptionB": "True", + "layer2Configuration": { + "mtu": 1500, + "interfaces": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice/networkInterfaces/example-networkInterface" + ] + }, + "optionBLayer3Configuration": { + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "40.0.0.14/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127", + "peerASN": 61234, + "vlanId": 1234, + "fabricASN": 17, + "peLoopbackIpAddress": [ + "10.0.0.1" + ], + "bmpConfiguration": { + "configurationState": "Enabled" + }, + "prefixLimits": [ + { + "maximumRoutes": 24 + } + ] + }, + "npbStaticRouteConfiguration": { + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "jffgck", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "2fff::/64", + "nextHop": [ + "10.0.0.1" + ] + } + ] + }, + "staticRouteConfiguration": { + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "10.0.0.1/24", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "2fff::/64", + "nextHop": [ + "3ffe::1" + ] + } + ] + }, + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "microBfdState": "Enabled", + "conditionalDefaultRouteConfiguration": { + "ipv4Routes": [ + { + "prefix": "10.0.0.1/24", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "2fff::/64", + "nextHop": [ + "3ffe::1" + ] + } + ] + }, + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "name": "example-nni", + "type": "microsoft.managedNetworkFabric/networkFabrics/networkToNetworkInterconnects", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkToNetworkInterconnects_Delete.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkToNetworkInterconnects_Delete.json new file mode 100644 index 000000000000..8ffaca408c77 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkToNetworkInterconnects_Delete.json @@ -0,0 +1,19 @@ +{ + "title": "NetworkToNetworkInterconnects_Delete_MaximumSet_Gen", + "operationId": "NetworkToNetworkInterconnects_Delete", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-nf", + "networkToNetworkInterconnectName": "example-nni" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkToNetworkInterconnects_Get.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkToNetworkInterconnects_Get.json new file mode 100644 index 000000000000..ce02392130ca --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkToNetworkInterconnects_Get.json @@ -0,0 +1,140 @@ +{ + "title": "NetworkToNetworkInterconnects_Get_MaximumSet_Gen", + "operationId": "NetworkToNetworkInterconnects_Get", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-nf", + "networkToNetworkInterconnectName": "example-nni" + }, + "responses": { + "200": { + "body": { + "properties": { + "nniType": "CE", + "isManagementType": "True", + "useOptionB": "True", + "layer2Configuration": { + "mtu": 1500, + "interfaces": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice/networkInterfaces/example-networkInterface" + ] + }, + "optionBLayer3Configuration": { + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "40.0.0.14/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127", + "peerASN": 61234, + "vlanId": 1234, + "fabricASN": 17, + "peLoopbackIpAddress": [ + "10.0.0.1" + ], + "bmpConfiguration": { + "configurationState": "Enabled" + }, + "prefixLimits": [ + { + "maximumRoutes": 24 + } + ] + }, + "npbStaticRouteConfiguration": { + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "10.0.0.1/24", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "fe80::/64", + "nextHop": [ + "10.0.0.1" + ] + } + ] + }, + "staticRouteConfiguration": { + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "10.0.0.1/24", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "2fff::/64", + "nextHop": [ + "3ffe::1" + ] + } + ] + }, + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "microBfdState": "Enabled", + "conditionalDefaultRouteConfiguration": { + "ipv4Routes": [ + { + "prefix": "10.0.0.1/24", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "fe80::/64", + "nextHop": [ + "fe80::1" + ] + } + ] + }, + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "name": "example-nni", + "type": "microsoft.managedNetworkFabric/networkFabrics/networkToNetworkInterconnects", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkToNetworkInterconnects_ListByNetworkFabric.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkToNetworkInterconnects_ListByNetworkFabric.json new file mode 100644 index 000000000000..3c963f1a5fb6 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkToNetworkInterconnects_ListByNetworkFabric.json @@ -0,0 +1,144 @@ +{ + "title": "NetworkToNetworkInterconnects_ListByNetworkFabric_MaximumSet_Gen", + "operationId": "NetworkToNetworkInterconnects_ListByNetworkFabric", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-nf" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "nniType": "CE", + "isManagementType": "True", + "useOptionB": "True", + "layer2Configuration": { + "mtu": 1500, + "interfaces": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice/networkInterfaces/example-networkInterface" + ] + }, + "optionBLayer3Configuration": { + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "40.0.0.14/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127", + "peerASN": 61234, + "vlanId": 1234, + "fabricASN": 17, + "peLoopbackIpAddress": [ + "10.0.0.1" + ], + "bmpConfiguration": { + "configurationState": "Enabled" + }, + "prefixLimits": [ + { + "maximumRoutes": 24 + } + ] + }, + "npbStaticRouteConfiguration": { + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "jffgck", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "jffgck", + "nextHop": [ + "10.0.0.1" + ] + } + ] + }, + "staticRouteConfiguration": { + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "jffgck", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "2fff::/64", + "nextHop": [ + "3ffe::1" + ] + } + ] + }, + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "microBfdState": "Enabled", + "conditionalDefaultRouteConfiguration": { + "ipv4Routes": [ + { + "prefix": "10.0.0.1/24", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "fe80::/64", + "nextHop": [ + "fe80::1" + ] + } + ] + }, + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "name": "example-nni", + "type": "microsoft.managedNetworkFabric/networkFabrics/networkToNetworkInterconnects", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkToNetworkInterconnects_Update.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkToNetworkInterconnects_Update.json new file mode 100644 index 000000000000..d7e80f204413 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkToNetworkInterconnects_Update.json @@ -0,0 +1,221 @@ +{ + "title": "NetworkToNetworkInterconnects_Update_MaximumSet_Gen", + "operationId": "NetworkToNetworkInterconnects_Update", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-nf", + "networkToNetworkInterconnectName": "example-nni", + "properties": { + "properties": { + "layer2Configuration": { + "mtu": 1500, + "interfaces": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice/networkInterfaces/example-networkInterface" + ] + }, + "optionBLayer3Configuration": { + "primaryIpv4Prefix": "20.0.0.12/29", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "20.0.0.14/29", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127", + "peerASN": 2345, + "vlanId": 1235, + "peLoopbackIpAddress": [ + "10.0.0.1" + ], + "bmpConfiguration": { + "configurationState": "Enabled" + }, + "prefixLimits": [ + { + "maximumRoutes": 1 + } + ] + }, + "npbStaticRouteConfiguration": { + "bfdConfiguration": { + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "10.0.0.1/24", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "fe80::/64", + "nextHop": [ + "fe80::1" + ] + } + ] + }, + "staticRouteConfiguration": { + "bfdConfiguration": { + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "10.0.0.1", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "2fff::/64", + "nextHop": [ + "3ffe::1" + ] + } + ] + }, + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "microBfdState": "Enabled" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "nniType": "CE", + "isManagementType": "True", + "useOptionB": "True", + "layer2Configuration": { + "mtu": 1500, + "interfaces": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice/networkInterfaces/example-networkInterface" + ] + }, + "optionBLayer3Configuration": { + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "40.0.0.14/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127", + "peerASN": 61234, + "vlanId": 1234, + "fabricASN": 17, + "peLoopbackIpAddress": [ + "10.0.0.1" + ], + "bmpConfiguration": { + "configurationState": "Enabled" + } + }, + "npbStaticRouteConfiguration": { + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "10.0.0.1/24", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "fe80::/64", + "nextHop": [ + "fe80::1" + ] + } + ] + }, + "staticRouteConfiguration": { + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "10.0.0.1/24", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "2fff::/64", + "nextHop": [ + "3ffe::1" + ] + } + ] + }, + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "microBfdState": "Enabled", + "conditionalDefaultRouteConfiguration": { + "ipv4Routes": [ + { + "prefix": "10.0.0.1/24", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "fe80::/64", + "nextHop": [ + "fe80::1" + ] + } + ] + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "name": "example-nni", + "type": "microsoft.managedNetworkFabric/networkFabrics/networkToNetworkInterconnects", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkToNetworkInterconnects_UpdateAdministrativeState.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkToNetworkInterconnects_UpdateAdministrativeState.json new file mode 100644 index 000000000000..b1a19d24ef13 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkToNetworkInterconnects_UpdateAdministrativeState.json @@ -0,0 +1,41 @@ +{ + "title": "NetworkToNetworkInterconnects_UpdateAdministrativeState_MaximumSet_Gen", + "operationId": "NetworkToNetworkInterconnects_UpdateAdministrativeState", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-nf", + "networkToNetworkInterconnectName": "example-nni", + "body": { + "resourceIds": [ + "" + ], + "state": "Enable" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkToNetworkInterconnects_UpdateBfdAdministrativeState.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkToNetworkInterconnects_UpdateBfdAdministrativeState.json new file mode 100644 index 000000000000..4c3b88979a6e --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkToNetworkInterconnects_UpdateBfdAdministrativeState.json @@ -0,0 +1,40 @@ +{ + "title": "NetworkToNetworkInterconnects_UpdateBfdAdministrativeState", + "operationId": "NetworkToNetworkInterconnects_UpdateBfdAdministrativeState", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-nf", + "networkToNetworkInterconnectName": "example-nni", + "body": { + "routeType": "Static", + "administrativeState": "Enable" + } + }, + "responses": { + "200": { + "body": { + "routeType": "Static", + "administrativeState": "Enable", + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkToNetworkInterconnects_UpdateNpbStaticRouteBfdAdministrativeState.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkToNetworkInterconnects_UpdateNpbStaticRouteBfdAdministrativeState.json new file mode 100644 index 000000000000..d91b994b4853 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/NetworkToNetworkInterconnects_UpdateNpbStaticRouteBfdAdministrativeState.json @@ -0,0 +1,41 @@ +{ + "title": "NetworkToNetworkInterconnects_UpdateNpbStaticRouteBfdAdministrativeState_MaximumSet_Gen", + "operationId": "NetworkToNetworkInterconnects_UpdateNpbStaticRouteBfdAdministrativeState", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-nf", + "networkToNetworkInterconnectName": "example-nni", + "body": { + "resourceIds": [ + "" + ], + "state": "Enable" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/Operations_List.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/Operations_List.json new file mode 100644 index 000000000000..ee880e549cf7 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/Operations_List.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "api-version": "2024-06-15-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.ManagedNetworkFabric/NetworkFabricControllers/Read", + "actionType": "Internal", + "isDataAction": true, + "origin": "user,system", + "display": { + "provider": "Microsoft.ManagedNetworkFabric resource provider", + "resource": "NetworkFabricControllers", + "operation": "Gets/List NetworkFabricController resources.", + "description": "Gets/List the NetworkFabricController resource data." + } + }, + { + "name": "Microsoft.ManagedNetworkFabric/NetworkFabricControllers/Write", + "actionType": "Internal", + "isDataAction": true, + "origin": "user,system", + "display": { + "provider": "Microsoft.ManagedNetworkFabric resource provider", + "resource": "NetworkFabricControllers", + "operation": "Create or Update NetworkFabricController resource.", + "description": "Create or Update NetworkFabricController resource data." + } + }, + { + "name": "Microsoft.ManagedNetworkFabric/NetworkFabricControllers/Delete", + "actionType": "Internal", + "isDataAction": true, + "origin": "user,system", + "display": { + "provider": "Microsoft.ManagedNetworkFabric resource provider", + "resource": "NetworkFabricControllers", + "operation": "Deletes the NetworkFabricController resource.", + "description": "Deletes the NetworkFabricController resource." + } + } + ] + } + } + }, + "operationId": "Operations_List", + "title": "Operations_List_MaximumSet_Gen" +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/RoutePolicies_CommitConfiguration.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/RoutePolicies_CommitConfiguration.json new file mode 100644 index 000000000000..92978a9f1ce7 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/RoutePolicies_CommitConfiguration.json @@ -0,0 +1,34 @@ +{ + "title": "RoutePolicies_CommitConfiguration_MaximumSet_Gen", + "operationId": "RoutePolicies_CommitConfiguration", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "routePolicyName": "example-routePolicy" + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/RoutePolicies_Create.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/RoutePolicies_Create.json new file mode 100644 index 000000000000..b8da269af835 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/RoutePolicies_Create.json @@ -0,0 +1,246 @@ +{ + "title": "RoutePolicies_Create_MaximumSet_Gen", + "operationId": "RoutePolicies_Create", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "routePolicyName": "example-routePolicy", + "resource": { + "properties": { + "annotation": "annotation", + "defaultAction": "Permit", + "statements": [ + { + "annotation": "annotation", + "sequenceNumber": 7, + "condition": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ], + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ], + "type": "Or", + "ipPrefixId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix" + }, + "action": { + "localPreference": 20, + "actionType": "Permit", + "ipCommunityProperties": { + "add": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + }, + "delete": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + }, + "set": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + } + }, + "ipExtendedCommunityProperties": { + "add": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + }, + "delete": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + }, + "set": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + } + } + } + } + ], + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "addressFamilyType": "IPv4", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "defaultAction": "Permit", + "statements": [ + { + "annotation": "annotation", + "sequenceNumber": 7, + "condition": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ], + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ], + "type": "Or", + "ipPrefixId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix" + }, + "action": { + "localPreference": 20, + "actionType": "Permit", + "ipCommunityProperties": { + "add": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + }, + "delete": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + }, + "set": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + } + }, + "ipExtendedCommunityProperties": { + "add": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + }, + "delete": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + }, + "set": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + } + } + } + } + ], + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "addressFamilyType": "IPv4", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "name": "example-routePolicy", + "type": "microsoft.managednetworkfabric/routePolicies", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotation", + "defaultAction": "Permit", + "statements": [ + { + "annotation": "annotation", + "sequenceNumber": 7, + "condition": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ], + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ], + "type": "Or", + "ipPrefixId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix" + }, + "action": { + "localPreference": 20, + "actionType": "Permit", + "ipCommunityProperties": { + "add": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + }, + "delete": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + }, + "set": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + } + }, + "ipExtendedCommunityProperties": { + "add": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + }, + "delete": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + }, + "set": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + } + } + } + } + ], + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "addressFamilyType": "IPv4", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "name": "example-routePolicy", + "type": "microsoft.managednetworkfabric/routePolicies", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/RoutePolicies_Delete.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/RoutePolicies_Delete.json new file mode 100644 index 000000000000..8c96019d672e --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/RoutePolicies_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "RoutePolicies_Delete_MaximumSet_Gen", + "operationId": "RoutePolicies_Delete", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "routePolicyName": "example-routePolicy" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/RoutePolicies_Get.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/RoutePolicies_Get.json new file mode 100644 index 000000000000..fd186a114f19 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/RoutePolicies_Get.json @@ -0,0 +1,97 @@ +{ + "title": "RoutePolicies_Get_MaximumSet_Gen", + "operationId": "RoutePolicies_Get", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "routePolicyName": "example-routePolicy" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "defaultAction": "Permit", + "statements": [ + { + "annotation": "annotation", + "sequenceNumber": 7, + "condition": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ], + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ], + "type": "Or", + "ipPrefixId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix" + }, + "action": { + "localPreference": 20, + "actionType": "Permit", + "ipCommunityProperties": { + "add": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + }, + "delete": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + }, + "set": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + } + }, + "ipExtendedCommunityProperties": { + "add": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + }, + "delete": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + }, + "set": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + } + } + } + } + ], + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "addressFamilyType": "IPv4", + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "name": "example-routePolicy", + "type": "microsoft.managednetworkfabric/routePolicies", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/RoutePolicies_ListByResourceGroup.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/RoutePolicies_ListByResourceGroup.json new file mode 100644 index 000000000000..651167a21c50 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/RoutePolicies_ListByResourceGroup.json @@ -0,0 +1,101 @@ +{ + "title": "RoutePolicies_ListByResourceGroup_MaximumSet_Gen", + "operationId": "RoutePolicies_ListByResourceGroup", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "defaultAction": "Permit", + "statements": [ + { + "annotation": "annotation", + "sequenceNumber": 7, + "condition": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ], + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ], + "type": "Or", + "ipPrefixId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix" + }, + "action": { + "localPreference": 20, + "actionType": "Permit", + "ipCommunityProperties": { + "add": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + }, + "delete": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + }, + "set": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + } + }, + "ipExtendedCommunityProperties": { + "add": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + }, + "delete": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + }, + "set": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + } + } + } + } + ], + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "addressFamilyType": "IPv4", + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "name": "example-routePolicy", + "type": "microsoft.managednetworkfabric/routePolicies", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/RoutePolicies_ListBySubscription.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/RoutePolicies_ListBySubscription.json new file mode 100644 index 000000000000..3c5ae1360ab6 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/RoutePolicies_ListBySubscription.json @@ -0,0 +1,100 @@ +{ + "title": "RoutePolicies_ListBySubscription_MaximumSet_Gen", + "operationId": "RoutePolicies_ListBySubscription", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "defaultAction": "Permit", + "statements": [ + { + "annotation": "annotation", + "sequenceNumber": 7, + "condition": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ], + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ], + "type": "Or", + "ipPrefixId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix" + }, + "action": { + "localPreference": 20, + "actionType": "Permit", + "ipCommunityProperties": { + "add": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + }, + "delete": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + }, + "set": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + } + }, + "ipExtendedCommunityProperties": { + "add": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + }, + "delete": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + }, + "set": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + } + } + } + } + ], + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "addressFamilyType": "IPv4", + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "name": "example-routePolicy", + "type": "microsoft.managednetworkfabric/routePolicies", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/RoutePolicies_Update.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/RoutePolicies_Update.json new file mode 100644 index 000000000000..dda045ae4900 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/RoutePolicies_Update.json @@ -0,0 +1,161 @@ +{ + "title": "RoutePolicies_Update_MaximumSet_Gen", + "operationId": "RoutePolicies_Update", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "routePolicyName": "example-routePolicy", + "properties": { + "tags": { + "keyId": "keyValue" + }, + "properties": { + "defaultAction": "Permit", + "statements": [ + { + "annotation": "annotation", + "sequenceNumber": 7, + "condition": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ], + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ], + "type": "Or", + "ipPrefixId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix" + }, + "action": { + "localPreference": 20, + "actionType": "Permit", + "ipCommunityProperties": { + "add": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + }, + "delete": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + }, + "set": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + } + }, + "ipExtendedCommunityProperties": { + "add": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + }, + "delete": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + }, + "set": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + } + } + } + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "defaultAction": "Permit", + "statements": [ + { + "annotation": "annotation", + "sequenceNumber": 7, + "condition": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ], + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ], + "type": "Or", + "ipPrefixId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix" + }, + "action": { + "localPreference": 20, + "actionType": "Permit", + "ipCommunityProperties": { + "add": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + }, + "delete": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + }, + "set": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + } + }, + "ipExtendedCommunityProperties": { + "add": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + }, + "delete": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + }, + "set": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + } + } + } + } + ], + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "addressFamilyType": "IPv4", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "name": "example-routePolicy", + "type": "microsoft.managednetworkfabric/routePolicies", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/RoutePolicies_UpdateAdministrativeState.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/RoutePolicies_UpdateAdministrativeState.json new file mode 100644 index 000000000000..3d94686a91b9 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/RoutePolicies_UpdateAdministrativeState.json @@ -0,0 +1,46 @@ +{ + "title": "RoutePolicies_UpdateAdministrativeState_MaximumSet_Gen", + "operationId": "RoutePolicies_UpdateAdministrativeState", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "routePolicyName": "example-routePolicy", + "body": { + "resourceIds": [ + "" + ], + "state": "Enable" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded", + "successfulDevices": [ + "" + ], + "failedDevices": [ + "" + ] + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/RoutePolicies_ValidateConfiguration.json b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/RoutePolicies_ValidateConfiguration.json new file mode 100644 index 000000000000..c4cf028c87e2 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/examples/2024-06-15-preview/RoutePolicies_ValidateConfiguration.json @@ -0,0 +1,35 @@ +{ + "title": "RoutePolicies_ValidateConfiguration_MaximumSet_Gen", + "operationId": "RoutePolicies_ValidateConfiguration", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "routePolicyName": "example-routePolicy" + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded", + "url": "https://ActionDetails" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/main.tsp b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/main.tsp new file mode 100644 index 000000000000..562ce4fd6d2a --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/main.tsp @@ -0,0 +1,77 @@ +import "@typespec/rest"; +import "@typespec/versioning"; +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "./models/common.tsp"; +import "./models/AccessControlList.tsp"; +import "./models/InternetGateway.tsp"; +import "./models/InternetGatewayRule.tsp"; +import "./models/NetworkFabric.tsp"; +import "./models/NetworkToNetworkInterconnect.tsp"; +import "./models/IpCommunity.tsp"; +import "./models/IpExtendedCommunity.tsp"; +import "./models/IpPrefix.tsp"; +import "./models/L2IsolationDomain.tsp"; +import "./models/L3IsolationDomain.tsp"; +import "./models/InternalNetwork.tsp"; +import "./models/ExternalNetwork.tsp"; +import "./models/NeighborGroup.tsp"; +import "./models/NetworkDevice.tsp"; +import "./models/NetworkDeviceSku.tsp"; +import "./models/NetworkInterface.tsp"; +import "./models/NetworkFabricController.tsp"; +import "./models/NetworkFabricSku.tsp"; +import "./models/NetworkPacketBroker.tsp"; +import "./models/NetworkRack.tsp"; +import "./models/NetworkTapRule.tsp"; +import "./models/NetworkTap.tsp"; +import "./models/RoutePolicy.tsp"; +import "./models/NetworkMonitor.tsp"; +import "./resources/AccessControlList.tsp"; +import "./resources/InternetGatewayRule.tsp"; +import "./resources/InternetGateway.tsp"; +import "./resources/IpCommunity.tsp"; +import "./resources/IpExtendedCommunity.tsp"; +import "./resources/IpPrefix.tsp"; +import "./resources/L2IsolationDomain.tsp"; +import "./resources/L3IsolationDomain.tsp"; +import "./resources/InternalNetwork.tsp"; +import "./resources/ExternalNetwork.tsp"; +import "./resources/NeighborGroup.tsp"; +import "./resources/NetworkDeviceSku.tsp"; +import "./resources/NetworkDevice.tsp"; +import "./resources/NetworkInterface.tsp"; +import "./resources/NetworkFabricController.tsp"; +import "./resources/NetworkFabricSku.tsp"; +import "./resources/NetworkFabric.tsp"; +import "./resources/NetworkToNetworkInterconnect.tsp"; +import "./resources/NetworkPacketBroker.tsp"; +import "./resources/NetworkRack.tsp"; +import "./resources/NetworkTapRule.tsp"; +import "./resources/NetworkTap.tsp"; +import "./resources/RoutePolicy.tsp"; +import "./resources/NetworkMonitor.tsp"; + +using TypeSpec.Rest; +using TypeSpec.Http; +using Azure.ResourceManager.Foundations; +using Azure.Core; +using Azure.ResourceManager; +using TypeSpec.Versioning; + +@doc("Self service experience for Azure Network Fabric API.") +@armProviderNamespace("Microsoft.ManagedNetworkFabric") +@armCommonTypesVersion(Azure.ResourceManager.CommonTypes.Versions.v5) +@service(#{ title: "Azure Network Fabric Management Service API" }) +@versioned(Versions) +namespace Microsoft.ManagedNetworkFabric; + +@doc("API Versions") +enum Versions { + @armCommonTypesVersion(Azure.ResourceManager.CommonTypes.Versions.v5) + @doc("2024-02-15-preview") + v2024_02_15_preview: "2024-02-15-preview", + + @doc("2024-06-15-preview") + v2024_06_15_preview: "2024-06-15-preview", +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/AccessControlList.tsp b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/AccessControlList.tsp new file mode 100644 index 000000000000..27dd3c9224ee --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/AccessControlList.tsp @@ -0,0 +1,410 @@ +import "./common.tsp"; +using TypeSpec.Versioning; + +namespace Microsoft.ManagedNetworkFabric; + +@doc("Access Control List Properties defines the resource properties.") +model AccessControlListProperties { + ...AnnotationResource; + + @doc("Input method to configure Access Control List.") + configurationType: ConfigurationType; + + @doc("Access Control List file URL.") + aclsUrl?: url; + + @doc("Default action that needs to be applied when no condition is matched. Example: Permit | Deny.") + defaultAction?: CommunityActionTypes = CommunityActionTypes.Permit; + + @Azure.ResourceManager.identifiers(#[]) + @doc("List of match configurations.") + @minItems(1) + matchConfigurations?: AccessControlListMatchConfiguration[]; + + @Azure.ResourceManager.identifiers(#[]) + @doc("List of dynamic match configurations.") + @minItems(1) + dynamicMatchConfigurations?: CommonDynamicMatchConfiguration[]; + + @doc("The last synced timestamp.") + @visibility(Lifecycle.Read) + lastSyncedTime?: utcDateTime; + + @doc("Access Control List (ACL) Type") + @added(Versions.v2024_06_15_preview) + aclType?: AclType; + + @doc("Device Role") + @added(Versions.v2024_06_15_preview) + deviceRole?: DeviceRole; + + @doc("Global Access Control List (ACL) actions") + @added(Versions.v2024_06_15_preview) + globalAccessControlListActions?: GlobalAccessControlListActionProperties; + + @doc("Details of the last operation performed on the resource") + @visibility(Lifecycle.Read) + @added(Versions.v2024_06_15_preview) + lastOperation?: LastOperationProperties; + + @doc("Configuration state of the resource.") + @visibility(Lifecycle.Read) + configurationState?: ConfigurationState; + + @doc("Provisioning state of the resource.") + @visibility(Lifecycle.Read) + provisioningState?: ProvisioningState; + + @doc("Administrative state of the resource.") + @visibility(Lifecycle.Read) + administrativeState?: AdministrativeState; +} + +@doc("Defines the match configuration that are supported to filter the traffic.") +model AccessControlListMatchConfiguration { + @doc("The name of the match configuration.") + @minLength(1) + matchConfigurationName?: string; + + @doc("Sequence Number of the match configuration.") + @maxValue(4294967295) + @minValue(1) + sequenceNumber?: int64; + + @doc("Type of IP Address. IPv4 or IPv6") + ipAddressType?: IPAddressType; + + @Azure.ResourceManager.identifiers(#[]) + @doc("List of the match conditions.") + @minItems(1) + matchConditions?: AccessControlListMatchCondition[]; + + @Azure.ResourceManager.identifiers(#[]) + @doc("List of actions that need to be performed for the matched conditions.") + @minItems(1) + actions?: AccessControlListAction[]; +} + +@doc("Defines the match configuration that are supported to filter the traffic.") +model AccessControlListMatchConfigurationPatch { + @doc("The name of the match configuration.") + @minLength(1) + matchConfigurationName?: string; + + @doc("Sequence Number of the match configuration.") + @maxValue(4294967295) + @minValue(1) + sequenceNumber?: int64; + + @doc("Type of IP Address. IPv4 or IPv6") + ipAddressType?: IPAddressType; + + @Azure.ResourceManager.identifiers(#[]) + @doc("List of the match conditions.") + @minItems(1) + matchConditions?: AccessControlListMatchConditionPatch[]; + + @Azure.ResourceManager.identifiers(#[]) + @doc("List of actions that need to be performed for the matched conditions.") + @minItems(1) + actions?: AccessControlListActionPatch[]; +} + +@doc("Defines the match condition that is supported to filter the traffic.") +model AccessControlListMatchCondition { + ...CommonMatchConditions; + + @doc("List of ether type values that need to be matched.") + @minItems(1) + etherTypes?: string[]; + + @doc("List of IP fragment packets that need to be matched.") + @minItems(1) + fragments?: string[]; + + @doc("List of IP Lengths that need to be matched.") + @minItems(1) + ipLengths?: string[]; + + @doc("List of TTL [Time To Live] values that need to be matched.") + @minItems(1) + ttlValues?: string[]; + + @doc("List of DSCP Markings that need to be matched.") + @minItems(1) + dscpMarkings?: string[]; + + @doc("Protocol neighbors that need to be matched.") + @added(Versions.v2024_06_15_preview) + protocolNeighbors?: string[]; + + @doc("Defines the port condition that needs to be matched.") + portCondition?: AccessControlListPortCondition; + + @doc("Internet Control Message Protocol (ICMP) configuration") + @added(Versions.v2024_06_15_preview) + icmpConfiguration?: IcmpConfigurationProperties; +} + +@doc("Defines the match condition that is supported to filter the traffic.") +model AccessControlListMatchConditionPatch { + ...CommonMatchConditionsPatch; + + @doc("List of ether type values that need to be matched.") + @minItems(1) + etherTypes?: string[]; + + @doc("List of IP fragment packets that need to be matched.") + @minItems(1) + fragments?: string[]; + + @doc("List of IP Lengths that need to be matched.") + @minItems(1) + ipLengths?: string[]; + + @doc("List of TTL [Time To Live] values that need to be matched.") + @minItems(1) + ttlValues?: string[]; + + @doc("List of DSCP Markings that need to be matched.") + @minItems(1) + dscpMarkings?: string[]; + + @doc("Defines the port condition that needs to be matched.") + portCondition?: AccessControlListPortConditionPatch; + + @doc("Protocol neighbors that need to be matched.") + @added(Versions.v2024_06_15_preview) + protocolNeighbors?: string[]; + + @doc("Internet Control Message Protocol (ICMP) configuration") + @added(Versions.v2024_06_15_preview) + icmpConfiguration?: IcmpConfigurationPatchProperties; +} + +@doc("Defines the port condition that needs to be matched.") +model AccessControlListPortCondition { + ...PortCondition; + + @doc("List of protocol flags that need to be matched. Example: established | initial | . List of eligible TCP Flags are ack, fin, not-ack, not-fin, not-psh, not-rst, not-syn, not-urg, psh, rst, syn, urg") + flags?: string[]; +} + +@doc("Defines the port condition that needs to be matched.") +model AccessControlListPortConditionPatch { + ...PortConditionPatch; + + @doc("List of protocol flags that need to be matched. Example: established | initial | . List of eligible TCP Flags are ack, fin, not-ack, not-fin, not-psh, not-rst, not-syn, not-urg, psh, rst, syn, urg") + flags?: string[]; +} + +@doc("Action that need to performed.") +model AccessControlListAction { + @doc("Type of actions that can be performed.") + type?: AclActionType; + + @doc("Name of the counter block to get match count information.") + @minLength(1) + counterName?: string; + + @doc("Remark comment") + @added(Versions.v2024_06_15_preview) + remarkComment?: string; + + @doc("Police rate configuration") + @added(Versions.v2024_06_15_preview) + policeRateConfiguration?: PoliceRateConfigurationProperties; +} + +@doc("Action that need to be performed") +model AccessControlListActionPatch is AccessControlListAction; + +@doc("The Access Control Lists patch resource definition.") +model AccessControlListPatch { + ...TagsUpdate; + + @doc("Access Control Lists patch properties.") + properties?: AccessControlListPatchProperties; +} + +@doc("Access Control Lists patch properties.") +model AccessControlListPatchProperties { + @doc("Input method to configure Access Control List.") + configurationType?: ConfigurationType; + + @doc("Access Control List file URL.") + aclsUrl?: url; + + @doc("Default action that needs to be applied when no condition is matched. Example: Permit | Deny.") + defaultAction?: CommunityActionTypes; + + @Azure.ResourceManager.identifiers(#[]) + @doc("List of match configurations.") + @minItems(1) + matchConfigurations?: AccessControlListMatchConfigurationPatch[]; + + @Azure.ResourceManager.identifiers(#[]) + @doc("List of dynamic match configurations.") + @minItems(1) + dynamicMatchConfigurations?: CommonDynamicMatchConfigurationPatch[]; + + @doc("Access Control List (ACL) Type") + @added(Versions.v2024_06_15_preview) + aclType?: AclType; + + @doc("Device Role") + @added(Versions.v2024_06_15_preview) + deviceRole?: DeviceRole; + + @doc("Global Access Control List (ACL) actions") + @added(Versions.v2024_06_15_preview) + globalAccessControlListActions?: GlobalAccessControlListActionPatchProperties; + + ...AnnotationResource; +} + +@doc("Type of actions that can be performed.") +union AclActionType { + @doc("AclActionType Drop") + Drop: "Drop", + + @doc("AclActionType Count") + Count: "Count", + + @doc("AclActionType Log") + Log: "Log", + + @doc("AclActionType Remark") + @added(Versions.v2024_06_15_preview) + Remark: "Remark", + + @doc("AclActionType PoliceRate") + @added(Versions.v2024_06_15_preview) + PoliceRate: "PoliceRate", + + string, +} + +@doc("Access Control List (ACL) Type") +@added(Versions.v2024_06_15_preview) +union AclType { + @doc("AclType Control Plane Traffic Policy") + Cp: "ControlPlaneTrafficPolicy", + + @doc("AclType Tenant") + Tenant: "Tenant", + + @doc("AclType Management") + Management: "Management", + + string, +} + +@doc("Device Role") +@added(Versions.v2024_06_15_preview) +union DeviceRole { + @doc("DeviceRole - Customer Edge (CE)") + CE: "CE", + + @doc("DeviceRole - Top of Rack (ToR)") + ToR: "ToR", + + @doc("DeviceRole - Network Packet Broker (NPB)") + NPB: "NPB", + + @doc("Device Role Management Switch") + ManagementSwitch: "ManagementSwitch", + + string, +} + +@doc("Global Access Control List actions properties") +@added(Versions.v2024_06_15_preview) +model GlobalAccessControlListActionProperties { + @doc("Configuration to enable or disable ACL action count.") + enableCount?: BooleanEnumProperty = BooleanEnumProperty.False; +} + +@doc("Global Access Control List actions patch properties") +@added(Versions.v2024_06_15_preview) +@withoutDefaultValues +model GlobalAccessControlListActionPatchProperties + is GlobalAccessControlListActionProperties; + +@doc("Internet Control Message Protocol (ICMP) configuration") +@added(Versions.v2024_06_15_preview) +model IcmpConfigurationProperties { + @doc("Internet Control Message Protocol (ICMP) types") + @minItems(1) + icmpTypes?: string[]; +} + +@doc("Internet Control Message Protocol (ICMP) configuration patch properties") +@added(Versions.v2024_06_15_preview) +model IcmpConfigurationPatchProperties is IcmpConfigurationProperties; + +@doc("Police rate configuration properties") +@added(Versions.v2024_06_15_preview) +model PoliceRateConfigurationProperties { + @doc("Rate limit in bits per second.") + bitRate?: BitRate; + + @doc("Burst size in packets.") + burstSize?: BurstSize; +} + +@doc("Bit rate in bits per second.") +@added(Versions.v2024_06_15_preview) +model BitRate { + @doc("Bitrate.") + rate?: int64; + + @doc("Bitrate unit.") + unit?: BitRateUnit; +} + +@doc("Bit rate unit.") +@added(Versions.v2024_06_15_preview) +union BitRateUnit { + @doc("Bit rate unit in bits per second.") + bps: "bps", + + @doc("Bit rate unit in kilobits per second.") + Kbps: "Kbps", + + @doc("Bit rate unit in megabits per second.") + Mbps: "Mbps", + + @doc("Bit rate unit in gigabits per second.") + Gbps: "Gbps", + + string, +} + +@doc("Burst size in packets.") +@added(Versions.v2024_06_15_preview) +model BurstSize { + @doc("Burst size.") + size?: int64; + + @doc("Burst size unit.") + unit?: BurstSizeUnit; +} + +@doc("Burst size unit in packets.") +@added(Versions.v2024_06_15_preview) +union BurstSizeUnit { + @doc("Burst size unit in bytes.") + Bytes: "Bytes", + + @doc("Burst size unit in kilobytes.") + KBytes: "KBytes", + + @doc("Burst size unit in megabytes.") + MBytes: "MBytes", + + @doc("Burst size unit in gigabytes.") + GBytes: "GBytes", + + string, +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/ExternalNetwork.tsp b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/ExternalNetwork.tsp new file mode 100644 index 000000000000..ad6e0260b504 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/ExternalNetwork.tsp @@ -0,0 +1,428 @@ +import "./common.tsp"; + +using Azure.ResourceManager; +using TypeSpec.Versioning; +using TypeSpec.OpenAPI; + +namespace Microsoft.ManagedNetworkFabric; + +@doc("External Network Properties.") +model ExternalNetworkProperties { + ...AnnotationResource; + + @doc("ARM Resource ID of the networkToNetworkInterconnectId of the ExternalNetwork resource.") + networkToNetworkInterconnectId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/networkFabrics/networkToNetworkInterconnects"; + } + ]>; + + @doc("ARM Resource ID of the RoutePolicy. This is used for the backward compatibility.") + @removed(Versions.v2024_06_15_preview) + importRoutePolicyId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/routePolicies"; + } + ]>; + + @doc("ARM Resource ID of the RoutePolicy. This is used for the backward compatibility.") + @removed(Versions.v2024_06_15_preview) + exportRoutePolicyId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/routePolicies"; + } + ]>; + + @doc("Import Route Policy either IPv4 or IPv6.") + @removed(Versions.v2024_06_15_preview) + @renamedFrom(Versions.v2024_06_15_preview, "importRoutePolicy") + importRoutePolicyDeprecated?: ImportRoutePolicy; + + @doc("Import Route Policy either IPv4 or IPv6.") + @added(Versions.v2024_06_15_preview) + importRoutePolicy?: ImportRoutePolicy; + + @doc("Export Route Policy either IPv4 or IPv6.") + @removed(Versions.v2024_06_15_preview) + @renamedFrom(Versions.v2024_06_15_preview, "exportRoutePolicy") + exportRoutePolicyDeprecated?: ExportRoutePolicy; + + @doc("Export Route Policy either IPv4 or IPv6.") + @added(Versions.v2024_06_15_preview) + exportRoutePolicy?: ExportRoutePolicy; + + @doc("Peering option list.") + peeringOption: PeeringOption; + + #suppress "@azure-tools/typespec-azure-core/casing-style" "This is a valid resource name." + @doc("option B properties object") + optionBProperties?: L3OptionBProperties; + + #suppress "@azure-tools/typespec-azure-core/casing-style" "This is a valid resource name." + @doc("option A properties object") + optionAProperties?: ExternalNetworkPropertiesOptionAProperties; + + @added(Versions.v2024_06_15_preview) + @doc("Static Route Configuration.") + staticRouteConfiguration?: ExternalNetworkStaticRouteConfiguration; + + @doc("Details of the last operation performed on the resource") + @visibility(Lifecycle.Read) + @added(Versions.v2024_06_15_preview) + lastOperation?: LastOperationProperties; + + @doc("Configuration state of the resource.") + @visibility(Lifecycle.Read) + configurationState?: ConfigurationState; + + @doc("Provisioning state of the resource.") + @visibility(Lifecycle.Read) + provisioningState?: ProvisioningState; + + @doc("Administrative state of the resource.") + @visibility(Lifecycle.Read) + administrativeState?: AdministrativeState; +} + +#suppress "@azure-tools/typespec-azure-core/casing-style" "This is a valid resource name." +@doc("Option B configuration.") +model L3OptionBPatchProperties { + @doc("RouteTargets to be applied. This is used for the backward compatibility.") + importRouteTargets?: string[]; + + @doc("RouteTargets to be applied. This is used for the backward compatibility.") + exportRouteTargets?: string[]; + + @doc("RouteTargets to be applied.") + routeTargets?: RouteTargetPatchInformation; +} + +#suppress "@azure-tools/typespec-azure-core/casing-style" "This is a valid resource name." +@doc("Option B configuration.") +model L3OptionBProperties { + @doc("RouteTargets to be applied. This is used for the backward compatibility.") + importRouteTargets?: string[]; + + @doc("RouteTargets to be applied. This is used for the backward compatibility.") + exportRouteTargets?: string[]; + + @doc("RouteTargets to be applied.") + routeTargets?: RouteTargetInformation; +} + +#suppress "@azure-tools/typespec-azure-core/casing-style" "This is a valid resource name." +@doc("option A properties object") +model ExternalNetworkPropertiesOptionAProperties { + ...Layer3IpPrefixProperties; + + @doc("MTU to use for option A peering.") + @maxValue(9200) + @minValue(64) + mtu?: int32 = 1500; + + @doc("Vlan identifier. Example : 501") + @maxValue(4094) + @minValue(501) + vlanId: int32; + + #suppress "@azure-tools/typespec-azure-core/casing-style" "This is a valid resource name." + @doc("Fabric ASN number. Example 65001") + @visibility(Lifecycle.Read) + @maxValue(4294967295) + @minValue(1) + fabricASN?: int64; + + #suppress "@azure-tools/typespec-azure-core/casing-style" "This is a valid resource name." + @doc("Peer ASN number.Example : 28") + @maxValue(4294967295) + @minValue(1) + peerASN: int64; + + @doc("BFD configuration properties") + bfdConfiguration?: BfdConfiguration; + + @doc("Ingress Acl. ARM resource ID of Access Control Lists.") + @removed(Versions.v2024_06_15_preview) + @renamedFrom(Versions.v2024_06_15_preview, "ingressAclId") + ingressAclIdDeprecated?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/accessControlLists"; + } + ]>; + + @doc("Ingress Acl. ARM resource ID of Access Control Lists.") + @added(Versions.v2024_06_15_preview) + ingressAclId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/accessControlLists"; + } + ]>; + + @doc("BMP Monitor Configuration.") + @added(Versions.v2024_06_15_preview) + bmpConfiguration?: ExternalNetworkBmpProperties; + + @doc("Egress Acl. ARM resource ID of Access Control Lists.") + @removed(Versions.v2024_06_15_preview) + @renamedFrom(Versions.v2024_06_15_preview, "egressAclId") + egressAclIdDeprecated?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/accessControlLists"; + } + ]>; + + @doc("Egress Acl. ARM resource ID of Access Control Lists.") + @added(Versions.v2024_06_15_preview) + egressAclId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/accessControlLists"; + } + ]>; + + @doc("V4OverV6 BGP Session state") + @added(Versions.v2024_06_15_preview) + v4OverV6BgpSession?: V4OverV6BgpSessionState = V4OverV6BgpSessionState.Disabled; + + @doc("V6OverV4 BGP Session state") + @added(Versions.v2024_06_15_preview) + v6OverV4BgpSession?: V6OverV4BgpSessionState = V6OverV4BgpSessionState.Disabled; + + @doc("Native IPv4 prefix limits configuration") + @added(Versions.v2024_06_15_preview) + nativeIpv4PrefixLimit?: NativeIpv4PrefixLimitProperties; + + @doc("Native IPv6 prefix limits configuration") + @added(Versions.v2024_06_15_preview) + nativeIpv6PrefixLimit?: NativeIpv6PrefixLimitProperties; +} + +@doc("The ExternalNetwork patch resource definition.") +model ExternalNetworkPatch { + @doc("External Network Patch properties.") + properties?: ExternalNetworkPatchProperties; +} + +@doc("External Network Patch properties.") +model ExternalNetworkPatchProperties { + ...AnnotationResource; + + @doc("ARM Resource ID of the networkToNetworkInterconnectId of the ExternalNetwork resource.") + networkToNetworkInterconnectId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/networkFabrics/networkToNetworkInterconnects"; + } + ]>; + + @doc("ARM Resource ID of the RoutePolicy. This is used for the backward compatibility.") + @removed(Versions.v2024_06_15_preview) + importRoutePolicyId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/routePolicies"; + } + ]>; + + @doc("ARM Resource ID of the RoutePolicy. This is used for the backward compatibility.") + @removed(Versions.v2024_06_15_preview) + exportRoutePolicyId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/routePolicies"; + } + ]>; + + @doc("Import Route Policy either IPv4 or IPv6.") + @removed(Versions.v2024_06_15_preview) + @renamedFrom(Versions.v2024_06_15_preview, "importRoutePolicy") + importRoutePolicyDeprecated?: ImportRoutePolicyPatch; + + @doc("Import Route Policy either IPv4 or IPv6.") + @added(Versions.v2024_06_15_preview) + importRoutePolicy?: ImportRoutePolicyPatch; + + @doc("Export Route Policy either IPv4 or IPv6.") + @removed(Versions.v2024_06_15_preview) + @renamedFrom(Versions.v2024_06_15_preview, "exportRoutePolicy") + exportRoutePolicyDeprecated?: ExportRoutePolicyPatch; + + @doc("Export Route Policy either IPv4 or IPv6.") + @added(Versions.v2024_06_15_preview) + exportRoutePolicy?: ExportRoutePolicyPatch; + + @doc("Peering option list.") + peeringOption?: PeeringOption; + + #suppress "@azure-tools/typespec-azure-core/casing-style" "This is a valid resource name." + @doc("option B properties object") + optionBProperties?: L3OptionBPatchProperties; + + #suppress "@azure-tools/typespec-azure-core/casing-style" "This is a valid resource name." + @doc("option A properties object") + optionAProperties?: ExternalNetworkPatchPropertiesOptionAProperties; + + @added(Versions.v2024_06_15_preview) + @doc("Static Route Configuration.") + staticRouteConfiguration?: ExternalNetworkStaticRoutePatchConfiguration; +} + +#suppress "@azure-tools/typespec-azure-core/casing-style" "This is a valid resource name." +@doc("option A properties object") +model ExternalNetworkPatchPropertiesOptionAProperties { + ...Layer3IpPrefixPatchProperties; + + @doc("MTU to use for option A peering.") + @maxValue(9200) + @minValue(64) + mtu?: int32; + + @doc("Vlan identifier. Example : 501") + @maxValue(4094) + @minValue(501) + vlanId?: int32; + + #suppress "@azure-tools/typespec-azure-core/casing-style" "This is a valid resource name." + @doc("Fabric ASN number. Example 65001") + @visibility(Lifecycle.Read) + @maxValue(4294967295) + @minValue(1) + fabricASN?: int64; + + #suppress "@azure-tools/typespec-azure-core/casing-style" "This is a valid resource name." + @doc("Peer ASN number.Example : 28") + @maxValue(4294967295) + @minValue(1) + peerASN?: int64; + + @doc("BFD configuration properties") + bfdConfiguration?: BfdPatchConfiguration; + + @doc("Ingress Acl. ARM resource ID of Access Control Lists.") + @removed(Versions.v2024_06_15_preview) + @renamedFrom(Versions.v2024_06_15_preview, "ingressAclId") + ingressAclIdDeprecated?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/accessControlLists"; + } + ]>; + + @doc("Ingress Acl. ARM resource ID of Access Control Lists.") + @added(Versions.v2024_06_15_preview) + ingressAclId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/accessControlLists"; + } + ]>; + + @doc("Egress Acl. ARM resource ID of Access Control Lists.") + @removed(Versions.v2024_06_15_preview) + @renamedFrom(Versions.v2024_06_15_preview, "egressAclId") + egressAclIdDeprecated?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/accessControlLists"; + } + ]>; + + @doc("Egress Acl. ARM resource ID of Access Control Lists.") + @added(Versions.v2024_06_15_preview) + egressAclId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/accessControlLists"; + } + ]>; + + @doc("BMP Monitor Configuration.") + @added(Versions.v2024_06_15_preview) + bmpConfiguration?: ExternalNetworkBmpPatchProperties; + + @doc("V4OverV6 BGP Session state") + @added(Versions.v2024_06_15_preview) + v4OverV6BgpSession?: V4OverV6BgpSessionState; + + @doc("V6OverV4 BGP Session state") + @added(Versions.v2024_06_15_preview) + v6OverV4BgpSession?: V6OverV4BgpSessionState; + + @doc("Native IPv4 prefix limit configuration") + @added(Versions.v2024_06_15_preview) + nativeIpv4PrefixLimit?: NativeIpv4PrefixLimitPatchProperties; + + @doc("Native IPv6 prefix limit configuration") + @added(Versions.v2024_06_15_preview) + nativeIpv6PrefixLimit?: NativeIpv6PrefixLimitPatchProperties; +} + +@doc("External Network Administrative State request") +@added(Versions.v2024_06_15_preview) +model ExternalNetworkBfdAdministrativeStateRequest { + @doc("Route Type that helps to know which bfd we are updating.") + routeType?: ExternalNetworkRouteType; + + @doc("Administrative state.") + administrativeState?: BfdAdministrativeState; +} + +@doc("External Network Administrative State response") +@added(Versions.v2024_06_15_preview) +model ExternalNetworkBfdAdministrativeStateResponse { + @doc("Route Type that helps to know which bfd we are updating.") + routeType?: ExternalNetworkRouteType; + + @doc("Administrative state.") + administrativeState?: BfdAdministrativeState; + + ...ErrorResponse; +} + +@doc("External Network RouteType.") +@added(Versions.v2024_06_15_preview) +union ExternalNetworkRouteType { + @doc("ExternalNetwork Static.") + Static: "Static", + + @doc("ExternalNetwork OptionA.") + OptionA: "OptionA", + + string, +} + +@doc("Static Route Configuration properties for ExternalNetwork.") +@added(Versions.v2024_06_15_preview) +model ExternalNetworkStaticRouteConfiguration { + @doc("BFD configuration properties") + bfdConfiguration?: BfdConfiguration; + + @doc("List of IPv4 Routes.") + @Azure.ResourceManager.identifiers(#["prefix"]) + ipv4Routes?: StaticRouteProperties[]; + + @doc("List of IPv6 Routes.") + @Azure.ResourceManager.identifiers(#["prefix"]) + ipv6Routes?: StaticRouteProperties[]; +} + +@doc("Static Route Configuration properties for External Network.") +@added(Versions.v2024_06_15_preview) +model ExternalNetworkStaticRoutePatchConfiguration { + @doc("BFD configuration properties") + bfdConfiguration?: BfdPatchConfiguration; + + @doc("List of IPv4 Routes.") + @Azure.ResourceManager.identifiers(#["prefix"]) + ipv4Routes?: StaticRoutePatchProperties[]; + + @doc("List of IPv6 Routes.") + @Azure.ResourceManager.identifiers(#["prefix"]) + ipv6Routes?: StaticRoutePatchProperties[]; +} + +@doc("BGP Monitoring Protocol (BMP) Configuration properties.") +@added(Versions.v2024_06_15_preview) +model ExternalNetworkBmpProperties { + @doc("BMP Configuration State.") + configurationState?: BmpConfigurationState = BmpConfigurationState.Disabled; +} + +@doc("BMP Monitoring Configuration patch properties.") +@added(Versions.v2024_06_15_preview) +model ExternalNetworkBmpPatchProperties { + @doc("BMP Configuration State.") + configurationState?: BmpConfigurationState; +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/InternalNetwork.tsp b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/InternalNetwork.tsp new file mode 100644 index 000000000000..f41b77e26254 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/InternalNetwork.tsp @@ -0,0 +1,541 @@ +import "./common.tsp"; + +using TypeSpec.Versioning; +using TypeSpec.OpenAPI; +using Azure.ResourceManager; + +namespace Microsoft.ManagedNetworkFabric; + +@doc("Internal Network Properties defines the properties of the resource.") +model InternalNetworkProperties { + ...AnnotationResource; + + @doc("Maximum transmission unit. Default value is 1500.") + @maxValue(9200) + @minValue(64) + mtu?: int32 = 1500; + + #suppress "@azure-tools/typespec-azure-core/casing-style" "This is a valid resource name." + @doc("List of Connected IPv4 Subnets.") + @Azure.ResourceManager.identifiers(#["prefix"]) + @minItems(1) + connectedIPv4Subnets?: ConnectedSubnet[]; + + #suppress "@azure-tools/typespec-azure-core/casing-style" "This is a valid resource name." + @doc("List of connected IPv6 Subnets.") + @Azure.ResourceManager.identifiers(#["prefix"]) + @minItems(1) + connectedIPv6Subnets?: ConnectedSubnet[]; + + @doc("ARM Resource ID of the RoutePolicy. This is used for the backward compatibility.") + @removed(Versions.v2024_06_15_preview) + importRoutePolicyId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/routePolicies"; + } + ]>; + + @doc("ARM Resource ID of the RoutePolicy. This is used for the backward compatibility.") + @removed(Versions.v2024_06_15_preview) + exportRoutePolicyId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/routePolicies"; + } + ]>; + + @doc("Import Route Policy either IPv4 or IPv6.") + @removed(Versions.v2024_06_15_preview) + @renamedFrom(Versions.v2024_06_15_preview, "importRoutePolicy") + importRoutePolicyDeprecated?: ImportRoutePolicy; + + @doc("Import Route Policy either IPv4 or IPv6.") + @added(Versions.v2024_06_15_preview) + importRoutePolicy?: ImportRoutePolicy; + + @doc("Export Route Policy either IPv4 or IPv6.") + @removed(Versions.v2024_06_15_preview) + @renamedFrom(Versions.v2024_06_15_preview, "exportRoutePolicy") + exportRoutePolicyDeprecated?: ExportRoutePolicy; + + @doc("Export Route Policy either IPv4 or IPv6.") + @added(Versions.v2024_06_15_preview) + exportRoutePolicy?: ExportRoutePolicy; + + @doc("Ingress Acl. ARM resource ID of Access Control Lists.") + @removed(Versions.v2024_06_15_preview) + @renamedFrom(Versions.v2024_06_15_preview, "ingressAclId") + ingressAclIdDeprecated?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/accessControlLists"; + } + ]>; + + @doc("Ingress Acl. ARM resource ID of Access Control Lists.") + @added(Versions.v2024_06_15_preview) + ingressAclId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/accessControlLists"; + } + ]>; + + @doc("Egress Acl. ARM resource ID of Access Control Lists.") + @removed(Versions.v2024_06_15_preview) + @renamedFrom(Versions.v2024_06_15_preview, "egressAclId") + egressAclIdDeprecated?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/accessControlLists"; + } + ]>; + + @doc("Egress Acl. ARM resource ID of Access Control Lists.") + @added(Versions.v2024_06_15_preview) + egressAclId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/accessControlLists"; + } + ]>; + + @doc("To check whether monitoring of internal network is enabled or not.") + isMonitoringEnabled?: IsMonitoringEnabled = IsMonitoringEnabled.False; + + @doc("Extension. Example: NoExtension | NPB.") + extension?: Extension = Extension.NoExtension; + + @doc("Vlan identifier. Example: 1001.") + @maxValue(4094) + @minValue(100) + vlanId: int32; + + @doc("BGP configuration properties.") + bgpConfiguration?: BgpConfiguration; + + @doc("Static Route Configuration properties.") + staticRouteConfiguration?: StaticRouteConfiguration; + + @doc("Native IPv4 Prefix Limit Configuration properties.") + @added(Versions.v2024_06_15_preview) + nativeIpv4PrefixLimit?: NativeIpv4PrefixLimitProperties; + + @doc("Native IPv6 Prefix Limit Configuration properties.") + @added(Versions.v2024_06_15_preview) + nativeIpv6PrefixLimit?: NativeIpv6PrefixLimitProperties; + + @doc("Details of the last operation performed on the resource") + @visibility(Lifecycle.Read) + @added(Versions.v2024_06_15_preview) + lastOperation?: LastOperationProperties; + + @doc("Configuration state of the resource.") + @visibility(Lifecycle.Read) + configurationState?: ConfigurationState; + + @doc("Provisioning state of the resource.") + @visibility(Lifecycle.Read) + provisioningState?: ProvisioningState; + + @doc("Administrative state of the resource.") + @visibility(Lifecycle.Read) + administrativeState?: AdministrativeState; +} + +@doc("BGP configuration properties") +model BgpConfiguration { + ...AnnotationResource; + + @doc("BFD configuration properties") + bfdConfiguration?: BfdConfiguration; + + @doc("Originate a defaultRoute. Ex: \"True\" | \"False\".") + defaultRouteOriginate?: BooleanEnumProperty; + + #suppress "@azure-tools/typespec-azure-core/casing-style" "This is a valid resource name." + @doc("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.") + @maxValue(10) + @minValue(0) + allowAS?: int32 = 2; + + #suppress "@azure-tools/typespec-azure-core/casing-style" "This is a valid resource name." + @doc("Enable Or Disable state.") + allowASOverride?: AllowASOverride; + + #suppress "@azure-tools/typespec-azure-core/casing-style" "This is a valid resource name." + @doc("ASN of Network Fabric. Example: 65048.") + @visibility(Lifecycle.Read) + fabricASN?: int64; + + #suppress "@azure-tools/typespec-azure-core/casing-style" "This is a valid resource name." + @doc("Peer ASN. Example: 65047.") + @maxValue(4294967295) + @minValue(1) + peerASN: int64; + + @doc("List of BGP IPv4 Listen Range prefixes.") + ipv4ListenRangePrefixes?: string[]; + + @doc("List of BGP IPv6 Listen Ranges prefixes.") + ipv6ListenRangePrefixes?: string[]; + + @doc("List with stringified IPv4 Neighbor Addresses.") + @Azure.ResourceManager.identifiers(#["address"]) + ipv4NeighborAddress?: NeighborAddress[]; + + @doc("List with stringified IPv6 Neighbor Address.") + @Azure.ResourceManager.identifiers(#["address"]) + ipv6NeighborAddress?: NeighborAddress[]; + + @doc("InternalNetwork BMP Configuration") + @added(Versions.v2024_06_15_preview) + bmpConfiguration?: InternalNetworkBmpProperties; + + @added(Versions.v2024_06_15_preview) + @doc("V4 over V6 bgp session.") + v4OverV6BgpSession?: V4OverV6BgpSessionState = V4OverV6BgpSessionState.Disabled; + + @doc("v6 over v4 bgp session.") + @added(Versions.v2024_06_15_preview) + v6OverV4BgpSession?: V6OverV4BgpSessionState = V6OverV4BgpSessionState.Disabled; +} + +@doc("BGP configuration properties.") +model BgpPatchConfiguration { + ...AnnotationResource; + + @doc("BFD configuration properties") + bfdConfiguration?: BfdPatchConfiguration; + + @doc("Originate a defaultRoute. Ex: \"True\" | \"False\".") + defaultRouteOriginate?: BooleanEnumProperty; + + #suppress "@azure-tools/typespec-azure-core/casing-style" "This is a valid resource name." + @doc("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.") + @maxValue(10) + @minValue(0) + allowAS?: int32; + + #suppress "@azure-tools/typespec-azure-core/casing-style" "This is a valid resource name." + @doc("Enable Or Disable state.") + allowASOverride?: AllowASOverride; + + #suppress "@azure-tools/typespec-azure-core/casing-style" "This is a valid resource name." + @doc("ASN of Network Fabric. Example: 65048.") + @visibility(Lifecycle.Read) + fabricASN?: int64; + + #suppress "@azure-tools/typespec-azure-core/casing-style" "This is a valid resource name." + @doc("Peer ASN. Example: 65047.") + @maxValue(4294967295) + @minValue(1) + peerASN?: int64; + + @doc("List of BGP IPv4 Listen Range prefixes.") + ipv4ListenRangePrefixes?: string[]; + + @doc("List of BGP IPv6 Listen Ranges prefixes.") + ipv6ListenRangePrefixes?: string[]; + + @doc("List with stringified IPv4 Neighbor Addresses.") + @Azure.ResourceManager.identifiers(#["address"]) + ipv4NeighborAddress?: NeighborAddressPatch[]; + + @doc("List with stringified IPv6 Neighbor Address.") + @Azure.ResourceManager.identifiers(#["address"]) + ipv6NeighborAddress?: NeighborAddressPatch[]; + + @doc("InternalNetwork BMP Configuration") + @added(Versions.v2024_06_15_preview) + bmpConfiguration?: InternalNetworkBmpPatchProperties; + + @added(Versions.v2024_06_15_preview) + @doc("V4 over V6 bgp session.") + v4OverV6BgpSession?: V4OverV6BgpSessionState; + + @doc("v6 over v4 bgp session.") + @added(Versions.v2024_06_15_preview) + v6OverV4BgpSession?: V6OverV4BgpSessionState; +} + +@doc("Neighbor Address properties.") +model NeighborAddress { + @doc("IP Address.") + @minLength(1) + address?: string; + + @doc("BFD Administrative State for each Neighbor Address. Example: Enabled | Disabled.") + @added(Versions.v2024_06_15_preview) + @visibility(Lifecycle.Read) + bfdAdministrativeState?: BfdAdministrativeState; + + @doc("BGP Administrative State for each Neighbor Address. Example: Enabled | Disabled.") + @added(Versions.v2024_06_15_preview) + @visibility(Lifecycle.Read) + bgpAdministrativeState?: BgpAdministrativeState; + + @doc("Configuration state of the resource.") + @visibility(Lifecycle.Read) + configurationState?: ConfigurationState; +} + +@doc("Neighbor Address properties.") +model NeighborAddressPatch is NeighborAddress; + +@doc("Connected Subnet properties.") +model ConnectedSubnet { + ...AnnotationResource; + + @doc("Prefix of the Connected Subnet.") + @minLength(1) + prefix: string; +} + +@doc("Connected Subnet properties.") +model ConnectedSubnetPatch is ConnectedSubnet; + +@doc("The InternalNetwork patch resource definition.") +model InternalNetworkPatch { + @doc("InternalNetwork Patch properties.") + properties?: InternalNetworkPatchProperties; +} + +@doc("InternalNetwork Patch properties.") +model InternalNetworkPatchProperties { + ...AnnotationResource; + + @doc("Maximum transmission unit. Default value is 1500.") + @maxValue(9200) + @minValue(64) + mtu?: int32; + + #suppress "@azure-tools/typespec-azure-core/casing-style" "This is a valid resource name." + @doc("List of Connected IPv4 Subnets.") + @Azure.ResourceManager.identifiers(#["prefix"]) + @minItems(1) + connectedIPv4Subnets?: ConnectedSubnetPatch[]; + + #suppress "@azure-tools/typespec-azure-core/casing-style" "This is a valid resource name." + @doc("List of connected IPv6 Subnets.") + @Azure.ResourceManager.identifiers(#["prefix"]) + @minItems(1) + connectedIPv6Subnets?: ConnectedSubnetPatch[]; + + @doc("ARM Resource ID of the RoutePolicy. This is used for the backward compatibility.") + @removed(Versions.v2024_06_15_preview) + importRoutePolicyId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/routePolicies"; + } + ]>; + + @doc("ARM Resource ID of the RoutePolicy. This is used for the backward compatibility.") + @removed(Versions.v2024_06_15_preview) + exportRoutePolicyId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/routePolicies"; + } + ]>; + + @doc("Import Route Policy either IPv4 or IPv6.") + @removed(Versions.v2024_06_15_preview) + @renamedFrom(Versions.v2024_06_15_preview, "importRoutePolicy") + importRoutePolicyDeprecated?: ImportRoutePolicy; + + @doc("Import Route Policy either IPv4 or IPv6.") + @added(Versions.v2024_06_15_preview) + importRoutePolicy?: ImportRoutePolicy; + + @doc("Export Route Policy either IPv4 or IPv6.") + @removed(Versions.v2024_06_15_preview) + @renamedFrom(Versions.v2024_06_15_preview, "exportRoutePolicy") + exportRoutePolicyDeprecated?: ExportRoutePolicy; + + @doc("Export Route Policy either IPv4 or IPv6.") + @added(Versions.v2024_06_15_preview) + exportRoutePolicy?: ExportRoutePolicy; + + @doc("Ingress Acl. ARM resource ID of Access Control Lists.") + @removed(Versions.v2024_06_15_preview) + @renamedFrom(Versions.v2024_06_15_preview, "ingressAclId") + ingressAclIdDeprecated?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/accessControlLists"; + } + ]>; + + @doc("Ingress Acl. ARM resource ID of Access Control Lists.") + @added(Versions.v2024_06_15_preview) + ingressAclId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/accessControlLists"; + } + ]>; + + @doc("Egress Acl. ARM resource ID of Access Control Lists.") + @removed(Versions.v2024_06_15_preview) + @renamedFrom(Versions.v2024_06_15_preview, "egressAclId") + egressAclIdDeprecated?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/accessControlLists"; + } + ]>; + + @doc("Egress Acl. ARM resource ID of Access Control Lists.") + @added(Versions.v2024_06_15_preview) + egressAclId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/accessControlLists"; + } + ]>; + + @doc("To check whether monitoring of internal network is enabled or not.") + isMonitoringEnabled?: IsMonitoringEnabled; + + @doc("BGP configuration properties.") + bgpConfiguration?: BgpPatchConfiguration; + + @doc("Static Route Configuration properties.") + staticRouteConfiguration?: StaticRoutePatchConfiguration; + + @doc("Native IPv4 Prefix Limit Configuration properties.") + @added(Versions.v2024_06_15_preview) + nativeIpv4PrefixLimit?: NativeIpv4PrefixLimitPatchProperties; + + @doc("Native IPv6 Prefix Limit Configuration properties.") + @added(Versions.v2024_06_15_preview) + nativeIpv6PrefixLimit?: NativeIpv6PrefixLimitPatchProperties; +} + +@doc("Extension. Example: NoExtension | NPB.") +union Extension { + @doc("Extension-NoExtension") + NoExtension: "NoExtension", + + @doc("Extension-NPB") + NPB: "NPB", + + string, +} + +@doc("Enable Or Disable state.") +union AllowASOverride { + @doc("AllowASOverride-Enable") + Enable: "Enable", + + @doc("AllowASOverride-Disable") + Disable: "Disable", + + string, +} + +@doc("To check whether monitoring of internal network is enabled or not.") +union IsMonitoringEnabled { + @doc("IsMonitoringEnabled-True") + True: "True", + + @doc("IsMonitoringEnabled-False") + False: "False", + + string, +} + +@doc("Internal Network Administrative State Request") +@added(Versions.v2024_06_15_preview) +model InternalNetworkBgpAdministrativeStateRequest { + @doc("NeighborAddress - Input should be either All or Specific Ipv4 Address or Specific Ipv6 Address.") + neighborAddress?: string; + + @doc("BGP Administrative state.") + administrativeState?: BgpAdministrativeState; +} + +@doc("Internal Network Administrative State Response") +@added(Versions.v2024_06_15_preview) +model InternalNetworkBgpAdministrativeStateResponse { + // The response contains an array of objects. Each object contains the neighbor address and the state. + // The response is an array of objects because the request can contain multiple neighbor addresses. + @doc("NeighborAddress administrative status") + @Azure.ResourceManager.identifiers(#[]) + @minItems(1) + neighborAddressAdministrativeStatus?: NeighborAddressBgpAdministrativeStatus[]; + + ...ErrorResponse; +} + +@doc("Internal Network BFD Administrative State request") +@added(Versions.v2024_06_15_preview) +model InternalNetworkBfdAdministrativeStateRequest { + @doc("Route Type that helps to know which bfd we are updating.") + routeType?: InternalNetworkRouteType; + + @doc("NeighborAddress - Input should be either All or Specific Ipv4 Address or Specific Ipv6 Address.") + neighborAddress?: string; + + @doc("BFD Administrative state.") + administrativeState?: BfdAdministrativeState; +} + +@doc("Internal Network BFD Administrative State response") +@added(Versions.v2024_06_15_preview) +model InternalNetworkBfdAdministrativeStateResponse { + // The response contains an array of objects. Each object contains the neighbor address and the state. + // The response is an array of objects because the request can contain multiple neighbor addresses. + @doc("NeighborAddress administrative status") + @Azure.ResourceManager.identifiers(#[]) + @minItems(1) + neighborAddressAdministrativeStatus?: NeighborAddressBfdAdministrativeStatus[]; + + ...ErrorResponse; +} + +@doc("Internal Network RouteType.") +@added(Versions.v2024_06_15_preview) +union InternalNetworkRouteType { + @doc("InternalNetwork Static.") + Static: "Static", + + @doc("InternalNetwork Bgp.") + Bgp: "Bgp", + + string, +} + +@doc("Internal Network BMP Configuration") +@added(Versions.v2024_06_15_preview) +model InternalNetworkBmpProperties { + @doc("BMP Collector Address.") + @added(Versions.v2024_06_15_preview) + @minItems(1) + neighborIpExclusions?: string[]; + + @doc("BMP Monitoring configuration state.") + @added(Versions.v2024_06_15_preview) + bmpConfigurationState?: BmpConfigurationState; +} + +@doc("Internal Network BMP Configuration") +@added(Versions.v2024_06_15_preview) +model InternalNetworkBmpPatchProperties is InternalNetworkBmpProperties; + +@doc("Neighbor Address BGP Administrative Status") +@added(Versions.v2024_06_15_preview) +model NeighborAddressBgpAdministrativeStatus { + @doc("NeighborAddress - Input should be either All or Specific Ipv4 Address or Specific Ipv6 Address.") + neighborAddress?: string; + + @doc("BGP Administrative state.") + administrativeState?: BgpAdministrativeState; + + @doc("Error message.") + error?: string; +} + +@doc("Neighbor Address Bidirectional Forwarding Detection (BFD) Administrative Status") +@added(Versions.v2024_06_15_preview) +model NeighborAddressBfdAdministrativeStatus { + @doc("NeighborAddress - Input should be either All or Specific Ipv4 Address or Specific Ipv6 Address.") + neighborAddress?: string; + + @doc("BFD Administrative state.") + administrativeState?: BfdAdministrativeState; + + @doc("Error message.") + error?: string; +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/InternetGateway.tsp b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/InternetGateway.tsp new file mode 100644 index 000000000000..eeec093625d5 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/InternetGateway.tsp @@ -0,0 +1,78 @@ +import "./common.tsp"; +using TypeSpec.Versioning; + +namespace Microsoft.ManagedNetworkFabric; + +@doc("Internet Gateway Properties defines the properties of the resource.") +model InternetGatewayProperties { + ...AnnotationResource; + + @doc("ARM Resource ID of the Internet Gateway Rule.") + internetGatewayRuleId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/internetGatewayRules"; + } + ]>; + + @doc("IPv4 Address of Internet Gateway.") + @visibility(Lifecycle.Read) + ipv4Address?: string; + + @doc("Port number of Internet Gateway.") + @visibility(Lifecycle.Read) + port?: int32; + + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-duplicate-property" "This is a valid property name." + @doc("Gateway Type of the resource.") + @madeOptional(Versions.v2024_06_15_preview) + type?: GatewayType; + + @doc("Gateway Type of the resource.") + @added(Versions.v2024_06_15_preview) + internetGatewayType?: GatewayType; + + @doc("ARM Resource ID of the Network Fabric Controller.") + networkFabricControllerId: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/networkFabricControllers"; + } + ]>; + + @doc("Details of the last operation performed on the resource") + @visibility(Lifecycle.Read) + @added(Versions.v2024_06_15_preview) + lastOperation?: LastOperationProperties; + + @doc("Provisioning state of resource.") + @visibility(Lifecycle.Read) + provisioningState?: ProvisioningState; +} + +@doc("The Internet Gateway patch resource definition.") +model InternetGatewayPatch { + ...TagsUpdate; + + @doc("Resource properties.") + properties?: InternetGatewayPatchProperties; +} + +@doc("PatchProperties for InternetGateway ") +model InternetGatewayPatchProperties { + @doc("ARM Resource ID of the Internet Gateway Rule.") + internetGatewayRuleId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/internetGatewayRules"; + } + ]>; +} + +@doc("Gateway Type of the resource.") +union GatewayType { + @doc("GatewayType Infrastructure") + Infrastructure: "Infrastructure", + + @doc("GatewayType Workload") + Workload: "Workload", + + string, +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/InternetGatewayRule.tsp b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/InternetGatewayRule.tsp new file mode 100644 index 000000000000..848dc1a63c11 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/InternetGatewayRule.tsp @@ -0,0 +1,89 @@ +import "./common.tsp"; + +using TypeSpec.Versioning; + +namespace Microsoft.ManagedNetworkFabric; +@doc("Internet Gateway Rule Properties defines the resource properties.") +model InternetGatewayRuleProperties { + ...AnnotationResource; + + @doc("Rules for the InternetGateways") + ruleProperties: RuleProperties; + + @doc("Details of the last operation performed on the resource") + @visibility(Lifecycle.Read) + @added(Versions.v2024_06_15_preview) + lastOperation?: LastOperationProperties; + + @doc("Provisioning state of the resource.") + @visibility(Lifecycle.Read) + provisioningState?: ProvisioningState; + + @doc("List of Internet Gateway resource Id.") + @visibility(Lifecycle.Read) + internetGatewayIds?: string[]; +} + +@doc("Rules for the InternetGateways") +model RuleProperties { + @doc("Specify action.") + action: Action; + + @doc("List of Addresses to be allowed or denied.") + @madeOptional(Versions.v2024_06_15_preview) + addressList?: string[]; + + @doc("Specify rule condition.") + @added(Versions.v2024_06_15_preview) + condition?: RuleCondition; + + @doc("List of Addresses to be allowed or denied.") + @added(Versions.v2024_06_15_preview) + destinationAddressList?: string[]; + + @doc("List of source IPv4 and IPv6 address to be allowed or denied.") + @added(Versions.v2024_06_15_preview) + sourceAddressList?: string[]; + + @doc("List of header Name and source addresses associated with the header.") + @added(Versions.v2024_06_15_preview) + @Azure.ResourceManager.identifiers(#[]) + headerAddressList?: HeaderAddressProperties[]; +} + +@doc("The Internet Gateway Rules patch resource definition.") +model InternetGatewayRulePatch is TagsUpdate; + +@doc("Specify action.") +union Action { + @doc("Action Allow") + Allow: "Allow", + + @doc("Action Deny") + Deny: "Deny", + + string, +} + +@doc("Header name and source addresses associated with the header.") +@added(Versions.v2024_06_15_preview) +model HeaderAddressProperties { + @doc("Name of the header.") + headerName?: string; + + @doc("List of source remote IP to be allowed or denied.") + @minItems(1) + addressList?: string[]; +} + +@added(Versions.v2024_06_15_preview) +@doc("Specify Rule condition.") +union RuleCondition { + @doc("And Rule-Condition.") + And: "And", + + @doc("Or Rule-Condition.") + Or: "Or", + + string, +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/IpCommunity.tsp b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/IpCommunity.tsp new file mode 100644 index 000000000000..ea1c3d7a9cab --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/IpCommunity.tsp @@ -0,0 +1,100 @@ +import "./common.tsp"; + +using TypeSpec.Versioning; + +namespace Microsoft.ManagedNetworkFabric; +@doc("IP Community Properties defines the resource properties.") +model IpCommunityProperties { + ...AnnotationResource; + + @added(Versions.v2024_06_15_preview) + @doc("ARM Resource ID of the Network Fabric.") + @visibility(Lifecycle.Read) + networkFabricId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/networkFabrics"; + } + ]>; + + @doc("List of IP Community Rules.") + @Azure.ResourceManager.identifiers(#[]) + ipCommunityRules: IpCommunityRule[]; + + @doc("Details of the last operation performed on the resource") + @visibility(Lifecycle.Read) + @added(Versions.v2024_06_15_preview) + lastOperation?: LastOperationProperties; + + @doc("Configuration state of the resource.") + @visibility(Lifecycle.Read) + configurationState?: ConfigurationState; + + @doc("Provisioning state of the resource.") + @visibility(Lifecycle.Read) + provisioningState?: ProvisioningState; + + @doc("Administrative state of the resource.") + @visibility(Lifecycle.Read) + administrativeState?: AdministrativeState; +} + +@doc("IP Community patchable properties.") +model IpCommunityPatchableProperties { + @doc("List of IP Community Rules.") + @Azure.ResourceManager.identifiers(#[]) + ipCommunityRules?: IpCommunityRule[]; +} + +@doc("IP Community patchable properties.") +model IpCommunityRule { + @doc("Action to be taken on the configuration. Example: Permit | Deny.") + action: CommunityActionTypes; + + @doc("Sequence to insert to/delete from existing route. Prefix lists are evaluated starting with the lowest sequence number and continue down the list until a match is made. Once a match is made, the permit or deny statement is applied to that network and the rest of the list is ignored.") + @maxValue(4294967295) + @minValue(1) + sequenceNumber: int64; + + @doc("Supported well known Community List.") + wellKnownCommunities?: WellKnownCommunities[]; + + @doc("List the community members of IP Community.") + @minItems(1) + communityMembers: string[]; +} + +@doc("The IP Community patch resource definition.") +model IpCommunityPatch { + ...TagsUpdate; + + @doc("IP Community patchable properties.") + properties?: IpCommunityPatchableProperties; +} + +/** + * + * `Internet` - Advertise routes to internet community. + * `LocalAS` - Advertise routes to only localAS peers. + * `NoAdvertise` - Don't advertise routes to any peer. + * `NoExport` - Don't export to next AS. + * `GShut` - Graceful Shutdown (GSHUT) withdraw routes before terminating BGP connection. + * + */ +union WellKnownCommunities { + @doc("WellKnownCommunities-Internet") + Internet: "Internet", + + @doc("WellKnownCommunities-LocalAS") + LocalAS: "LocalAS", + + @doc("WellKnownCommunities-NoAdvertise") + NoAdvertise: "NoAdvertise", + + @doc("WellKnownCommunities-NoExport") + NoExport: "NoExport", + + @doc("WellKnownCommunities-GShut") + GShut: "GShut", + + string, +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/IpExtendedCommunity.tsp b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/IpExtendedCommunity.tsp new file mode 100644 index 000000000000..71240e41950e --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/IpExtendedCommunity.tsp @@ -0,0 +1,72 @@ +import "./common.tsp"; + +using TypeSpec.Versioning; + +namespace Microsoft.ManagedNetworkFabric; + +@doc("IP Extended Community Properties defines the resource properties.") +model IpExtendedCommunityProperties { + ...AnnotationResource; + + @added(Versions.v2024_06_15_preview) + @doc("ARM Resource ID of the Network Fabric.") + @visibility(Lifecycle.Read) + networkFabricId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/networkFabrics"; + } + ]>; + + @doc("List of IP Extended Community Rules.") + @Azure.ResourceManager.identifiers(#[]) + ipExtendedCommunityRules: IpExtendedCommunityRule[]; + + @doc("Details of the last operation performed on the resource") + @visibility(Lifecycle.Read) + @added(Versions.v2024_06_15_preview) + lastOperation?: LastOperationProperties; + + @doc("Configuration state of the resource.") + @visibility(Lifecycle.Read) + configurationState?: ConfigurationState; + + @doc("Provisioning state of the resource.") + @visibility(Lifecycle.Read) + provisioningState?: ProvisioningState; + + @doc("Administrative state of the resource.") + @visibility(Lifecycle.Read) + administrativeState?: AdministrativeState; +} + +@doc("List of IP Extended Community Rules.") +model IpExtendedCommunityRule { + @doc("Action to be taken on the configuration. Example: Permit | Deny.") + action: CommunityActionTypes; + + @doc("Sequence to insert to/delete from existing route. Prefix lists are evaluated starting with the lowest sequence number and continue down the list until a match is made. Once a match is made, the permit or deny statement is applied to that network and the rest of the list is ignored.") + @maxValue(4294967295) + @minValue(1) + sequenceNumber: int64; + + @doc("Route Target List.The expected formats are ASN(plain):NN >> example 4294967294:50, ASN.ASN:NN >> example 65533.65333:40, IP-address:NN >> example 10.10.10.10:65535. The possible values of ASN,NN are in range of 0-65535, ASN(plain) is in range of 0-4294967295.") + @minItems(1) + routeTargets: string[]; +} + +@doc("The IP Extended Communities patch resource definition.") +model IpExtendedCommunityPatch { + ...TagsUpdate; + + @doc("IP Extended Community patchable properties.") + properties?: IpExtendedCommunityPatchProperties; +} + +@doc("IP Extended Community patchable properties.") +model IpExtendedCommunityPatchProperties { + ...AnnotationResource; + + @doc("List of IP Extended Community Rules.") + @Azure.ResourceManager.identifiers(#[]) + ipExtendedCommunityRules?: IpExtendedCommunityRule[]; +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/IpPrefix.tsp b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/IpPrefix.tsp new file mode 100644 index 000000000000..79bd659fe025 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/IpPrefix.tsp @@ -0,0 +1,94 @@ +import "./common.tsp"; + +using TypeSpec.Versioning; + +namespace Microsoft.ManagedNetworkFabric; + +@doc("IP Prefix Properties defines the properties of the resource.") +model IpPrefixProperties { + ...AnnotationResource; + + @added(Versions.v2024_06_15_preview) + @doc("ARM Resource ID of the Network Fabric.") + @visibility(Lifecycle.Read) + networkFabricId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/networkFabrics"; + } + ]>; + + @doc("The list of IP Prefix Rules.") + @Azure.ResourceManager.identifiers(#[]) + ipPrefixRules: IpPrefixRule[]; + + @doc("Details of the last operation performed on the resource") + @visibility(Lifecycle.Read) + @added(Versions.v2024_06_15_preview) + lastOperation?: LastOperationProperties; + + @doc("Configuration state of the resource.") + @visibility(Lifecycle.Read) + configurationState?: ConfigurationState; + + @doc("Provisioning state of the resource.") + @visibility(Lifecycle.Read) + provisioningState?: ProvisioningState; + + @doc("Administrative state of the resource.") + @visibility(Lifecycle.Read) + administrativeState?: AdministrativeState; +} + +@doc("IP Prefix Rule properties.") +model IpPrefixRule { + @doc("Action to be taken on the configuration. Example: Permit | Deny.") + action: CommunityActionTypes; + + @doc("Sequence to insert to/delete from existing route. Prefix lists are evaluated starting with the lowest sequence number and continue down the list until a match is made. Once a match is made, the permit or deny statement is applied to that network and the rest of the list is ignored.") + @maxValue(4294967295) + @minValue(1) + sequenceNumber: int64; + + @doc("Network Prefix specifying IPv4/IPv6 packets to be permitted or denied. Example: 1.1.1.0/24 | 3FFE:FFFF:0:CD30::/126") + networkPrefix: string; + + @doc("Specify prefix-list bounds.") + condition?: Condition; + + @doc("SubnetMaskLength gives the minimum NetworkPrefix length to be matched. Possible values for IPv4 are 1 - 32 . Possible values of IPv6 are 1 - 128.") + subnetMaskLength?: string; +} + +@doc("The IP Prefix patch resource definition.") +model IpPrefixPatch { + ...TagsUpdate; + + @doc("IP Prefix patchable properties.") + properties?: IpPrefixPatchProperties; +} + +@doc("IP Prefix patchable properties.") +model IpPrefixPatchProperties { + ...AnnotationResource; + + @doc("The list of IP Prefix Rules.") + @Azure.ResourceManager.identifiers(#[]) + ipPrefixRules?: IpPrefixRule[]; +} + +@doc("Specify prefix-list bounds.") +union Condition { + @doc("Condition-EqualTo") + EqualTo: "EqualTo", + + @doc("Condition-GreaterThanOrEqualTo") + GreaterThanOrEqualTo: "GreaterThanOrEqualTo", + + @doc("Condition-LesserThanOrEqualTo") + LesserThanOrEqualTo: "LesserThanOrEqualTo", + + @doc("Condition-Range") + Range: "Range", + + string, +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/L2IsolationDomain.tsp b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/L2IsolationDomain.tsp new file mode 100644 index 000000000000..23131dbfc5e1 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/L2IsolationDomain.tsp @@ -0,0 +1,99 @@ +import "./common.tsp"; +using Azure.ResourceManager; +using TypeSpec.Versioning; +using TypeSpec.OpenAPI; + +namespace Microsoft.ManagedNetworkFabric; + +@doc("L2Isolation Domain Properties defines the properties of the resource.") +model L2IsolationDomainProperties { + ...AnnotationResource; + + @doc("ARM Resource ID of the Network Fabric.") + networkFabricId: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/networkFabrics"; + } + ]>; + + @doc("Vlan Identifier of the Network Fabric. Example: 501.") + @maxValue(4094) + @minValue(100) + vlanId: int32; + + @doc("Maximum transmission unit. Default value is 1500.") + @maxValue(9200) + @minValue(64) + mtu?: int32 = 1500; + + @added(Versions.v2024_06_15_preview) + @doc("Extended VLAN status, default value is Disabled.") + extendedVlan?: ExtendedVlan = ExtendedVlan.Disabled; + + @added(Versions.v2024_06_15_preview) + @doc("ARM Resource ID of the networkToNetworkInterconnectId of the L2 ISD resource.") + networkToNetworkInterconnectId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/networkFabrics/networkToNetworkInterconnects"; + } + ]>; + + @doc("Details of the last operation performed on the resource") + @visibility(Lifecycle.Read) + @added(Versions.v2024_06_15_preview) + lastOperation?: LastOperationProperties; + + @doc("Configuration state of the resource.") + @visibility(Lifecycle.Read) + configurationState?: ConfigurationState; + + @doc("Provisioning state of the resource.") + @visibility(Lifecycle.Read) + provisioningState?: ProvisioningState; + + @doc("Administrative state of the resource.") + @visibility(Lifecycle.Read) + administrativeState?: AdministrativeState; +} + +@doc("The L2 Isolation Domain patch resource definition.") +model L2IsolationDomainPatch { + ...TagsUpdate; + + @doc("Resource properties.") + properties?: L2IsolationDomainPatchProperties; +} + +@doc("L2 Isolation Domain Patch Properties defines the patchable properties of the resource.") +@withoutDefaultValues +model L2IsolationDomainPatchProperties { + ...AnnotationResource; + + @doc("Maximum transmission unit. Default value is 1500.") + @maxValue(9200) + @minValue(64) + mtu?: int32; + + @doc("Extended VLAN status.") + @added(Versions.v2024_06_15_preview) + extendedVlan?: ExtendedVlan; + + @added(Versions.v2024_06_15_preview) + @doc("ARM Resource ID of the networkToNetworkInterconnectId of the L2 ISD resource.") + networkToNetworkInterconnectId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/networkFabrics/networkToNetworkInterconnects"; + } + ]>; +} + +@doc("Extended VLAN status.") +union ExtendedVlan { + @doc("Extended VLAN is enabled.") + Enabled: "Enabled", + + @doc("Extended VLAN is disabled.") + Disabled: "Disabled", + + string, +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/L3IsolationDomain.tsp b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/L3IsolationDomain.tsp new file mode 100644 index 000000000000..fa2eb8764d4b --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/L3IsolationDomain.tsp @@ -0,0 +1,273 @@ +import "./common.tsp"; +using TypeSpec.Versioning; +using TypeSpec.OpenAPI; + +namespace Microsoft.ManagedNetworkFabric; + +@doc("L3 Isolation Domain Properties defines the properties of the resource.") +model L3IsolationDomainProperties { + ...AnnotationResource; + + @doc("Advertise Connected Subnets. Ex: \"True\" | \"False\".") + redistributeConnectedSubnets?: RedistributeConnectedSubnets = RedistributeConnectedSubnets.True; + + @doc("Advertise Static Routes. Ex: \"True\" | \"False\".") + redistributeStaticRoutes?: RedistributeStaticRoutes = RedistributeStaticRoutes.False; + + @doc("Aggregate route configurations.") + aggregateRouteConfiguration?: AggregateRouteConfiguration; + + @doc("Connected Subnet RoutePolicy") + @removed(Versions.v2024_06_15_preview) + @renamedFrom(Versions.v2024_06_15_preview, "connectedSubnetRoutePolicy") + connectedSubnetRoutePolicyDeprecated?: ConnectedSubnetRoutePolicy; + + @doc("Connected Subnet RoutePolicy") + @added(Versions.v2024_06_15_preview) + connectedSubnetRoutePolicy?: ConnectedSubnetRoutePolicy; + + @doc("ARM Resource ID of the Network Fabric.") + @visibility(Lifecycle.Read, Lifecycle.Create) + networkFabricId: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/networkFabrics"; + } + ]>; + + @doc("Static Route - route policy.") + @added(Versions.v2024_06_15_preview) + staticRouteRoutePolicy?: StaticRouteRoutePolicy; + + @doc("Unique Route Distinguisher configuration") + @added(Versions.v2024_06_15_preview) + uniqueRdConfiguration?: L3UniqueRouteDistinguisherProperties; + + @doc("VRF Limit configuration.") + @added(Versions.v2024_06_15_preview) + routePrefixLimit?: RoutePrefixLimitProperties; + + @doc("Details of the last operation performed on the resource") + @visibility(Lifecycle.Read) + @added(Versions.v2024_06_15_preview) + lastOperation?: LastOperationProperties; + + @doc("Configuration state of the resource.") + @visibility(Lifecycle.Read) + configurationState?: ConfigurationState; + + @doc("Provisioning state of the resource.") + @visibility(Lifecycle.Read) + provisioningState?: ProvisioningState; + + @doc("Administrative state of the resource.") + @visibility(Lifecycle.Read) + administrativeState?: AdministrativeState; +} + +@doc("List of IPv4 and IPv6 aggregate routes.") +model AggregateRouteConfiguration { + @doc("List of IPv4 Route prefixes.") + @Azure.ResourceManager.identifiers(#["prefix"]) + @minItems(1) + ipv4Routes?: AggregateRoute[]; + + @doc("List of Ipv6Routes prefixes.") + @Azure.ResourceManager.identifiers(#["prefix"]) + @minItems(1) + ipv6Routes?: AggregateRoute[]; +} + +@doc("List of IPv4 and IPv6 aggregate routes.") +model AggregateRoutePatchConfiguration { + @doc("List of IPv4 Route prefixes.") + @Azure.ResourceManager.identifiers(#["prefix"]) + @minItems(1) + ipv4Routes?: AggregateRoute[]; + + @doc("List of Ipv6Routes prefixes.") + @Azure.ResourceManager.identifiers(#["prefix"]) + @minItems(1) + ipv6Routes?: AggregateRoute[]; +} + +@doc("aggregateIpv4Route model.") +model AggregateRoute { + @doc("IPv4 Prefix of the aggregate Ipv4Route.") + @minLength(1) + prefix: string; +} + +@doc("Aggregate Route Patch Model.") +model AggregateRoutePatch is AggregateRoute; + +@doc("Connected Subnet Route Policy properties.") +model ConnectedSubnetRoutePolicy { + @doc("ARM Resource ID of the Route Policy. This is used for the backward compatibility.") + @removed(Versions.v2024_06_15_preview) + exportRoutePolicyId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/routePolicies"; + } + ]>; + + @doc("Array of ARM Resource ID of the RoutePolicies.") + exportRoutePolicy?: L3ExportRoutePolicy; +} + +@doc("Connected Subnet Route Policy properties.") +model ConnectedSubnetRoutePolicyPatch { + @doc("ARM Resource ID of the Route Policy. This is used for the backward compatibility.") + @removed(Versions.v2024_06_15_preview) + exportRoutePolicyId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/routePolicies"; + } + ]>; + + @doc("Array of ARM Resource ID of the RoutePolicies.") + exportRoutePolicy?: L3ExportRoutePolicyPatch; +} + +@doc("Static Route - route policy properties.") +@added(Versions.v2024_06_15_preview) +model StaticRouteRoutePolicy { + @doc("Array of ARM Resource ID of the RoutePolicies.") + exportRoutePolicy?: L3ExportRoutePolicy; +} + +@doc("Static Route - route policy properties.") +@added(Versions.v2024_06_15_preview) +model StaticRouteRoutePolicyPatch { + @doc("Array of ARM Resource ID of the RoutePolicies.") + exportRoutePolicy?: L3ExportRoutePolicyPatch; +} + +@doc("Array of ARM Resource ID of the RoutePolicies.") +model L3ExportRoutePolicy { + @doc("ARM Resource ID of the RoutePolicy.") + @removed(Versions.v2024_06_15_preview) + @renamedFrom(Versions.v2024_06_15_preview, "exportIpv4RoutePolicyId") + exportIpv4RoutePolicyIdDeprecated?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/routePolicies"; + } + ]>; + + @doc("ARM Resource ID of the RoutePolicy.") + @added(Versions.v2024_06_15_preview) + exportIpv4RoutePolicyId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/routePolicies"; + } + ]>; + + @doc("ARM Resource ID of the RoutePolicy.") + @removed(Versions.v2024_06_15_preview) + @renamedFrom(Versions.v2024_06_15_preview, "exportIpv6RoutePolicyId") + exportIpv6RoutePolicyIdDeprecated?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/routePolicies"; + } + ]>; + + @doc("ARM Resource ID of the RoutePolicy.") + @added(Versions.v2024_06_15_preview) + exportIpv6RoutePolicyId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/routePolicies"; + } + ]>; +} + +@doc("Array of ARM Resource ID of the RoutePolicies.") +model L3ExportRoutePolicyPatch is L3ExportRoutePolicy; + +@doc("The L3 Isolation Domain patch resource definition.") +model L3IsolationDomainPatch { + ...TagsUpdate; + + @doc("Resource properties.") + properties?: L3IsolationDomainPatchProperties; +} + +@doc("Resource properties.") +model L3IsolationDomainPatchProperties { + ...AnnotationResource; + + @doc("Advertise Connected Subnets. Ex: \"True\" | \"False\".") + redistributeConnectedSubnets?: RedistributeConnectedSubnets; + + @doc("Advertise Static Routes. Ex: \"True\" | \"False\".") + redistributeStaticRoutes?: RedistributeStaticRoutes; + + @doc("Aggregate route configurations.") + @removed(Versions.v2024_06_15_preview) + @renamedFrom(Versions.v2024_06_15_preview, "aggregateRouteConfiguration") + aggregateRouteConfigurationDeprecated?: AggregateRouteConfiguration; + + @doc("Aggregate route configurations.") + @added(Versions.v2024_06_15_preview) + aggregateRouteConfiguration?: AggregateRoutePatchConfiguration; + + @doc("Connected Subnet RoutePolicy") + @removed(Versions.v2024_06_15_preview) + @renamedFrom(Versions.v2024_06_15_preview, "connectedSubnetRoutePolicy") + connectedSubnetRoutePolicyDeprecated?: ConnectedSubnetRoutePolicy; + + @doc("Connected Subnet RoutePolicy") + @added(Versions.v2024_06_15_preview) + connectedSubnetRoutePolicy?: ConnectedSubnetRoutePolicyPatch; + + @doc("Static Route - route policy.") + @added(Versions.v2024_06_15_preview) + staticRouteRoutePolicy?: StaticRouteRoutePolicyPatch; + + @doc("Virtual Routing and Forwarding (VRF) Limit configuration.") + @added(Versions.v2024_06_15_preview) + routePrefixLimit?: RoutePrefixLimitPatchProperties; +} + +@doc("Advertise Connected Subnets. Ex: \"True\" | \"False\".") +union RedistributeConnectedSubnets { + @doc("RedistributeConnectedSubnets-True") + True: "True", + + @doc("RedistributeConnectedSubnets-False") + False: "False", + + string, +} + +@doc("Advertise Static Routes. Ex: \"True\" | \"False\".") +union RedistributeStaticRoutes { + @doc("RedistributeStaticRoutes-True") + True: "True", + + @doc("RedistributeStaticRoutes-False") + False: "False", + + string, +} + +@doc("Layer3 Route prefix limit configuration.") +@added(Versions.v2024_06_15_preview) +model RoutePrefixLimitProperties { + @doc("Hard limit for the routes.") + hardLimit?: int32; + + @doc("Threshold for the routes.") + threshold?: int32; +} + +@doc("VRP Limit patch configuration.") +@added(Versions.v2024_06_15_preview) +model RoutePrefixLimitPatchProperties is RoutePrefixLimitProperties; + +@doc("Unique Route Distinguisher properties.") +@added(Versions.v2024_06_15_preview) +model L3UniqueRouteDistinguisherProperties { + @doc("List of Unique Route Distinguisher addresses.") + @added(Versions.v2024_06_15_preview) + @visibility(Lifecycle.Read) + uniqueRds?: string[]; +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/NeighborGroup.tsp b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/NeighborGroup.tsp new file mode 100644 index 000000000000..f477e12257b9 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/NeighborGroup.tsp @@ -0,0 +1,67 @@ +import "./common.tsp"; +using TypeSpec.Versioning; + +namespace Microsoft.ManagedNetworkFabric; + +@doc("Neighbor Group Properties defines the properties of the resource.") +model NeighborGroupProperties { + ...AnnotationResource; + + @doc("An array of destination IPv4 Addresses or IPv6 Addresses.") + destination: NeighborGroupDestination; + + @doc("List of NetworkTap IDs where neighbor group is associated.") + @visibility(Lifecycle.Read) + networkTapIds?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/networkTaps"; + } + ]>[]; + + @doc("List of Network Tap Rule IDs where neighbor group is associated.") + @visibility(Lifecycle.Read) + networkTapRuleIds?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/networkTapRules"; + } + ]>[]; + + @doc("Details of the last operation performed on the resource") + @visibility(Lifecycle.Read) + @added(Versions.v2024_06_15_preview) + lastOperation?: LastOperationProperties; + + @doc("The provisioning state of the resource.") + @visibility(Lifecycle.Read) + provisioningState?: ProvisioningState; +} + +@doc("An array of destination IPv4 Addresses or IPv6 Addresses.") +model NeighborGroupDestination { + @doc("Array of IPv4 Addresses.") + @maxItems(16) + ipv4Addresses?: string[]; + + @doc("Array of IPv6 Addresses.") + @maxItems(16) + ipv6Addresses?: string[]; +} + +@doc("An array of destination IPv4 Addresses or IPv6 Addresses.") +model NeighborGroupDestinationPatch is NeighborGroupDestination; + +@doc("The Neighbor Group Patch definition.") +model NeighborGroupPatch { + ...TagsUpdate; + + @doc("Neighbor Group Patch properties.") + properties?: NeighborGroupPatchProperties; +} + +@doc("Neighbor Group Patch properties.") +model NeighborGroupPatchProperties { + ...AnnotationResource; + + @doc("An array of destination IPv4 Addresses or IPv6 Addresses.") + destination?: NeighborGroupDestinationPatch; +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/NetworkDevice.tsp b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/NetworkDevice.tsp new file mode 100644 index 000000000000..ecf374c3d593 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/NetworkDevice.tsp @@ -0,0 +1,170 @@ +import "./common.tsp"; + +using TypeSpec.Versioning; +namespace Microsoft.ManagedNetworkFabric; + +@doc("Network Device Properties defines the properties of the resource.") +model NetworkDeviceProperties { + ...AnnotationResource; + + @doc("The host name of the device.") + @minLength(1) + hostName?: string; + + @doc("Serial number of the device. Format of serial Number - Make;Model;HardwareRevisionId;SerialNumber.") + @minLength(1) + serialNumber: string; + + @doc("Current version of the device as defined in SKU.") + @visibility(Lifecycle.Read) + version?: string; + + @doc("Network Device SKU name.") + @visibility(Lifecycle.Read, Lifecycle.Create) + networkDeviceSku?: string; + + @doc("NetworkDeviceRole is the device role: Example: CE | ToR.") + @visibility(Lifecycle.Read) + networkDeviceRole?: NetworkDeviceRole; + + @doc("Reference to network rack resource id.") + @visibility(Lifecycle.Read) + networkRackId?: string; + + @doc("Management IPv4 Address.") + @visibility(Lifecycle.Read) + managementIpv4Address?: string; + + @doc("Management IPv6 Address.") + @visibility(Lifecycle.Read) + managementIpv6Address?: string; + + @doc("User configured read-write configuration applied on the network devices.") + @added(Versions.v2024_06_15_preview) + @visibility(Lifecycle.Read) + rwDeviceConfig?: string; + + @doc("Details of the last operation performed on the resource") + @visibility(Lifecycle.Read) + @added(Versions.v2024_06_15_preview) + lastOperation?: LastOperationProperties; + + @doc("Configuration state of the resource.") + @visibility(Lifecycle.Read) + configurationState?: ConfigurationState; + + @doc("Provisioning state of the resource.") + @visibility(Lifecycle.Read) + provisioningState?: ProvisioningState; + + @doc("Administrative state of the resource.") + @visibility(Lifecycle.Read) + administrativeState?: AdministrativeState; +} + +@doc("The Network Device Patch Parameters defines the patch parameters of the resource.") +model NetworkDevicePatchParameters { + ...TagsUpdate; + + @doc("Network Device Patch properties.") + properties?: NetworkDevicePatchParametersProperties; +} + +@doc("Network Device Patch properties.") +model NetworkDevicePatchParametersProperties { + ...AnnotationResource; + + @doc("The host name of the device.") + @minLength(1) + hostName?: string; + + @doc("Serial number of the device. Format of serial Number - Make;Model;HardwareRevisionId;SerialNumber.") + @minLength(1) + serialNumber?: string; +} + +@doc("Reboot properties.") +model RebootProperties { + @doc("Type of reboot to be performed. Example: GracefulRebootWithZTP") + rebootType?: RebootType; +} + +@doc("Update the administrative state on list of resources.") +model UpdateDeviceAdministrativeState { + ...EnableDisableOnResources; + + @doc("Administrative state.") + state?: DeviceAdministrativeState; +} + +@doc("NetworkDeviceRole is the device role: Example: CE | ToR.") +union NetworkDeviceRole { + @doc("NetworkDeviceRole-CE(Customer Edge)") + CE: "CE", + + @doc("NetworkDeviceRole-ToR(top of rack)") + ToR: "ToR", + + @doc("NetworkDeviceRole-NPB(Network Packet Broker)") + NPB: "NPB", + + @doc("NetworkDeviceRole-TS(Terminal Server)") + TS: "TS", + + @doc("NetworkDeviceRole-Management") + Management: "Management", + + string, +} + +@doc("Type of reboot to be performed. Example: GracefulRebootWithZTP") +union RebootType { + @doc("RebootType GracefulRebootWithZTP") + GracefulRebootWithZTP: "GracefulRebootWithZTP", + + @doc("RebootType GracefulRebootWithoutZTP") + GracefulRebootWithoutZTP: "GracefulRebootWithoutZTP", + + @doc("RebootType UngracefulRebootWithZTP") + UngracefulRebootWithZTP: "UngracefulRebootWithZTP", + + @doc("RebootType UngracefulRebootWithoutZTP") + UngracefulRebootWithoutZTP: "UngracefulRebootWithoutZTP", + + string, +} + +@doc("Administrative state.") +union DeviceAdministrativeState { + @doc("Device AdministrativeState-RMA") + RMA: "RMA", + + @added(Versions.v2024_06_15_preview) + @doc("Device AdministrativeState-RMA(Return Material Authorization) Ungraceful") + UngracefulRMA: "UngracefulRMA", + + @doc("Device AdministrativeState-Resync") + Resync: "Resync", + + @doc("Device AdministrativeState-GracefulQuarantine") + GracefulQuarantine: "GracefulQuarantine", + + @added(Versions.v2024_06_15_preview) + @doc("Device AdministrativeState-UngracefulQuarantine") + UngracefulQuarantine: "UngracefulQuarantine", + + @doc("Device AdministrativeState-Quarantine") + Quarantine: "Quarantine", + + @doc("Device AdministrativeState-UnderMaintenance") + UnderMaintenance: "UnderMaintenance", + + @doc("Device AdministrativeState-Enable") + Enable: "Enable", + + @added(Versions.v2024_06_15_preview) + @doc("Device AdministrativeState-Disable") + Disable: "Disable", + + string, +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/NetworkDeviceSku.tsp b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/NetworkDeviceSku.tsp new file mode 100644 index 000000000000..4e0c188276c8 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/NetworkDeviceSku.tsp @@ -0,0 +1,84 @@ +import "./common.tsp"; + +namespace Microsoft.ManagedNetworkFabric; + +@doc("Network Device SKU Properties defines the properties of the resource.") +model NetworkDeviceSkuProperties { + @doc("Model of the network device.") + `model`: string; + + @doc("Manufacturer of the network device.") + manufacturer?: string; + + @doc("List of supported version details of network device.") + @Azure.ResourceManager.identifiers(#["version"]) + supportedVersions?: SupportedVersionProperties[]; + + @doc("Available roles for the network device.") + supportedRoleTypes?: NetworkDeviceRoleName[]; + + @doc("List of network device interfaces.") + @Azure.ResourceManager.identifiers(#["identifier"]) + interfaces?: DeviceInterfaceProperties[]; + + @doc("Provisioning state of the resource.") + @visibility(Lifecycle.Read) + provisioningState?: ProvisioningState; +} + +@doc("Supported version details of the network device.") +model SupportedVersionProperties { + @doc("Operating system and firmware combined versions.") + version?: string; + + @doc("Operating system version.") + vendorOsVersion?: string; + + @doc("Firmware version.") + vendorFirmwareVersion?: string; + + @doc("If true newly provisioned Fabric will use this device version by default to bootstrap the network devices for the first time.") + isDefault?: BooleanEnumProperty; +} + +@doc("Network device interface properties.") +model DeviceInterfaceProperties { + @doc("Interface identifier. Example: HundredGigE0/0.") + identifier?: string; + + @doc("Interface type.") + interfaceType?: string; + + @doc("List of supported connector types.") + @Azure.ResourceManager.identifiers(#["connectorType"]) + supportedConnectorTypes?: SupportedConnectorProperties[]; +} + +@doc("Supported connector properties.") +model SupportedConnectorProperties { + @doc("Type of connector used. Example: Optical.") + connectorType?: string; + + @doc("Maximum speed of the connector in Mbps.") + maxSpeedInMbps?: int32; +} + +@doc("Available roles for the network device.") +union NetworkDeviceRoleName { + @doc("NetworkDeviceRoleName-CE(Customer Edge)") + CE: "CE", + + @doc("NetworkDeviceRoleName-ToR(top of rack)") + ToR: "ToR", + + @doc("NetworkDeviceRoleName-NPB(Network Packet Broker)") + NPB: "NPB", + + @doc("NetworkDeviceRoleName-TS(Terminal Server)") + TS: "TS", + + @doc("NetworkDeviceRoleName-Management") + Management: "Management", + + string, +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/NetworkFabric.tsp b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/NetworkFabric.tsp new file mode 100644 index 000000000000..fb91e2160a25 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/NetworkFabric.tsp @@ -0,0 +1,667 @@ +import "./common.tsp"; +using Azure.ResourceManager; +using TypeSpec.Versioning; +using TypeSpec.OpenAPI; + +namespace Microsoft.ManagedNetworkFabric; +@doc("Network Fabric Properties defines the properties of the resource.") +model NetworkFabricProperties { + ...AnnotationResource; + + @doc("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.") + @visibility(Lifecycle.Read, Lifecycle.Create) + @minLength(1) + networkFabricSku: string; + + @doc("The version of Network Fabric.") + @minLength(1) + fabricVersion?: string; + + @doc("Array of router IDs.") + @visibility(Lifecycle.Read) + routerIds?: string[]; + + @doc("Bring your own storage account configurations for Network Fabric.") + @added(Versions.v2024_06_15_preview) + storageAccountConfiguration?: StorageAccountConfiguration; + + @doc("Network Fabric Lock details") + @Azure.ResourceManager.identifiers(#[]) + @added(Versions.v2024_06_15_preview) + @visibility(Lifecycle.Read) + @minItems(1) + fabricLocks?: FabricLockProperties[]; + + @doc("Azure resource ID for the NetworkFabricController the NetworkFabric belongs.") + @visibility(Lifecycle.Read, Lifecycle.Create) + networkFabricControllerId: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/networkFabricControllers"; + } + ]>; + + @doc("Number of compute racks associated to Network Fabric.") + @maxValue(8) + @minValue(1) + rackCount?: int32; + + @doc("Number of servers.Possible values are from 1-16.") + @maxValue(16) + @minValue(1) + serverCountPerRack: int32; + + @doc("IPv4Prefix for Management Network. Example: 10.1.0.0/19.") + @minLength(1) + ipv4Prefix: string; + + @doc("IPv6Prefix for Management Network. Example: 3FFE:FFFF:0:CD40::/59") + @minLength(1) + ipv6Prefix?: string; + + #suppress "@azure-tools/typespec-azure-core/casing-style" "This is a valid resource name." + @doc("ASN of CE devices for CE/PE connectivity.") + @maxValue(4294967295) + @minValue(1) + fabricASN: int64; + + @doc("Network and credentials configuration currently applied to terminal server.") + terminalServerConfiguration: TerminalServerConfiguration; + + @doc("Configuration to be used to setup the management network.") + managementNetworkConfiguration: ManagementNetworkConfigurationProperties; + + @doc("List of NetworkRack resource IDs under the Network Fabric. The number of racks allowed depends on the Network Fabric SKU.") + @visibility(Lifecycle.Read) + racks?: string[]; + + @doc("List of L2 Isolation Domain resource IDs under the Network Fabric.") + @visibility(Lifecycle.Read) + l2IsolationDomains?: string[]; + + @doc("List of L3 Isolation Domain resource IDs under the Network Fabric.") + @visibility(Lifecycle.Read) + l3IsolationDomains?: string[]; + + @doc("Hardware alert threshold percentage. Possible values are from 20 to 100.") + @added(Versions.v2024_06_15_preview) + @maxValue(100) + @minValue(20) + hardwareAlertThreshold?: int32; + + @doc("Control Plane Access Control List ARM resource IDs.") + @added(Versions.v2024_06_15_preview) + controlPlaneAcls?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/accessControlLists"; + } + ]>[]; + + @doc("Feature flag status information") + @Azure.ResourceManager.identifiers(#[]) + @added(Versions.v2024_06_15_preview) + @visibility(Lifecycle.Read) + featureFlags?: FeatureFlagProperties[]; + + @doc("Trusted IP Prefixes ARM resource IDs.") + @added(Versions.v2024_06_15_preview) + trustedIpPrefixes?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/ipPrefixes"; + } + ]>[]; + + @doc("Unique Route Distinguisher configuration") + @added(Versions.v2024_06_15_preview) + uniqueRdConfiguration?: UniqueRouteDistinguisherProperties; + + @doc("Number of Storage arrays associated with the Network Fabric.") + @added(Versions.v2024_06_15_preview) + @minValue(1) + @maxValue(2) + storageArrayCount?: int32; + + @doc("Active commit batch identifiers") + @added(Versions.v2024_06_15_preview) + @visibility(Lifecycle.Read) + activeCommitBatches?: string[]; + + @doc("Details of the last operation performed on the resource") + @visibility(Lifecycle.Read) + @added(Versions.v2024_06_15_preview) + lastOperation?: LastOperationProperties; + + @doc("Configuration state of the resource.") + @visibility(Lifecycle.Read) + configurationState?: ConfigurationState; + + @doc("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.") + @visibility(Lifecycle.Read) + provisioningState?: ProvisioningState; + + @doc("Administrative state of the resource.") + @visibility(Lifecycle.Read) + administrativeState?: AdministrativeState; +} + +@doc("Network and credentials configuration currently applied to terminal server.") +model TerminalServerConfiguration { + @doc("Username for the terminal server connection.") + @minLength(1) + username: string; + + @doc("Password for the terminal server connection.") + @secret + @minLength(1) + password: string; + + @doc("Serial Number of Terminal server.") + @minLength(1) + serialNumber?: string; + + @doc("IPv4 Address Prefix.") + primaryIpv4Prefix: string; + + @doc("IPv6 Address Prefix.") + @removed(Versions.v2024_06_15_preview) + @renamedFrom(Versions.v2024_06_15_preview, "primaryIpv6Prefix") + primaryIpv6PrefixDeprecated?: string; + + @doc("IPv6 Address Prefix.") + @added(Versions.v2024_06_15_preview) + primaryIpv6Prefix?: string; + + @doc("Secondary IPv4 Address Prefix.") + secondaryIpv4Prefix: string; + + @doc("Secondary IPv6 Address Prefix.") + secondaryIpv6Prefix?: string; + + @doc("ARM Resource ID used for the NetworkDevice.") + @visibility(Lifecycle.Read) + networkDeviceId?: string; +} + +@doc("Network and credential configuration currently applied on terminal server.") +model VpnConfigurationProperties { + @doc("ARM Resource ID of the Network To Network Interconnect.") + networkToNetworkInterconnectId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/networkFabrics/networkToNetworkInterconnects"; + } + ]>; + + @doc("Administrative state of the resource.") + @visibility(Lifecycle.Read) + administrativeState?: AdministrativeState; + + @doc("Peering option list.") + peeringOption: PeeringOption; + + #suppress "@azure-tools/typespec-azure-core/casing-style" "This is a valid resource name." + @doc("option B properties") + optionBProperties?: VpnOptionBProperties; + + #suppress "@azure-tools/typespec-azure-core/casing-style" "This is a valid resource name." + @doc("option A properties") + optionAProperties?: VpnOptionAProperties; +} + +@doc("Configuration to be used to setup the management network.") +model ManagementNetworkConfigurationProperties { + @doc("VPN Configuration properties.") + infrastructureVpnConfiguration: VpnConfigurationProperties; + + @doc("VPN Configuration properties.") + workloadVpnConfiguration: VpnConfigurationProperties; +} + +@doc("Network and credential configuration currently applied on terminal server.") +model VpnConfigurationPatchableProperties { + @doc("ARM Resource ID of the Network To Network Interconnect.") + networkToNetworkInterconnectId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/networkFabrics/networkToNetworkInterconnects"; + } + ]>; + + @doc("Peering option list.") + peeringOption?: PeeringOption; + + #suppress "@azure-tools/typespec-azure-core/casing-style" "This is a valid resource name." + @doc("option B properties") + optionBProperties?: VpnOptionBPatchProperties; + + #suppress "@azure-tools/typespec-azure-core/casing-style" "This is a valid resource name." + @doc("option A properties") + optionAProperties?: VpnOptionAPatchProperties; +} + +@doc("The Network Fabric resource definition.") +model NetworkFabricPatch { + ...TagsUpdate; + + @doc("Network Fabric Patch properties.") + properties?: NetworkFabricPatchProperties; + + @added(Versions.v2024_06_15_preview) + @doc("The managed service identities assigned to this resource.") + identity?: ManagedServiceIdentityPatch; +} + +@doc("Network Fabric Patch properties.") +model NetworkFabricPatchProperties { + ...AnnotationResource; + + @doc("Number of compute racks associated to Network Fabric.") + @maxValue(8) + @minValue(1) + rackCount?: int32; + + @doc("Number of servers.Possible values are from 1-16.") + @maxValue(16) + @minValue(1) + serverCountPerRack?: int32; + + @doc("IPv4Prefix for Management Network. Example: 10.1.0.0/19.") + @minLength(1) + ipv4Prefix?: string; + + @doc("IPv6Prefix for Management Network. Example: 3FFE:FFFF:0:CD40::/59.") + @minLength(1) + ipv6Prefix?: string; + + #suppress "@azure-tools/typespec-azure-core/casing-style" "This is a valid resource name." + @doc("ASN of CE devices for CE/PE connectivity.") + @maxValue(4294967295) + @minValue(1) + fabricASN?: int64; + + @doc("Bring your own storage account configurations for Network Fabric.") + @added(Versions.v2024_06_15_preview) + storageAccountConfiguration?: StorageAccountPatchConfiguration; + + @doc("Network and credentials configuration already applied to terminal server.") + terminalServerConfiguration?: TerminalServerPatchConfiguration; + + @doc("Configuration to be used to setup the management network.") + managementNetworkConfiguration?: ManagementNetworkPatchConfiguration; + + @doc("Hardware alert threshold percentage. Possible values are from 20 to 100.") + @added(Versions.v2024_06_15_preview) + @maxValue(100) + @minValue(20) + hardwareAlertThreshold?: int32; + + @doc("Control Plane Access Control List ARM resource IDs.") + @added(Versions.v2024_06_15_preview) + controlPlaneAcls?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/accessControlLists"; + } + ]>[]; + + @doc("Trusted IP Prefix ARM resource IDs.") + @added(Versions.v2024_06_15_preview) + trustedIpPrefixes?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/ipPrefixes"; + } + ]>[]; + + @doc("Unique Route Distinguisher configuration") + @added(Versions.v2024_06_15_preview) + uniqueRdConfiguration?: UniqueRouteDistinguisherPatchProperties; +} + +@doc("Network and credentials configuration already applied to terminal server.") +model TerminalServerPatchConfiguration { + @doc("Username for the terminal server connection.") + @minLength(1) + username?: string; + + @doc("Password for the terminal server connection.") + @secret + @minLength(1) + password?: string; + + @doc("Serial Number of Terminal server.") + @minLength(1) + serialNumber?: string; + + @doc("IPv4 Address Prefix.") + primaryIpv4Prefix?: string; + + @doc("IPv6 Address Prefix.") + primaryIpv6Prefix?: string; + + @doc("Secondary IPv4 Address Prefix.") + secondaryIpv4Prefix?: string; + + @doc("Secondary IPv6 Address Prefix.") + secondaryIpv6Prefix?: string; +} + +@doc("Configuration to be used to setup the management network.") +model ManagementNetworkPatchConfiguration { + @doc("VPN Configuration properties.") + infrastructureVpnConfiguration?: VpnConfigurationPatchableProperties; + + @doc("VPN Configuration properties.") + workloadVpnConfiguration?: VpnConfigurationPatchableProperties; +} + +@doc("Model used for Upgrade Network Fabric Properties") +model UpgradeNetworkFabricProperties { + ...UpdateVersion; + + @doc("Action to be performed while upgrading the fabric.") + action?: NetworkFabricUpgradeAction; +} + +@doc("Validation configuration properties.") +model ValidateConfigurationProperties { + @doc("Validate action that to be performed") + validateAction?: ValidateAction; +} + +#suppress "@azure-tools/typespec-azure-core/casing-style" "This is a valid resource name." +@doc("option A properties") +model VpnOptionAProperties { + @doc("MTU to use for option A peering.") + @maxValue(9200) + @minValue(64) + mtu?: int32 = 1500; + + @doc("Vlan Id.Example : 501") + @maxValue(4094) + @minValue(501) + vlanId: int32; + + #suppress "@azure-tools/typespec-azure-core/casing-style" "This is a valid resource name." + @doc("Peer ASN number.Example : 28") + @maxValue(4294967295) + @minValue(1) + peerASN: int64; + + @doc("BFD Configuration properties.") + bfdConfiguration?: BfdConfiguration; + + ...Layer3IpPrefixProperties; +} + +#suppress "@azure-tools/typespec-azure-core/casing-style" "This is a valid resource name." +@doc("Peering optionA properties") +model VpnOptionAPatchProperties { + @doc("MTU to use for option A peering.") + @maxValue(9200) + @minValue(64) + mtu?: int32; + + @doc("Vlan Id.Example : 501") + @maxValue(4094) + @minValue(501) + vlanId?: int32; + + #suppress "@azure-tools/typespec-azure-core/casing-style" "This is a valid resource name." + @doc("Peer ASN number.Example : 28") + @maxValue(4294967295) + @minValue(1) + peerASN?: int64; + + @doc("BFD Configuration properties.") + bfdConfiguration?: BfdPatchConfiguration; + + ...Layer3IpPrefixPatchProperties; +} + +#suppress "@azure-tools/typespec-azure-core/casing-style" "This is a valid resource name." +@doc("Option B configuration to be used for Management VPN.") +model VpnOptionBProperties { + @doc("Route Targets to be applied for incoming routes into CE. This is for backward compatibility.") + importRouteTargets?: string[]; + + @doc("Route Targets to be applied for outgoing routes from CE. This is for backward compatibility.") + exportRouteTargets?: string[]; + + @doc("Route Targets to be applied.") + routeTargets?: RouteTargetInformation; +} + +#suppress "@azure-tools/typespec-azure-core/casing-style" "This is a valid resource name." +@doc("Option B configuration to be used for Management VPN.") +model VpnOptionBPatchProperties { + @doc("Route Targets to be applied for incoming routes into CE. This is for backward compatibility.") + importRouteTargets?: string[]; + + @doc("Route Targets to be applied for outgoing routes from CE. This is for backward compatibility.") + exportRouteTargets?: string[]; + + @doc("Route Targets to be applied.") + routeTargets?: RouteTargetPatchInformation; +} + +@doc("Validate action that to be performed") +union ValidateAction { + @doc("ValidateAction-Cabling") + Cabling: "Cabling", + + @doc("ValidateAction-Configuration") + Configuration: "Configuration", + + @doc("ValidateAction-Connectivity") + Connectivity: "Connectivity", + + string, +} + +@doc("Action to be performed while upgrading the fabric.") +union NetworkFabricUpgradeAction { + @doc("UpgradeAction-Start") + Start: "Start", + + @doc("UpgradeAction -Complete") + Complete: "Complete", + + string, +} + +@doc("Network Fabric Lock Request.") +@added(Versions.v2024_06_15_preview) +model NetworkFabricLockRequest { + @doc("Type of lock to be applied") + lockType?: NetworkFabricLockType; + + @doc("Action to be performed on the lock") + action?: NetworkFabricLockAction; +} + +@doc("Storage account configuration.") +@added(Versions.v2024_06_15_preview) +model StorageAccountConfiguration { + @doc("Network Fabric storage account resource identifier.") + storageAccountId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.Storage/storageAccounts"; + } + ]>; + + @doc("The selection of the managed identity to use with this storage account. The identity type must be either system assigned or user assigned.") + storageAccountIdentity?: IdentitySelector; +} + +@doc("Storage account configuration.") +@added(Versions.v2024_06_15_preview) +model StorageAccountPatchConfiguration { + @doc("Network Fabric storage account resource identifier.") + storageAccountId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.Storage/storageAccounts"; + } + ]>; + + @doc("The selection of the managed identity to use with this storage account. The identity type must be either system assigned or user assigned.") + storageAccountIdentity?: IdentitySelectorPatch; +} + +@doc("Network Fabric Lock Configuration.") +@added(Versions.v2024_06_15_preview) +model FabricLockProperties { + @doc("NetworkFabric Lock State.") + lockState?: LockConfigurationState; + + @doc("NetworkFabric Lock Type.") + lockType?: NetworkFabricLockType; +} + +@doc("Lock Configuration State.") +@added(Versions.v2024_06_15_preview) +union LockConfigurationState { + @doc("LockConfigurationState Enabled") + Enabled: "Enabled", + + @doc("LockConfigurationState Disabled") + Disabled: "Disabled", + + string, +} + +@doc("Network fabric lock action") +@added(Versions.v2024_06_15_preview) +union NetworkFabricLockAction { + @doc("Perform lock operation") + Lock: "Lock", + + @doc("Perform unlock operation") + Unlock: "Unlock", + + string, +} + +@doc("Network fabric lock type") +@added(Versions.v2024_06_15_preview) +union NetworkFabricLockType { + @doc("A administrative lock/unlock operation will be performed") + Administrative: "Administrative", + + @doc("A lock/unlock operation will be performed on the configuration") + Configuration: "Configuration", + + string, +} + +@doc("Feature flag properties.") +@added(Versions.v2024_06_15_preview) +model FeatureFlagProperties { + @doc("Feature flag name.") + featureFlagName?: string; + + @doc("Feature flag value.") + featureFlagValue?: string; +} + +@doc("Arm Configuration Diff Response.") +@added(Versions.v2024_06_15_preview) +model ArmConfigurationDiffResponse { + @doc("Storage URL to the diff file.") + configurationDiffUrl?: string; + + ...ErrorResponse; +} + +@doc("View Device Configuration Response.") +@added(Versions.v2024_06_15_preview) +model ViewDeviceConfigurationResponse { + @doc("Storage URL to the device configuration file.") + deviceConfigurationUrl?: string; + + ...ErrorResponse; +} + +@doc("Unique Route Distinguisher properties.") +@added(Versions.v2024_06_15_preview) +model UniqueRouteDistinguisherProperties { + @doc("Unique Route Distinguisher configuration state. Default is Enabled.") + @added(Versions.v2024_06_15_preview) + uniqueRdConfigurationState?: UniqueRouteDistinguisherConfigurationState = UniqueRouteDistinguisherConfigurationState.Enabled; + + @doc("List of Unique Route Distinguisher addresses.") + @added(Versions.v2024_06_15_preview) + @visibility(Lifecycle.Read) + uniqueRds?: string[]; + + @doc("NNI derived unique Route Distinguisher state. Default is Disabled.") + @added(Versions.v2024_06_15_preview) + nniDerivedUniqueRdConfigurationState?: NNIDerivedUniqueRouteDistinguisherConfigurationState = NNIDerivedUniqueRouteDistinguisherConfigurationState.Disabled; +} + +@doc("Unique Route Distinguisher configuration properties.") +@added(Versions.v2024_06_15_preview) +model UniqueRouteDistinguisherPatchProperties { + @doc("Unique Route Distinguisher configuration state. Default is Enabled.") + @added(Versions.v2024_06_15_preview) + uniqueRdConfigurationState?: UniqueRouteDistinguisherConfigurationState; + + @doc("NNI derived unique Route Distinguisher state. Default is Disabled.") + @added(Versions.v2024_06_15_preview) + nniDerivedUniqueRdConfigurationState?: NNIDerivedUniqueRouteDistinguisherConfigurationState; +} + +@doc("Commit Batch Status Request.") +@added(Versions.v2024_06_15_preview) +model CommitBatchStatusRequest { + @doc("Commit Batch Identifier. If not provided, the latest commit batch status will be returned.") + commitBatchId?: string; +} + +@doc("Commit Batch Status Response.") +@added(Versions.v2024_06_15_preview) +model CommitBatchStatusResponse { + @doc("Commit Batch Identifier.") + commitBatchId?: string; + + @doc("Commit Batch State.") + commitBatchState?: CommitBatchState; + + @doc("Commit Batch Details.") + commitBatchDetails?: CommitBatchDetails; + + ...ErrorResponse; +} + +@doc("Discard Commit Batch Request.") +@added(Versions.v2024_06_15_preview) +model DiscardCommitBatchRequest { + @doc("Commit Batch Identifier. If not provided, the latest commit batch status will be returned.") + commitBatchId?: string; +} + +@doc("Discard Commit Batch Response.") +@added(Versions.v2024_06_15_preview) +model DiscardCommitBatchResponse { + @doc("Commit Batch Identifier.") + commitBatchId?: string; + + ...ErrorResponse; +} + +@doc("Commit Batch State.") +@added(Versions.v2024_06_15_preview) +union CommitBatchState { + @doc("CommitBatchState-PartialSuccess") + Processing: "Processing", + + @doc("CommitBatchState-Succeeded") + Succeeded: "Succeeded", + + @doc("CommitBatchState-Failed") + Failed: "Failed", + + string, +} + +@doc("Commit Batch Details.") +@added(Versions.v2024_06_15_preview) +model CommitBatchDetails { + @doc("List of devices for which the commit operation failed.") + failedDevices?: string[]; +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/NetworkFabricController.tsp b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/NetworkFabricController.tsp new file mode 100644 index 000000000000..fbfc56815a46 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/NetworkFabricController.tsp @@ -0,0 +1,151 @@ +import "./common.tsp"; + +using TypeSpec.Versioning; +using TypeSpec.Reflection; + +namespace Microsoft.ManagedNetworkFabric; + +@doc("NetworkFabricControllerProperties defines the resource properties.") +model NetworkFabricControllerProperties { + ...AnnotationResource; + + @doc("As part of an update, the Infrastructure ExpressRoute CircuitID should be provided to create and Provision a NFC. This Express route is dedicated for Infrastructure services. (This is a Mandatory attribute)") + @Azure.ResourceManager.identifiers(#["expressRouteCircuitId"]) + infrastructureExpressRouteConnections?: ExpressRouteConnectionInformation[]; + + @doc("As part of an update, the workload ExpressRoute CircuitID should be provided to create and Provision a NFC. This Express route is dedicated for Workload services. (This is a Mandatory attribute).") + @Azure.ResourceManager.identifiers(#["expressRouteCircuitId"]) + workloadExpressRouteConnections?: ExpressRouteConnectionInformation[]; + + @doc("InfrastructureServices IP ranges.") + @visibility(Lifecycle.Read) + infrastructureServices?: ControllerServices; + + @doc("WorkloadServices IP ranges.") + @visibility(Lifecycle.Read) + workloadServices?: ControllerServices; + + @doc("Managed Resource Group configuration properties.") + managedResourceGroupConfiguration?: ManagedResourceGroupConfiguration; + + @doc("The NF-ID will be an input parameter used by the NF to link and get associated with the parent NFC Service.") + @visibility(Lifecycle.Read) + networkFabricIds?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/networkFabrics"; + } + ]>[]; + + @doc("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.") + @visibility(Lifecycle.Read) + @removed(Versions.v2024_06_15_preview) + workloadManagementNetwork?: boolean = true; + + @doc("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.") + isWorkloadManagementNetworkEnabled?: IsWorkloadManagementNetworkEnabled = IsWorkloadManagementNetworkEnabled.True; + + @doc("List of tenant InternetGateway resource IDs") + @visibility(Lifecycle.Read) + tenantInternetGatewayIds?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/internetGateways"; + } + ]>[]; + + @doc("IPv4 Network Fabric Controller Address Space.") + @minLength(1) + ipv4AddressSpace?: string = "10.0.0.0/19"; + + @doc("IPv6 Network Fabric Controller Address Space.") + @minLength(1) + ipv6AddressSpace?: string = "FC00::/59"; + + @doc("Network Fabric Controller SKU.") + nfcSku?: NfcSku = NfcSku.Standard; + + @doc("Details of the last operation performed on the resource") + @visibility(Lifecycle.Read) + @added(Versions.v2024_06_15_preview) + lastOperation?: LastOperationProperties; + + @doc("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.") + @visibility(Lifecycle.Read) + provisioningState?: ProvisioningState; +} + +@doc("Network Fabric Controller services.") +model ControllerServices { + @doc("The IPv4 Address space is optional, if the value is not defined at the time of NFC creation, then the default value 10.0.0.0/19 is considered. The IPV4 address subnet is an optional attribute.") + ipv4AddressSpaces?: string[]; + + @doc("The IPv6 is not supported right now.") + ipv6AddressSpaces?: string[]; +} + +@doc("Managed Resource Group configuration properties.") +model ManagedResourceGroupConfiguration { + @doc("The NFC service will be hosted in a Managed resource group.") + name?: string; + + @doc("Managed resource group location.") + @visibility(Lifecycle.Read, Lifecycle.Create) + location?: string; +} + +@doc("The ExpressRoute circuit ID and the Auth Key are required for you to successfully deploy NFC service.") +model ExpressRouteConnectionInformation { + @doc("The express route circuit Azure resource ID, must be of type Microsoft.Network/expressRouteCircuits/circuitName. The ExpressRoute Circuit is a mandatory attribute.") + expressRouteCircuitId: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.Network/expressRouteCircuits"; + } + ]>; + + @doc("Authorization key for the circuit, must be of type Microsoft.Network/expressRouteCircuits/authorizations. The Auth Key is a mandatory attribute.") + @secret + expressRouteAuthorizationKey: string; +} + +@doc("The Network Fabric Controller Patch payload definition.") +model NetworkFabricControllerPatch { + ...TagsUpdate; + + @doc("Network Fabric Controller patch properties.") + properties?: NetworkFabricControllerPatchProperties; +} + +@doc("Network Fabric Controller patch properties.") +model NetworkFabricControllerPatchProperties { + @doc("As part of an update, the Infrastructure ExpressRoute CircuitID should be provided to create and Provision a NFC. This Express route is dedicated for Infrastructure services. (This is a Mandatory attribute)") + @Azure.ResourceManager.identifiers(#["expressRouteCircuitId"]) + infrastructureExpressRouteConnections?: ExpressRouteConnectionInformation[]; + + @doc("As part of an update, the workload ExpressRoute CircuitID should be provided to create and Provision a NFC. This Express route is dedicated for Workload services. (This is a Mandatory attribute).") + @Azure.ResourceManager.identifiers(#["expressRouteCircuitId"]) + workloadExpressRouteConnections?: ExpressRouteConnectionInformation[]; +} + +@doc("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.") +union IsWorkloadManagementNetworkEnabled { + @doc("IsWorkloadManagementNetworkEnabled-True") + True: "True", + + @doc("IsWorkloadManagementNetworkEnabled-False") + False: "False", + + string, +} + +@doc("Network Fabric Controller SKU.") +union NfcSku { + @doc("NfcSku-Basic") + Basic: "Basic", + + @doc("NfcSku-Standard") + Standard: "Standard", + + @doc("NfcSku-HighPerformance") + HighPerformance: "HighPerformance", + + string, +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/NetworkFabricSku.tsp b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/NetworkFabricSku.tsp new file mode 100644 index 000000000000..2d98f69a2da8 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/NetworkFabricSku.tsp @@ -0,0 +1,40 @@ +import "./common.tsp"; + +namespace Microsoft.ManagedNetworkFabric; + +@doc("Network Fabric SKU Properties define properties of the resource.") +model NetworkFabricSkuProperties { + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-duplicate-property" "This is a valid property name." + @doc("Type of Network Fabric SKU.") + @visibility(Lifecycle.Read) + type?: FabricSkuType; + + @doc("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.") + maxComputeRacks?: int32; + + @doc("Maximum number of servers available for this Network Fabric SKU.") + maximumServerCount?: int32; + + @doc("List of supported Network Fabric SKU versions.") + @visibility(Lifecycle.Read) + supportedVersions?: string[]; + + @doc("URL providing detailed configuration of the fabric SKU.") + @visibility(Lifecycle.Read) + details?: string; + + @doc("Provisioning state of the resource.") + @visibility(Lifecycle.Read) + provisioningState?: ProvisioningState; +} + +@doc("Type of Network Fabric SKU.") +union FabricSkuType { + @doc("FabricSkuType-SingleRack") + SingleRack: "SingleRack", + + @doc("FabricSkuType-MultiRack") + MultiRack: "MultiRack", + + string, +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/NetworkInterface.tsp b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/NetworkInterface.tsp new file mode 100644 index 000000000000..2c65a65a63dd --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/NetworkInterface.tsp @@ -0,0 +1,81 @@ +import "./common.tsp"; + +using TypeSpec.Versioning; + +namespace Microsoft.ManagedNetworkFabric; + +@doc("Network Interface Properties defines the properties of the resource.") +model NetworkInterfaceProperties { + ...AnnotationResource; + + @doc("Physical Identifier of the network interface.") + @visibility(Lifecycle.Read) + physicalIdentifier?: string; + + @doc("The ARM resource id of the interface or compute server its connected to.") + @visibility(Lifecycle.Read) + connectedTo?: string; + + @doc("The Interface Type. Example: Management/Data") + @visibility(Lifecycle.Read) + interfaceType?: InterfaceType; + + @doc("IPv4Address of the interface.") + @visibility(Lifecycle.Read) + ipv4Address?: string; + + @doc("IPv6Address of the interface.") + @visibility(Lifecycle.Read) + ipv6Address?: string; + + @added(Versions.v2024_06_15_preview) + @doc("Description of the interface.") + description?: string; + + @added(Versions.v2024_06_15_preview) + @doc("Additional description of the interface.") + additionalDescription?: string; + + @doc("Details of the last operation performed on the resource") + @visibility(Lifecycle.Read) + @added(Versions.v2024_06_15_preview) + lastOperation?: LastOperationProperties; + + @doc("Provisioning state of the resource.") + @visibility(Lifecycle.Read) + provisioningState?: ProvisioningState; + + @doc("Administrative state of the resource.") + @visibility(Lifecycle.Read) + administrativeState?: AdministrativeState; +} + +@doc("The NetworkInterfacePatch resource definition.") +model NetworkInterfacePatch { + @doc("Network Interface Patch properties.") + properties?: NetworkInterfacePatchProperties; +} + +@doc("Network Interface Patch properties.") +model NetworkInterfacePatchProperties { + ...AnnotationResource; + + @added(Versions.v2024_06_15_preview) + @doc("Description of the interface.") + description?: string; + + @added(Versions.v2024_06_15_preview) + @doc("Additional description of the interface.") + additionalDescription?: string; +} + +@doc("The Interface Type. Example: Management/Data") +union InterfaceType { + @doc("InterfaceType-Management") + Management: "Management", + + @doc("InterfaceType-Data") + Data: "Data", + + string, +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/NetworkMonitor.tsp b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/NetworkMonitor.tsp new file mode 100644 index 000000000000..9075c68defbf --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/NetworkMonitor.tsp @@ -0,0 +1,248 @@ +import "./common.tsp"; + +using Azure.ResourceManager; +using TypeSpec.Versioning; +using TypeSpec.OpenAPI; + +namespace Microsoft.ManagedNetworkFabric; + +@doc("Network Monitor Properties defines the properties of the resource.") +@added(Versions.v2024_06_15_preview) +model NetworkMonitorProperties { + ...AnnotationResource; + + @doc("BMP Configurations for the Network Fabric.") + bmpConfiguration?: BmpConfigurationProperties; + + @doc("Details of the last operation performed on the resource") + @visibility(Lifecycle.Read) + @added(Versions.v2024_06_15_preview) + lastOperation?: LastOperationProperties; + + @doc("Configuration state of the resource.") + @visibility(Lifecycle.Read) + configurationState?: ConfigurationState; + + @doc("Provides you the latest status of the NetworkMonitor resource") + @visibility(Lifecycle.Read) + provisioningState?: ProvisioningState; + + @doc("Administrative state of the resource.") + @visibility(Lifecycle.Read) + administrativeState?: AdministrativeState; +} + +@doc("Station Configuration State.") +union StationConfigurationState { + @doc("StationConfigurationState Enabled") + Enabled: "Enabled", + + @doc("StationConfigurationState Disabled") + Disabled: "Disabled", + + string, +} + +@doc("Station Connection Mode.") +union StationConnectionMode { + @doc("StationConnectionMode Active") + Active: "Active", + + @doc("StationConnectionMode Passive") + Passive: "Passive", + + string, +} + +@doc("Station Connection Properties.") +model StationConnectionProperties { + @doc("Connection keepalive idle time in seconds") + @maxValue(3600) + @minValue(1) + keepaliveIdleTime?: int32 = 180; + + @doc("Probe interval in seconds, default value is 60") + @maxValue(3600) + @minValue(1) + probeInterval?: int32 = 60; + + @doc("Probe count, default value is 10") + @maxValue(100) + @minValue(1) + probeCount?: int32 = 10; +} + +@doc("Station Connection PATCH Properties.") +model StationConnectionPatchProperties { + @doc("Connection keepalive idle time in seconds") + @maxValue(3600) + @minValue(1) + keepaliveIdleTime?: int32; + + @doc("Probe interval in seconds, default value is 60") + @maxValue(3600) + @minValue(1) + probeInterval?: int32; + + @doc("Probe count, default value is 10") + @maxValue(100) + @minValue(1) + probeCount?: int32; +} + +@doc("Export Policy for the BGP Monitoring Protocol (BMP) Configuration.") +union BmpExportPolicy { + @doc("BMP ExportPolicy Pre-Policy") + PrePolicy: "Pre-Policy", + + @doc("BMP ExportPolicy Post-Policy") + PostPolicy: "Post-Policy", + + @doc("BMP ExportPolicy All") + All: "All", + + string, +} + +@doc("Monitored Address Family.") +union BmpMonitoredAddressFamily { + @doc("IPv4 Unicast") + ipv4Unicast: "ipv4Unicast", + + @doc("IPv6 Unicast") + ipv6Unicast: "ipv6Unicast", + + @doc("VPN IPv4") + vpnIpv4: "vpnIpv4", + + @doc("VPN IPv6") + vpnIpv6: "vpnIpv6", + + @doc("All Address Families") + All: "All", + + string, +} + +@doc("BGP Monitoring Protocol (BMP) Configuration properties.") +model BmpConfigurationProperties { + @doc("Enabling a station. Either True/False.") + stationConfigurationState?: StationConfigurationState; + + @doc("Scope resource ARM Identifier.") + scopeResourceId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/networkFabrics"; + } + ]>; + + @doc("Name of the station.") + stationName?: string; + + @doc("IP Address of the station.") + stationIp?: string; + + @doc("Port of the station. Default value is 5000.") + @maxValue(65535) + @minValue(1) + stationPort?: int32 = 5000; + + @doc("Station Connection Mode.") + stationConnectionMode?: StationConnectionMode; + + @doc("Station Connection Properties.") + stationConnectionProperties?: StationConnectionProperties; + + @doc("Network of the station") + stationNetwork?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/l3Isolationdomains/internalNetwork"; + }, + { + type: "Microsoft.ManagedNetworkFabric/l3Isolationdomains/externalNetwork"; + } + ]>; + + @doc("The List of Network ID's that need to be monitored.") + monitoredNetworks?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/l3IsolationDomains"; + } + ]>[]; + + @doc("Export Policy for the BMP Configuration.") + exportPolicy?: BmpExportPolicy = BmpExportPolicy.All; + + @doc("Monitored Address Families for the BMP Configuration.") + monitoredAddressFamilies?: BmpMonitoredAddressFamily[] = #[ + BmpMonitoredAddressFamily.All + ]; +} + +@doc("BMP Configuration patch properties.") +model BmpConfigurationPatchProperties { + @doc("Enabling a station. Either True/False.") + stationConfigurationState?: StationConfigurationState; + + @doc("Scope resource ARM Identifier.") + scopeResourceId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/networkFabrics"; + } + ]>; + + @doc("Name of the station.") + stationName?: string; + + @doc("IP Address of the station.") + stationIp?: string; + + @doc("Port of the station. Default value is 5000.") + @maxValue(65535) + @minValue(1) + stationPort?: int32; + + @doc("Station Connection Mode.") + stationConnectionMode?: StationConnectionMode; + + @doc("Station Connection Properties.") + stationConnectionProperties?: StationConnectionPatchProperties; + + @doc("Network of the station") + stationNetwork?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/l3Isolationdomains/internalNetwork"; + }, + { + type: "Microsoft.ManagedNetworkFabric/l3Isolationdomains/externalNetwork"; + } + ]>; + + @doc("The List of Network ID's that need to be monitored.") + monitoredNetworks?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/l3IsolationDomains"; + } + ]>[]; + + @doc("Export Policy for the BMP Configuration.") + exportPolicy?: BmpExportPolicy; + + @doc("Monitored Address Families for the BMP Configuration.") + monitoredAddressFamilies?: BmpMonitoredAddressFamily[]; +} + +@doc("The Network Monitor Patch resource definition.") +@added(Versions.v2024_06_15_preview) +model NetworkMonitorPatch { + ...TagsUpdate; + + @doc("Network Monitor Patch properties.") + properties?: NetworkMonitorPatchProperties; +} + +@doc("The Network Monitor Patch Properties.") +model NetworkMonitorPatchProperties { + @doc("BGP Monitoring Protocol (BMP) Configurations for the Network Monitor.") + bmpConfiguration?: BmpConfigurationPatchProperties; +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/NetworkPacketBroker.tsp b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/NetworkPacketBroker.tsp new file mode 100644 index 000000000000..27309154ef8c --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/NetworkPacketBroker.tsp @@ -0,0 +1,59 @@ +import "./common.tsp"; +using TypeSpec.Versioning; + +namespace Microsoft.ManagedNetworkFabric; + +@doc("Network Packet Broker Properties defines the properties of the resource.") +model NetworkPacketBrokerProperties { + @doc("ARM resource ID of the Network Fabric.") + @visibility(Lifecycle.Read, Lifecycle.Create) + networkFabricId: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/networkFabrics"; + } + ]>; + + @doc("List of ARM resource IDs of Network Devices [NPB].") + @visibility(Lifecycle.Read) + networkDeviceIds?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/networkDevices"; + } + ]>[]; + + @doc("List of network interfaces across NPB devices that are used to mirror source traffic.") + @visibility(Lifecycle.Read) + sourceInterfaceIds?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/networkDevices/networkInterfaces"; + } + ]>[]; + + @doc("List of network Tap IDs configured on NPB.") + @visibility(Lifecycle.Read) + networkTapIds?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/networkTaps"; + } + ]>[]; + + @doc("List of neighbor group IDs configured on NPB.") + @visibility(Lifecycle.Read) + neighborGroupIds?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/networkTaps"; + } + ]>[]; + + @doc("Details of the last operation performed on the resource") + @visibility(Lifecycle.Read) + @added(Versions.v2024_06_15_preview) + lastOperation?: LastOperationProperties; + + @doc("Provisioning state of the resource.") + @visibility(Lifecycle.Read) + provisioningState?: ProvisioningState; +} + +@doc("The NetworkPacketBroker patch resource definition.") +model NetworkPacketBrokerPatch is TagsUpdate; diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/NetworkRack.tsp b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/NetworkRack.tsp new file mode 100644 index 000000000000..61e02e848429 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/NetworkRack.tsp @@ -0,0 +1,53 @@ +import "./common.tsp"; +using TypeSpec.Versioning; + +namespace Microsoft.ManagedNetworkFabric; + +@doc("Network Rack Properties defines the properties of the resource.") +model NetworkRackProperties { + ...AnnotationResource; + + @doc("Network Rack SKU name.") + networkRackType?: NetworkRackType; + + @doc("ARM resource ID of the Network Fabric.") + networkFabricId: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/networkFabrics"; + } + ]>; + + @doc("List of network device ARM resource IDs.") + @visibility(Lifecycle.Read) + networkDevices?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/networkDevices"; + } + ]>[]; + + @doc("Details of the last operation performed on the resource") + @visibility(Lifecycle.Read) + @added(Versions.v2024_06_15_preview) + lastOperation?: LastOperationProperties; + + @doc("Provisioning state of the resource.") + @visibility(Lifecycle.Read) + provisioningState?: ProvisioningState; +} + +@doc("Network Rack patch resource definition.") +model NetworkRackPatch is TagsUpdate; + +@doc("Network Rack SKU name.") +union NetworkRackType { + @doc("NetworkRackType-Aggregate") + Aggregate: "Aggregate", + + @doc("NetworkRackType-Compute") + Compute: "Compute", + + @doc("NetworkRackType-Combined") + Combined: "Combined", + + string, +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/NetworkTap.tsp b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/NetworkTap.tsp new file mode 100644 index 000000000000..61804a3d586d --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/NetworkTap.tsp @@ -0,0 +1,167 @@ +import "./common.tsp"; +using TypeSpec.Versioning; + +namespace Microsoft.ManagedNetworkFabric; + +@doc("Network Tap Properties defines the properties of the resource.") +model NetworkTapProperties { + ...AnnotationResource; + + @doc("ARM resource ID of the Network Packet Broker.") + @visibility(Lifecycle.Read, Lifecycle.Create) + networkPacketBrokerId: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/networkFabrics"; + } + ]>; + + @doc("Source Tap Rule Id. ARM Resource ID of the Network Tap Rule.") + @visibility(Lifecycle.Read) + sourceTapRuleId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/networkTapRules"; + } + ]>; + + @doc("List of destinations to send the filter traffic.") + @Azure.ResourceManager.identifiers(#[]) + destinations: DestinationProperties[]; + + @doc("Polling type.") + pollingType?: PollingType = PollingType.Pull; + + @doc("Details of the last operation performed on the resource") + @visibility(Lifecycle.Read) + @added(Versions.v2024_06_15_preview) + lastOperation?: LastOperationProperties; + + @doc("Gets the configurations state of the resource.") + @visibility(Lifecycle.Read) + configurationState?: ConfigurationState; + + @doc("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.") + @visibility(Lifecycle.Read) + provisioningState?: ProvisioningState; + + @doc("Administrative state of the resource. Example -Enabled/Disabled") + @visibility(Lifecycle.Read) + administrativeState?: AdministrativeState; +} + +@doc("The network tap destination properties.") +model DestinationProperties { + @doc("Destination name.") + @minLength(1) + name: string; + + @doc("Type of destination. Input can be IsolationDomain or Direct.") + destinationType: DestinationType; + + @doc("The destination Id. ARM Resource ID of either NNI or Internal Networks.") + destinationId: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/networkToNetworkInterconnects"; + }, + { + type: "Microsoft.ManagedNetworkFabric/l3IsolationDomains/internalNetworks"; + } + ]>; + + @doc("Isolation Domain Properties.") + isolationDomainProperties?: IsolationDomainProperties; + + @doc("ARM Resource ID of destination Tap Rule that contains match configurations.") + destinationTapRuleId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/networkTapRules"; + } + ]>; +} + +@doc("The network tap destination properties.") +model DestinationPatchProperties { + @doc("Destination name.") + @minLength(1) + name?: string; + + @doc("Type of destination. Input can be IsolationDomain or Direct.") + destinationType?: DestinationType; + + @doc("The destination Id. ARM Resource ID of either NNI or Internal Networks.") + destinationId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/networkToNetworkInterconnects"; + }, + { + type: "Microsoft.ManagedNetworkFabric/l3IsolationDomains/internalNetworks"; + } + ]>; + + @doc("Isolation Domain Properties.") + isolationDomainProperties?: IsolationDomainPatchProperties; + + @doc("ARM Resource ID of destination Tap Rule that contains match configurations.") + destinationTapRuleId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/networkTapRules"; + } + ]>; +} + +@doc("Isolation Domain Properties.") +model IsolationDomainProperties { + @doc("Type of encapsulation.") + encapsulation?: Encapsulation; + + @doc("List of Neighbor Group IDs.") + neighborGroupIds?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/neighborGroups"; + } + ]>[]; +} + +@doc("Isolation Domain Properties.") +model IsolationDomainPatchProperties is IsolationDomainProperties; + +@doc("The NetworkFabric resource definition.") +model NetworkTapPatch { + ...TagsUpdate; + + @doc("Resource properties.") + properties?: NetworkTapPatchProperties; +} + +@doc("The Network Tap resource patch definition.") +model NetworkTapPatchProperties { + ...AnnotationResource; + + @doc("Polling type.") + pollingType?: PollingType; + + @doc("List of destination properties to send the filter traffic.") + @Azure.ResourceManager.identifiers(#[]) + destinations?: DestinationPatchProperties[]; +} + +@doc("Type of destination. Input can be IsolationDomain or Direct.") +union DestinationType { + @doc("DestinationType-IsolationDomain") + IsolationDomain: "IsolationDomain", + + @doc("DestinationType-Direct") + Direct: "Direct", + + string, +} + +@doc("Type of encapsulation.") +union Encapsulation { + @doc("Encapsulation-None") + None: "None", + + @doc("Encapsulation-GRE") + GRE: "GRE", + + string, +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/NetworkTapRule.tsp b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/NetworkTapRule.tsp new file mode 100644 index 000000000000..30cd64e596fb --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/NetworkTapRule.tsp @@ -0,0 +1,274 @@ +import "./common.tsp"; + +using TypeSpec.Versioning; + +namespace Microsoft.ManagedNetworkFabric; + +@doc("Network Tap Rule Properties defines the resource properties.") +model NetworkTapRuleProperties { + ...AnnotationResource; + + @doc("Input method to configure Network Tap Rule.") + configurationType: ConfigurationType; + + @doc("Network Tap Rules file URL.") + tapRulesUrl?: url; + + @doc("List of match configurations.") + @Azure.ResourceManager.identifiers(#[]) + @minItems(1) + matchConfigurations?: NetworkTapRuleMatchConfiguration[]; + + @doc("List of dynamic match configurations.") + @Azure.ResourceManager.identifiers(#[]) + @minItems(1) + dynamicMatchConfigurations?: CommonDynamicMatchConfiguration[]; + + @doc("The ARM resource Id of the NetworkTap.") + @visibility(Lifecycle.Read) + networkTapId?: string; + + @doc("Polling interval in seconds.") + pollingIntervalInSeconds?: PollingIntervalInSeconds = PollingIntervalInSeconds.Thirty; + + @doc("The last sync timestamp.") + @visibility(Lifecycle.Read) + lastSyncedTime?: utcDateTime; + + @doc("Global network tap rule actions") + @added(Versions.v2024_06_15_preview) + globalNetworkTapRuleActions?: GlobalNetworkTapRuleActionProperties; + + @doc("Details of the last operation performed on the resource") + @visibility(Lifecycle.Read) + @added(Versions.v2024_06_15_preview) + lastOperation?: LastOperationProperties; + + @doc("Configuration state of the resource.") + @visibility(Lifecycle.Read) + configurationState?: ConfigurationState; + + @doc("Provisioning state of the resource.") + @visibility(Lifecycle.Read) + provisioningState?: ProvisioningState; + + @doc("Administrative state of the resource.") + @visibility(Lifecycle.Read) + administrativeState?: AdministrativeState; +} + +@doc("Defines the match configuration that are supported to filter the traffic.") +model NetworkTapRuleMatchConfiguration { + @doc("The name of the match configuration.") + @minLength(1) + matchConfigurationName?: string; + + @doc("Sequence Number of the match configuration..") + @maxValue(4294967295) + @minValue(1) + sequenceNumber?: int64; + + @doc("Type of IP Address. IPv4 or IPv6") + ipAddressType?: IPAddressType; + + @doc("List of the match conditions.") + @Azure.ResourceManager.identifiers(#[]) + matchConditions?: NetworkTapRuleMatchCondition[]; + + @doc("List of actions that need to be performed for the matched conditions.") + @Azure.ResourceManager.identifiers(#[]) + actions?: NetworkTapRuleAction[]; +} + +@doc("Defines the match configuration that are supported to filter the traffic.") +model NetworkTapRuleMatchConfigurationPatch { + @doc("The name of the match configuration.") + @minLength(1) + matchConfigurationName?: string; + + @doc("Sequence Number of the match configuration..") + @maxValue(4294967295) + @minValue(1) + sequenceNumber?: int64; + + @doc("Type of IP Address. IPv4 or IPv6") + ipAddressType?: IPAddressType; + + @doc("List of the match conditions.") + @Azure.ResourceManager.identifiers(#[]) + matchConditions?: NetworkTapRuleMatchConditionPatch[]; + + @doc("List of actions that need to be performed for the matched conditions.") + @Azure.ResourceManager.identifiers(#[]) + actions?: NetworkTapRuleActionPatch[]; +} + +@doc("Defines the match condition that is supported to filter the traffic.") +model NetworkTapRuleMatchCondition { + ...CommonMatchConditions; + + @doc("Encapsulation Type that needs to be matched.") + encapsulationType?: EncapsulationType = EncapsulationType.None; + + @doc("Defines the port condition that needs to be matched.") + portCondition?: PortCondition; +} + +@doc("Defines the match condition that is supported to filter the traffic.") +model NetworkTapRuleMatchConditionPatch { + ...CommonMatchConditionsPatch; + + @doc("Encapsulation Type that needs to be matched.") + encapsulationType?: EncapsulationType; + + @doc("Defines the port condition that needs to be matched.") + portCondition?: PortConditionPatch; +} + +@doc("Action that need to performed.") +model NetworkTapRuleAction { + @doc("Type of actions that can be performed.") + type?: TapRuleActionType; + + @doc("Truncate. 0 indicates do not truncate.") + @minLength(1) + truncate?: string; + + @doc("The parameter to enable or disable the timestamp.") + isTimestampEnabled?: BooleanEnumProperty; + + @doc("Destination Id. The ARM resource Id may be either Network To Network Interconnect or NeighborGroup.") + destinationId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/neighborGroups"; + }, + { + type: "Microsoft.ManagedNetworkFabric/networkFabrics/networkToNetworkInterconnects"; + } + ]>; + + // This is property is present in the older version of the API. However the description for this field is changed + // Hence this property is removed and added with a same name but with a different description + @doc("The name of the match configuration. This is used when Goto type is provided. If Goto type is selected and no match configuration name is provided. It goes to next configuration.") + @removed(Versions.v2024_06_15_preview) + @renamedFrom(Versions.v2024_06_15_preview, "matchConfigurationName") + @minLength(1) + matchConfigurationNameDeprecated?: string; + + @doc("The name of the match configuration. This is used when Goto type is provided.") + @added(Versions.v2024_06_15_preview) + @minLength(1) + matchConfigurationName?: string; +} + +@doc("Action that need to performed.") +model NetworkTapRuleActionPatch is NetworkTapRuleAction; + +@doc("The NetworkTapRule resource definition.") +model NetworkTapRulePatch { + ...TagsUpdate; + + @doc("Network Tap Rule Patch properties.") + properties?: NetworkTapRulePatchProperties; +} + +@doc("Network Tap Rule Patch properties.") +model NetworkTapRulePatchProperties { + ...AnnotationResource; + + @doc("Input method to configure Network Tap Rule.") + configurationType?: ConfigurationType; + + @doc("Network Tap Rules file URL.") + tapRulesUrl?: url; + + @doc("Global network tap rule actions") + @added(Versions.v2024_06_15_preview) + globalNetworkTapRuleActions?: GlobalNetworkTapRuleActionPatchProperties; + + @doc("List of match configurations.") + @Azure.ResourceManager.identifiers(#[]) + @minItems(1) + matchConfigurations?: NetworkTapRuleMatchConfigurationPatch[]; + + @doc("List of dynamic match configurations.") + @Azure.ResourceManager.identifiers(#[]) + @minItems(1) + dynamicMatchConfigurations?: CommonDynamicMatchConfigurationPatch[]; +} + +@doc("Polling interval in seconds.") +union PollingIntervalInSeconds { + @doc("30 PollingIntervalInSeconds") + Thirty: 30, + + @doc("60 PollingIntervalInSeconds") + sixty: 60, + + @doc("90 PollingIntervalInSeconds") + Ninety: 90, + + @doc("120 PollingIntervalInSeconds") + OneTwenty: 120, + + int32, +} + +@doc("Type of actions that can be performed.") +union TapRuleActionType { + @doc("TapRuleActionType-Drop") + Drop: "Drop", + + @doc("TapRuleActionType-Count") + Count: "Count", + + @doc("TapRuleActionType-Log") + Log: "Log", + + @doc("TapRuleActionType-Replicate") + Replicate: "Replicate", + + @doc("TapRuleActionType-Goto") + Goto: "Goto", + + @doc("TapRuleActionType-Redirect") + Redirect: "Redirect", + + @doc("TapRuleActionType-Mirror") + Mirror: "Mirror", + + string, +} + +@doc("Encapsulation Type that needs to be matched.") +union EncapsulationType { + @doc("None EncapsulationType") + None: "None", + + @doc("GTPv1 EncapsulationType") + GTPv1: "GTPv1", + + string, +} + +@doc("Global network tap rule actions properties") +@added(Versions.v2024_06_15_preview) +model GlobalNetworkTapRuleActionProperties { + @doc("Configuration to enable network tap rule counter.") + enableCount?: BooleanEnumProperty = BooleanEnumProperty.False; + + @doc("Truncate. 0 indicates do not truncate.") + @minLength(1) + truncate?: string; +} + +@doc("Global network tap rule actions patch properties") +@added(Versions.v2024_06_15_preview) +model GlobalNetworkTapRuleActionPatchProperties { + @doc("Configuration to enable network tap rule counter.") + enableCount?: BooleanEnumProperty; + + @doc("Truncate. 0 indicates do not truncate.") + @minLength(1) + truncate?: string; +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/NetworkToNetworkInterconnect.tsp b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/NetworkToNetworkInterconnect.tsp new file mode 100644 index 000000000000..f8923ad76a49 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/NetworkToNetworkInterconnect.tsp @@ -0,0 +1,469 @@ +import "./common.tsp"; + +using TypeSpec.Versioning; +using TypeSpec.OpenAPI; +using Azure.ResourceManager; + +namespace Microsoft.ManagedNetworkFabric; + +@doc("Configuration used to setup CE-PE connectivity.") +model NetworkToNetworkInterconnectProperties { + @doc("Type of NNI used. Example: CE | NPB") + nniType?: NniType = NniType.CE; + + @doc("Configuration to use NNI for Infrastructure Management. Example: True/False.") + isManagementType?: IsManagementType = IsManagementType.True; + + @doc("Based on this option layer3 parameters are mandatory. Example: True/False") + useOptionB: BooleanEnumProperty; + + @doc("Common properties for Layer2 Configuration.") + layer2Configuration?: Layer2Configuration; + + #suppress "@azure-tools/typespec-azure-core/casing-style" "This is a valid resource name." + @doc("Common properties for Layer3Configuration.") + optionBLayer3Configuration?: OptionBLayer3Configuration; + + @doc("NPB Static Route Configuration properties.") + npbStaticRouteConfiguration?: NpbStaticRouteConfiguration; + + @added(Versions.v2024_06_15_preview) + @doc("Static Route Configuration.") + staticRouteConfiguration?: NniStaticRouteConfiguration; + + @doc("Import Route Policy information.") + @removed(Versions.v2024_06_15_preview) + @renamedFrom(Versions.v2024_06_15_preview, "importRoutePolicy") + importRoutePolicyDeprecated?: ImportRoutePolicyInformation; + + @doc("Import Route Policy information.") + @added(Versions.v2024_06_15_preview) + importRoutePolicy?: ImportRoutePolicyInformation; + + @doc("Export Route Policy information") + @removed(Versions.v2024_06_15_preview) + @renamedFrom(Versions.v2024_06_15_preview, "exportRoutePolicy") + exportRoutePolicyDeprecated?: ExportRoutePolicyInformation; + + @doc("Export Route Policy information") + @added(Versions.v2024_06_15_preview) + exportRoutePolicy?: ExportRoutePolicyInformation; + + @doc("Egress Acl. ARM resource ID of Access Control Lists.") + @removed(Versions.v2024_06_15_preview) + @renamedFrom(Versions.v2024_06_15_preview, "egressAclId") + egressAclIdDeprecated?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/accessControlLists"; + } + ]>; + + @doc("Egress Acl. ARM resource ID of Access Control Lists.") + @added(Versions.v2024_06_15_preview) + egressAclId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/accessControlLists"; + } + ]>; + + @doc("Ingress Acl. ARM resource ID of Access Control Lists.") + @removed(Versions.v2024_06_15_preview) + @renamedFrom(Versions.v2024_06_15_preview, "ingressAclId") + ingressAclIdDeprecated?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/accessControlLists"; + } + ]>; + + @doc("Ingress Acl. ARM resource ID of Access Control Lists.") + @added(Versions.v2024_06_15_preview) + ingressAclId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/accessControlLists"; + } + ]>; + + @doc("Micro Bidirectional Forwarding Detection (BFD) enabled/disabled state.") + @added(Versions.v2024_06_15_preview) + microBfdState?: MicroBfdState; + + @doc("Conditional Default Route Configuration properties.") + @added(Versions.v2024_06_15_preview) + conditionalDefaultRouteConfiguration?: ConditionalDefaultRouteProperties; + + @doc("Details of the last operation performed on the resource") + @visibility(Lifecycle.Read) + @added(Versions.v2024_06_15_preview) + lastOperation?: LastOperationProperties; + + @doc("Configuration state of the resource.") + @visibility(Lifecycle.Read) + configurationState?: ConfigurationState; + + @doc("Provisioning state of the resource.") + @visibility(Lifecycle.Read) + provisioningState?: ProvisioningState; + + @doc("Administrative state of the resource.") + @visibility(Lifecycle.Read) + administrativeState?: AdministrativeState; +} + +@doc("Common properties for Layer2 Configuration.") +model Layer2Configuration { + @doc("MTU of the packets between PE & CE.") + @maxValue(9200) + @minValue(64) + mtu?: int32 = 1500; + + @doc("List of network device interfaces resource IDs.") + @minItems(1) + interfaces?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/networkDevices/networkInterfaces"; + } + ]>[]; +} + +@doc("Common properties for Layer2 Configuration.") +model Layer2ConfigurationPatch { + @doc("MTU of the packets between PE & CE.") + @maxValue(9200) + @minValue(64) + mtu?: int32; + + @doc("List of network device interfaces resource IDs.") + @minItems(1) + interfaces?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/networkDevices/networkInterfaces"; + } + ]>[]; +} + +@doc("The Network To Network Interconnect resource patch definition.") +model NetworkToNetworkInterconnectPatch { + ...ProxyResourceBase; + + @doc("Resource properties.") + properties?: NetworkToNetworkInterconnectPatchProperties; +} + +@doc("Network Tap Rule Patch properties.") +model NetworkToNetworkInterconnectPatchProperties { + @doc("Common properties for Layer2Configuration.") + layer2Configuration?: Layer2ConfigurationPatch; + + #suppress "@azure-tools/typespec-azure-core/casing-style" "This is a valid resource name." + @doc("Common properties for Layer3Configuration.") + optionBLayer3Configuration?: OptionBLayer3ConfigurationPatchProperties; + + @doc("NPB Static Route Configuration properties.") + npbStaticRouteConfiguration?: NpbStaticRouteConfigurationPatch; + + @added(Versions.v2024_06_15_preview) + @doc("Static Route Configuration.") + staticRouteConfiguration?: NniStaticRoutePatchConfiguration; + + @doc("Import Route Policy information.") + @removed(Versions.v2024_06_15_preview) + @renamedFrom(Versions.v2024_06_15_preview, "importRoutePolicy") + importRoutePolicyDeprecated?: ImportRoutePolicyInformationPatch; + + @doc("Import Route Policy information.") + @added(Versions.v2024_06_15_preview) + importRoutePolicy?: ImportRoutePolicyInformationPatch; + + @doc("Export Route Policy information") + @removed(Versions.v2024_06_15_preview) + @renamedFrom(Versions.v2024_06_15_preview, "exportRoutePolicy") + exportRoutePolicyDeprecated?: ExportRoutePolicyInformationPatch; + + @doc("Export Route Policy information") + @added(Versions.v2024_06_15_preview) + exportRoutePolicy?: ExportRoutePolicyInformationPatch; + + @doc("Egress Acl. ARM resource ID of Access Control Lists.") + @removed(Versions.v2024_06_15_preview) + @renamedFrom(Versions.v2024_06_15_preview, "egressAclId") + egressAclIdDeprecated?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/accessControlLists"; + } + ]>; + + @doc("Egress Acl. ARM resource ID of Access Control Lists.") + @added(Versions.v2024_06_15_preview) + egressAclId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/accessControlLists"; + } + ]>; + + @doc("Ingress Acl. ARM resource ID of Access Control Lists.") + @removed(Versions.v2024_06_15_preview) + @renamedFrom(Versions.v2024_06_15_preview, "ingressAclId") + ingressAclIdDeprecated?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/accessControlLists"; + } + ]>; + + @doc("Ingress Acl. ARM resource ID of Access Control Lists.") + @added(Versions.v2024_06_15_preview) + ingressAclId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/accessControlLists"; + } + ]>; + + @doc("Micro BFD enabled/disabled state.") + @added(Versions.v2024_06_15_preview) + microBfdState?: MicroBfdState; +} + +#suppress "@azure-tools/typespec-azure-core/casing-style" "This is a valid resource name." +@doc("Common properties for Layer3Configuration.") +@withOptionalProperties +model OptionBLayer3ConfigurationPatchProperties { + ...Layer3IpPrefixPatchProperties; + + #suppress "@azure-tools/typespec-azure-core/casing-style" "This is a valid resource name." + @doc("ASN of PE devices for CE/PE connectivity.Example : 28") + @maxValue(4294967295) + @minValue(1) + peerASN?: int64; + + @doc("VLAN for CE/PE Layer 3 connectivity.Example : 501") + @maxValue(4094) + @minValue(100) + vlanId?: int32; + + #suppress "@azure-tools/typespec-azure-core/casing-style" "This is a valid resource name." + @doc("ASN of CE devices for CE/PE connectivity.") + @visibility(Lifecycle.Read) + fabricASN?: int64; + + @doc("Provider Edge (PE) Loopback IP Address.") + @added(Versions.v2024_06_15_preview) + peLoopbackIpAddress?: string[]; + + @doc("BGP Monitoring Protocol (BMP) Configuration.") + @added(Versions.v2024_06_15_preview) + bmpConfiguration?: NniBmpPatchProperties; + + #suppress "@azure-tools/typespec-azure-core/casing-style" "This is a valid resource name." + @doc("OptionB Layer3 prefix limit configuration.") + @added(Versions.v2024_06_15_preview) + @minItems(1) + @Azure.ResourceManager.identifiers(#[]) + prefixLimits?: OptionBLayer3PrefixLimitPatchProperties[]; +} + +#suppress "@azure-tools/typespec-azure-core/casing-style" "This is a valid resource name." +@doc("OptionB Layer3 Configuration properties.") +model OptionBLayer3Configuration { + ...Layer3IpPrefixProperties; + + #suppress "@azure-tools/typespec-azure-core/casing-style" "This is a valid resource name." + @doc("ASN of PE devices for CE/PE connectivity.Example : 28") + @maxValue(4294967295) + @minValue(1) + peerASN: int64; + + @doc("VLAN for CE/PE Layer 3 connectivity.Example : 501") + @maxValue(4094) + @minValue(100) + vlanId: int32; + + #suppress "@azure-tools/typespec-azure-core/casing-style" "This is a valid resource name." + @doc("ASN of CE devices for CE/PE connectivity.") + @visibility(Lifecycle.Read) + fabricASN?: int64; + + @doc("Provider Edge (PE) Loopback IP Address.") + @added(Versions.v2024_06_15_preview) + peLoopbackIpAddress?: string[]; + + @doc("BGP Monitoring Protocol (BMP) Configuration.") + @added(Versions.v2024_06_15_preview) + bmpConfiguration?: NniBmpProperties; + + #suppress "@azure-tools/typespec-azure-core/casing-style" "This is a valid resource name." + @doc("OptionB Layer3 prefix limit configuration.") + @added(Versions.v2024_06_15_preview) + @minItems(1) + @Azure.ResourceManager.identifiers(#[]) + prefixLimits?: OptionBLayer3PrefixLimitProperties[]; +} + +@doc("NPB Static Route Configuration properties.") +model NpbStaticRouteConfiguration { + @doc("BFD Configuration properties.") + bfdConfiguration?: BfdConfiguration; + + @doc("List of IPv4 Routes.") + @Azure.ResourceManager.identifiers(#["prefix"]) + @minItems(1) + ipv4Routes?: StaticRouteProperties[]; + + @doc("List of IPv6 Routes.") + @minItems(1) + @Azure.ResourceManager.identifiers(#["prefix"]) + ipv6Routes?: StaticRouteProperties[]; +} + +@doc("NPB Static Route Configuration properties.") +model NpbStaticRouteConfigurationPatch { + @doc("BFD Configuration properties.") + bfdConfiguration?: BfdPatchConfiguration; + + @doc("List of IPv4 Routes.") + @Azure.ResourceManager.identifiers(#["prefix"]) + @minItems(1) + ipv4Routes?: StaticRoutePatchProperties[]; + + @doc("List of IPv6 Routes.") + @minItems(1) + @Azure.ResourceManager.identifiers(#["prefix"]) + ipv6Routes?: StaticRoutePatchProperties[]; +} + +@doc("Type of NNI used. Example: CE | NPB") +union NniType { + @doc("NniType-CE(Customer Edge).") + CE: "CE", + + @doc("NniType-NPB(Network Packet Broker).") + NPB: "NPB", + + string, +} + +@doc("Configuration to use NNI for Infrastructure Management. Example: True/False.") +union IsManagementType { + @doc("IsManagementType-True") + True: "True", + + @doc("IsManagementType-False") + False: "False", + + string, +} + +@doc("NNI Bidirectional Forwarding Detection (BFD) Administrative State request.") +@added(Versions.v2024_06_15_preview) +model NniBfdAdministrativeStateRequest { + @doc("Route Type. Choose either Static or OptionA.") + routeType?: RouteType; + + @doc("State. Select either enable or disable.") + administrativeState?: BfdAdministrativeState; +} + +@doc("NNI Bidirectional Forwarding Detection (BFD) Administrative State response.") +@added(Versions.v2024_06_15_preview) +model NniBfdAdministrativeStateResponse { + @doc("Route Type. Choose either Static or OptionA.") + routeType?: RouteType; + + @doc("State. Select either enable or disable.") + administrativeState?: BfdAdministrativeState; + + ...ErrorResponse; +} + +@added(Versions.v2024_06_15_preview) +@doc("Route type to be used.") +union RouteType { + @doc("RouteType-Static") + Static: "Static", + + @doc("RouteType-OptionA") + OptionA: "OptionA", + + string, +} + +@doc("Static Route Configuration properties for NNI.") +@added(Versions.v2024_06_15_preview) +model NniStaticRouteConfiguration { + @doc("BFD configuration properties") + bfdConfiguration?: BfdConfiguration; + + @doc("List of IPv4 Routes.") + @Azure.ResourceManager.identifiers(#["prefix"]) + ipv4Routes?: StaticRouteProperties[]; + + @doc("List of IPv6 Routes.") + @Azure.ResourceManager.identifiers(#["prefix"]) + ipv6Routes?: StaticRouteProperties[]; +} + +@doc("Static Route Configuration properties for NNI.") +@added(Versions.v2024_06_15_preview) +model NniStaticRoutePatchConfiguration { + @doc("Bidirectional Forwarding Detection (BFD) configuration properties") + bfdConfiguration?: BfdPatchConfiguration; + + @doc("List of IPv4 Routes.") + @Azure.ResourceManager.identifiers(#["prefix"]) + ipv4Routes?: StaticRoutePatchProperties[]; + + @doc("List of IPv6 Routes.") + @Azure.ResourceManager.identifiers(#["prefix"]) + ipv6Routes?: StaticRoutePatchProperties[]; +} + +@doc("Micro Bidirectional Forwarding Detection (BFD) enabled/disabled state.") +@added(Versions.v2024_06_15_preview) +union MicroBfdState { + @doc("MicroBfdState-Enabled") + Enabled: "Enabled", + + @doc("MicroBfdState-Disabled") + Disabled: "Disabled", + + string, +} + +@doc("Conditional Default Route Configuration properties.") +@added(Versions.v2024_06_15_preview) +model ConditionalDefaultRouteProperties { + @doc("List of IPv4 Routes.") + @Azure.ResourceManager.identifiers(#["prefix"]) + ipv4Routes?: StaticRouteProperties[]; + + @doc("List of IPv6 Routes.") + @Azure.ResourceManager.identifiers(#["prefix"]) + ipv6Routes?: StaticRouteProperties[]; +} + +@doc("BGP Monitoring Protocol (BMP) properties.") +@added(Versions.v2024_06_15_preview) +model NniBmpProperties { + @doc("BGP Monitoring Protocol (BMP) Configuration State.") + configurationState: BmpConfigurationState = BmpConfigurationState.Disabled; +} + +@doc("BGP Monitoring Protocol (BMP) patch properties.") +@added(Versions.v2024_06_15_preview) +model NniBmpPatchProperties { + @doc("(BGP Monitoring Protocol (BMP) configuration state.") + configurationState?: BmpConfigurationState; +} + +#suppress "@azure-tools/typespec-azure-core/casing-style" "This is a valid resource name." +@doc("OptionB Layer3 prefix limit properties.") +@added(Versions.v2024_06_15_preview) +model OptionBLayer3PrefixLimitProperties { + @doc("Maximum number of routes allowed.") + @added(Versions.v2024_06_15_preview) + maximumRoutes?: int32; +} + +#suppress "@azure-tools/typespec-azure-core/casing-style" "This is a valid resource name." +@doc("OptionB Layer3 prefix limit patch properties.") +@added(Versions.v2024_06_15_preview) +model OptionBLayer3PrefixLimitPatchProperties + is OptionBLayer3PrefixLimitProperties; diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/RoutePolicy.tsp b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/RoutePolicy.tsp new file mode 100644 index 000000000000..e6541aa1d64b --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/RoutePolicy.tsp @@ -0,0 +1,246 @@ +import "./common.tsp"; +using TypeSpec.Versioning; + +namespace Microsoft.ManagedNetworkFabric; + +@doc("RoutePolicyProperties defines the resource properties.") +model RoutePolicyProperties { + ...AnnotationResource; + + @doc("Default action that needs to be applied when no condition is matched. Example: Permit | Deny.") + defaultAction?: CommunityActionTypes = CommunityActionTypes.Deny; + + @doc("Route Policy statements.") + @Azure.ResourceManager.identifiers(#["sequenceNumber"]) + statements: RoutePolicyStatementProperties[]; + + @doc("Arm Resource ID of Network Fabric.") + networkFabricId: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/networkFabrics"; + } + ]>; + + @doc("AddressFamilyType. This parameter decides whether the given ipv4 or ipv6 route policy.") + addressFamilyType?: AddressFamilyType = AddressFamilyType.IPv4; + + @doc("Details of the last operation performed on the resource") + @visibility(Lifecycle.Read) + @added(Versions.v2024_06_15_preview) + lastOperation?: LastOperationProperties; + + @doc("Configuration state of the resource.") + @visibility(Lifecycle.Read) + configurationState?: ConfigurationState; + + @doc("Provisioning state of the resource.") + @visibility(Lifecycle.Read) + provisioningState?: ProvisioningState; + + @doc("Administrative state of the resource.") + @visibility(Lifecycle.Read) + administrativeState?: AdministrativeState; +} + +@doc("Route Policy patchable properties.") +@withoutDefaultValues +model RoutePolicyPatchableProperties { + @doc("Default action that needs to be applied when no condition is matched. Example: Permit | Deny.") + defaultAction?: CommunityActionTypes; + + @doc("Route Policy statements.") + @Azure.ResourceManager.identifiers(#[]) + statements?: RoutePolicyStatementPatchProperties[]; +} + +@doc("Route Policy Statement properties.") +model RoutePolicyStatementProperties { + ...AnnotationResource; + + @doc("Sequence to insert to/delete from existing route.") + @maxValue(4294967295) + @minValue(1) + sequenceNumber: int64; + + @doc("Route policy condition properties.") + condition: StatementConditionProperties; + + @doc("Route policy action properties.") + action: StatementActionProperties; +} + +@doc("Route Policy Statement properties.") +model RoutePolicyStatementPatchProperties { + ...AnnotationResource; + + @doc("Sequence to insert to/delete from existing route.") + @maxValue(4294967295) + @minValue(1) + sequenceNumber: int64; + + @doc("Route policy condition properties.") + condition: StatementConditionPatchProperties; + + @doc("Route policy action properties.") + action: StatementActionPatchProperties; +} + +@doc("Route policy statement condition properties.") +model StatementConditionProperties { + @doc("List of IP Community resource IDs.") + ipCommunityIds?: string[]; + + @doc("List of IP Extended Community resource IDs.") + ipExtendedCommunityIds?: string[]; + + @doc("Type of the condition used.") + type?: RoutePolicyConditionType = RoutePolicyConditionType.Or; + + @doc("Arm Resource Id of IpPrefix.") + ipPrefixId?: string; +} + +@doc("Route policy statement condition properties.") +model StatementConditionPatchProperties { + @doc("List of IP Community resource IDs.") + ipCommunityIds?: string[]; + + @doc("List of IP Extended Community resource IDs.") + ipExtendedCommunityIds?: string[]; + + @doc("Type of the condition used.") + type?: RoutePolicyConditionType; + + @doc("Arm Resource Id of IpPrefix.") + ipPrefixId?: string; +} + +@doc("IP Community ID list properties.") +model IpCommunityIdList { + @doc("List of IP Community resource IDs.") + ipCommunityIds?: string[]; +} + +@doc("IP Extended Community Id list properties.") +model IpExtendedCommunityIdList { + @doc("List of IP Extended Community resource IDs.") + ipExtendedCommunityIds?: string[]; +} + +@doc("Route policy action properties.") +model StatementActionProperties { + @doc("Local Preference of the route policy.") + @maxValue(4294967295) + @minValue(0) + localPreference?: int64; + + @doc("Action type. Example: Permit | Deny | Continue.") + actionType: RoutePolicyActionType; + + @doc("IP Community Properties.") + ipCommunityProperties?: ActionIpCommunityProperties; + + @doc("IP Extended Community Properties.") + ipExtendedCommunityProperties?: ActionIpExtendedCommunityProperties; +} + +@doc("Route policy action properties") +model StatementActionPatchProperties { + @doc("Local Preference of the route policy.") + @maxValue(4294967295) + @minValue(0) + localPreference?: int64; + + @doc("Action type. Example: Permit | Deny | Continue.") + actionType: RoutePolicyActionType; + + @doc("IP Community Properties.") + ipCommunityProperties?: ActionIpCommunityPatchProperties; + + @doc("IP Extended Community Properties.") + ipExtendedCommunityProperties?: ActionIpExtendedCommunityPatchProperties; +} + +@doc("IP Community Properties.") +model ActionIpCommunityProperties { + @doc("List of IP Community IDs.") + add?: IpCommunityIdList; + + @doc("List of IP Community IDs.") + delete?: IpCommunityIdList; + + @doc("List of IP Community IDs.") + set?: IpCommunityIdList; +} + +@doc("IP Community Properties.") +model ActionIpCommunityPatchProperties is ActionIpCommunityProperties; + +@doc("IP Extended Community Properties.") +model ActionIpExtendedCommunityProperties { + @doc("List of IP Extended Community IDs.") + add?: IpExtendedCommunityIdList; + + @doc("List of IP Extended Community IDs.") + delete?: IpExtendedCommunityIdList; + + @doc("List of IP Extended Community IDs.") + set?: IpExtendedCommunityIdList; +} + +@doc("IP Extended Community Properties.") +model ActionIpExtendedCommunityPatchProperties + is ActionIpExtendedCommunityProperties; + +@doc("The Route Policy patch resource definition.") +model RoutePolicyPatch { + ...TagsUpdate; + + @doc("The RoutePolicy patchable properties.") + properties?: RoutePolicyPatchableProperties; +} + +@doc("The extended location.") +model ExtendedLocation { + @doc("The extended location type.") + type?: string; + + @doc("The extended location name.") + name?: string; +} + +@doc("Type of the condition used.") +union RoutePolicyConditionType { + @doc("RoutePolicyConditionType-Or") + Or: "Or", + + @doc("RoutePolicyConditionType-And") + And: "And", + + string, +} + +@doc("Action type. Example: Permit | Deny | Continue.") +union RoutePolicyActionType { + @doc("RoutePolicyActionType-Permit") + Permit: "Permit", + + @doc("RoutePolicyActionType-Deny") + Deny: "Deny", + + @doc("RoutePolicyActionType-Continue") + Continue: "Continue", + + string, +} + +@doc("Polling type.") +union PollingType { + @doc("PollingType-Pull") + Pull: "Pull", + + @doc("PollingType-Push") + Push: "Push", + + string, +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/common.tsp b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/common.tsp new file mode 100644 index 000000000000..9811d476202a --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/common.tsp @@ -0,0 +1,1072 @@ +using Azure.ResourceManager; +using Azure.ResourceManager.Foundations; +using TypeSpec.Versioning; +using TypeSpec.OpenAPI; + +namespace Microsoft.ManagedNetworkFabric; +interface Operations extends Azure.ResourceManager.Operations {} + +@doc("Configuration state for the resource.") +union ConfigurationState { + @doc("Success Configuration State") + Succeeded: "Succeeded", + + @doc("Failed Configuration State") + Failed: "Failed", + + @doc("Rejected Configuration State") + Rejected: "Rejected", + + @doc("Accepted Configuration State") + Accepted: "Accepted", + + @doc("Provisioned Configuration State") + Provisioned: "Provisioned", + + @doc("ErrorProvisioning Configuration State") + ErrorProvisioning: "ErrorProvisioning", + + @doc("Deprovisioning Configuration State") + Deprovisioning: "Deprovisioning", + + @doc("Deprovisioned Configuration State") + Deprovisioned: "Deprovisioned", + + @doc("ErrorDeprovisioning Configuration State") + ErrorDeprovisioning: "ErrorDeprovisioning", + + @doc("DeferredControl Configuration State") + DeferredControl: "DeferredControl", + + @doc("Provisioning Configuration State") + Provisioning: "Provisioning", + + @doc("PendingCommit Configuration State") + PendingCommit: "PendingCommit", + + string, +} + +@doc("The current provisioning state.") +union ProvisioningState { + @doc("Accepted Provisioning State") + Accepted: "Accepted", + + @doc("Succeeded Provisioning State") + Succeeded: "Succeeded", + + @doc("Updating Provisioning State") + Updating: "Updating", + + @doc("Deleting Provisioning State") + Deleting: "Deleting", + + @doc("Failed Provisioning State") + Failed: "Failed", + + @doc("Canceled Provisioning State") + Canceled: "Canceled", + + string, +} + +@doc("State defined to represent administrative actions or post actions on a particular resource.") +union AdministrativeState { + @doc("Enabled Administrative State") + Enabled: "Enabled", + + @doc("Disabled Administrative State") + Disabled: "Disabled", + + @doc("MAT(Manual Action Taken) Administrative State") + MAT: "MAT", + + @doc("RMA(Return Material Authorization) Administrative State") + RMA: "RMA", + + @doc("UnderMaintenance Administrative State") + UnderMaintenance: "UnderMaintenance", + + string, +} + +@doc("Input method to configure Access Control List.") +union ConfigurationType { + @doc("File Configuration Type") + File: "File", + + @doc("Inline Configuration Type") + Inline: "Inline", + + string, +} + +@doc("Community action types. Example: Permit | Deny.") +union CommunityActionTypes { + @doc("Permit Community Action Types") + Permit: "Permit", + + @doc("Deny Community Action Types") + Deny: "Deny", + + string, +} + +@doc("IP Address type.") +union IPAddressType { + @doc("IPv4 IP address") + IPv4: "IPv4", + + @doc("IPv6 IP address") + IPv6: "IPv6", + + string, +} + +@doc("Port type that needs to be matched.") +union PortType { + @doc("PortType SourcePort") + SourcePort: "SourcePort", + + @doc("PortType DestinationPort") + DestinationPort: "DestinationPort", + + @added(Versions.v2024_06_15_preview) + @doc("PortType Bidirectional") + Bidirectional: "Bidirectional", + + string, +} + +@doc("Layer4 protocol type that needs to be matched.") +union Layer4Protocol { + @doc("TCP(Transmission Control Protocol) Protocol") + TCP: "TCP", + + @doc("UDP(User Datagram Protocol) Protocol") + UDP: "UDP", + + @doc("SCTP(Streaming Control Transmission Protocol) Protocol") + @added(Versions.v2024_06_15_preview) + SCTP: "SCTP", + + string, +} + +@doc("IP Address type that needs to be matched.") +union SourceDestinationType { + @doc("SourceDestinationType SourceIP") + SourceIP: "SourceIP", + + @doc("SourceDestinationType DestinationIP") + DestinationIP: "DestinationIP", + + @added(Versions.v2024_06_15_preview) + @doc("SourceDestinationType Bidirectional") + Bidirectional: "Bidirectional", + + string, +} + +@doc("IP Prefix Type that needs to be matched.") +union PrefixType { + @doc("PrefixType Prefix") + Prefix: "Prefix", + + @doc("PrefixType LongestPrefix") + LongestPrefix: "LongestPrefix", + + string, +} + +@doc("Administrative state.") +union EnableDisableState { + @doc("AdministrativeState Enable") + Enable: "Enable", + + @doc("AdministrativeState Disable") + Disable: "Disable", + + @doc("AdministrativeState UnderMaintenance") + UnderMaintenance: "UnderMaintenance", + + string, +} + +@doc("Administrative state of the BfdConfiguration. Example: Enabled | Disabled.") +union BfdAdministrativeState { + @doc("Represents the enabled state of BFD administrative state.") + Enabled: "Enabled", + + @doc("Represents the disabled state of BFD administrative state.") + Disabled: "Disabled", + + @doc("Represents the MAT(Manual Action Taken) state of BFD administrative state.") + MAT: "MAT", + + @doc("Represents the RMA(Return Material Authorization) state of BFD administrative state.") + RMA: "RMA", + + string, +} + +@doc("Boolean union. Example- True/False") +union BooleanEnumProperty { + @doc("EnumProperty-True") + True: "True", + + @doc("EnumProperty-False") + False: "False", + + string, +} + +@doc("Peering option list.") +union PeeringOption { + @doc("PeeringOption-OptionA") + OptionA: "OptionA", + + @doc("PeeringOption-OptionB") + OptionB: "OptionB", + + string, +} + +@doc("AddressFamilyType. This parameter decides whether the given ipv4 or ipv6 route policy.") +union AddressFamilyType { + @doc("AddressType-IPv4") + IPv4: "IPv4", + + @doc("AddressType-IPv6") + IPv6: "IPv6", + + string, +} + +@doc("Switch configuration entries require a description to discern between configuration group") +model AnnotationResource { + @doc("Switch configuration description.") + annotation?: string; +} + +@doc("Details of the last operations performed on the resource") +@added(Versions.v2024_06_15_preview) +model LastOperationProperties { + @doc("Details status of the last operation performed on the resource.") + @visibility(Lifecycle.Read) + details?: string; +} + +@doc("Port condition that needs to be matched.") +model PortCondition { + @doc("Port type that needs to be matched.") + portType?: PortType; + + @doc("Layer4 protocol type that needs to be matched.") + layer4Protocol: Layer4Protocol; + + @doc("List of the Ports that need to be matched.") + ports?: string[]; + + @doc("List of the port Group Names that need to be matched.") + portGroupNames?: string[]; +} + +@doc("Port condition that needs to be matched.") +model PortConditionPatch { + @doc("Port type that needs to be matched.") + portType?: PortType; + + @doc("Layer4 protocol type that needs to be matched.") + layer4Protocol?: Layer4Protocol; + + @doc("List of the Ports that need to be matched.") + ports?: string[]; + + @doc("List of the port Group Names that need to be matched.") + portGroupNames?: string[]; +} + +@doc("Defines the common match conditions of the ACL and Network Tap Rule.") +model CommonMatchConditions { + @doc("List of the protocols that need to be matched.") + @minItems(1) + protocolTypes?: string[]; + + @doc("Vlan match condition that needs to be matched.") + vlanMatchCondition?: VlanMatchCondition; + + @doc("IP condition that needs to be matched.") + ipCondition?: IpMatchCondition; +} + +@doc("Defines the common match conditions of the ACL and Network Tap Rule.") +model CommonMatchConditionsPatch { + @doc("List of the protocols that need to be matched.") + @minItems(1) + protocolTypes?: string[]; + + @doc("Vlan match condition that needs to be matched.") + vlanMatchCondition?: VlanMatchConditionPatch; + + @doc("IP condition that needs to be matched.") + ipCondition?: IpMatchConditionPatch; +} + +@doc("The vlan match conditions that need to be matched.") +model VlanMatchCondition { + @doc("List of vlans that need to be matched. Inputs can be single vlan or the range of vlans.") + @minItems(1) + vlans?: string[]; + + @doc("List of inner vlans that need to be matched.Inputs can be single vlan or the range of vlans.") + @minItems(1) + innerVlans?: string[]; + + @doc("List of vlan group names that need to be matched.") + @minItems(1) + vlanGroupNames?: string[]; +} + +@doc("The vlan match conditions that need to be matched.") +model VlanMatchConditionPatch is VlanMatchCondition; + +@doc("Defines the condition that can be filtered using the selected IPs.") +model IpMatchCondition { + @doc("IP Address type that needs to be matched.") + type?: SourceDestinationType; + + @doc("IP Prefix Type that needs to be matched.") + prefixType?: PrefixType; + + @doc("The list of IP Prefixes that need to be matched.") + @minItems(1) + ipPrefixValues?: string[]; + + @doc("The List of IP Group Names that need to be matched.") + @minItems(1) + ipGroupNames?: string[]; +} + +@doc("Defines the condition that can be filtered using the selected IPs.") +model IpMatchConditionPatch is IpMatchCondition; + +@doc("Dynamic match configuration object.") +model CommonDynamicMatchConfiguration { + @Azure.ResourceManager.identifiers(#[]) + @doc("List of IP Groups.") + ipGroups?: IpGroupProperties[]; + + @Azure.ResourceManager.identifiers(#[]) + @doc("List of vlan groups.") + vlanGroups?: VlanGroupProperties[]; + + @Azure.ResourceManager.identifiers(#[]) + @doc("List of the port groups.") + portGroups?: PortGroupProperties[]; +} + +@doc("Dynamic match configuration object.") +model CommonDynamicMatchConfigurationPatch { + @Azure.ResourceManager.identifiers(#[]) + @doc("List of IP Groups.") + ipGroups?: IpGroupPatchProperties[]; + + @Azure.ResourceManager.identifiers(#[]) + @doc("List of vlan groups.") + vlanGroups?: VlanGroupPatchProperties[]; + + @Azure.ResourceManager.identifiers(#[]) + @doc("List of the port groups.") + portGroups?: PortGroupPatchProperties[]; +} + +@doc("IP Group properties.") +model IpGroupProperties { + @doc("IP Group name.") + @minLength(1) + name?: string; + + @doc("IP Address type.") + ipAddressType?: IPAddressType; + + @doc("List of IP Prefixes.") + ipPrefixes?: string[]; +} + +@doc("IP Group properties.") +model IpGroupPatchProperties is IpGroupProperties; + +@doc("Vlan group properties.") +model VlanGroupProperties { + @doc("Vlan group name.") + @minLength(1) + name?: string; + + @doc("List of vlans.") + vlans?: string[]; +} + +@doc("Vlan group properties.") +model VlanGroupPatchProperties is VlanGroupProperties; + +@doc("Port Group properties.") +model PortGroupProperties { + @doc("The name of the port group.") + @minLength(1) + name?: string; + + @doc("List of the ports that need to be matched.") + ports?: string[]; +} + +@doc("Port Group Properties") +model PortGroupPatchProperties is PortGroupProperties; + +@doc("Common fields that are returned in the response for all Azure Resource Manager resources") +model Resource { + @doc("Fully qualified resource ID for the resource. E.g. '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'") + @visibility(Lifecycle.Read) + id?: Azure.Core.armResourceIdentifier; + + @doc("The name of the resource") + @visibility(Lifecycle.Read) + name?: string; + + @doc("The type of the resource. E.g. 'Microsoft.Compute/virtualMachines' or 'Microsoft.Storage/storageAccounts'") + @visibility(Lifecycle.Read) + type?: string; + + @doc("Azure Resource Manager metadata containing createdBy and modifiedBy information.") + @visibility(Lifecycle.Read) + systemData?: SystemData; +} + +@doc("Update administrative state on list of resources.") +model UpdateAdministrativeState { + ...EnableDisableOnResources; + + @doc("Administrative state.") + state?: EnableDisableState; +} + +@doc("Update administrative state on list of resources.") +model EnableDisableOnResources { + @doc("Network Fabrics or Network Rack resource Id.") + resourceIds?: string[]; +} + +@doc("Common response for the state updates.") +model CommonPostActionResponseForStateUpdate { + ...ErrorResponse; + + @doc("Gets the configuration state.") + @visibility(Lifecycle.Read) + configurationState?: ConfigurationState; +} + +@doc("The response of the action validate configuration.") +model ValidateConfigurationResponse { + ...ErrorResponse; + + @doc("Gets the configuration state.") + @visibility(Lifecycle.Read) + configurationState?: ConfigurationState; + + @doc("URL for the details of the response.") + url?: string; +} + +@doc("Common response for device updates.") +model CommonPostActionResponseForDeviceUpdate { + ...ErrorResponse; + + @doc("Gets the configuration state.") + @visibility(Lifecycle.Read) + configurationState?: ConfigurationState; + + @doc("List of ARM Resource IDs for which the given action applied successfully.") + successfulDevices?: string[]; + + @doc("List of ARM Resource IDs for which the given action failed to apply.") + failedDevices?: string[]; +} + +@doc("Update version properties.") +model UpdateVersion { + @doc("Specify the version.") + version?: string; +} + +#suppress "@azure-tools/typespec-azure-core/casing-style" "This is a valid resource name." +@doc("Provide the RO command") +model DeviceRoCommand { + @doc("Specify the command.") + command?: string; +} + +#suppress "@azure-tools/typespec-azure-core/casing-style" "This is a valid resource name." +@doc("The current status of an async operation.") +model CommonPostActionResponseForDeviceROCommandsOperationStatusResult { + ...ErrorResponse; + + @doc("The end time of the operation.") + @visibility(Lifecycle.Read) + endTime?: utcDateTime; + + @doc("Fully qualified ID for the async operation.") + @visibility(Lifecycle.Read) + id?: string; + + @doc("Name of the async operation.") + @visibility(Lifecycle.Read) + name?: string; + + @doc("The additional properties of the operation status result.") + properties?: CommonPostActionResponseForDeviceROCommands; + + @doc("Fully qualified ID of the resource against which the original async operation was started.") + @visibility(Lifecycle.Read) + resourceId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/networkDevices"; + } + ]>; + + @doc("The start time of the operation.") + @visibility(Lifecycle.Read) + startTime?: utcDateTime; + + @doc("Operation status.") + status: string; +} + +#suppress "@azure-tools/typespec-azure-core/casing-style" "This is a valid resource name." +@doc("Common response for device Ro Commands.") +@removed(Versions.v2024_06_15_preview) +@renamedFrom( + Versions.v2024_06_15_preview, + "CommonPostActionResponseForDeviceROCommands" +) +model CommonPostActionResponseForDeviceROCommandsDeprecated { + ...ErrorResponse; + + @doc("Gets the configuration state.") + @visibility(Lifecycle.Read) + configurationState?: ConfigurationState; + + @doc("Predefined link containing Device RO Command output.") + outputUrl?: string; +} + +#suppress "@azure-tools/typespec-azure-core/casing-style" "This is a valid resource name." +@doc("Common response for device Ro Commands.") +model CommonPostActionResponseForDeviceROCommands { + @doc("Gets the configuration state.") + @visibility(Lifecycle.Read) + configurationState?: ConfigurationState; + + @doc("Predefined link containing Device RO Command output.") + outputUrl?: string; + + @doc("Device RO command Response limited to 4000 characters.") + deviceConfigurationPreview?: string; +} + +#suppress "@azure-tools/typespec-azure-core/casing-style" "This is a valid resource name." +@doc("Provide the Rw command") +model DeviceRwCommand { + @doc("Specify the command.") + command?: string; +} + +#suppress "@azure-tools/typespec-azure-core/casing-style" "This is a valid resource name." +@doc("Common response for device Rw Commands.") +model CommonPostActionResponseForDeviceRWCommands { + ...ErrorResponse; + + @doc("Gets the configuration state.") + @visibility(Lifecycle.Read) + configurationState?: ConfigurationState; + + @doc("Predefined link containing Device Rw Command output.") + outputUrl?: string; +} + +@doc("Import Route Policy Configuration.") +model ImportRoutePolicyInformation { + @doc("Import IPv4 Route Policy Id.") + @removed(Versions.v2024_06_15_preview) + @renamedFrom(Versions.v2024_06_15_preview, "importIpv4RoutePolicyId") + importIpv4RoutePolicyIdDeprecated?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/routePolicies"; + } + ]>; + + @doc("Import IPv4 Route Policy Id.") + @added(Versions.v2024_06_15_preview) + importIpv4RoutePolicyId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/routePolicies"; + } + ]>; + + @doc("Import IPv6 Route Policy Id.") + @removed(Versions.v2024_06_15_preview) + @renamedFrom(Versions.v2024_06_15_preview, "importIpv6RoutePolicyId") + importIpv6RoutePolicyIdDeprecated?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/routePolicies"; + } + ]>; + + @doc("Import IPv6 Route Policy Id.") + @added(Versions.v2024_06_15_preview) + importIpv6RoutePolicyId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/routePolicies"; + } + ]>; +} + +@doc("Import Route Policy Configuration.") +model ImportRoutePolicyInformationPatch is ImportRoutePolicyInformation; + +@doc("Export Route Policy Configuration.") +model ExportRoutePolicyInformation { + @doc("Export IPv4 Route Policy Id.") + @removed(Versions.v2024_06_15_preview) + @renamedFrom(Versions.v2024_06_15_preview, "exportIpv4RoutePolicyId") + exportIpv4RoutePolicyIdDeprecated?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/routePolicies"; + } + ]>; + + @doc("Export IPv4 Route Policy Id.") + @added(Versions.v2024_06_15_preview) + exportIpv4RoutePolicyId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/routePolicies"; + } + ]>; + + @doc("Export IPv6 Route Policy Id.") + @removed(Versions.v2024_06_15_preview) + @renamedFrom(Versions.v2024_06_15_preview, "exportIpv6RoutePolicyId") + exportIpv6RoutePolicyIdDeprecated?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/routePolicies"; + } + ]>; + + @doc("Export IPv6 Route Policy Id.") + @added(Versions.v2024_06_15_preview) + exportIpv6RoutePolicyId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/routePolicies"; + } + ]>; +} + +@doc("Export Route Policy Configuration.") +model ExportRoutePolicyInformationPatch is ExportRoutePolicyInformation; + +@doc("ProxyResourceBase with no property bag") +model ProxyResourceBase { + @doc("Fully qualified resource ID for the resource. E.g. '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'") + @visibility(Lifecycle.Read) + id?: Azure.Core.armResourceIdentifier; + + @doc("The type of the resource. E.g. 'Microsoft.Compute/virtualMachines' or 'Microsoft.Storage/storageAccounts'") + @visibility(Lifecycle.Read) + type?: string; + + @doc("Azure Resource Manager metadata containing createdBy and modifiedBy information.") + @visibility(Lifecycle.Read) + systemData?: SystemData; +} + +@doc("Base tracked resource type for PATCH updates.") +model TagsUpdate { + ...ArmTagsProperty; +} + +@doc("Layer 3 primary and secondary IP Address prefixes.") +model Layer3IpPrefixPatchProperties is Layer3IpPrefixProperties; + +@doc("Layer 3 primary and secondary IP Address prefixes.") +model Layer3IpPrefixProperties { + @doc("IPv4 Address Prefix.") + primaryIpv4Prefix?: string; + + @doc("IPv6 Address Prefix.") + @removed(Versions.v2024_06_15_preview) + @renamedFrom(Versions.v2024_06_15_preview, "primaryIpv6Prefix") + primaryIpv6PrefixPreview?: string; + + @doc("IPv6 Address Prefix.") + @added(Versions.v2024_06_15_preview) + primaryIpv6Prefix?: string; + + @doc("Secondary IPv4 Address Prefix.") + secondaryIpv4Prefix?: string; + + @doc("Secondary IPv6 Address Prefix.") + @removed(Versions.v2024_06_15_preview) + @renamedFrom(Versions.v2024_06_15_preview, "secondaryIpv6Prefix") + secondaryIpv6PrefixPreview?: string; + + @doc("Secondary IPv6 Address Prefix.") + @added(Versions.v2024_06_15_preview) + secondaryIpv6Prefix?: string; +} + +@doc("BFD configuration properties") +model BfdConfiguration { + @doc("Administrative state of the BfdConfiguration. Example: Enabled | Disabled.") + @visibility(Lifecycle.Read) + administrativeState?: BfdAdministrativeState = BfdAdministrativeState.Disabled; + + @doc("Interval in milliseconds. Example: 300.") + intervalInMilliSeconds?: int32 = 300; + + @doc("Multiplier for the Bfd Configuration. Example: 5.") + multiplier?: int32 = 5; +} + +@doc("BFD configuration properties") +model BfdPatchConfiguration { + @doc("Administrative state of the BfdConfiguration. Example: Enabled | Disabled.") + @visibility(Lifecycle.Read) + administrativeState?: BfdAdministrativeState; + + @doc("Interval in milliseconds. Example: 300.") + intervalInMilliSeconds?: int32; + + @doc("Multiplier for the Bfd Configuration. Example: 5.") + multiplier?: int32; +} + +@doc("Route Properties.") +model StaticRouteProperties { + @doc("Prefix of the route.") + @minLength(1) + prefix: string; + + @doc("List of next hop addresses.") + @minItems(1) + nextHop: string[]; +} + +@doc("Route Properties.") +model StaticRoutePatchProperties is StaticRouteProperties; + +@doc("Route Target Configuration.") +model RouteTargetInformation { + @doc("Route Targets to be applied for incoming routes into CE.") + importIpv4RouteTargets?: string[]; + + @doc("Route Targets to be applied for incoming routes from CE.") + importIpv6RouteTargets?: string[]; + + @doc("Route Targets to be applied for outgoing routes into CE.") + exportIpv4RouteTargets?: string[]; + + @doc("Route Targets to be applied for outgoing routes from CE.") + exportIpv6RouteTargets?: string[]; +} + +@doc("Route Target Configuration.") +model RouteTargetPatchInformation is RouteTargetInformation; + +@doc("Import Route Policy either IPv4 or IPv6.") +model ImportRoutePolicy { + @doc("ARM resource ID of RoutePolicy.") + @removed(Versions.v2024_06_15_preview) + @renamedFrom(Versions.v2024_06_15_preview, "importIpv4RoutePolicyId") + importIpv4RoutePolicyIdDeprecated?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/routePolicies"; + } + ]>; + + @doc("ARM resource ID of RoutePolicy.") + @added(Versions.v2024_06_15_preview) + importIpv4RoutePolicyId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/routePolicies"; + } + ]>; + + @doc("ARM resource ID of RoutePolicy.") + @removed(Versions.v2024_06_15_preview) + @renamedFrom(Versions.v2024_06_15_preview, "importIpv6RoutePolicyId") + importIpv6RoutePolicyIdDeprecated?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/routePolicies"; + } + ]>; + + @doc("ARM resource ID of RoutePolicy.") + @added(Versions.v2024_06_15_preview) + importIpv6RoutePolicyId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/routePolicies"; + } + ]>; +} + +@doc("Import Route Policy either IPv4 or IPv6.") +model ImportRoutePolicyPatch is ImportRoutePolicy; + +@doc("Export Route Policy either IPv4 or IPv6.") +model ExportRoutePolicy { + @doc("ARM resource ID of RoutePolicy.") + @removed(Versions.v2024_06_15_preview) + @renamedFrom(Versions.v2024_06_15_preview, "exportIpv4RoutePolicyId") + exportIpv4RoutePolicyIdDeprecated?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/routePolicies"; + } + ]>; + + @doc("ARM resource ID of RoutePolicy.") + @added(Versions.v2024_06_15_preview) + exportIpv4RoutePolicyId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/routePolicies"; + } + ]>; + + @doc("ARM resource ID of RoutePolicy.") + @removed(Versions.v2024_06_15_preview) + @renamedFrom(Versions.v2024_06_15_preview, "exportIpv6RoutePolicyId") + exportIpv6RoutePolicyIdDeprecated?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/routePolicies"; + } + ]>; + + @doc("ARM resource ID of RoutePolicy.") + @added(Versions.v2024_06_15_preview) + exportIpv6RoutePolicyId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedNetworkFabric/routePolicies"; + } + ]>; +} + +@doc("Export Route Policy either IPv4 or IPv6.") +model ExportRoutePolicyPatch is ExportRoutePolicy; + +@doc("Static Route Configuration properties.") +model StaticRouteConfiguration { + @doc("BFD configuration properties") + bfdConfiguration?: BfdConfiguration; + + @doc("List of IPv4 Routes.") + @Azure.ResourceManager.identifiers(#["prefix"]) + ipv4Routes?: StaticRouteProperties[]; + + @doc("List of IPv6 Routes.") + @Azure.ResourceManager.identifiers(#["prefix"]) + ipv6Routes?: StaticRouteProperties[]; + + @doc("Extension. Example: NoExtension | NPB.") + extension?: Extension = Extension.NoExtension; +} + +@doc("Static Route Configuration properties.") +model StaticRoutePatchConfiguration { + @doc("BFD configuration properties") + bfdConfiguration?: BfdPatchConfiguration; + + @doc("List of IPv4 Routes.") + @Azure.ResourceManager.identifiers(#["prefix"]) + ipv4Routes?: StaticRoutePatchProperties[]; + + @doc("List of IPv6 Routes.") + @Azure.ResourceManager.identifiers(#["prefix"]) + ipv6Routes?: StaticRoutePatchProperties[]; +} + +@added(Versions.v2024_06_15_preview) +@doc("The managed service identities assigned to this resource.") +model ManagedServiceIdentityPatch + is OptionalProperties>; + +@added(Versions.v2024_06_15_preview) +@doc("IdentitySelector represents the selection of a managed identity for use.") +model IdentitySelector { + @doc("The type of managed identity that is being selected.") + identityType: ManagedServiceIdentitySelectorType; + + @doc("The user assigned managed identity resource ID to use. Mutually exclusive with a system assigned identity type.") + userAssignedIdentityResourceId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedIdentity/userAssignedIdentities"; + } + ]>; +} + +@added(Versions.v2024_06_15_preview) +@doc("IdentitySelector represents the selection of a managed identity for use.") +model IdentitySelectorPatch { + @doc("The type of managed identity that is being selected.") + identityType?: ManagedServiceIdentitySelectorType; + + @doc("The user assigned managed identity resource ID to use. Mutually exclusive with a system assigned identity type.") + userAssignedIdentityResourceId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedIdentity/userAssignedIdentities"; + } + ]>; +} + +@doc("The type of managed identity.") +@added(Versions.v2024_06_15_preview) +union ManagedServiceIdentitySelectorType { + @doc("System Assigned Identity.") + SystemAssignedIdentity: "SystemAssignedIdentity", + + @doc("User Assigned Identity.") + UserAssignedIdentity: "UserAssignedIdentity", + + string, +} + +@doc("Unique Route Distinguisher Configuration State.") +@added(Versions.v2024_06_15_preview) +union UniqueRouteDistinguisherConfigurationState { + @doc("UniqueRouteDistinguisherConfigurationState Enabled") + Enabled: "Enabled", + + @doc("UniqueRouteDistinguisherConfigurationState Disabled") + Disabled: "Disabled", + + string, +} + +@doc("NNI Derived Unique Route Distinguisher Configuration State.") +@added(Versions.v2024_06_15_preview) +union NNIDerivedUniqueRouteDistinguisherConfigurationState { + @doc("NNI derived unique route distinguisher configuration state Enabled") + Enabled: "Enabled", + + @doc("NNI derived unique route distinguisher configuration state Disabled") + Disabled: "Disabled", + + string, +} + +@doc("BGP Monitoring Protocol (BMP) configuration state.") +@added(Versions.v2024_06_15_preview) +union BmpConfigurationState { + @doc("BGP Monitoring Protocol (BMP) ConfigurationState - Enabled") + Enabled: "Enabled", + + @doc("BGP Monitoring Protocol (BMP) ConfigurationState - Disabled") + Disabled: "Disabled", + + string, +} + +@doc("Border Gateway Protocol (BGP) Administrative State values") +@added(Versions.v2024_06_15_preview) +union BgpAdministrativeState { + @doc("BgpAdministrativeState-Enabled") + Enabled: "Enabled", + + @doc("BgpAdministrativeState-Disabled") + Disabled: "Disabled", + + string, +} + +@doc("External Network native IPv4 prefix limit properties") +@added(Versions.v2024_06_15_preview) +model NativeIpv4PrefixLimitProperties { + @doc("Prefix limits") + @Azure.ResourceManager.identifiers(#[]) + @minItems(1) + prefixLimits?: PrefixLimitProperties[]; +} + +@doc("External Network native IPv4 prefix limits patch properties") +@added(Versions.v2024_06_15_preview) +model NativeIpv4PrefixLimitPatchProperties { + @doc("Prefix limits") + @Azure.ResourceManager.identifiers(#[]) + @minItems(1) + prefixLimits?: PrefixLimitPatchProperties[]; +} + +@doc("External Network native IPv6 prefix limit properties") +@added(Versions.v2024_06_15_preview) +model NativeIpv6PrefixLimitProperties { + @doc("Prefix limits") + @Azure.ResourceManager.identifiers(#[]) + @minItems(1) + prefixLimits?: PrefixLimitProperties[]; +} + +@doc("External Network native IPv6 prefix limits patch properties") +@added(Versions.v2024_06_15_preview) +model NativeIpv6PrefixLimitPatchProperties { + @doc("Prefix limits") + @Azure.ResourceManager.identifiers(#[]) + @minItems(1) + prefixLimits?: PrefixLimitPatchProperties[]; +} + +@doc("Prefix Limit properties.") +@added(Versions.v2024_06_15_preview) +model PrefixLimitProperties { + @doc("Maximum routes allowed.") + maximumRoutes?: int32; + + @doc("Limit at which route prefixes a warning is generate.") + threshold?: int32; + + @doc("Idle Time Expiry in seconds, default is 60.") + idleTimeExpiry?: int32 = 60; +} + +@doc("Prefix Limit Patch properties.") +@added(Versions.v2024_06_15_preview) +model PrefixLimitPatchProperties { + @doc("Maximum routes allowed.") + maximumRoutes?: int32; + + @doc("Limit at which route prefixes a warning is generate.") + threshold?: int32; + + @doc("Idle time expiry in seconds.") + idleTimeExpiry?: int32; +} + +@doc("V4 over V6 BGP session state") +@added(Versions.v2024_06_15_preview) +union V4OverV6BgpSessionState { + @doc("V4OverV6BgpSessionState-Enabled") + Enabled: "Enabled", + + @doc("V4OverV6BgpSessionState-Disabled") + Disabled: "Disabled", + + string, +} + +@doc("V6 over V4 BGP session state") +@added(Versions.v2024_06_15_preview) +union V6OverV4BgpSessionState { + @doc("V6OverV4BgpSessionState-Enabled") + Enabled: "Enabled", + + @doc("V6OverV4BgpSessionState-Disabled") + Disabled: "Disabled", + + string, +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/resources/AccessControlList.tsp b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/resources/AccessControlList.tsp new file mode 100644 index 000000000000..ba9397403738 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/resources/AccessControlList.tsp @@ -0,0 +1,76 @@ +import "../models/common.tsp"; +import "../models/AccessControlList.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; + +namespace Microsoft.ManagedNetworkFabric; +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "" +#suppress "@azure-tools/typespec-azure-core/no-private-usage" "Unsupported common type" +@doc("The Access Control List resource definition.") +@Http.Private.includeInapplicableMetadataInPayload(false) +model AccessControlList + extends Azure.ResourceManager.Foundations.TrackedResource { + @doc("Name of the Access Control List.") + @pattern("^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$") + @path + @key("accessControlListName") + @segment("accessControlLists") + @visibility(Lifecycle.Read) + name: string; + + /** The Access ControlList properties */ + properties: AccessControlListProperties; +} + +@armResourceOperations +interface AccessControlLists { + @doc("Implements Access Control List GET method.") + get is ArmResourceRead; + + @doc("Implements Access Control List PUT method.") + create is ArmResourceCreateOrReplaceAsync; + + @doc("API to update certain properties of the Access Control List resource.") + @patch(#{ implicitOptionality: false }) + update is ArmCustomPatchAsync; + + @doc("Implements Access Control List DELETE method.") + delete is ArmResourceDeleteWithoutOkAsync; + + @doc("Implements AccessControlLists list by resource group GET method.") + listByResourceGroup is ArmResourceListByParent; + + @doc("Implements AccessControlLists list by subscription GET method.") + listBySubscription is ArmListBySubscription; + + @doc("Implements the operation to the underlying resources.") + updateAdministrativeState is ArmResourceActionAsync< + AccessControlList, + UpdateAdministrativeState, + CommonPostActionResponseForStateUpdate + >; + + @doc("Implements the operation to the underlying resources.") + resync is ArmResourceActionAsync< + AccessControlList, + void, + CommonPostActionResponseForStateUpdate + >; + + @doc("Implements the operation to the underlying resources.") + validateConfiguration is ArmResourceActionAsync< + AccessControlList, + void, + ValidateConfigurationResponse + >; +} + +@@doc(AccessControlLists.create::parameters.resource, "Request payload."); +@@doc(AccessControlLists.update::parameters.properties, + "Access Control List properties to update." +); +@@doc(AccessControlLists.updateAdministrativeState::parameters.body, + "Request payload." +); diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/resources/ExternalNetwork.tsp b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/resources/ExternalNetwork.tsp new file mode 100644 index 000000000000..47b13d019ec2 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/resources/ExternalNetwork.tsp @@ -0,0 +1,84 @@ +import "../models/common.tsp"; +import "./L3IsolationDomain.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.Versioning; + +namespace Microsoft.ManagedNetworkFabric; +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "" +#suppress "@azure-tools/typespec-azure-core/no-private-usage" "Unsupported common type" +@doc("Defines the External Network resource.") +@parentResource(L3IsolationDomain) +@Http.Private.includeInapplicableMetadataInPayload(false) +@Azure.ResourceManager.Private.armResourceInternal(ExternalNetworkProperties) +model ExternalNetwork extends Azure.ResourceManager.Foundations.ProxyResource { + @doc("Name of the External Network.") + @pattern("^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$") + @path + @key("externalNetworkName") + @segment("externalNetworks") + @visibility(Lifecycle.Read) + name: string; + + /** External Network Properties */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "Need custom inheritance" + properties: ExternalNetworkProperties; +} + +@armResourceOperations +interface ExternalNetworks { + @doc("Implements ExternalNetworks GET method.") + get is ArmResourceRead; + + @doc("Creates ExternalNetwork PUT method.") + create is ArmResourceCreateOrReplaceAsync; + + @doc("API to update certain properties of the ExternalNetworks resource.") + @patch(#{ implicitOptionality: false }) + update is ArmCustomPatchAsync; + + @doc("Implements ExternalNetworks DELETE method.") + delete is ArmResourceDeleteWithoutOkAsync; + + @doc("Implements External Networks list by resource group GET method.") + listByL3IsolationDomain is ArmResourceListByParent; + + @doc("Executes update operation to enable or disable administrative State for externalNetwork.") + updateAdministrativeState is ArmResourceActionAsync< + ExternalNetwork, + UpdateAdministrativeState, + CommonPostActionResponseForStateUpdate + >; + + @doc("Update Static Route BFD for external Network.") + @removed(Versions.v2024_06_15_preview) + updateStaticRouteBfdAdministrativeState is ArmResourceActionAsync< + ExternalNetwork, + UpdateAdministrativeState, + CommonPostActionResponseForStateUpdate + >; + + @doc("BFD administrative state for either static or bgp for internalNetwork.") + @added(Versions.v2024_06_15_preview) + updateBfdAdministrativeState is ArmResourceActionAsync< + ExternalNetwork, + ExternalNetworkBfdAdministrativeStateRequest, + ExternalNetworkBfdAdministrativeStateResponse + >; +} + +@@doc(ExternalNetworks.create::parameters.resource, "Request payload."); +@@doc(ExternalNetworks.update::parameters.properties, + "ExternalNetwork properties to update. Only annotations are supported." +); +@@doc(ExternalNetworks.updateAdministrativeState::parameters.body, + "Request payload." +); +@@doc(ExternalNetworks.updateStaticRouteBfdAdministrativeState::parameters.body, + "Request payload." +); +@@doc(ExternalNetworks.updateBfdAdministrativeState::parameters.body, + "Request payload." +); diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/resources/InternalNetwork.tsp b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/resources/InternalNetwork.tsp new file mode 100644 index 000000000000..0217d85c9be9 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/resources/InternalNetwork.tsp @@ -0,0 +1,112 @@ +import "../models/common.tsp"; +import "./L3IsolationDomain.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Versioning; +using TypeSpec.OpenAPI; +using TypeSpec.Http; + +namespace Microsoft.ManagedNetworkFabric; +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "" +#suppress "@azure-tools/typespec-azure-core/no-private-usage" "Unsupported common type" +@doc("Defines the Internal Network resource.") +@parentResource(L3IsolationDomain) +@Http.Private.includeInapplicableMetadataInPayload(false) +@Azure.ResourceManager.Private.armResourceInternal(InternalNetworkProperties) +model InternalNetwork extends Azure.ResourceManager.Foundations.ProxyResource { + @doc("Name of the Internal Network.") + @pattern("^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$") + @path + @key("internalNetworkName") + @segment("internalNetworks") + @visibility(Lifecycle.Read) + name: string; + + /** The Internal Network Properties */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "Need custom inheritance" + properties: InternalNetworkProperties; +} + +@armResourceOperations +interface InternalNetworks { + @doc("Gets a InternalNetworks.") + get is ArmResourceRead; + + @doc("Creates InternalNetwork PUT method.") + create is ArmResourceCreateOrReplaceAsync; + + @doc("Updates a InternalNetworks.") + @patch(#{ implicitOptionality: false }) + update is ArmCustomPatchAsync; + + @doc("Implements InternalNetworks DELETE method.") + delete is ArmResourceDeleteWithoutOkAsync; + + @doc("Displays InternalNetworks list by resource group GET method.") + listByL3IsolationDomain is ArmResourceListByParent; + + @doc("Update Administrative state of InternalNetworks on resources referred by their resource ids.") + updateAdministrativeState is ArmResourceActionAsync< + InternalNetwork, + UpdateAdministrativeState, + CommonPostActionResponseForStateUpdate + >; + + @doc("Update BGP state for internalNetwork. Allowed only on edge devices.") + @added(Versions.v2024_06_15_preview) + @sharedRoute + @action("updateBgpAdministrativeState") + updateBgpAdministrativeState is ArmResourceActionAsync< + InternalNetwork, + InternalNetworkBgpAdministrativeStateRequest, + InternalNetworkBgpAdministrativeStateResponse + >; + + @doc("Update BGP state for internalNetwork. Allowed only on edge devices.") + @removed(Versions.v2024_06_15_preview) + @renamedFrom(Versions.v2024_06_15_preview, "updateBgpAdministrativeState") + @sharedRoute + @action("updateBgpAdministrativeState") + updateBgpAdministrativeStateDeprecated is ArmResourceActionAsync< + InternalNetwork, + UpdateAdministrativeState, + CommonPostActionResponseForStateUpdate + >; + + @doc("Update Static Route BFD administrative state for internalNetwork.") + @removed(Versions.v2024_06_15_preview) + updateStaticRouteBfdAdministrativeState is ArmResourceActionAsync< + InternalNetwork, + UpdateAdministrativeState, + CommonPostActionResponseForStateUpdate + >; + + @doc("BFD administrative state for either static or bgp for internalNetwork.") + @added(Versions.v2024_06_15_preview) + updateBfdAdministrativeState is ArmResourceActionAsync< + InternalNetwork, + InternalNetworkBfdAdministrativeStateRequest, + InternalNetworkBfdAdministrativeStateResponse + >; +} + +@@doc(InternalNetworks.create::parameters.resource, "Request payload."); +@@doc(InternalNetworks.update::parameters.properties, + "InternalNetwork properties to update. Only annotations are supported." +); +@@doc(InternalNetworks.updateAdministrativeState::parameters.body, + "Request payload." +); +@@doc(InternalNetworks.updateBgpAdministrativeStateDeprecated::parameters.body, + "Request payload." +); +@@doc(InternalNetworks.updateBgpAdministrativeState::parameters.body, + "Request payload." +); +@@doc(InternalNetworks.updateStaticRouteBfdAdministrativeState::parameters.body, + "Request payload." +); +@@doc(InternalNetworks.updateBfdAdministrativeState::parameters.body, + "Request payload." +); diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/resources/InternetGateway.tsp b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/resources/InternetGateway.tsp new file mode 100644 index 000000000000..5f9cf8da8d93 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/resources/InternetGateway.tsp @@ -0,0 +1,53 @@ +import "../models/common.tsp"; +import "../models/InternetGateway.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; + +using TypeSpec.Http; + +namespace Microsoft.ManagedNetworkFabric; +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "" +#suppress "@azure-tools/typespec-azure-core/no-private-usage" "Unsupported common type" +@doc("The Internet Gateway resource definition.") +@Http.Private.includeInapplicableMetadataInPayload(false) +model InternetGateway + extends Azure.ResourceManager.Foundations.TrackedResource { + @doc("Name of the Internet Gateway.") + @pattern("^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$") + @path + @key("internetGatewayName") + @segment("internetGateways") + @visibility(Lifecycle.Read) + name: string; + + /** The Internet Gateway Properties */ + properties: InternetGatewayProperties; +} + +@armResourceOperations +interface InternetGateways { + @doc("Implements Gateway GET method.") + get is ArmResourceRead; + + @doc("Creates a Network Fabric Service Internet Gateway resource instance.") + create is ArmResourceCreateOrReplaceAsync; + + @doc("Execute patch on Network Fabric Service Internet Gateway.") + @patch(#{ implicitOptionality: false }) + update is ArmCustomPatchAsync; + + @doc("Execute a delete on Network Fabric Service Internet Gateway.") + delete is ArmResourceDeleteWithoutOkAsync; + + @doc("Displays Internet Gateways list by resource group GET method.") + listByResourceGroup is ArmResourceListByParent; + + @doc("Displays Internet Gateways list by subscription GET method.") + listBySubscription is ArmListBySubscription; +} + +@@doc(InternetGateways.create::parameters.resource, "Request payload."); +@@doc(InternetGateways.update::parameters.properties, + "API to update certain properties of the InternetGateway resource.." +); diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/resources/InternetGatewayRule.tsp b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/resources/InternetGatewayRule.tsp new file mode 100644 index 000000000000..b8db05fdeebe --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/resources/InternetGatewayRule.tsp @@ -0,0 +1,53 @@ +import "../models/common.tsp"; +import "../models/InternetGatewayRule.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; + +using TypeSpec.Http; + +namespace Microsoft.ManagedNetworkFabric; +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "" +#suppress "@azure-tools/typespec-azure-core/no-private-usage" "Unsupported common type" +@doc("The Internet Gateway Rule resource definition.") +@Http.Private.includeInapplicableMetadataInPayload(false) +model InternetGatewayRule + extends Azure.ResourceManager.Foundations.TrackedResource { + @doc("Name of the Internet Gateway rule.") + @pattern("^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$") + @path + @key("internetGatewayRuleName") + @segment("internetGatewayRules") + @visibility(Lifecycle.Read) + name: string; + + /** The Internet Gateway Rule properties */ + properties: InternetGatewayRuleProperties; +} + +@armResourceOperations +interface InternetGatewayRules { + @doc("Gets an Internet Gateway Rule resource.") + get is ArmResourceRead; + + @doc("Creates an Internet Gateway rule resource.") + create is ArmResourceCreateOrReplaceAsync; + + @doc("API to update certain properties of the Internet Gateway Rule resource.") + @patch(#{ implicitOptionality: false }) + update is ArmCustomPatchAsync; + + @doc("Implements Internet Gateway Rules DELETE method.") + delete is ArmResourceDeleteWithoutOkAsync; + + @doc("Implements Internet Gateway Rules list by resource group GET method.") + listByResourceGroup is ArmResourceListByParent; + + @doc("List all Internet Gateway rules in the given subscription.") + listBySubscription is ArmListBySubscription; +} + +@@doc(InternetGatewayRules.create::parameters.resource, "Request payload."); +@@doc(InternetGatewayRules.update::parameters.properties, + "Internet Gateway Rule properties to update." +); diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/resources/IpCommunity.tsp b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/resources/IpCommunity.tsp new file mode 100644 index 000000000000..488c014a8f5a --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/resources/IpCommunity.tsp @@ -0,0 +1,51 @@ +import "../models/common.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; + +using TypeSpec.Http; + +namespace Microsoft.ManagedNetworkFabric; +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "" +#suppress "@azure-tools/typespec-azure-core/no-private-usage" "Unsupported common type" +@doc("The IP Community resource definition.") +@Http.Private.includeInapplicableMetadataInPayload(false) +model IpCommunity extends Azure.ResourceManager.Foundations.TrackedResource { + @doc("Name of the IP Community.") + @pattern("^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$") + @path + @key("ipCommunityName") + @segment("ipCommunities") + @visibility(Lifecycle.Read) + name: string; + + /** The IP Community Properties */ + properties: IpCommunityProperties; +} + +@armResourceOperations +interface IpCommunities { + @doc("Implements an IP Community GET method.") + get is ArmResourceRead; + + @doc("Implements an IP Community PUT method.") + create is ArmResourceCreateOrReplaceAsync; + + @doc("API to update certain properties of the IP Community resource.") + @patch(#{ implicitOptionality: false }) + update is ArmCustomPatchAsync; + + @doc("Implements IP Community DELETE method.") + delete is ArmResourceDeleteWithoutOkAsync; + + @doc("Implements IP Communities list by resource group GET method.") + listByResourceGroup is ArmResourceListByParent; + + @doc("Implements IP Communities list by subscription GET method.") + listBySubscription is ArmListBySubscription; +} + +@@doc(IpCommunities.create::parameters.resource, "Request payload."); +@@doc(IpCommunities.update::parameters.properties, + "IP Community properties to update." +); diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/resources/IpExtendedCommunity.tsp b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/resources/IpExtendedCommunity.tsp new file mode 100644 index 000000000000..1789ba27f1c1 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/resources/IpExtendedCommunity.tsp @@ -0,0 +1,52 @@ +import "../models/common.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; + +using TypeSpec.Http; + +namespace Microsoft.ManagedNetworkFabric; +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "" +#suppress "@azure-tools/typespec-azure-core/no-private-usage" "Unsupported common type" +@doc("The IP Extended Community resource definition.") +@Http.Private.includeInapplicableMetadataInPayload(false) +model IpExtendedCommunity + extends Azure.ResourceManager.Foundations.TrackedResource { + @doc("Name of the IP Extended Community.") + @pattern("^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$") + @path + @key("ipExtendedCommunityName") + @segment("ipExtendedCommunities") + @visibility(Lifecycle.Read) + name: string; + + /** The IpExtendedCommunity properties */ + properties: IpExtendedCommunityProperties; +} + +@armResourceOperations +interface IpExtendedCommunities { + @doc("Implements IP Extended Community GET method.") + get is ArmResourceRead; + + @doc("Implements IP Extended Community PUT method.") + create is ArmResourceCreateOrReplaceAsync; + + @doc("API to update certain properties of the IP Extended Community resource.") + @patch(#{ implicitOptionality: false }) + update is ArmCustomPatchAsync; + + @doc("Implements IP Extended Community DELETE method.") + delete is ArmResourceDeleteWithoutOkAsync; + + @doc("Implements IpExtendedCommunities list by resource group GET method.") + listByResourceGroup is ArmResourceListByParent; + + @doc("Implements IpExtendedCommunities list by subscription GET method.") + listBySubscription is ArmListBySubscription; +} + +@@doc(IpExtendedCommunities.create::parameters.resource, "Request payload."); +@@doc(IpExtendedCommunities.update::parameters.properties, + "IP Extended Community properties to update." +); diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/resources/IpPrefix.tsp b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/resources/IpPrefix.tsp new file mode 100644 index 000000000000..7bd4f29c7941 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/resources/IpPrefix.tsp @@ -0,0 +1,51 @@ +import "../models/common.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; + +using TypeSpec.Http; + +namespace Microsoft.ManagedNetworkFabric; +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "" +#suppress "@azure-tools/typespec-azure-core/no-private-usage" "Unsupported common type" +@doc("The IP Prefix resource definition.") +@Http.Private.includeInapplicableMetadataInPayload(false) +model IpPrefix extends Azure.ResourceManager.Foundations.TrackedResource { + @doc("Name of the IP Prefix.") + @pattern("^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$") + @path + @key("ipPrefixName") + @segment("ipPrefixes") + @visibility(Lifecycle.Read) + name: string; + + /** The IP Prefix properties */ + properties: IpPrefixProperties; +} + +@armResourceOperations +interface IpPrefixes { + @doc("Implements IP Prefix GET method.") + get is ArmResourceRead; + + @doc("Implements IP Prefix PUT method.") + create is ArmResourceCreateOrReplaceAsync; + + @doc("API to update certain properties of the IP Prefix resource.") + @patch(#{ implicitOptionality: false }) + update is ArmCustomPatchAsync; + + @doc("Implements IP Prefix DELETE method.") + delete is ArmResourceDeleteWithoutOkAsync; + + @doc("Implements IpPrefixes list by resource group GET method.") + listByResourceGroup is ArmResourceListByParent; + + @doc("Implements IpPrefixes list by subscription GET method.") + listBySubscription is ArmListBySubscription; +} + +@@doc(IpPrefixes.create::parameters.resource, "Request payload."); +@@doc(IpPrefixes.update::parameters.properties, + "IP Prefix properties to update." +); diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/resources/L2IsolationDomain.tsp b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/resources/L2IsolationDomain.tsp new file mode 100644 index 000000000000..fdc6cdce2e80 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/resources/L2IsolationDomain.tsp @@ -0,0 +1,78 @@ +import "../models/common.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; + +using TypeSpec.Http; + +namespace Microsoft.ManagedNetworkFabric; +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "" +#suppress "@azure-tools/typespec-azure-core/no-private-usage" "Unsupported common type" +@doc("The L2 Isolation Domain resource definition.") +@Azure.ResourceManager.Private.armResourceInternal(L2IsolationDomainProperties) +@Http.Private.includeInapplicableMetadataInPayload(false) +model L2IsolationDomain + extends Azure.ResourceManager.Foundations.TrackedResource { + @doc("Name of the L2 Isolation Domain.") + @pattern("^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$") + @path + @key("l2IsolationDomainName") + @segment("l2IsolationDomains") + @visibility(Lifecycle.Read) + name: string; + + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "Need custom inheritance" + @doc("The L2IsolationDomain properties") + properties: L2IsolationDomainProperties; +} + +@armResourceOperations +interface L2IsolationDomains { + @doc("Implements L2 Isolation Domain GET method.") + get is ArmResourceRead; + + @doc("Creates layer 2 network connectivity between compute nodes within a rack and across racks.The configuration is applied on the devices only after the isolation domain is enabled.") + create is ArmResourceCreateOrReplaceAsync; + + @doc("API to update certain properties of the L2 Isolation Domain resource.") + @patch(#{ implicitOptionality: false }) + update is ArmCustomPatchAsync; + + @doc("Deletes layer 2 connectivity between compute nodes by managed by named L2 Isolation name.") + delete is ArmResourceDeleteWithoutOkAsync; + + @doc("Displays L2IsolationDomains list by resource group GET method.") + listByResourceGroup is ArmResourceListByParent; + + @doc("Displays L2IsolationDomains list by subscription GET method.") + listBySubscription is ArmListBySubscription; + + @doc("Enables isolation domain across the fabric or on specified racks.") + updateAdministrativeState is ArmResourceActionAsync< + L2IsolationDomain, + UpdateAdministrativeState, + CommonPostActionResponseForDeviceUpdate + >; + + @doc("Validates the configuration of the resources.") + validateConfiguration is ArmResourceActionAsync< + L2IsolationDomain, + void, + ValidateConfigurationResponse + >; + + @doc("Commits the configuration of the given resources.") + commitConfiguration is ArmResourceActionAsync< + L2IsolationDomain, + void, + CommonPostActionResponseForStateUpdate + >; +} + +@@doc(L2IsolationDomains.create::parameters.resource, "Request payload."); +@@doc(L2IsolationDomains.update::parameters.properties, + "API to update certain properties of the L2 Isolation Domain resource.." +); +@@doc(L2IsolationDomains.updateAdministrativeState::parameters.body, + "Request payload." +); diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/resources/L3IsolationDomain.tsp b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/resources/L3IsolationDomain.tsp new file mode 100644 index 000000000000..bcd33786e3ff --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/resources/L3IsolationDomain.tsp @@ -0,0 +1,79 @@ +import "../models/common.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using Azure.ResourceManager.Private; + +using TypeSpec.Http; + +namespace Microsoft.ManagedNetworkFabric; +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "" +#suppress "@azure-tools/typespec-azure-core/no-private-usage" "Unsupported common type" +@doc("The L3 Isolation Domain resource definition.") +@Azure.ResourceManager.Private.armResourceInternal(L3IsolationDomainProperties) +@Http.Private.includeInapplicableMetadataInPayload(false) +model L3IsolationDomain + extends Azure.ResourceManager.Foundations.TrackedResource { + @doc("Name of the L3 Isolation Domain.") + @pattern("^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$") + @path + @key("l3IsolationDomainName") + @segment("l3IsolationDomains") + @visibility(Lifecycle.Read) + name: string; + + /** The L3 Isolation Domain Properties */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "Need custom inheritance" + properties: L3IsolationDomainProperties; +} + +@armResourceOperations +interface L3IsolationDomains { + @doc("Retrieves details of this L3 Isolation Domain.") + get is ArmResourceRead; + + @doc("Create isolation domain resources for layer 3 connectivity between compute nodes and for communication with external services .This configuration is applied on the devices only after the creation of networks is completed and isolation domain is enabled.") + create is ArmResourceCreateOrReplaceAsync; + + @doc("API to update certain properties of the L3 Isolation Domain resource.") + @patch(#{ implicitOptionality: false }) + update is ArmCustomPatchAsync; + + @doc("Deletes layer 3 connectivity between compute nodes by managed by named L3 Isolation name.") + delete is ArmResourceDeleteWithoutOkAsync; + + @doc("Displays L3IsolationDomains list by resource group GET method.") + listByResourceGroup is ArmResourceListByParent; + + @doc("Displays L3IsolationDomains list by subscription GET method.") + listBySubscription is ArmListBySubscription; + + @doc("Enables racks for this Isolation Domain.") + updateAdministrativeState is ArmResourceActionAsync< + L3IsolationDomain, + UpdateAdministrativeState, + CommonPostActionResponseForDeviceUpdate + >; + + @doc("Validates the configuration of the resources.") + validateConfiguration is ArmResourceActionAsync< + L3IsolationDomain, + void, + ValidateConfigurationResponse + >; + + @doc("Commits the configuration of the given resources.") + commitConfiguration is ArmResourceActionAsync< + L3IsolationDomain, + void, + CommonPostActionResponseForStateUpdate + >; +} + +@@doc(L3IsolationDomains.create::parameters.resource, "Request payload."); +@@doc(L3IsolationDomains.update::parameters.properties, + "API to update certain properties of the L3 Isolation Domain resource." +); +@@doc(L3IsolationDomains.updateAdministrativeState::parameters.body, + "Request payload." +); diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/resources/NeighborGroup.tsp b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/resources/NeighborGroup.tsp new file mode 100644 index 000000000000..2d05f73c85d7 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/resources/NeighborGroup.tsp @@ -0,0 +1,51 @@ +import "../models/common.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; + +using TypeSpec.Http; + +namespace Microsoft.ManagedNetworkFabric; +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "" +#suppress "@azure-tools/typespec-azure-core/no-private-usage" "Unsupported common type" +@doc("Defines the Neighbor Group.") +@Http.Private.includeInapplicableMetadataInPayload(false) +model NeighborGroup extends Azure.ResourceManager.Foundations.TrackedResource { + @doc("Name of the Neighbor Group.") + @pattern("^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$") + @path + @key("neighborGroupName") + @segment("neighborGroups") + @visibility(Lifecycle.Read) + name: string; + + /** The NeighborGroup Properties */ + properties: NeighborGroupProperties; +} + +@armResourceOperations +interface NeighborGroups { + @doc("Gets the Neighbor Group.") + get is ArmResourceRead; + + @doc("Implements the Neighbor Group PUT method.") + create is ArmResourceCreateOrReplaceAsync; + + @doc("Updates the Neighbor Group.") + @patch(#{ implicitOptionality: false }) + update is ArmCustomPatchAsync; + + @doc("Implements Neighbor Group DELETE method.") + delete is ArmResourceDeleteWithoutOkAsync; + + @doc("Displays NeighborGroups list by resource group GET method.") + listByResourceGroup is ArmResourceListByParent; + + @doc("Displays NeighborGroups list by subscription GET method.") + listBySubscription is ArmListBySubscription; +} + +@@doc(NeighborGroups.create::parameters.resource, "Request payload."); +@@doc(NeighborGroups.update::parameters.properties, + "Neighbor Group properties to update. Only annotations are supported." +); diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/resources/NetworkDevice.tsp b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/resources/NetworkDevice.tsp new file mode 100644 index 000000000000..1f71fcf371f3 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/resources/NetworkDevice.tsp @@ -0,0 +1,120 @@ +import "../models/common.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.Versioning; +using TypeSpec.OpenAPI; + +namespace Microsoft.ManagedNetworkFabric; +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "" +#suppress "@azure-tools/typespec-azure-core/no-private-usage" "Unsupported common type" +@doc("The Network Device resource definition.") +@Azure.ResourceManager.Private.armResourceInternal(NetworkDeviceProperties) +@Http.Private.includeInapplicableMetadataInPayload(false) +model NetworkDevice extends Azure.ResourceManager.Foundations.TrackedResource { + @doc("Name of the Network Device.") + @pattern("^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$") + @path + @key("networkDeviceName") + @segment("networkDevices") + @visibility(Lifecycle.Read) + name: string; + + /** The NetworkDevice properties */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "Need custom inheritance" + properties: NetworkDeviceProperties; +} + +@armResourceOperations +interface NetworkDevices { + @doc("Gets the Network Device resource details.") + get is ArmResourceRead; + + @doc("Create a Network Device resource") + create is ArmResourceCreateOrReplaceAsync; + + @doc("Update certain properties of the Network Device resource.") + @patch(#{ implicitOptionality: false }) + update is ArmCustomPatchAsync; + + @doc("Delete the Network Device resource.") + delete is ArmResourceDeleteWithoutOkAsync; + + @doc("List all the Network Device resources in a given resource group.") + listByResourceGroup is ArmResourceListByParent; + + @doc("List all the Network Device resources in a given subscription.") + listBySubscription is ArmListBySubscription; + + @doc("Reboot the Network Device.") + reboot is ArmResourceActionAsync< + NetworkDevice, + RebootProperties, + CommonPostActionResponseForStateUpdate + >; + + @doc("Refreshes the configuration the Network Device.") + refreshConfiguration is ArmResourceActionAsync< + NetworkDevice, + void, + CommonPostActionResponseForStateUpdate + >; + + @doc("Updates the Administrative state of the Network Device.") + updateAdministrativeState is ArmResourceActionAsync< + NetworkDevice, + UpdateDeviceAdministrativeState, + CommonPostActionResponseForStateUpdate + >; + + @doc("Upgrades the version of the Network Device.") + upgrade is ArmResourceActionAsync< + NetworkDevice, + UpdateVersion, + CommonPostActionResponseForStateUpdate + >; + + @doc("Run the RO Command on the Network Device.") + @removed(Versions.v2024_06_15_preview) + @renamedFrom(Versions.v2024_06_15_preview, "runRoCommand") + @sharedRoute + @action("runRoCommand") + runRoCommandDeprecated is ArmResourceActionAsync< + NetworkDevice, + DeviceRoCommand, + CommonPostActionResponseForDeviceROCommandsDeprecated + >; + + @doc("Run the RO Command on the Network Device.") + @added(Versions.v2024_06_15_preview) + @sharedRoute + @action("runRoCommand") + runRoCommand is ArmResourceActionAsync< + NetworkDevice, + DeviceRoCommand, + CommonPostActionResponseForDeviceROCommandsOperationStatusResult + >; + + @doc("Run the RW Command on the Network Device.") + runRwCommand is ArmResourceActionAsync< + NetworkDevice, + DeviceRwCommand, + CommonPostActionResponseForDeviceRWCommands + >; +} + +@@doc(NetworkDevices.create::parameters.resource, "Request payload."); +@@doc(NetworkDevices.update::parameters.properties, + "Network Device properties to update." +); +@@doc(NetworkDevices.reboot::parameters.body, "Request payload."); +@@doc(NetworkDevices.updateAdministrativeState::parameters.body, + "Request payload." +); +@@doc(NetworkDevices.upgrade::parameters.body, "Request payload."); +@@doc(NetworkDevices.runRoCommand::parameters.body, "Request the command."); +@@doc(NetworkDevices.runRoCommandDeprecated::parameters.body, + "Request the command." +); +@@doc(NetworkDevices.runRwCommand::parameters.body, "Request the command."); diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/resources/NetworkDeviceSku.tsp b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/resources/NetworkDeviceSku.tsp new file mode 100644 index 000000000000..4b7a42390bfb --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/resources/NetworkDeviceSku.tsp @@ -0,0 +1,35 @@ +import "../models/common.tsp"; +import "../models/NetworkDeviceSku.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; + +using TypeSpec.Http; + +namespace Microsoft.ManagedNetworkFabric; +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "" +#suppress "@azure-tools/typespec-azure-core/no-private-usage" "Unsupported common type" +@doc("The NetworkDeviceSku resource definition.") +@subscriptionResource +@Http.Private.includeInapplicableMetadataInPayload(false) +model NetworkDeviceSku extends Azure.ResourceManager.Foundations.ProxyResource { + @doc("Name of the Network Device SKU.") + @pattern("^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$") + @path + @key("networkDeviceSkuName") + @segment("networkDeviceSkus") + @visibility(Lifecycle.Read) + name: string; + + /** The NetworkDeviceSku properties */ + properties: NetworkDeviceSkuProperties; +} + +@armResourceOperations +interface NetworkDeviceSkus { + @doc("Get a Network Device SKU details.") + get is ArmResourceRead; + + @doc("List Network Device SKUs for the given subscription.") + listBySubscription is ArmResourceListByParent; +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/resources/NetworkFabric.tsp b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/resources/NetworkFabric.tsp new file mode 100644 index 000000000000..963966572598 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/resources/NetworkFabric.tsp @@ -0,0 +1,177 @@ +import "../models/common.tsp"; +import "../models/NetworkFabric.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.Versioning; + +namespace Microsoft.ManagedNetworkFabric; +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "" +#suppress "@azure-tools/typespec-azure-core/no-private-usage" "Unsupported common type" +@doc("The Network Fabric resource definition.") +@Azure.ResourceManager.Private.armResourceInternal(NetworkFabricProperties) +@Http.Private.includeInapplicableMetadataInPayload(false) +model NetworkFabric extends Azure.ResourceManager.Foundations.TrackedResource { + @doc("Name of the Network Fabric.") + @pattern("^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$") + @path + @key("networkFabricName") + @segment("networkFabrics") + @visibility(Lifecycle.Read) + name: string; + + /** The NetworkFabric Properties */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "Need custom inheritance" + properties: NetworkFabricProperties; + + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "Need custom inheritance" + @added(Versions.v2024_06_15_preview) + @doc("The managed service identities assigned to this resource.") + identity?: Azure.ResourceManager.Foundations.ManagedServiceIdentity; +} + +@armResourceOperations +interface NetworkFabrics { + @doc("Get Network Fabric resource details.") + get is ArmResourceRead; + + @doc("Create Network Fabric resource.") + create is ArmResourceCreateOrReplaceAsync; + + @doc("Update certain properties of the Network Fabric resource.") + @patch(#{ implicitOptionality: false }) + update is ArmCustomPatchAsync; + + @doc("Delete Network Fabric resource.") + delete is ArmResourceDeleteWithoutOkAsync; + + @doc("List all the Network Fabric resources in the given resource group.") + listByResourceGroup is ArmResourceListByParent; + + @doc("List all the Network Fabric resources in the given subscription.") + listBySubscription is ArmListBySubscription; + + @doc("Provisions the underlying resources in the given Network Fabric instance.") + provision is ArmResourceActionAsync< + NetworkFabric, + void, + CommonPostActionResponseForDeviceUpdate + >; + + @doc("Deprovisions the underlying resources in the given Network Fabric instance.") + deprovision is ArmResourceActionAsync< + NetworkFabric, + void, + CommonPostActionResponseForDeviceUpdate + >; + + @doc("Upgrades the version of the underlying resources in the given Network Fabric instance.") + upgrade is ArmResourceActionAsync< + NetworkFabric, + UpgradeNetworkFabricProperties, + CommonPostActionResponseForStateUpdate + >; + + @doc("Refreshes the configuration of the underlying resources in the given Network Fabric instance.") + refreshConfiguration is ArmResourceActionAsync< + NetworkFabric, + void, + CommonPostActionResponseForStateUpdate + >; + + @doc("Updates the Workload Management BFD Configuration of the underlying resources in the given Network Fabric instance.") + updateWorkloadManagementBfdConfiguration is ArmResourceActionAsync< + NetworkFabric, + UpdateAdministrativeState, + CommonPostActionResponseForStateUpdate + >; + + @doc("Updates the Infra Management BFD Configuration of the underlying resources in the given Network Fabric instance.") + updateInfraManagementBfdConfiguration is ArmResourceActionAsync< + NetworkFabric, + UpdateAdministrativeState, + CommonPostActionResponseForStateUpdate + >; + + @doc("Validates the configuration of the underlying resources in the given Network Fabric instance.") + validateConfiguration is ArmResourceActionAsync< + NetworkFabric, + ValidateConfigurationProperties, + ValidateConfigurationResponse + >; + + @doc("Gets Topology of the underlying resources in the given Network Fabric instance.") + getTopology is ArmResourceActionAsync< + NetworkFabric, + void, + ValidateConfigurationResponse + >; + + @doc("Atomic update of the given Network Fabric instance. Sync update of NFA resources at Fabric level.") + commitConfiguration is ArmResourceActionAsync< + NetworkFabric, + void, + CommonPostActionResponseForStateUpdate + >; + + @doc("Post action: Returns a status of commit batch operation.") + @added(Versions.v2024_06_15_preview) + commitBatchStatus is ArmResourceActionAsync< + NetworkFabric, + CommitBatchStatusRequest, + CommitBatchStatusResponse + >; + + @doc("Post action: Discards a Batch operation in progress.") + @added(Versions.v2024_06_15_preview) + discardCommitBatch is ArmResourceActionAsync< + NetworkFabric, + DiscardCommitBatchRequest, + DiscardCommitBatchResponse + >; + + @doc("Post action: Triggers network fabric lock operation.") + @added(Versions.v2024_06_15_preview) + lockFabric is ArmResourceActionAsync< + NetworkFabric, + NetworkFabricLockRequest, + CommonPostActionResponseForStateUpdate + >; + + @doc("Post action: Triggers view of network fabric configuration.") + @added(Versions.v2024_06_15_preview) + viewDeviceConfiguration is ArmResourceActionAsync< + NetworkFabric, + void, + ViewDeviceConfigurationResponse + >; + + @doc("Post action: Triggers diff of NetworkFabric ARM Configuration.") + @added(Versions.v2024_06_15_preview) + armConfigurationDiff is ArmResourceActionAsync< + NetworkFabric, + void, + ArmConfigurationDiffResponse + >; +} + +@@doc(NetworkFabrics.create::parameters.resource, "Request payload."); +@@doc(NetworkFabrics.update::parameters.properties, + "Network Fabric properties to update." +); +@@doc(NetworkFabrics.upgrade::parameters.body, + "Network Fabric properties to update." +); +@@doc(NetworkFabrics.updateWorkloadManagementBfdConfiguration::parameters.body, + "Request payload." +); +@@doc(NetworkFabrics.updateInfraManagementBfdConfiguration::parameters.body, + "Request payload." +); +@@doc(NetworkFabrics.validateConfiguration::parameters.body, + "Validate configuration properties." +); +@@doc(NetworkFabrics.commitBatchStatus::parameters.body, "Request payload."); +@@doc(NetworkFabrics.lockFabric::parameters.body, "Request payload."); +@@doc(NetworkFabrics.discardCommitBatch::parameters.body, "Request payload."); diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/resources/NetworkFabricController.tsp b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/resources/NetworkFabricController.tsp new file mode 100644 index 000000000000..79a460ca0b0f --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/resources/NetworkFabricController.tsp @@ -0,0 +1,56 @@ +import "../models/common.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; + +using TypeSpec.Http; +using TypeSpec.Versioning; + +namespace Microsoft.ManagedNetworkFabric; +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "" +#suppress "@azure-tools/typespec-azure-core/no-private-usage" "Unsupported common type" +@doc("The Network Fabric Controller resource definition.") +@Http.Private.includeInapplicableMetadataInPayload(false) +model NetworkFabricController + extends Azure.ResourceManager.Foundations.TrackedResource { + @doc("Name of the Network Fabric Controller.") + @pattern("^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$") + @path + @key("networkFabricControllerName") + @segment("networkFabricControllers") + @visibility(Lifecycle.Read) + name: string; + + @doc("The NetworkFabricController Properties") + properties: NetworkFabricControllerProperties; +} + +@armResourceOperations +interface NetworkFabricControllers { + @doc("Shows the provisioning status of Network Fabric Controller.") + get is ArmResourceRead; + + @doc("Creates a Network Fabric Controller.") + create is ArmResourceCreateOrReplaceAsync; + + @doc("Updates are currently not supported for the Network Fabric Controller resource.") + @patch(#{ implicitOptionality: false }) + update is ArmCustomPatchAsync< + NetworkFabricController, + NetworkFabricControllerPatch + >; + + @doc("Deletes the Network Fabric Controller resource.") + delete is ArmResourceDeleteWithoutOkAsync; + + @doc("Lists all the NetworkFabricControllers thats available in the resource group.") + listByResourceGroup is ArmResourceListByParent; + + @doc("Lists all the NetworkFabricControllers by subscription.") + listBySubscription is ArmListBySubscription; +} + +@@doc(NetworkFabricControllers.create::parameters.resource, "Request payload."); +@@doc(NetworkFabricControllers.update::parameters.properties, + "Network Fabric Controller properties to update." +); diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/resources/NetworkFabricSku.tsp b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/resources/NetworkFabricSku.tsp new file mode 100644 index 000000000000..47bf975ba1db --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/resources/NetworkFabricSku.tsp @@ -0,0 +1,34 @@ +import "../models/common.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; + +using TypeSpec.Http; + +namespace Microsoft.ManagedNetworkFabric; +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "" +#suppress "@azure-tools/typespec-azure-core/no-private-usage" "Unsupported common type" +@doc("The Network Fabric SKU resource definition.") +@subscriptionResource +@Http.Private.includeInapplicableMetadataInPayload(false) +model NetworkFabricSku extends Azure.ResourceManager.Foundations.ProxyResource { + @doc("Name of the Network Fabric SKU.") + @pattern("^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$") + @path + @key("networkFabricSkuName") + @segment("networkFabricSkus") + @visibility(Lifecycle.Read) + name: string; + + /** The Network Fabric Sku properties */ + properties: NetworkFabricSkuProperties; +} + +@armResourceOperations +interface NetworkFabricSkus { + @doc("Implements Network Fabric SKU GET method.") + get is ArmResourceRead; + + @doc("Implements Network Fabric SKUs list by subscription GET method.") + listBySubscription is ArmResourceListByParent; +} diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/resources/NetworkInterface.tsp b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/resources/NetworkInterface.tsp new file mode 100644 index 000000000000..6372c922c837 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/resources/NetworkInterface.tsp @@ -0,0 +1,62 @@ +import "../models/common.tsp"; +import "./NetworkDevice.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; + +using TypeSpec.Http; + +namespace Microsoft.ManagedNetworkFabric; +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "" +#suppress "@azure-tools/typespec-azure-core/no-private-usage" "Unsupported common type" +@doc("Defines the NetworkInterface resource.") +@parentResource(NetworkDevice) +@Azure.ResourceManager.Private.armResourceInternal(NetworkInterfaceProperties) +@Http.Private.includeInapplicableMetadataInPayload(false) +model NetworkInterface extends Azure.ResourceManager.Foundations.ProxyResource { + @doc("Name of the Network Interface.") + @pattern("^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$") + @path + @key("networkInterfaceName") + @segment("networkInterfaces") + @visibility(Lifecycle.Read) + name: string; + + /** The NetworkInterface properties */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "Need custom inheritance" + properties: NetworkInterfaceProperties; +} + +@armResourceOperations +interface NetworkInterfaces { + @doc("Get the Network Interface resource details.") + get is ArmResourceRead; + + @doc("Create a Network Interface resource.") + create is ArmResourceCreateOrReplaceAsync; + + @doc("Update certain properties of the Network Interface resource.") + @patch(#{ implicitOptionality: false }) + update is ArmCustomPatchAsync; + + @doc("Delete the Network Interface resource.") + delete is ArmResourceDeleteWithoutOkAsync; + + @doc("List all the Network Interface resources in a given resource group.") + listByNetworkDevice is ArmResourceListByParent; + + @doc("Update the admin state of the Network Interface.") + updateAdministrativeState is ArmResourceActionAsync< + NetworkInterface, + UpdateAdministrativeState, + CommonPostActionResponseForStateUpdate + >; +} + +@@doc(NetworkInterfaces.create::parameters.resource, "Request payload."); +@@doc(NetworkInterfaces.update::parameters.properties, + "NetworkInterface properties to update. Only tags are supported." +); +@@doc(NetworkInterfaces.updateAdministrativeState::parameters.body, + "Request payload." +); diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/resources/NetworkMonitor.tsp b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/resources/NetworkMonitor.tsp new file mode 100644 index 000000000000..2fdffe644761 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/resources/NetworkMonitor.tsp @@ -0,0 +1,62 @@ +import "../models/common.tsp"; +import "../models/NetworkMonitor.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.Versioning; + +namespace Microsoft.ManagedNetworkFabric; +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "" +#suppress "@azure-tools/typespec-azure-core/no-private-usage" "Unsupported common type" +@doc("The NetworkMonitor resource definition.") +@added(Versions.v2024_06_15_preview) +@Azure.ResourceManager.Private.armResourceInternal(NetworkMonitorProperties) +@Http.Private.includeInapplicableMetadataInPayload(false) +model NetworkMonitor extends Azure.ResourceManager.Foundations.TrackedResource { + @doc("Name of the Network Monitor.") + @pattern("^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$") + @path + @key("networkMonitorName") + @segment("networkMonitors") + @visibility(Lifecycle.Read) + name: string; + + /** The NetworkFabric Properties */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "Need custom inheritance" + properties: NetworkMonitorProperties; +} + +@armResourceOperations +@added(Versions.v2024_06_15_preview) +interface NetworkMonitors { + @doc("Implements NetworkMonitor GET method.") + get is ArmResourceRead; + + @doc("Creates NetworkMonitor resource.") + create is ArmResourceCreateOrReplaceAsync; + + @doc("API to update certain properties of the NetworkMonitor resource.") + @patch(#{ implicitOptionality: false }) + update is ArmCustomPatchAsync; + + @doc("Deletes layer 2 connectivity between compute nodes by managed by named NetworkMonitor name.") + delete is ArmResourceDeleteWithoutOkAsync; + + @doc("Displays NetworkMonitors list by resource group GET method.") + listByResourceGroup is ArmResourceListByParent; + + @doc("Displays NetworkMonitors list by subscription GET method.") + listBySubscription is ArmListBySubscription; + + @doc("Enables isolation domain across the fabric or on specified racks.") + updateAdministrativeState is ArmResourceActionAsync< + NetworkMonitor, + UpdateAdministrativeState, + CommonPostActionResponseForDeviceUpdate + >; +} + +@@doc(NetworkMonitors.updateAdministrativeState::parameters.body, + "Request payload." +); diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/resources/NetworkPacketBroker.tsp b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/resources/NetworkPacketBroker.tsp new file mode 100644 index 000000000000..bfeae67d12d8 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/resources/NetworkPacketBroker.tsp @@ -0,0 +1,52 @@ +import "../models/common.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; + +using TypeSpec.Http; + +namespace Microsoft.ManagedNetworkFabric; +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "" +#suppress "@azure-tools/typespec-azure-core/no-private-usage" "Unsupported common type" +@doc("The NetworkPacketBroker resource definition.") +@Http.Private.includeInapplicableMetadataInPayload(false) +model NetworkPacketBroker + extends Azure.ResourceManager.Foundations.TrackedResource { + @doc("Name of the Network Packet Broker.") + @pattern("^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$") + @path + @key("networkPacketBrokerName") + @segment("networkPacketBrokers") + @visibility(Lifecycle.Read) + name: string; + + /** The NetworkPacketBroker properties */ + properties: NetworkPacketBrokerProperties; +} + +@armResourceOperations +interface NetworkPacketBrokers { + @doc("Retrieves details of this Network Packet Broker.") + get is ArmResourceRead; + + @doc("Creates a Network Packet Broker.") + create is ArmResourceCreateOrReplaceAsync; + + @doc("API to update certain properties of the Network Packet Broker resource.") + @patch(#{ implicitOptionality: false }) + update is ArmCustomPatchAsync; + + @doc("Deletes Network Packet Broker.") + delete is ArmResourceDeleteWithoutOkAsync; + + @doc("Displays NetworkPacketBrokers list by resource group GET method.") + listByResourceGroup is ArmResourceListByParent; + + @doc("Displays Network Packet Brokers list by subscription GET method.") + listBySubscription is ArmListBySubscription; +} + +@@doc(NetworkPacketBrokers.create::parameters.resource, "Request payload."); +@@doc(NetworkPacketBrokers.update::parameters.properties, + "Network Packet Broker properties to update." +); diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/resources/NetworkRack.tsp b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/resources/NetworkRack.tsp new file mode 100644 index 000000000000..050edc36d7c6 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/resources/NetworkRack.tsp @@ -0,0 +1,51 @@ +import "../models/common.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; + +using TypeSpec.Http; + +namespace Microsoft.ManagedNetworkFabric; +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "" +#suppress "@azure-tools/typespec-azure-core/no-private-usage" "Unsupported common type" +@doc("The Network Rack resource definition.") +@Http.Private.includeInapplicableMetadataInPayload(false) +model NetworkRack extends Azure.ResourceManager.Foundations.TrackedResource { + @doc("Name of the Network Rack.") + @pattern("^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$") + @path + @key("networkRackName") + @segment("networkRacks") + @visibility(Lifecycle.Read) + name: string; + + /** The NetworkRack properties */ + properties: NetworkRackProperties; +} + +@armResourceOperations +interface NetworkRacks { + @doc("Get Network Rack resource details.") + get is ArmResourceRead; + + @doc("Create Network Rack resource.") + create is ArmResourceCreateOrReplaceAsync; + + @doc("Update certain properties of the Network Rack resource.") + @patch(#{ implicitOptionality: false }) + update is ArmCustomPatchAsync; + + @doc("Delete Network Rack resource.") + delete is ArmResourceDeleteWithoutOkAsync; + + @doc("List all Network Rack resources in the given resource group.") + listByResourceGroup is ArmResourceListByParent; + + @doc("List all Network Rack resources in the given subscription") + listBySubscription is ArmListBySubscription; +} + +@@doc(NetworkRacks.create::parameters.resource, "Request payload."); +@@doc(NetworkRacks.update::parameters.properties, + "Network Rack properties to update." +); diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/resources/NetworkTap.tsp b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/resources/NetworkTap.tsp new file mode 100644 index 000000000000..982cfc8accc8 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/resources/NetworkTap.tsp @@ -0,0 +1,68 @@ +import "../models/common.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; + +using TypeSpec.Http; + +namespace Microsoft.ManagedNetworkFabric; +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "" +#suppress "@azure-tools/typespec-azure-core/no-private-usage" "Unsupported common type" +@doc("The Network Tap resource definition.") +@Http.Private.includeInapplicableMetadataInPayload(false) +model NetworkTap extends Azure.ResourceManager.Foundations.TrackedResource { + @doc("Name of the Network Tap.") + @pattern("^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$") + @path + @key("networkTapName") + @segment("networkTaps") + @visibility(Lifecycle.Read) + name: string; + + /** The NetworkTap Properties */ + properties: NetworkTapProperties; +} + +@armResourceOperations +interface NetworkTaps { + @doc("Retrieves details of this Network Tap.") + get is ArmResourceRead; + + @doc("Creates a Network Tap.") + create is ArmResourceCreateOrReplaceAsync; + + @doc("API to update certain properties of the Network Tap resource.") + @patch(#{ implicitOptionality: false }) + update is ArmCustomPatchAsync; + + @doc("Deletes Network Tap.") + delete is ArmResourceDeleteWithoutOkAsync; + + @doc("Displays Network Taps list by resource group GET method.") + listByResourceGroup is ArmResourceListByParent; + + @doc("Displays Network Taps list by subscription GET method.") + listBySubscription is ArmListBySubscription; + + @doc("Implements the operation to the underlying resources.") + updateAdministrativeState is ArmResourceActionAsync< + NetworkTap, + UpdateAdministrativeState, + CommonPostActionResponseForDeviceUpdate + >; + + @doc("Implements the operation to the underlying resources.") + resync is ArmResourceActionAsync< + NetworkTap, + void, + CommonPostActionResponseForStateUpdate + >; +} + +@@doc(NetworkTaps.create::parameters.resource, "Request payload."); +@@doc(NetworkTaps.update::parameters.properties, + "Network Tap properties to update." +); +@@doc(NetworkTaps.updateAdministrativeState::parameters.body, + "Request payload." +); diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/resources/NetworkTapRule.tsp b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/resources/NetworkTapRule.tsp new file mode 100644 index 000000000000..c28d822f31dd --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/resources/NetworkTapRule.tsp @@ -0,0 +1,75 @@ +import "../models/common.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; + +using TypeSpec.Http; + +namespace Microsoft.ManagedNetworkFabric; +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "" +#suppress "@azure-tools/typespec-azure-core/no-private-usage" "Unsupported common type" +@doc("The NetworkTapRule resource definition.") +@Http.Private.includeInapplicableMetadataInPayload(false) +model NetworkTapRule extends Azure.ResourceManager.Foundations.TrackedResource { + @doc("Name of the Network Tap Rule.") + @pattern("^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$") + @path + @key("networkTapRuleName") + @segment("networkTapRules") + @visibility(Lifecycle.Read) + name: string; + + /** The NetworkTapRule Properties */ + properties: NetworkTapRuleProperties; +} + +@armResourceOperations +interface NetworkTapRules { + @doc("Get Network Tap Rule resource details.") + get is ArmResourceRead; + + @doc("Create Network Tap Rule resource.") + create is ArmResourceCreateOrReplaceAsync; + + @doc("Update certain properties of the Network Tap Rule resource.") + @patch(#{ implicitOptionality: false }) + update is ArmCustomPatchAsync; + + @doc("Delete Network Tap Rule resource.") + delete is ArmResourceDeleteWithoutOkAsync; + + @doc("List all the Network Tap Rule resources in the given resource group.") + listByResourceGroup is ArmResourceListByParent; + + @doc("List all the Network Tap Rule resources in the given subscription.") + listBySubscription is ArmListBySubscription; + + @doc("Implements the operation to the underlying resources.") + updateAdministrativeState is ArmResourceActionAsync< + NetworkTapRule, + UpdateAdministrativeState, + CommonPostActionResponseForStateUpdate + >; + + @doc("Implements the operation to the underlying resources.") + resync is ArmResourceActionAsync< + NetworkTapRule, + void, + CommonPostActionResponseForStateUpdate + >; + + @doc("Implements the operation to the underlying resources.") + validateConfiguration is ArmResourceActionAsync< + NetworkTapRule, + void, + ValidateConfigurationResponse + >; +} + +@@doc(NetworkTapRules.create::parameters.resource, "Request payload."); +@@doc(NetworkTapRules.update::parameters.properties, + "Network Tap Rule properties to update." +); +@@doc(NetworkTapRules.updateAdministrativeState::parameters.body, + "Request payload." +); diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/resources/NetworkToNetworkInterconnect.tsp b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/resources/NetworkToNetworkInterconnect.tsp new file mode 100644 index 000000000000..fa29a44e7b1d --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/resources/NetworkToNetworkInterconnect.tsp @@ -0,0 +1,92 @@ +import "./NetworkFabric.tsp"; +import "../models/common.tsp"; +import "../models/NetworkToNetworkInterconnect.tsp"; + +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.Versioning; +using TypeSpec.Rest; + +namespace Microsoft.ManagedNetworkFabric; + +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "" +#suppress "@azure-tools/typespec-azure-core/no-private-usage" "Unsupported common type" +@doc("The Network To Network Interconnect resource definition.") +@Azure.ResourceManager.Private.armResourceInternal(L2IsolationDomainProperties) +@parentResource(NetworkFabric) +@Http.Private.includeInapplicableMetadataInPayload(false) +model NetworkToNetworkInterconnect + extends Azure.ResourceManager.Foundations.ProxyResource { + @doc("Name of the Network to Network Interconnect.") + @pattern("^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$") + @path + @key("networkToNetworkInterconnectName") + @segment("networkToNetworkInterconnects") + @visibility(Lifecycle.Read) + name: string; + + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "Need custom inheritance" + @doc("The NetworkToNetworkInterconnect Properties") + properties: NetworkToNetworkInterconnectProperties; +} + +@armResourceOperations +interface NetworkToNetworkInterconnects { + @doc("Implements NetworkToNetworkInterconnects GET method.") + get is ArmResourceRead; + + @doc("Configuration used to setup CE-PE connectivity PUT Method.") + create is ArmResourceCreateOrReplaceAsync; + + @doc("Update certain properties of the Network To NetworkInterconnects resource.") + @patch(#{ implicitOptionality: false }) + update is ArmCustomPatchAsync< + NetworkToNetworkInterconnect, + NetworkToNetworkInterconnectPatch + >; + + @doc("Implements NetworkToNetworkInterconnects DELETE method.") + delete is ArmResourceDeleteWithoutOkAsync; + + @doc("Implements Network To Network Interconnects list by Network Fabric GET method.") + listByNetworkFabric is ArmResourceListByParent; + + @doc("Updates the NPB Static Route BFD Administrative State.") + @removed(Versions.v2024_06_15_preview) + updateNpbStaticRouteBfdAdministrativeState is ArmResourceActionAsync< + NetworkToNetworkInterconnect, + UpdateAdministrativeState, + CommonPostActionResponseForStateUpdate + >; + + @doc("Updates the Admin State.") + updateAdministrativeState is ArmResourceActionAsync< + NetworkToNetworkInterconnect, + UpdateAdministrativeState, + CommonPostActionResponseForStateUpdate + >; + + @doc("Updates the Admin State.") + @added(Versions.v2024_06_15_preview) + updateBfdAdministrativeState is ArmResourceActionAsync< + NetworkToNetworkInterconnect, + NniBfdAdministrativeStateRequest, + NniBfdAdministrativeStateResponse + >; +} + +@@doc(NetworkToNetworkInterconnects.create::parameters.resource, + "Request payload." +); +@@doc(NetworkToNetworkInterconnects.update::parameters.properties, + "Network to Network Interconnect properties to update." +); +@@doc(NetworkToNetworkInterconnects.updateNpbStaticRouteBfdAdministrativeState::parameters.body, + "Request payload." +); +@@doc(NetworkToNetworkInterconnects.updateAdministrativeState::parameters.body, + "Request payload." +); +@@doc(NetworkToNetworkInterconnects.updateBfdAdministrativeState::parameters.body, + "Request payload." +); diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/resources/RoutePolicy.tsp b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/resources/RoutePolicy.tsp new file mode 100644 index 000000000000..7e0f78b6af47 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/resources/RoutePolicy.tsp @@ -0,0 +1,76 @@ +import "../models/common.tsp"; +import "../models/RoutePolicy.tsp"; + +using TypeSpec.Http; +using TypeSpec.OpenAPI; +using TypeSpec.Rest; +using Azure.ResourceManager; + +namespace Microsoft.ManagedNetworkFabric; +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "" +#suppress "@azure-tools/typespec-azure-core/no-private-usage" "Unsupported common type" +@doc("The RoutePolicy resource definition.") +@Http.Private.includeInapplicableMetadataInPayload(false) +model RoutePolicy extends Azure.ResourceManager.Foundations.TrackedResource { + @doc("Name of the Route Policy.") + @pattern("^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$") + @path + @key("routePolicyName") + @segment("routePolicies") + @visibility(Lifecycle.Read) + name: string; + + /** The RoutePolicy properties */ + properties: RoutePolicyProperties; +} + +@armResourceOperations +interface RoutePolicies { + @doc("Implements Route Policy GET method.") + get is ArmResourceRead; + + @doc("Implements Route Policy PUT method.") + create is ArmResourceCreateOrReplaceAsync; + + @doc("API to update certain properties of the Route Policy resource.") + @patch(#{ implicitOptionality: false }) + update is ArmCustomPatchAsync; + + @doc("Implements Route Policy DELETE method.") + delete is ArmResourceDeleteWithoutOkAsync; + + @doc("Implements RoutePolicies list by resource group GET method.") + listByResourceGroup is ArmResourceListByParent; + + @doc("Implements RoutePolicies list by subscription GET method.") + listBySubscription is ArmListBySubscription; + + @doc("Updated the admin state for this Route Policy.") + updateAdministrativeState is ArmResourceActionAsync< + RoutePolicy, + UpdateAdministrativeState, + CommonPostActionResponseForDeviceUpdate + >; + + @doc("Validates the configuration of the resources.") + validateConfiguration is ArmResourceActionAsync< + RoutePolicy, + void, + ValidateConfigurationResponse + >; + + @doc("Commits the configuration of the given resources.") + commitConfiguration is ArmResourceActionAsync< + RoutePolicy, + void, + CommonPostActionResponseForStateUpdate + >; +} + +@@doc(RoutePolicies.create::parameters.resource, "Request payload."); +@@doc(RoutePolicies.update::parameters.properties, + "Route Policy properties to update." +); +@@doc(RoutePolicies.updateAdministrativeState::parameters.body, + "Request payload." +); diff --git a/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/tspconfig.yaml b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/tspconfig.yaml new file mode 100644 index 000000000000..d1550f6387f6 --- /dev/null +++ b/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/tspconfig.yaml @@ -0,0 +1,49 @@ +parameters: + "service-dir": + default: "sdk/managednetworkfabric" +emit: + - "@azure-tools/typespec-autorest" +options: + "@azure-tools/typespec-autorest": + use-read-only-status-schema: true + omit-unreachable-types: true + emitter-output-dir: "{project-root}/.." + azure-resource-provider-folder: "resource-manager" + output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/managednetworkfabric.json" + "@azure-tools/typespec-csharp": + emitter-output-dir: "{output-dir}/{service-dir}/{namespace}" + flavor: azure + clear-output-folder: true + model-namespace: true + namespace: "Azure.ResourceManager.ManagedNetworkFabric" + "@azure-tools/typespec-python": + emitter-output-dir: "{output-dir}/{service-dir}/azure-mgmt-managednetworkfabric" + namespace: "azure.mgmt.managednetworkfabric" + generate-test: true + generate-sample: true + flavor: "azure" + "@azure-tools/typespec-java": + emitter-output-dir: "{output-dir}/{service-dir}/azure-resourcemanager-managednetworkfabric" + namespace: "com.azure.resourcemanager.managednetworkfabric" + service-name: "fileshares" + flavor: azure + "@azure-tools/typespec-go": + service-dir: "sdk/resourcemanager/managednetworkfabric" + emitter-output-dir: "{output-dir}/{service-dir}/armmanagednetworkfabric" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armmanagednetworkfabric" + fix-const-stuttering: true + flavor: "azure" + generate-samples: true + generate-fakes: true + head-as-boolean: true + inject-spans: true + "@azure-tools/typespec-ts": + emitter-output-dir: "{output-dir}/{service-dir}/arm-managednetworkfabric" + is-modular-library: true + flavor: "azure" + experimental-extensible-enums: true + package-details: + name: "@azure/arm-managednetworkfabric" +linter: + extends: + - "@azure-tools/typespec-azure-rulesets/resource-manager" diff --git a/specification/managednetworkfabric/cspell.yaml b/specification/managednetworkfabric/cspell.yaml index 3b6ec32a60be..c72e5a6e16e6 100644 --- a/specification/managednetworkfabric/cspell.yaml +++ b/specification/managednetworkfabric/cspell.yaml @@ -4,10 +4,17 @@ # Spell checking is not case sensitive # Keep word lists in alphabetical order so the file is easier to manage -version: '0.2' import: - ../../cspell.yaml words: - dscp + - evpn + - gbps - gshut + - kbps +overrides: + - filename: >- + **/specification/managednetworkfabric/ManagedNetworkFabric.ResourceManager.Management/models/common.tsp + words: + - updateable diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/AccessControlLists_Create.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/AccessControlLists_Create.json new file mode 100644 index 000000000000..e2981841f545 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/AccessControlLists_Create.json @@ -0,0 +1,379 @@ +{ + "title": "AccessControlLists_Create_MaximumSet_Gen", + "operationId": "AccessControlLists_Create", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "accessControlListName": "example-acl", + "resource": { + "properties": { + "annotation": "annotation", + "configurationType": "File", + "aclsUrl": "https://ACL-Storage-URL", + "defaultAction": "Permit", + "matchConfigurations": [ + { + "matchConfigurationName": "example-match", + "sequenceNumber": 123, + "ipAddressType": "IPv4", + "matchConditions": [ + { + "protocolTypes": [ + "TCP" + ], + "vlanMatchCondition": { + "vlans": [ + "20-30" + ], + "innerVlans": [ + "30" + ], + "vlanGroupNames": [ + "example-vlanGroup" + ] + }, + "ipCondition": { + "type": "SourceIP", + "prefixType": "Prefix", + "ipPrefixValues": [ + "10.20.20.20/12" + ], + "ipGroupNames": [ + "example-ipGroup" + ] + }, + "etherTypes": [ + "0x1" + ], + "fragments": [ + "0xff00-0xffff" + ], + "ipLengths": [ + "4094-9214" + ], + "ttlValues": [ + "23" + ], + "dscpMarkings": [ + "32" + ], + "portCondition": { + "portType": "SourcePort", + "layer4Protocol": "TCP", + "ports": [ + "1-20" + ], + "portGroupNames": [ + "example-portGroup" + ], + "flags": [ + "established" + ] + } + } + ], + "actions": [ + { + "type": "Count", + "counterName": "example-counter" + } + ] + } + ], + "dynamicMatchConfigurations": [ + { + "ipGroups": [ + { + "name": "example-ipGroup", + "ipAddressType": "IPv4", + "ipPrefixes": [ + "10.20.3.1/20" + ] + } + ], + "vlanGroups": [ + { + "name": "example-vlanGroup", + "vlans": [ + "20-30" + ] + } + ], + "portGroups": [ + { + "name": "example-portGroup", + "ports": [ + "100-200" + ] + } + ] + } + ] + }, + "tags": { + "keyID": "keyValue" + }, + "location": "eastUs" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "configurationType": "File", + "aclsUrl": "https://ACL-Storage-URL", + "defaultAction": "Permit", + "matchConfigurations": [ + { + "matchConfigurationName": "example-match", + "sequenceNumber": 123, + "ipAddressType": "IPv4", + "matchConditions": [ + { + "protocolTypes": [ + "TCP" + ], + "vlanMatchCondition": { + "vlans": [ + "20-30" + ], + "innerVlans": [ + "30" + ], + "vlanGroupNames": [ + "example-vlanGroup" + ] + }, + "ipCondition": { + "type": "SourceIP", + "prefixType": "Prefix", + "ipPrefixValues": [ + "10.20.20.20/12" + ], + "ipGroupNames": [ + "example-ipGroup" + ] + }, + "etherTypes": [ + "0x1" + ], + "fragments": [ + "0xff00-0xffff" + ], + "ipLengths": [ + "4094-9214" + ], + "ttlValues": [ + "23" + ], + "dscpMarkings": [ + "32" + ], + "portCondition": { + "portType": "SourcePort", + "layer4Protocol": "TCP", + "ports": [ + "1-20" + ], + "portGroupNames": [ + "example-portGroup" + ], + "flags": [ + "established" + ] + } + } + ], + "actions": [ + { + "type": "Count", + "counterName": "example-counter" + } + ] + } + ], + "dynamicMatchConfigurations": [ + { + "ipGroups": [ + { + "name": "example-ipGroup", + "ipAddressType": "IPv4", + "ipPrefixes": [ + "10.20.3.1/20" + ] + } + ], + "vlanGroups": [ + { + "name": "example-vlanGroup", + "vlans": [ + "20-30" + ] + } + ], + "portGroups": [ + { + "name": "example-portGroup", + "ports": [ + "100-200" + ] + } + ] + } + ], + "lastSyncedTime": "2023-06-17T08:56:23.203Z", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "keyValue" + }, + "location": "eastUs", + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "name": "example-acl", + "type": "microsoft.managednetworkfabric/accessControlLists", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "lastSyncedTime": "2023-06-17T08:56:23.203Z", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled", + "annotation": "annotation", + "configurationType": "File", + "aclsUrl": "https://ACL-Storage-URL", + "defaultAction": "Permit", + "matchConfigurations": [ + { + "matchConfigurationName": "example-match", + "sequenceNumber": 123, + "ipAddressType": "IPv4", + "matchConditions": [ + { + "etherTypes": [ + "0x1" + ], + "fragments": [ + "0xff00-0xffff" + ], + "ipLengths": [ + "4094-9214" + ], + "ttlValues": [ + "23" + ], + "dscpMarkings": [ + "32" + ], + "portCondition": { + "flags": [ + "established" + ], + "portType": "SourcePort", + "layer4Protocol": "TCP", + "ports": [ + "1-20" + ], + "portGroupNames": [ + "example-portGroup" + ] + }, + "protocolTypes": [ + "TCP" + ], + "vlanMatchCondition": { + "vlans": [ + "20-30" + ], + "innerVlans": [ + "30" + ], + "vlanGroupNames": [ + "example-vlanGroup" + ] + }, + "ipCondition": { + "type": "SourceIP", + "prefixType": "Prefix", + "ipPrefixValues": [ + "10.20.20.20/12" + ], + "ipGroupNames": [ + "example-ipGroup" + ] + } + } + ], + "actions": [ + { + "type": "Count", + "counterName": "example-counter" + } + ] + } + ], + "dynamicMatchConfigurations": [ + { + "ipGroups": [ + { + "name": "example-ipGroup", + "ipAddressType": "IPv4", + "ipPrefixes": [ + "10.20.3.1/20" + ] + } + ], + "vlanGroups": [ + { + "name": "example-vlanGroup", + "vlans": [ + "20-30" + ] + } + ], + "portGroups": [ + { + "name": "example-portGroup", + "ports": [ + "100-200" + ] + } + ] + } + ] + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastUs", + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "name": "example-acl", + "type": "microsoft.managednetworkfabric/accessControlLists", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/AccessControlLists_Delete.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/AccessControlLists_Delete.json new file mode 100644 index 000000000000..af3bdca682f4 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/AccessControlLists_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "AccessControlLists_Delete_MaximumSet_Gen", + "operationId": "AccessControlLists_Delete", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "accessControlListName": "example-acl" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/AccessControlLists_Get.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/AccessControlLists_Get.json new file mode 100644 index 000000000000..f7ed24e975d1 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/AccessControlLists_Get.json @@ -0,0 +1,139 @@ +{ + "title": "AccessControlLists_Get_MaximumSet_Gen", + "operationId": "AccessControlLists_Get", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "accessControlListName": "example-acl" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "configurationType": "File", + "aclsUrl": "https://ACL-Storage-URL", + "defaultAction": "Permit", + "matchConfigurations": [ + { + "matchConfigurationName": "example-match", + "sequenceNumber": 123, + "ipAddressType": "IPv4", + "matchConditions": [ + { + "protocolTypes": [ + "TCP" + ], + "vlanMatchCondition": { + "vlans": [ + "20-30" + ], + "innerVlans": [ + "30" + ], + "vlanGroupNames": [ + "example-vlanGroup" + ] + }, + "ipCondition": { + "type": "SourceIP", + "prefixType": "Prefix", + "ipPrefixValues": [ + "10.20.20.20/12" + ], + "ipGroupNames": [ + "example-ipGroup" + ] + }, + "etherTypes": [ + "0x1" + ], + "fragments": [ + "0xff00-0xffff" + ], + "ipLengths": [ + "4094-9214" + ], + "ttlValues": [ + "23" + ], + "dscpMarkings": [ + "32" + ], + "portCondition": { + "portType": "SourcePort", + "layer4Protocol": "TCP", + "ports": [ + "1-20" + ], + "portGroupNames": [ + "example-portGroup" + ], + "flags": [ + "established" + ] + } + } + ], + "actions": [ + { + "type": "Count", + "counterName": "example-counter" + } + ] + } + ], + "dynamicMatchConfigurations": [ + { + "ipGroups": [ + { + "name": "example-ipGroup", + "ipAddressType": "IPv4", + "ipPrefixes": [ + "10.20.3.1/20" + ] + } + ], + "vlanGroups": [ + { + "name": "example-vlanGroup", + "vlans": [ + "20-30" + ] + } + ], + "portGroups": [ + { + "name": "example-portGroup", + "ports": [ + "100-200" + ] + } + ] + } + ], + "lastSyncedTime": "2023-06-17T08:56:23.203Z", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "keyValue" + }, + "location": "eastUs", + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "name": "example-acl", + "type": "microsoft.managednetworkfabric/accessControlLists", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/AccessControlLists_ListByResourceGroup.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/AccessControlLists_ListByResourceGroup.json new file mode 100644 index 000000000000..bd804ce29803 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/AccessControlLists_ListByResourceGroup.json @@ -0,0 +1,143 @@ +{ + "title": "AccessControlLists_ListByResourceGroup_MaximumSet_Gen", + "operationId": "AccessControlLists_ListByResourceGroup", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "configurationType": "File", + "aclsUrl": "https://ACL-Storage-URL", + "defaultAction": "Permit", + "matchConfigurations": [ + { + "matchConfigurationName": "example-match", + "sequenceNumber": 123, + "ipAddressType": "IPv4", + "matchConditions": [ + { + "protocolTypes": [ + "TCP" + ], + "vlanMatchCondition": { + "vlans": [ + "20-30" + ], + "innerVlans": [ + "30" + ], + "vlanGroupNames": [ + "example-vlanGroup" + ] + }, + "ipCondition": { + "type": "SourceIP", + "prefixType": "Prefix", + "ipPrefixValues": [ + "10.20.20.20/12" + ], + "ipGroupNames": [ + "example-ipGroup" + ] + }, + "etherTypes": [ + "0x1" + ], + "fragments": [ + "0xff00-0xffff" + ], + "ipLengths": [ + "4094-9214" + ], + "ttlValues": [ + "23" + ], + "dscpMarkings": [ + "32" + ], + "portCondition": { + "portType": "SourcePort", + "layer4Protocol": "TCP", + "ports": [ + "1-20" + ], + "portGroupNames": [ + "example-portGroup" + ], + "flags": [ + "established" + ] + } + } + ], + "actions": [ + { + "type": "Count", + "counterName": "example-counter" + } + ] + } + ], + "dynamicMatchConfigurations": [ + { + "ipGroups": [ + { + "name": "example-ipGroup", + "ipAddressType": "IPv4", + "ipPrefixes": [ + "10.20.3.1/20" + ] + } + ], + "vlanGroups": [ + { + "name": "example-vlanGroup", + "vlans": [ + "20-30" + ] + } + ], + "portGroups": [ + { + "name": "example-portGroup", + "ports": [ + "100-200" + ] + } + ] + } + ], + "lastSyncedTime": "2023-06-17T08:56:23.203Z", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "keyValue" + }, + "location": "eastUs", + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "name": "example-acl", + "type": "microsoft.managednetworkfabric/accessControlLists", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/AccessControlLists_ListBySubscription.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/AccessControlLists_ListBySubscription.json new file mode 100644 index 000000000000..1301c9cb6295 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/AccessControlLists_ListBySubscription.json @@ -0,0 +1,142 @@ +{ + "title": "AccessControlLists_ListBySubscription_MaximumSet_Gen", + "operationId": "AccessControlLists_ListBySubscription", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "configurationType": "File", + "aclsUrl": "https://ACL-Storage-URL", + "defaultAction": "Permit", + "matchConfigurations": [ + { + "matchConfigurationName": "example-match", + "sequenceNumber": 123, + "ipAddressType": "IPv4", + "matchConditions": [ + { + "protocolTypes": [ + "TCP" + ], + "vlanMatchCondition": { + "vlans": [ + "20-30" + ], + "innerVlans": [ + "30" + ], + "vlanGroupNames": [ + "example-vlanGroup" + ] + }, + "ipCondition": { + "type": "SourceIP", + "prefixType": "Prefix", + "ipPrefixValues": [ + "10.20.20.20/12" + ], + "ipGroupNames": [ + "example-ipGroup" + ] + }, + "etherTypes": [ + "0x1" + ], + "fragments": [ + "0xff00-0xffff" + ], + "ipLengths": [ + "4094-9214" + ], + "ttlValues": [ + "23" + ], + "dscpMarkings": [ + "32" + ], + "portCondition": { + "portType": "SourcePort", + "layer4Protocol": "TCP", + "ports": [ + "1-20" + ], + "portGroupNames": [ + "example-portGroup" + ], + "flags": [ + "established" + ] + } + } + ], + "actions": [ + { + "type": "Count", + "counterName": "example-counter" + } + ] + } + ], + "dynamicMatchConfigurations": [ + { + "ipGroups": [ + { + "name": "example-ipGroup", + "ipAddressType": "IPv4", + "ipPrefixes": [ + "10.20.3.1/20" + ] + } + ], + "vlanGroups": [ + { + "name": "example-vlanGroup", + "vlans": [ + "20-30" + ] + } + ], + "portGroups": [ + { + "name": "example-portGroup", + "ports": [ + "100-200" + ] + } + ] + } + ], + "lastSyncedTime": "2023-06-17T08:56:23.203Z", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "keyValue" + }, + "location": "eastUs", + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "name": "example-acl", + "type": "microsoft.managednetworkfabric/accessControlLists", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/AccessControlLists_Resync.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/AccessControlLists_Resync.json new file mode 100644 index 000000000000..f79c7d0440e4 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/AccessControlLists_Resync.json @@ -0,0 +1,34 @@ +{ + "title": "AccessControlLists_Resync_MaximumSet_Gen", + "operationId": "AccessControlLists_Resync", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "accessControlListName": "example-acl" + }, + "responses": { + "200": { + "body": { + "configurationState": "Succeeded", + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/AccessControlLists_Update.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/AccessControlLists_Update.json new file mode 100644 index 000000000000..99a8b9b28361 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/AccessControlLists_Update.json @@ -0,0 +1,253 @@ +{ + "title": "AccessControlLists_Update_MaximumSet_Gen", + "operationId": "AccessControlLists_Update", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "accessControlListName": "example-acl", + "properties": { + "tags": { + "KeyId": "KeyValue" + }, + "properties": { + "configurationType": "File", + "aclsUrl": "https://microsoft.com/a", + "defaultAction": "Permit", + "matchConfigurations": [ + { + "matchConfigurationName": "example-match", + "sequenceNumber": 123, + "ipAddressType": "IPv4", + "matchConditions": [ + { + "protocolTypes": [ + "TCP" + ], + "vlanMatchCondition": { + "vlans": [ + "20-30" + ], + "innerVlans": [ + "30" + ], + "vlanGroupNames": [ + "example-vlanGroup" + ] + }, + "ipCondition": { + "type": "SourceIP", + "prefixType": "Prefix", + "ipPrefixValues": [ + "10.20.20.20/12" + ], + "ipGroupNames": [ + "example-ipGroup" + ] + }, + "etherTypes": [ + "0x1" + ], + "fragments": [ + "0xff00-0xffff" + ], + "ipLengths": [ + "4094-9214" + ], + "ttlValues": [ + "23" + ], + "dscpMarkings": [ + "32" + ], + "portCondition": { + "flags": [ + "established" + ], + "portType": "SourcePort", + "layer4Protocol": "TCP", + "ports": [ + "1-20" + ], + "portGroupNames": [ + "example-portGroup" + ] + } + } + ], + "actions": [ + { + "type": "Count", + "counterName": "example-counter" + } + ] + } + ], + "dynamicMatchConfigurations": [ + { + "ipGroups": [ + { + "name": "example-ipGroup", + "ipAddressType": "IPv4", + "ipPrefixes": [ + "10.20.3.1/20" + ] + } + ], + "vlanGroups": [ + { + "name": "example-vlanGroup", + "vlans": [ + "20-30" + ] + } + ], + "portGroups": [ + { + "name": "example-portGroup", + "ports": [ + "100-200" + ] + } + ] + } + ], + "annotation": "annotation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "configurationType": "File", + "aclsUrl": "https://ACL-Storage-URL", + "defaultAction": "Permit", + "matchConfigurations": [ + { + "matchConfigurationName": "example-match", + "sequenceNumber": 123, + "ipAddressType": "IPv4", + "matchConditions": [ + { + "protocolTypes": [ + "TCP" + ], + "vlanMatchCondition": { + "vlans": [ + "20-30" + ], + "innerVlans": [ + "30" + ], + "vlanGroupNames": [ + "example-vlanGroup" + ] + }, + "ipCondition": { + "type": "SourceIP", + "prefixType": "Prefix", + "ipPrefixValues": [ + "10.20.20.20/12" + ], + "ipGroupNames": [ + "example-ipGroup" + ] + }, + "etherTypes": [ + "0x1" + ], + "fragments": [ + "0xff00-0xffff" + ], + "ipLengths": [ + "4094-9214" + ], + "ttlValues": [ + "23" + ], + "dscpMarkings": [ + "32" + ], + "portCondition": { + "portType": "SourcePort", + "layer4Protocol": "TCP", + "ports": [ + "1-20" + ], + "portGroupNames": [ + "example-portGroup" + ], + "flags": [ + "established" + ] + } + } + ], + "actions": [ + { + "type": "Count", + "counterName": "example-counter" + } + ] + } + ], + "dynamicMatchConfigurations": [ + { + "ipGroups": [ + { + "name": "example-ipGroup", + "ipAddressType": "IPv4", + "ipPrefixes": [ + "10.20.3.1/20" + ] + } + ], + "vlanGroups": [ + { + "name": "example-vlanGroup", + "vlans": [ + "20-30" + ] + } + ], + "portGroups": [ + { + "name": "example-portGroup", + "ports": [ + "100-200" + ] + } + ] + } + ], + "lastSyncedTime": "2023-06-17T08:56:23.203Z", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "keyValue" + }, + "location": "eastUs", + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "name": "example-acl", + "type": "microsoft.managednetworkfabric/accessControlLists", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/AccessControlLists_UpdateAdministrativeState.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/AccessControlLists_UpdateAdministrativeState.json new file mode 100644 index 000000000000..5e1c0b468217 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/AccessControlLists_UpdateAdministrativeState.json @@ -0,0 +1,40 @@ +{ + "title": "AccessControlLists_UpdateAdministrativeState_MaximumSet_Gen", + "operationId": "AccessControlLists_UpdateAdministrativeState", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "accessControlListName": "example-acl", + "body": { + "resourceIds": [ + "" + ], + "state": "Enable" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/AccessControlLists_ValidateConfiguration.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/AccessControlLists_ValidateConfiguration.json new file mode 100644 index 000000000000..35c1d0774d10 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/AccessControlLists_ValidateConfiguration.json @@ -0,0 +1,35 @@ +{ + "title": "AccessControlLists_ValidateConfiguration_MaximumSet_Gen", + "operationId": "AccessControlLists_ValidateConfiguration", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "accessControlListName": "example-acl" + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded", + "url": "https://ActionDetails" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/ExternalNetworks_Create.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/ExternalNetworks_Create.json new file mode 100644 index 000000000000..8435757ed6ba --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/ExternalNetworks_Create.json @@ -0,0 +1,214 @@ +{ + "title": "ExternalNetworks_Create_MaximumSet_Gen", + "operationId": "ExternalNetworks_Create", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-externalnetwork", + "externalNetworkName": "example-ext", + "resource": { + "properties": { + "annotation": "annotation", + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "importRoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportRoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10039" + ], + "exportRouteTargets": [ + "65046:10039" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "primaryIpv4Prefix": "10.1.1.0/30", + "primaryIpv6Prefix": "3FFE:FFFF:0:CD30::a0/126", + "secondaryIpv4Prefix": "10.1.1.4/30", + "secondaryIpv6Prefix": "3FFE:FFFF:0:CD30::a4/126", + "mtu": 1500, + "vlanId": 1001, + "peerASN": 65047, + "bfdConfiguration": { + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl" + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "importRoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportRoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10039" + ], + "exportRouteTargets": [ + "65046:10039" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "primaryIpv4Prefix": "10.1.1.0/30", + "primaryIpv6Prefix": "3FFE:FFFF:0:CD30::a0/126", + "secondaryIpv4Prefix": "10.1.1.4/30", + "secondaryIpv6Prefix": "3FFE:FFFF:0:CD30::a4/126", + "mtu": 1500, + "vlanId": 1001, + "fabricASN": 1234, + "peerASN": 65047, + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain/externalNetworks/example-externalnetwork", + "name": "example-externalnetwork", + "type": "microsoft.managednetworkfabric/l3IsolationDomains/externalnetworks", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotation", + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "importRoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportRoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10039" + ], + "exportRouteTargets": [ + "65046:10039" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "primaryIpv4Prefix": "10.1.1.0/30", + "primaryIpv6Prefix": "3FFE:FFFF:0:CD30::a0/126", + "secondaryIpv4Prefix": "10.1.1.4/30", + "secondaryIpv6Prefix": "3FFE:FFFF:0:CD30::a4/126", + "mtu": 1500, + "vlanId": 1001, + "fabricASN": 1234, + "peerASN": 65047, + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain/externalNetworks/example-externalnetwork", + "name": "example-externalnetwork", + "type": "microsoft.managednetworkfabric/l3IsolationDomains/externalnetworks", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/ExternalNetworks_Delete.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/ExternalNetworks_Delete.json new file mode 100644 index 000000000000..b5115f3fd1ff --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/ExternalNetworks_Delete.json @@ -0,0 +1,19 @@ +{ + "title": "ExternalNetworks_Delete_MaximumSet_Gen", + "operationId": "ExternalNetworks_Delete", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-externalnetwork", + "externalNetworkName": "example-ext" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/ExternalNetworks_Get.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/ExternalNetworks_Get.json new file mode 100644 index 000000000000..05c7faa76ea0 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/ExternalNetworks_Get.json @@ -0,0 +1,85 @@ +{ + "title": "ExternalNetworks_Get_MaximumSet_Gen", + "operationId": "ExternalNetworks_Get", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-externalnetwork", + "externalNetworkName": "example-ext" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "importRoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportRoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10039" + ], + "exportRouteTargets": [ + "65046:10039" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "primaryIpv4Prefix": "10.1.1.0/30", + "primaryIpv6Prefix": "3FFE:FFFF:0:CD30::a0/126", + "secondaryIpv4Prefix": "10.1.1.4/30", + "secondaryIpv6Prefix": "3FFE:FFFF:0:CD30::a4/126", + "mtu": 1500, + "vlanId": 1001, + "fabricASN": 1234, + "peerASN": 65047, + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain/externalNetworks/example-externalnetwork", + "name": "example-externalnetwork", + "type": "microsoft.managednetworkfabric/l3IsolationDomains/externalnetworks", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/ExternalNetworks_ListByL3IsolationDomain.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/ExternalNetworks_ListByL3IsolationDomain.json new file mode 100644 index 000000000000..b91889ca930d --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/ExternalNetworks_ListByL3IsolationDomain.json @@ -0,0 +1,89 @@ +{ + "title": "ExternalNetworks_ListByL3IsolationDomain_MaximumSet_Gen", + "operationId": "ExternalNetworks_ListByL3IsolationDomain", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-externalnetwork" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "importRoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportRoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10039" + ], + "exportRouteTargets": [ + "65046:10039" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "primaryIpv4Prefix": "10.1.1.0/30", + "primaryIpv6Prefix": "3FFE:FFFF:0:CD30::a0/126", + "secondaryIpv4Prefix": "10.1.1.4/30", + "secondaryIpv6Prefix": "3FFE:FFFF:0:CD30::a4/126", + "mtu": 1500, + "vlanId": 1001, + "fabricASN": 1234, + "peerASN": 65047, + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain/externalNetworks/example-externalnetwork", + "name": "example-externalnetwork", + "type": "microsoft.managednetworkfabric/l3IsolationDomains/externalnetworks", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/ExternalNetworks_Update.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/ExternalNetworks_Update.json new file mode 100644 index 000000000000..ab2c984f940b --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/ExternalNetworks_Update.json @@ -0,0 +1,144 @@ +{ + "title": "ExternalNetworks_Update_MaximumSet_Gen", + "operationId": "ExternalNetworks_Update", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-externalnetwork", + "externalNetworkName": "example-ext", + "properties": { + "properties": { + "annotation": "annotation1", + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "importRoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportRoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10039" + ], + "exportRouteTargets": [ + "65046:10039" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "primaryIpv4Prefix": "10.1.1.0/30", + "primaryIpv6Prefix": "3FFE:FFFF:0:CD30::a0/126", + "secondaryIpv4Prefix": "10.1.1.4/30", + "secondaryIpv6Prefix": "3FFE:FFFF:0:CD30::a4/126", + "mtu": 1500, + "vlanId": 1001, + "peerASN": 65047, + "bfdConfiguration": { + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl" + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "importRoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportRoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10039" + ], + "exportRouteTargets": [ + "65046:10039" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "primaryIpv4Prefix": "10.1.1.0/30", + "primaryIpv6Prefix": "3FFE:FFFF:0:CD30::a0/126", + "secondaryIpv4Prefix": "10.1.1.4/30", + "secondaryIpv6Prefix": "3FFE:FFFF:0:CD30::a4/126", + "mtu": 1500, + "vlanId": 1001, + "fabricASN": 1234, + "peerASN": 65047, + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain/externalNetworks/example-externalnetwork", + "name": "example-externalnetwork", + "type": "microsoft.managednetworkfabric/l3IsolationDomains/externalnetworks", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/ExternalNetworks_UpdateAdministrativeState.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/ExternalNetworks_UpdateAdministrativeState.json new file mode 100644 index 000000000000..ef8f566b574e --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/ExternalNetworks_UpdateAdministrativeState.json @@ -0,0 +1,41 @@ +{ + "title": "ExternalNetworks_UpdateAdministrativeState_MaximumSet_Gen", + "operationId": "ExternalNetworks_UpdateAdministrativeState", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-externalnetwork", + "externalNetworkName": "example-ext", + "body": { + "resourceIds": [ + "" + ], + "state": "Enable" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/ExternalNetworks_UpdateStaticRouteBfdAdministrativeState.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/ExternalNetworks_UpdateStaticRouteBfdAdministrativeState.json new file mode 100644 index 000000000000..b9ade0923cc5 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/ExternalNetworks_UpdateStaticRouteBfdAdministrativeState.json @@ -0,0 +1,41 @@ +{ + "title": "ExternalNetworks_UpdateStaticRouteBfdAdministrativeState_MaximumSet_Gen", + "operationId": "ExternalNetworks_UpdateStaticRouteBfdAdministrativeState", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-externalnetwork", + "externalNetworkName": "example-ext", + "body": { + "resourceIds": [ + "" + ], + "state": "Enable" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/InternalNetworks_Create.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/InternalNetworks_Create.json new file mode 100644 index 000000000000..59347e9d5ac8 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/InternalNetworks_Create.json @@ -0,0 +1,307 @@ +{ + "title": "InternalNetworks_Create_MaximumSet_Gen", + "operationId": "InternalNetworks_Create", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-l3isd", + "internalNetworkName": "example-internalnetwork", + "resource": { + "properties": { + "annotation": "annotation", + "mtu": 1500, + "connectedIPv4Subnets": [ + { + "annotation": "annotation", + "prefix": "10.0.0.0/24" + } + ], + "connectedIPv6Subnets": [ + { + "annotation": "annotation", + "prefix": "3FFE:FFFF:0:CD30::a0/29" + } + ], + "importRoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportRoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "isMonitoringEnabled": "True", + "extension": "NoExtension", + "vlanId": 755, + "bgpConfiguration": { + "annotation": "annotation", + "bfdConfiguration": { + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "defaultRouteOriginate": "True", + "allowAS": 10, + "allowASOverride": "Enable", + "peerASN": 61234, + "ipv4ListenRangePrefixes": [ + "10.1.0.0/25" + ], + "ipv6ListenRangePrefixes": [ + "2fff::/66" + ], + "ipv4NeighborAddress": [ + { + "address": "10.1.0.0" + } + ], + "ipv6NeighborAddress": [ + { + "address": "2fff::" + } + ] + }, + "staticRouteConfiguration": { + "bfdConfiguration": { + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "jffgck", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "2fff::/64", + "nextHop": [ + "3ffe::1" + ] + } + ], + "extension": "NoExtension" + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "mtu": 1500, + "connectedIPv4Subnets": [ + { + "prefix": "10.0.0.0/24", + "annotation": "annotation" + } + ], + "connectedIPv6Subnets": [ + { + "prefix": "3FFE:FFFF:0:CD30::a0/29", + "annotation": "annotation" + } + ], + "importRoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportRoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "isMonitoringEnabled": "True", + "extension": "NoExtension", + "vlanId": 755, + "bgpConfiguration": { + "annotation": "annotation", + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "defaultRouteOriginate": "True", + "allowAS": 10, + "allowASOverride": "Enable", + "fabricASN": 20, + "peerASN": 61234, + "ipv4ListenRangePrefixes": [ + "10.1.0.0/25" + ], + "ipv6ListenRangePrefixes": [ + "2fff::/66" + ], + "ipv4NeighborAddress": [ + { + "address": "10.1.0.0", + "configurationState": "Succeeded" + } + ], + "ipv6NeighborAddress": [ + { + "address": "2fff::", + "configurationState": "Succeeded" + } + ] + }, + "staticRouteConfiguration": { + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "jffgck", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "2fff::/64", + "nextHop": [ + "3ffe::1" + ] + } + ], + "extension": "NoExtension" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain/internalNetworks/example-internalnetwork", + "name": "example-internalnetwork", + "type": "microsoft.managednetworkfabric/l3IsolationDomains/internalnetworks", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotation", + "mtu": 1500, + "connectedIPv4Subnets": [ + { + "prefix": "10.0.0.0/24", + "annotation": "annotation" + } + ], + "connectedIPv6Subnets": [ + { + "prefix": "3FFE:FFFF:0:CD30::a0/29", + "annotation": "annotation" + } + ], + "importRoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportRoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "isMonitoringEnabled": "True", + "extension": "NoExtension", + "vlanId": 755, + "bgpConfiguration": { + "annotation": "annotation", + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "defaultRouteOriginate": "True", + "allowAS": 10, + "allowASOverride": "Enable", + "fabricASN": 20, + "peerASN": 61234, + "ipv4ListenRangePrefixes": [ + "10.1.0.0/25" + ], + "ipv6ListenRangePrefixes": [ + "2fff::/66" + ], + "ipv4NeighborAddress": [ + { + "address": "10.1.0.0", + "configurationState": "Succeeded" + } + ], + "ipv6NeighborAddress": [ + { + "address": "2fff::", + "configurationState": "Succeeded" + } + ] + }, + "staticRouteConfiguration": { + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "jffgck", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "2fff::/64", + "nextHop": [ + "3ffe::1" + ] + } + ], + "extension": "NoExtension" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain/internalNetworks/example-internalnetwork", + "name": "example-internalnetwork", + "type": "microsoft.managednetworkfabric/l3IsolationDomains/internalnetworks", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/InternalNetworks_Delete.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/InternalNetworks_Delete.json new file mode 100644 index 000000000000..9fab8dfddc2b --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/InternalNetworks_Delete.json @@ -0,0 +1,19 @@ +{ + "title": "InternalNetworks_Delete_MaximumSet_Gen", + "operationId": "InternalNetworks_Delete", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-l3isd", + "internalNetworkName": "example-internalnetwork" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/InternalNetworks_Get.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/InternalNetworks_Get.json new file mode 100644 index 000000000000..35ccdbb97d0a --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/InternalNetworks_Get.json @@ -0,0 +1,117 @@ +{ + "title": "InternalNetworks_Get_MaximumSet_Gen", + "operationId": "InternalNetworks_Get", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-l3isd", + "internalNetworkName": "example-internalnetwork" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "mtu": 1500, + "connectedIPv4Subnets": [ + { + "prefix": "10.0.0.0/24", + "annotation": "annotation" + } + ], + "connectedIPv6Subnets": [ + { + "prefix": "3FFE:FFFF:0:CD30::a0/29", + "annotation": "annotation" + } + ], + "importRoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportRoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "isMonitoringEnabled": "True", + "extension": "NoExtension", + "vlanId": 755, + "bgpConfiguration": { + "annotation": "annotation", + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "defaultRouteOriginate": "True", + "allowAS": 10, + "allowASOverride": "Enable", + "fabricASN": 20, + "peerASN": 61234, + "ipv4ListenRangePrefixes": [ + "10.1.0.0/25" + ], + "ipv6ListenRangePrefixes": [ + "2fff::/66" + ], + "ipv4NeighborAddress": [ + { + "address": "10.1.0.0", + "configurationState": "Succeeded" + } + ], + "ipv6NeighborAddress": [ + { + "address": "2fff::", + "configurationState": "Succeeded" + } + ] + }, + "staticRouteConfiguration": { + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "jffgck", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "2fff::/64", + "nextHop": [ + "3ffe::1" + ] + } + ], + "extension": "NoExtension" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain/internalNetworks/example-internalnetwork", + "name": "example-internalnetwork", + "type": "microsoft.managednetworkfabric/l3IsolationDomains/internalnetworks", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/InternalNetworks_ListByL3IsolationDomain.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/InternalNetworks_ListByL3IsolationDomain.json new file mode 100644 index 000000000000..61946d006328 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/InternalNetworks_ListByL3IsolationDomain.json @@ -0,0 +1,121 @@ +{ + "title": "InternalNetworks_ListByL3IsolationDomain_MaximumSet_Gen", + "operationId": "InternalNetworks_ListByL3IsolationDomain", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-l3isd" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "mtu": 1500, + "connectedIPv4Subnets": [ + { + "prefix": "10.0.0.0/24", + "annotation": "annotation" + } + ], + "connectedIPv6Subnets": [ + { + "prefix": "3FFE:FFFF:0:CD30::a0/29", + "annotation": "annotation" + } + ], + "importRoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportRoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "isMonitoringEnabled": "True", + "extension": "NoExtension", + "vlanId": 755, + "bgpConfiguration": { + "annotation": "annotation", + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "defaultRouteOriginate": "True", + "allowAS": 10, + "allowASOverride": "Enable", + "fabricASN": 20, + "peerASN": 61234, + "ipv4ListenRangePrefixes": [ + "10.1.0.0/25" + ], + "ipv6ListenRangePrefixes": [ + "2fff::/66" + ], + "ipv4NeighborAddress": [ + { + "address": "10.1.0.0", + "configurationState": "Succeeded" + } + ], + "ipv6NeighborAddress": [ + { + "address": "2fff::", + "configurationState": "Succeeded" + } + ] + }, + "staticRouteConfiguration": { + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "jffgck", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "2fff::/64", + "nextHop": [ + "3ffe::1" + ] + } + ], + "extension": "NoExtension" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain/internalNetworks/example-internalnetwork", + "name": "example-internalnetwork", + "type": "microsoft.managednetworkfabric/l3IsolationDomains/internalnetworks", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/InternalNetworks_Update.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/InternalNetworks_Update.json new file mode 100644 index 000000000000..1202c83d54ee --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/InternalNetworks_Update.json @@ -0,0 +1,202 @@ +{ + "title": "InternalNetworks_Update_MaximumSet_Gen", + "operationId": "InternalNetworks_Update", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-l3isd", + "internalNetworkName": "example-internalnetwork", + "properties": { + "properties": { + "annotation": "annotation", + "mtu": 1500, + "connectedIPv4Subnets": [ + { + "annotation": "annotation", + "prefix": "10.0.0.0/24" + } + ], + "connectedIPv6Subnets": [ + { + "annotation": "annotation", + "prefix": "10.0.0.0/24" + } + ], + "importRoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportRoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "isMonitoringEnabled": "True", + "bgpConfiguration": { + "annotation": "annotation", + "bfdConfiguration": { + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "defaultRouteOriginate": "True", + "allowAS": 10, + "allowASOverride": "Enable", + "peerASN": 61234, + "ipv4ListenRangePrefixes": [ + "10.1.0.0/25" + ], + "ipv6ListenRangePrefixes": [ + "2fff::/66" + ], + "ipv4NeighborAddress": [ + { + "address": "10.1.0.0" + } + ], + "ipv6NeighborAddress": [ + { + "address": "10.1.0.0" + } + ] + }, + "staticRouteConfiguration": { + "bfdConfiguration": { + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "jffgck", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "jffgck", + "nextHop": [ + "10.0.0.1" + ] + } + ] + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "mtu": 1500, + "connectedIPv4Subnets": [ + { + "prefix": "10.0.0.0/24", + "annotation": "annotation" + } + ], + "connectedIPv6Subnets": [ + { + "prefix": "3FFE:FFFF:0:CD30::a0/29", + "annotation": "annotation" + } + ], + "importRoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportRoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "isMonitoringEnabled": "True", + "extension": "NoExtension", + "vlanId": 755, + "bgpConfiguration": { + "annotation": "annotation", + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "defaultRouteOriginate": "True", + "allowAS": 10, + "allowASOverride": "Enable", + "fabricASN": 20, + "peerASN": 61234, + "ipv4ListenRangePrefixes": [ + "10.1.0.0/25" + ], + "ipv6ListenRangePrefixes": [ + "2fff::/66" + ], + "ipv4NeighborAddress": [ + { + "address": "10.1.0.0", + "configurationState": "Succeeded" + } + ], + "ipv6NeighborAddress": [ + { + "address": "2fff::", + "configurationState": "Succeeded" + } + ] + }, + "staticRouteConfiguration": { + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "jffgck", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "2fff::/64", + "nextHop": [ + "3ffe::1" + ] + } + ], + "extension": "NoExtension" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain/internalNetworks/example-internalnetwork", + "name": "example-internalnetwork", + "type": "microsoft.managednetworkfabric/l3IsolationDomains/internalnetworks", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/InternalNetworks_UpdateAdministrativeState.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/InternalNetworks_UpdateAdministrativeState.json new file mode 100644 index 000000000000..cf9a63327ad8 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/InternalNetworks_UpdateAdministrativeState.json @@ -0,0 +1,41 @@ +{ + "title": "InternalNetworks_UpdateAdministrativeState_MaximumSet_Gen", + "operationId": "InternalNetworks_UpdateAdministrativeState", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-l3isd", + "internalNetworkName": "example-internalnetwork", + "body": { + "resourceIds": [ + "" + ], + "state": "Enable" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/InternalNetworks_UpdateBgpAdministrativeState.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/InternalNetworks_UpdateBgpAdministrativeState.json new file mode 100644 index 000000000000..5c192ffccb0e --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/InternalNetworks_UpdateBgpAdministrativeState.json @@ -0,0 +1,41 @@ +{ + "title": "InternalNetworks_UpdateBgpAdministrativeState_MaximumSet_Gen", + "operationId": "InternalNetworks_UpdateBgpAdministrativeState", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-l3isd", + "internalNetworkName": "example-internalnetwork", + "body": { + "resourceIds": [ + "" + ], + "state": "Enable" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/InternalNetworks_UpdateStaticRouteBfdAdministrativeState.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/InternalNetworks_UpdateStaticRouteBfdAdministrativeState.json new file mode 100644 index 000000000000..aa0716adbbfa --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/InternalNetworks_UpdateStaticRouteBfdAdministrativeState.json @@ -0,0 +1,41 @@ +{ + "title": "InternalNetworks_UpdateStaticRouteBfdAdministrativeState_MaximumSet_Gen", + "operationId": "InternalNetworks_UpdateStaticRouteBfdAdministrativeState", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-l3isd", + "internalNetworkName": "example-internalnetwork", + "body": { + "resourceIds": [ + "" + ], + "state": "Enable" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/InternetGatewayRules_Create.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/InternetGatewayRules_Create.json new file mode 100644 index 000000000000..4d58ba055872 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/InternetGatewayRules_Create.json @@ -0,0 +1,94 @@ +{ + "title": "InternetGatewayRules_Create_MaximumSet_Gen", + "operationId": "InternetGatewayRules_Create", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "internetGatewayRuleName": "example-internetGatewayRule", + "resource": { + "properties": { + "annotation": "annotationValue", + "ruleProperties": { + "action": "Allow", + "addressList": [ + "10.10.10.10" + ] + } + }, + "tags": { + "KeyID": "KeyValue" + }, + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotationValue", + "ruleProperties": { + "action": "Allow", + "addressList": [ + "10.10.10.10" + ] + }, + "provisioningState": "Accepted", + "internetGatewayIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/internetGateways/example-internetGateway" + ] + }, + "tags": { + "KeyID": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/internetGatewayRules/example-InternetGatewayRule", + "name": "example-internetGatewayRule", + "type": "microsoft.managednetworkfabric/internetGatewayRules", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotationValue", + "ruleProperties": { + "action": "Allow", + "addressList": [ + "10.10.10.10" + ] + }, + "provisioningState": "Accepted", + "internetGatewayIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/internetGateways/example-internetGateway" + ] + }, + "tags": { + "KeyID": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/internetGatewayRules/example-InternetGatewayRule", + "name": "example-internetGatewayRule", + "type": "microsoft.managednetworkfabric/internetGatewayRules", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/InternetGatewayRules_Delete.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/InternetGatewayRules_Delete.json new file mode 100644 index 000000000000..65056d6e5815 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/InternetGatewayRules_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "InternetGatewayRules_Delete_MaximumSet_Gen", + "operationId": "InternetGatewayRules_Delete", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "internetGatewayRuleName": "example-internetGatewayRule" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/InternetGatewayRules_Get.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/InternetGatewayRules_Get.json new file mode 100644 index 000000000000..e874f87557d2 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/InternetGatewayRules_Get.json @@ -0,0 +1,44 @@ +{ + "title": "InternetGatewayRules_Get_MaximumSet_Gen", + "operationId": "InternetGatewayRules_Get", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "internetGatewayRuleName": "example-internetGatewayRule" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotationValue", + "ruleProperties": { + "action": "Allow", + "addressList": [ + "10.10.10.10" + ] + }, + "provisioningState": "Accepted", + "internetGatewayIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/internetGateways/example-internetGateway" + ] + }, + "tags": { + "KeyID": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/internetGatewayRules/example-InternetGatewayRule", + "name": "example-internetGatewayRule", + "type": "microsoft.managednetworkfabric/internetGatewayRules", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/InternetGatewayRules_ListByResourceGroup.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/InternetGatewayRules_ListByResourceGroup.json new file mode 100644 index 000000000000..b5adb9b10f5d --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/InternetGatewayRules_ListByResourceGroup.json @@ -0,0 +1,48 @@ +{ + "title": "InternetGatewayRules_ListByResourceGroup_MaximumSet_Gen", + "operationId": "InternetGatewayRules_ListByResourceGroup", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-internetGatewayRule" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotationValue", + "ruleProperties": { + "action": "Allow", + "addressList": [ + "10.10.10.10" + ] + }, + "provisioningState": "Accepted", + "internetGatewayIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/internetGateways/example-internetGateway" + ] + }, + "tags": { + "KeyID": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/internetGatewayRules/example-InternetGatewayRule", + "name": "example-internetGatewayRule", + "type": "microsoft.managednetworkfabric/internetGatewayRules", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/InternetGatewayRules_ListBySubscription.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/InternetGatewayRules_ListBySubscription.json new file mode 100644 index 000000000000..10288cbdeacf --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/InternetGatewayRules_ListBySubscription.json @@ -0,0 +1,47 @@ +{ + "title": "InternetGatewayRules_ListBySubscription_MaximumSet_Gen", + "operationId": "InternetGatewayRules_ListBySubscription", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotationValue", + "ruleProperties": { + "action": "Allow", + "addressList": [ + "10.10.10.10" + ] + }, + "provisioningState": "Accepted", + "internetGatewayIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/internetGateways/example-internetGateway" + ] + }, + "tags": { + "KeyID": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/internetGatewayRules/example-InternetGatewayRule", + "name": "example-internetGatewayRule", + "type": "microsoft.managednetworkfabric/internetGatewayRules", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/InternetGatewayRules_Update.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/InternetGatewayRules_Update.json new file mode 100644 index 000000000000..a14bbaf8a375 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/InternetGatewayRules_Update.json @@ -0,0 +1,54 @@ +{ + "title": "InternetGatewayRules_Update_MaximumSet_Gen", + "operationId": "InternetGatewayRules_Update", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "internetGatewayRuleName": "example-internetGatewayRule", + "properties": { + "tags": { + "KeyID": "KeyValue" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotationValue", + "ruleProperties": { + "action": "Allow", + "addressList": [ + "10.10.10.10" + ] + }, + "provisioningState": "Accepted", + "internetGatewayIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/internetGateways/example-internetGateway" + ] + }, + "tags": { + "KeyID": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/internetGatewayRules/example-InternetGatewayRule", + "name": "example-internetGatewayRule", + "type": "microsoft.managednetworkfabric/internetGatewayRules", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/InternetGateways_Create.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/InternetGateways_Create.json new file mode 100644 index 000000000000..51ba8c7ac127 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/InternetGateways_Create.json @@ -0,0 +1,83 @@ +{ + "title": "InternetGateways_Create_MaximumSet_Gen", + "operationId": "InternetGateways_Create", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "internetGatewayName": "example-internetGateway", + "resource": { + "properties": { + "annotation": "annotation", + "internetGatewayRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/providers/Microsoft.ManagedNetworkFabric/internetGatewayRules/example-internetGatewayRule", + "type": "Infrastructure", + "networkFabricControllerId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-networkFabricController" + }, + "tags": { + "keyId": "KeyValue" + }, + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "internetGatewayRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/providers/Microsoft.ManagedNetworkFabric/internetGatewayRules/example-internetGatewayRule", + "ipv4Address": "10.10.10.10", + "port": 25, + "type": "Infrastructure", + "networkFabricControllerId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-networkFabricController", + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/subscriptionId/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/internetGateways/example-internetGateway", + "name": "example-internetGateway", + "type": "microsoft.managednetworkfabric/internetGateways", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotation", + "internetGatewayRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/providers/Microsoft.ManagedNetworkFabric/internetGatewayRules/example-internetGatewayRule", + "ipv4Address": "10.10.10.10", + "port": 25, + "type": "Infrastructure", + "networkFabricControllerId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-networkFabricController", + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/subscriptionId/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/internetGateways/example-internetGateway", + "name": "example-internetGateway", + "type": "microsoft.managednetworkfabric/internetGateways", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/InternetGateways_Delete.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/InternetGateways_Delete.json new file mode 100644 index 000000000000..c3871f28599d --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/InternetGateways_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "InternetGateways_Delete_MaximumSet_Gen", + "operationId": "InternetGateways_Delete", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "internetGatewayName": "example-internetGateway" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/InternetGateways_Get.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/InternetGateways_Get.json new file mode 100644 index 000000000000..533aa77d29d3 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/InternetGateways_Get.json @@ -0,0 +1,40 @@ +{ + "title": "InternetGateways_Get_MaximumSet_Gen", + "operationId": "InternetGateways_Get", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "internetGatewayName": "example-internetGateway" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "internetGatewayRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/providers/Microsoft.ManagedNetworkFabric/internetGatewayRules/example-internetGatewayRule", + "ipv4Address": "10.10.10.10", + "port": 25, + "type": "Infrastructure", + "networkFabricControllerId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-networkFabricController", + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/subscriptionId/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/internetGateways/example-internetGateway", + "name": "example-internetGateway", + "type": "microsoft.managednetworkfabric/internetGateways", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/InternetGateways_ListByResourceGroup.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/InternetGateways_ListByResourceGroup.json new file mode 100644 index 000000000000..aa66a8cb4c68 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/InternetGateways_ListByResourceGroup.json @@ -0,0 +1,44 @@ +{ + "title": "InternetGateways_ListByResourceGroup_MaximumSet_Gen", + "operationId": "InternetGateways_ListByResourceGroup", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "internetGatewayRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/providers/Microsoft.ManagedNetworkFabric/internetGatewayRules/example-internetGatewayRule", + "ipv4Address": "10.10.10.10", + "port": 25, + "type": "Infrastructure", + "networkFabricControllerId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-networkFabricController", + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/subscriptionId/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/internetGateways/example-internetGateway", + "name": "example-internetGateway", + "type": "microsoft.managednetworkfabric/internetGateways", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/InternetGateways_ListBySubscription.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/InternetGateways_ListBySubscription.json new file mode 100644 index 000000000000..c3dc1f4e3e6b --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/InternetGateways_ListBySubscription.json @@ -0,0 +1,43 @@ +{ + "title": "InternetGateways_ListBySubscription_MaximumSet_Gen", + "operationId": "InternetGateways_ListBySubscription", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "internetGatewayRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/providers/Microsoft.ManagedNetworkFabric/internetGatewayRules/example-internetGatewayRule", + "ipv4Address": "10.10.10.10", + "port": 25, + "type": "Infrastructure", + "networkFabricControllerId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-networkFabricController", + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/subscriptionId/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/internetGateways/example-internetGateway", + "name": "example-internetGateway", + "type": "microsoft.managednetworkfabric/internetGateways", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/InternetGateways_Update.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/InternetGateways_Update.json new file mode 100644 index 000000000000..27ffbae1e2d5 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/InternetGateways_Update.json @@ -0,0 +1,53 @@ +{ + "title": "InternetGateways_Update_MaximumSet_Gen", + "operationId": "InternetGateways_Update", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "internetGatewayName": "example-internetGateway", + "properties": { + "tags": { + "keyId": "KeyValue" + }, + "properties": { + "internetGatewayRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/providers/Microsoft.ManagedNetworkFabric/internetGatewayRules/example-internetGatewayRule" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "internetGatewayRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/providers/Microsoft.ManagedNetworkFabric/internetGatewayRules/example-internetGatewayRule", + "ipv4Address": "10.10.10.10", + "port": 25, + "type": "Infrastructure", + "networkFabricControllerId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-networkFabricController", + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/subscriptionId/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/internetGateways/example-internetGateway", + "name": "example-internetGateway", + "type": "microsoft.managednetworkfabric/internetGateways", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/IpCommunities_Create.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/IpCommunities_Create.json new file mode 100644 index 000000000000..1595d7cde39e --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/IpCommunities_Create.json @@ -0,0 +1,111 @@ +{ + "title": "IpCommunities_Create_MaximumSet_Gen", + "operationId": "IpCommunities_Create", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "ipCommunityName": "example-ipcommunity", + "resource": { + "properties": { + "annotation": "annotation", + "ipCommunityRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "wellKnownCommunities": [ + "Internet" + ], + "communityMembers": [ + "1:1" + ] + } + ], + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "ipCommunityRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "wellKnownCommunities": [ + "Internet" + ], + "communityMembers": [ + "1:1" + ] + } + ], + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipcommunity", + "name": "example-ipcommunity", + "type": "microsoft.managednetworkfabric/ipcommunities", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotation", + "ipCommunityRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "wellKnownCommunities": [ + "Internet" + ], + "communityMembers": [ + "1:1" + ] + } + ], + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipcommunity", + "name": "example-ipcommunity", + "type": "microsoft.managednetworkfabric/ipcommunities", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/IpCommunities_Delete.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/IpCommunities_Delete.json new file mode 100644 index 000000000000..a512af5dadc9 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/IpCommunities_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "IpCommunities_Delete_MaximumSet_Gen", + "operationId": "IpCommunities_Delete", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "ipCommunityName": "example-ipcommunity" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/IpCommunities_Get.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/IpCommunities_Get.json new file mode 100644 index 000000000000..1bda305934a4 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/IpCommunities_Get.json @@ -0,0 +1,49 @@ +{ + "title": "IpCommunities_Get_MaximumSet_Gen", + "operationId": "IpCommunities_Get", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "ipCommunityName": "example-ipcommunity" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "ipCommunityRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "wellKnownCommunities": [ + "Internet" + ], + "communityMembers": [ + "1:1" + ] + } + ], + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipcommunity", + "name": "example-ipcommunity", + "type": "microsoft.managednetworkfabric/ipcommunities", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/IpCommunities_ListByResourceGroup.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/IpCommunities_ListByResourceGroup.json new file mode 100644 index 000000000000..358037fa9ce7 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/IpCommunities_ListByResourceGroup.json @@ -0,0 +1,53 @@ +{ + "title": "IpCommunities_ListByResourceGroup_MaximumSet_Gen", + "operationId": "IpCommunities_ListByResourceGroup", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "ipCommunityRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "wellKnownCommunities": [ + "Internet" + ], + "communityMembers": [ + "1:1" + ] + } + ], + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipcommunity", + "name": "example-ipcommunity", + "type": "microsoft.managednetworkfabric/ipcommunities", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/IpCommunities_ListBySubscription.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/IpCommunities_ListBySubscription.json new file mode 100644 index 000000000000..40d5f27cc5f0 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/IpCommunities_ListBySubscription.json @@ -0,0 +1,52 @@ +{ + "title": "IpCommunities_ListBySubscription_MaximumSet_Gen", + "operationId": "IpCommunities_ListBySubscription", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "ipCommunityRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "wellKnownCommunities": [ + "Internet" + ], + "communityMembers": [ + "1:1" + ] + } + ], + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipcommunity", + "name": "example-ipcommunity", + "type": "microsoft.managednetworkfabric/ipcommunities", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/IpCommunities_Update.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/IpCommunities_Update.json new file mode 100644 index 000000000000..a4f1dd442a56 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/IpCommunities_Update.json @@ -0,0 +1,73 @@ +{ + "title": "IpCommunities_Update_MaximumSet_Gen", + "operationId": "IpCommunities_Update", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "ipCommunityName": "example-ipcommunity", + "properties": { + "tags": { + "keyID": "KeyValue" + }, + "properties": { + "ipCommunityRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "wellKnownCommunities": [ + "Internet" + ], + "communityMembers": [ + "1:1" + ] + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "ipCommunityRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "wellKnownCommunities": [ + "Internet" + ], + "communityMembers": [ + "1:1" + ] + } + ], + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipcommunity", + "name": "example-ipcommunity", + "type": "microsoft.managednetworkfabric/ipcommunities", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/IpExtendedCommunities_Create.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/IpExtendedCommunities_Create.json new file mode 100644 index 000000000000..9784c4d841f9 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/IpExtendedCommunities_Create.json @@ -0,0 +1,102 @@ +{ + "title": "IpExtendedCommunities_Create_MaximumSet_Gen", + "operationId": "IpExtendedCommunities_Create", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "ipExtendedCommunityName": "example-ipExtendedCommunity", + "resource": { + "properties": { + "annotation": "annotation", + "ipExtendedCommunityRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "routeTargets": [ + "1234:2345" + ] + } + ], + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "ipExtendedCommunityRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "routeTargets": [ + "1234:2345" + ] + } + ], + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity", + "name": "example-ipExtendedCommunity", + "type": "microsoft.managednetworkfabric/ipExtendedCommunities", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotation", + "ipExtendedCommunityRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "routeTargets": [ + "1234:2345" + ] + } + ], + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity", + "name": "example-ipExtendedCommunity", + "type": "microsoft.managednetworkfabric/ipExtendedCommunities", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/IpExtendedCommunities_Delete.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/IpExtendedCommunities_Delete.json new file mode 100644 index 000000000000..5f9d0eff1c00 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/IpExtendedCommunities_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "IpExtendedCommunities_Delete_MaximumSet_Gen", + "operationId": "IpExtendedCommunities_Delete", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "ipExtendedCommunityName": "example-ipExtendedCommunity" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/IpExtendedCommunities_Get.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/IpExtendedCommunities_Get.json new file mode 100644 index 000000000000..ec299f320b42 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/IpExtendedCommunities_Get.json @@ -0,0 +1,46 @@ +{ + "title": "IpExtendedCommunities_Get_MaximumSet_Gen", + "operationId": "IpExtendedCommunities_Get", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "ipExtendedCommunityName": "example-ipExtendedCommunity" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "ipExtendedCommunityRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "routeTargets": [ + "1234:2345" + ] + } + ], + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity", + "name": "example-ipExtendedCommunity", + "type": "microsoft.managednetworkfabric/ipExtendedCommunities", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/IpExtendedCommunities_ListByResourceGroup.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/IpExtendedCommunities_ListByResourceGroup.json new file mode 100644 index 000000000000..2da21b7e47d6 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/IpExtendedCommunities_ListByResourceGroup.json @@ -0,0 +1,50 @@ +{ + "title": "IpExtendedCommunities_ListByResourceGroup_MaximumSet_Gen", + "operationId": "IpExtendedCommunities_ListByResourceGroup", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "ipExtendedCommunityRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "routeTargets": [ + "1234:2345" + ] + } + ], + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity", + "name": "example-ipExtendedCommunity", + "type": "microsoft.managednetworkfabric/ipExtendedCommunities", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/IpExtendedCommunities_ListBySubscription.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/IpExtendedCommunities_ListBySubscription.json new file mode 100644 index 000000000000..12cb789b5f91 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/IpExtendedCommunities_ListBySubscription.json @@ -0,0 +1,49 @@ +{ + "title": "IpExtendedCommunities_ListBySubscription_MaximumSet_Gen", + "operationId": "IpExtendedCommunities_ListBySubscription", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "ipExtendedCommunityRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "routeTargets": [ + "1234:2345" + ] + } + ], + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity", + "name": "example-ipExtendedCommunity", + "type": "microsoft.managednetworkfabric/ipExtendedCommunities", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/IpExtendedCommunities_Update.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/IpExtendedCommunities_Update.json new file mode 100644 index 000000000000..fd353be61c9f --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/IpExtendedCommunities_Update.json @@ -0,0 +1,68 @@ +{ + "title": "IpExtendedCommunities_Update_MaximumSet_Gen", + "operationId": "IpExtendedCommunities_Update", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "ipExtendedCommunityName": "example-ipExtendedCommunity", + "properties": { + "tags": { + "KeyId": "KeyValue" + }, + "properties": { + "ipExtendedCommunityRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "routeTargets": [ + "1234:2345" + ] + } + ], + "annotation": "annotation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "ipExtendedCommunityRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "routeTargets": [ + "1234:2345" + ] + } + ], + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity", + "name": "example-ipExtendedCommunity", + "type": "microsoft.managednetworkfabric/ipExtendedCommunities", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/IpPrefixes_Create.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/IpPrefixes_Create.json new file mode 100644 index 000000000000..a30c6e3b6e3f --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/IpPrefixes_Create.json @@ -0,0 +1,102 @@ +{ + "title": "IpPrefixes_Create_MaximumSet_Gen", + "operationId": "IpPrefixes_Create", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "ipPrefixName": "example-ipPrefix", + "resource": { + "properties": { + "annotation": "annotation", + "ipPrefixRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "networkPrefix": "10.10.10.10/30", + "condition": "GreaterThanOrEqualTo", + "subnetMaskLength": "10" + } + ], + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "ipPrefixRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "networkPrefix": "10.10.10.10/30", + "condition": "GreaterThanOrEqualTo", + "subnetMaskLength": "10" + } + ], + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix", + "name": "example-ipPrefix", + "type": "microsoft.managednetworkfabric/ipPrefixes", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotation", + "ipPrefixRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "networkPrefix": "10.10.10.10/30", + "condition": "GreaterThanOrEqualTo", + "subnetMaskLength": "10" + } + ], + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix", + "name": "example-ipPrefix", + "type": "microsoft.managednetworkfabric/ipPrefixes", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/IpPrefixes_Delete.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/IpPrefixes_Delete.json new file mode 100644 index 000000000000..027a12c980a5 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/IpPrefixes_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "IpPrefixes_Delete_MaximumSet_Gen", + "operationId": "IpPrefixes_Delete", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "ipPrefixName": "example-ipPrefix" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/IpPrefixes_Get.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/IpPrefixes_Get.json new file mode 100644 index 000000000000..038749b88065 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/IpPrefixes_Get.json @@ -0,0 +1,46 @@ +{ + "title": "IpPrefixes_Get_MaximumSet_Gen", + "operationId": "IpPrefixes_Get", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "ipPrefixName": "example-ipPrefix" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "ipPrefixRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "networkPrefix": "10.10.10.10/30", + "condition": "GreaterThanOrEqualTo", + "subnetMaskLength": "10" + } + ], + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix", + "name": "example-ipPrefix", + "type": "microsoft.managednetworkfabric/ipPrefixes", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/IpPrefixes_ListByResourceGroup.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/IpPrefixes_ListByResourceGroup.json new file mode 100644 index 000000000000..ddfeff34510f --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/IpPrefixes_ListByResourceGroup.json @@ -0,0 +1,50 @@ +{ + "title": "IpPrefixes_ListByResourceGroup_MaximumSet_Gen", + "operationId": "IpPrefixes_ListByResourceGroup", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "ipPrefixRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "networkPrefix": "10.10.10.10/30", + "condition": "GreaterThanOrEqualTo", + "subnetMaskLength": "10" + } + ], + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix", + "name": "example-ipPrefix", + "type": "microsoft.managednetworkfabric/ipPrefixes", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/IpPrefixes_ListBySubscription.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/IpPrefixes_ListBySubscription.json new file mode 100644 index 000000000000..a8800a55e0b6 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/IpPrefixes_ListBySubscription.json @@ -0,0 +1,49 @@ +{ + "title": "IpPrefixes_ListBySubscription_MaximumSet_Gen", + "operationId": "IpPrefixes_ListBySubscription", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "ipPrefixRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "networkPrefix": "10.10.10.10/30", + "condition": "GreaterThanOrEqualTo", + "subnetMaskLength": "10" + } + ], + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix", + "name": "example-ipPrefix", + "type": "microsoft.managednetworkfabric/ipPrefixes", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/IpPrefixes_Update.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/IpPrefixes_Update.json new file mode 100644 index 000000000000..ed11bbef6c01 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/IpPrefixes_Update.json @@ -0,0 +1,68 @@ +{ + "title": "IpPrefixes_Update_MaximumSet_Gen", + "operationId": "IpPrefixes_Update", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "ipPrefixName": "example-ipPrefix", + "properties": { + "tags": { + "KeyId": "KeyValue" + }, + "properties": { + "annotation": "annotation", + "ipPrefixRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "networkPrefix": "10.10.10.10/30", + "condition": "GreaterThanOrEqualTo", + "subnetMaskLength": "10" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "ipPrefixRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "networkPrefix": "10.10.10.10/30", + "condition": "GreaterThanOrEqualTo", + "subnetMaskLength": "10" + } + ], + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix", + "name": "example-ipPrefix", + "type": "microsoft.managednetworkfabric/ipPrefixes", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/L2IsolationDomains_CommitConfiguration.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/L2IsolationDomains_CommitConfiguration.json new file mode 100644 index 000000000000..ee171335ad5a --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/L2IsolationDomains_CommitConfiguration.json @@ -0,0 +1,34 @@ +{ + "title": "L2IsolationDomains_CommitConfiguration_MaximumSet_Gen", + "operationId": "L2IsolationDomains_CommitConfiguration", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l2IsolationDomainName": "example-l2domain" + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/L2IsolationDomains_Create.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/L2IsolationDomains_Create.json new file mode 100644 index 000000000000..1de2ad9ab7a2 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/L2IsolationDomains_Create.json @@ -0,0 +1,84 @@ +{ + "title": "L2IsolationDomains_Create_MaximumSet_Gen", + "operationId": "L2IsolationDomains_Create", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l2IsolationDomainName": "example-l2domain", + "resource": { + "properties": { + "annotation": "annotation", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "vlanId": 501, + "mtu": 1500, + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "vlanId": 501, + "mtu": 1500, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/example-l2domain", + "name": "example-l2domain", + "type": "microsoft.managednetworkfabric/l2IsolationDomains", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotation", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "vlanId": 501, + "mtu": 1500, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/example-l2domain", + "name": "example-l2domain", + "type": "microsoft.managednetworkfabric/l2IsolationDomains", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/L2IsolationDomains_Delete.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/L2IsolationDomains_Delete.json new file mode 100644 index 000000000000..f155078736b3 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/L2IsolationDomains_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "L2IsolationDomains_Delete_MaximumSet_Gen", + "operationId": "L2IsolationDomains_Delete", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l2IsolationDomainName": "example-l2domain" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/L2IsolationDomains_Get.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/L2IsolationDomains_Get.json new file mode 100644 index 000000000000..aee14a158a8a --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/L2IsolationDomains_Get.json @@ -0,0 +1,40 @@ +{ + "title": "L2IsolationDomains_Get_MaximumSet_Gen", + "operationId": "L2IsolationDomains_Get", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l2IsolationDomainName": "example-l2domain" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "vlanId": 501, + "mtu": 1500, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/example-l2domain", + "name": "example-l2domain", + "type": "microsoft.managednetworkfabric/l2IsolationDomains", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/L2IsolationDomains_ListByResourceGroup.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/L2IsolationDomains_ListByResourceGroup.json new file mode 100644 index 000000000000..b58030db7cf4 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/L2IsolationDomains_ListByResourceGroup.json @@ -0,0 +1,44 @@ +{ + "title": "L2IsolationDomains_ListByResourceGroup_MaximumSet_Gen", + "operationId": "L2IsolationDomains_ListByResourceGroup", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "vlanId": 501, + "mtu": 1500, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/example-l2domain", + "name": "example-l2domain", + "type": "microsoft.managednetworkfabric/l2IsolationDomains", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/L2IsolationDomains_ListBySubscription.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/L2IsolationDomains_ListBySubscription.json new file mode 100644 index 000000000000..8166ad90af19 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/L2IsolationDomains_ListBySubscription.json @@ -0,0 +1,43 @@ +{ + "title": "L2IsolationDomains_ListBySubscription_MaximumSet_Gen", + "operationId": "L2IsolationDomains_ListBySubscription", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "vlanId": 501, + "mtu": 1500, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/example-l2domain", + "name": "example-l2domain", + "type": "microsoft.managednetworkfabric/l2IsolationDomains", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/L2IsolationDomains_Update.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/L2IsolationDomains_Update.json new file mode 100644 index 000000000000..574cf8c6e427 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/L2IsolationDomains_Update.json @@ -0,0 +1,54 @@ +{ + "title": "L2IsolationDomains_Update_MaximumSet_Gen", + "operationId": "L2IsolationDomains_Update", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l2IsolationDomainName": "example-l2domain", + "properties": { + "tags": { + "KeyId": "KeyValue" + }, + "properties": { + "annotation": "annotation1", + "mtu": 6000 + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "vlanId": 501, + "mtu": 1500, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/example-l2domain", + "name": "example-l2domain", + "type": "microsoft.managednetworkfabric/l2IsolationDomains", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/L2IsolationDomains_UpdateAdministrativeState.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/L2IsolationDomains_UpdateAdministrativeState.json new file mode 100644 index 000000000000..4c41075e244a --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/L2IsolationDomains_UpdateAdministrativeState.json @@ -0,0 +1,46 @@ +{ + "title": "L2IsolationDomains_UpdateAdministrativeState_MaximumSet_Gen", + "operationId": "L2IsolationDomains_UpdateAdministrativeState", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l2IsolationDomainName": "example-l2domain", + "body": { + "resourceIds": [ + "" + ], + "state": "Enable" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded", + "successfulDevices": [ + "" + ], + "failedDevices": [ + "" + ] + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/L2IsolationDomains_ValidateConfiguration.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/L2IsolationDomains_ValidateConfiguration.json new file mode 100644 index 000000000000..c2c5404c4d12 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/L2IsolationDomains_ValidateConfiguration.json @@ -0,0 +1,35 @@ +{ + "title": "L2IsolationDomains_ValidateConfiguration_MaximumSet_Gen", + "operationId": "L2IsolationDomains_ValidateConfiguration", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l2IsolationDomainName": "example-l2domain" + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded", + "url": "https://ActionDetails" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/L3IsolationDomains_CommitConfiguration.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/L3IsolationDomains_CommitConfiguration.json new file mode 100644 index 000000000000..aa19da8b7db9 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/L3IsolationDomains_CommitConfiguration.json @@ -0,0 +1,34 @@ +{ + "title": "L3IsolationDomains_CommitConfiguration_MaximumSet_Gen", + "operationId": "L3IsolationDomains_CommitConfiguration", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-l3domain" + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/L3IsolationDomains_Create.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/L3IsolationDomains_Create.json new file mode 100644 index 000000000000..97258c850bbb --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/L3IsolationDomains_Create.json @@ -0,0 +1,141 @@ +{ + "title": "L3IsolationDomains_Create_MaximumSet_Gen", + "operationId": "L3IsolationDomains_Create", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-l3domain", + "resource": { + "properties": { + "annotation": "annotation", + "redistributeConnectedSubnets": "True", + "redistributeStaticRoutes": "False", + "aggregateRouteConfiguration": { + "ipv4Routes": [ + { + "prefix": "10.0.0.0/24" + } + ], + "ipv6Routes": [ + { + "prefix": "3FFE:FFFF:0:CD30::a0/29" + } + ] + }, + "connectedSubnetRoutePolicy": { + "exportRoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + } + }, + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "redistributeConnectedSubnets": "True", + "redistributeStaticRoutes": "False", + "aggregateRouteConfiguration": { + "ipv4Routes": [ + { + "prefix": "10.0.0.0/24" + } + ], + "ipv6Routes": [ + { + "prefix": "3FFE:FFFF:0:CD30::a0/29" + } + ] + }, + "connectedSubnetRoutePolicy": { + "exportRoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + } + }, + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain", + "name": "example-l3domain", + "type": "microsoft.managednetworkfabric/l3isolationdomains", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotation", + "redistributeConnectedSubnets": "True", + "redistributeStaticRoutes": "False", + "aggregateRouteConfiguration": { + "ipv4Routes": [ + { + "prefix": "10.0.0.0/24" + } + ], + "ipv6Routes": [ + { + "prefix": "3FFE:FFFF:0:CD30::a0/29" + } + ] + }, + "connectedSubnetRoutePolicy": { + "exportRoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + } + }, + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain", + "name": "example-l3domain", + "type": "microsoft.managednetworkfabric/l3isolationdomains", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/L3IsolationDomains_Delete.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/L3IsolationDomains_Delete.json new file mode 100644 index 000000000000..3e7e92d99f82 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/L3IsolationDomains_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "L3IsolationDomains_Delete_MaximumSet_Gen", + "operationId": "L3IsolationDomains_Delete", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-l3domain" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/L3IsolationDomains_Get.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/L3IsolationDomains_Get.json new file mode 100644 index 000000000000..45a422ec262a --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/L3IsolationDomains_Get.json @@ -0,0 +1,59 @@ +{ + "title": "L3IsolationDomains_Get_MaximumSet_Gen", + "operationId": "L3IsolationDomains_Get", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-l3domain" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "redistributeConnectedSubnets": "True", + "redistributeStaticRoutes": "False", + "aggregateRouteConfiguration": { + "ipv4Routes": [ + { + "prefix": "10.0.0.0/24" + } + ], + "ipv6Routes": [ + { + "prefix": "3FFE:FFFF:0:CD30::a0/29" + } + ] + }, + "connectedSubnetRoutePolicy": { + "exportRoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + } + }, + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain", + "name": "example-l3domain", + "type": "microsoft.managednetworkfabric/l3isolationdomains", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/L3IsolationDomains_ListByResourceGroup.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/L3IsolationDomains_ListByResourceGroup.json new file mode 100644 index 000000000000..762800d137ca --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/L3IsolationDomains_ListByResourceGroup.json @@ -0,0 +1,63 @@ +{ + "title": "L3IsolationDomains_ListByResourceGroup_MaximumSet_Gen", + "operationId": "L3IsolationDomains_ListByResourceGroup", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "redistributeConnectedSubnets": "True", + "redistributeStaticRoutes": "False", + "aggregateRouteConfiguration": { + "ipv4Routes": [ + { + "prefix": "10.0.0.0/24" + } + ], + "ipv6Routes": [ + { + "prefix": "3FFE:FFFF:0:CD30::a0/29" + } + ] + }, + "connectedSubnetRoutePolicy": { + "exportRoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + } + }, + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain", + "name": "example-l3domain", + "type": "microsoft.managednetworkfabric/l3isolationdomains", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/L3IsolationDomains_ListBySubscription.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/L3IsolationDomains_ListBySubscription.json new file mode 100644 index 000000000000..3ae67b0153cc --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/L3IsolationDomains_ListBySubscription.json @@ -0,0 +1,62 @@ +{ + "title": "L3IsolationDomains_ListBySubscription_MaximumSet_Gen", + "operationId": "L3IsolationDomains_ListBySubscription", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "redistributeConnectedSubnets": "True", + "redistributeStaticRoutes": "False", + "aggregateRouteConfiguration": { + "ipv4Routes": [ + { + "prefix": "10.0.0.0/24" + } + ], + "ipv6Routes": [ + { + "prefix": "3FFE:FFFF:0:CD30::a0/29" + } + ] + }, + "connectedSubnetRoutePolicy": { + "exportRoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + } + }, + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain", + "name": "example-l3domain", + "type": "microsoft.managednetworkfabric/l3isolationdomains", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/L3IsolationDomains_Update.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/L3IsolationDomains_Update.json new file mode 100644 index 000000000000..edf53b33053b --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/L3IsolationDomains_Update.json @@ -0,0 +1,93 @@ +{ + "title": "L3IsolationDomains_Update_MaximumSet_Gen", + "operationId": "L3IsolationDomains_Update", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-l3domain", + "properties": { + "tags": { + "KeyId": "KeyValue" + }, + "properties": { + "annotation": "annotation1", + "redistributeConnectedSubnets": "True", + "redistributeStaticRoutes": "False", + "aggregateRouteConfiguration": { + "ipv4Routes": [ + { + "prefix": "10.0.0.0/24" + } + ], + "ipv6Routes": [ + { + "prefix": "3FFE:FFFF:0:CD30::a0/29" + } + ] + }, + "connectedSubnetRoutePolicy": { + "exportRoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + } + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "redistributeConnectedSubnets": "True", + "redistributeStaticRoutes": "False", + "aggregateRouteConfiguration": { + "ipv4Routes": [ + { + "prefix": "10.0.0.0/24" + } + ], + "ipv6Routes": [ + { + "prefix": "3FFE:FFFF:0:CD30::a0/29" + } + ] + }, + "connectedSubnetRoutePolicy": { + "exportRoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + } + }, + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain", + "name": "example-l3domain", + "type": "microsoft.managednetworkfabric/l3isolationdomains", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/L3IsolationDomains_UpdateAdministrativeState.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/L3IsolationDomains_UpdateAdministrativeState.json new file mode 100644 index 000000000000..f66155236fa4 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/L3IsolationDomains_UpdateAdministrativeState.json @@ -0,0 +1,46 @@ +{ + "title": "L3IsolationDomains_UpdateAdministrativeState_MaximumSet_Gen", + "operationId": "L3IsolationDomains_UpdateAdministrativeState", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-l3domain", + "body": { + "resourceIds": [ + "" + ], + "state": "Enable" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded", + "successfulDevices": [ + "" + ], + "failedDevices": [ + "" + ] + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/L3IsolationDomains_ValidateConfiguration.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/L3IsolationDomains_ValidateConfiguration.json new file mode 100644 index 000000000000..5c2bb706532c --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/L3IsolationDomains_ValidateConfiguration.json @@ -0,0 +1,35 @@ +{ + "title": "L3IsolationDomains_ValidateConfiguration_MaximumSet_Gen", + "operationId": "L3IsolationDomains_ValidateConfiguration", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-l3domain" + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded", + "url": "mg" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NeighborGroups_Create.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NeighborGroups_Create.json new file mode 100644 index 000000000000..49ceed7a8eb8 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NeighborGroups_Create.json @@ -0,0 +1,130 @@ +{ + "title": "NeighborGroups_Create_MaximumSet_Gen", + "operationId": "NeighborGroups_Create", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "neighborGroupName": "example-neighborGroup", + "resource": { + "properties": { + "annotation": "annotation", + "destination": { + "ipv4Addresses": [ + "10.10.10.10", + "20.10.10.10", + "30.10.10.10", + "40.10.10.10", + "50.10.10.10", + "60.10.10.10", + "70.10.10.10", + "80.10.10.10", + "90.10.10.10" + ], + "ipv6Addresses": [ + "2F::/100" + ] + } + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "destination": { + "ipv4Addresses": [ + "10.10.10.10", + "20.10.10.10", + "30.10.10.10", + "40.10.10.10", + "50.10.10.10", + "60.10.10.10", + "70.10.10.10", + "80.10.10.10", + "90.10.10.10" + ], + "ipv6Addresses": [ + "2F::/100" + ] + }, + "networkTapIds": [ + "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-networkTap" + ], + "networkTapRuleIds": [ + "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-networkTapRule" + ], + "provisioningState": "Accepted" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/subscriptionId/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup", + "name": "example-neighborGroup", + "type": "microsoft.managednetworkfabric/neighborGroups", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotation", + "destination": { + "ipv4Addresses": [ + "10.10.10.10", + "20.10.10.10", + "30.10.10.10", + "40.10.10.10", + "50.10.10.10", + "60.10.10.10", + "70.10.10.10", + "80.10.10.10", + "90.10.10.10" + ], + "ipv6Addresses": [ + "2F::/100" + ] + }, + "networkTapIds": [ + "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-networkTap" + ], + "networkTapRuleIds": [ + "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-networkTapRule" + ], + "provisioningState": "Accepted" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/subscriptionId/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup", + "name": "example-neighborGroup", + "type": "microsoft.managednetworkfabric/neighborGroups", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NeighborGroups_Delete.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NeighborGroups_Delete.json new file mode 100644 index 000000000000..cfdd3f3059a3 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NeighborGroups_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "NeighborGroups_Delete_MaximumSet_Gen", + "operationId": "NeighborGroups_Delete", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "neighborGroupName": "example-neighborGroup" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NeighborGroups_Get.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NeighborGroups_Get.json new file mode 100644 index 000000000000..a32e9f8367ac --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NeighborGroups_Get.json @@ -0,0 +1,57 @@ +{ + "title": "NeighborGroups_Get_MaximumSet_Gen", + "operationId": "NeighborGroups_Get", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "neighborGroupName": "example-neighborGroup" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "destination": { + "ipv4Addresses": [ + "10.10.10.10", + "20.10.10.10", + "30.10.10.10", + "40.10.10.10", + "50.10.10.10", + "60.10.10.10", + "70.10.10.10", + "80.10.10.10", + "90.10.10.10" + ], + "ipv6Addresses": [ + "2F::/100" + ] + }, + "networkTapIds": [ + "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-networkTap" + ], + "networkTapRuleIds": [ + "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-networkTapRule" + ], + "provisioningState": "Accepted" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/subscriptionId/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup", + "name": "example-neighborGroup", + "type": "microsoft.managednetworkfabric/neighborGroups", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NeighborGroups_ListByResourceGroup.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NeighborGroups_ListByResourceGroup.json new file mode 100644 index 000000000000..4bf98890980d --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NeighborGroups_ListByResourceGroup.json @@ -0,0 +1,61 @@ +{ + "title": "NeighborGroups_ListByResourceGroup_MaximumSet_Gen", + "operationId": "NeighborGroups_ListByResourceGroup", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "destination": { + "ipv4Addresses": [ + "10.10.10.10", + "20.10.10.10", + "30.10.10.10", + "40.10.10.10", + "50.10.10.10", + "60.10.10.10", + "70.10.10.10", + "80.10.10.10", + "90.10.10.10" + ], + "ipv6Addresses": [ + "2F::/100" + ] + }, + "networkTapIds": [ + "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-networkTap" + ], + "networkTapRuleIds": [ + "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-networkTapRule" + ], + "provisioningState": "Accepted" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/subscriptionId/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup", + "name": "example-neighborGroup", + "type": "microsoft.managednetworkfabric/neighborGroups", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NeighborGroups_ListBySubscription.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NeighborGroups_ListBySubscription.json new file mode 100644 index 000000000000..aeaada7a7baf --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NeighborGroups_ListBySubscription.json @@ -0,0 +1,60 @@ +{ + "title": "NeighborGroups_ListBySubscription_MaximumSet_Gen", + "operationId": "NeighborGroups_ListBySubscription", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "destination": { + "ipv4Addresses": [ + "10.10.10.10", + "20.10.10.10", + "30.10.10.10", + "40.10.10.10", + "50.10.10.10", + "60.10.10.10", + "70.10.10.10", + "80.10.10.10", + "90.10.10.10" + ], + "ipv6Addresses": [ + "2F::/100" + ] + }, + "networkTapIds": [ + "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-networkTap" + ], + "networkTapRuleIds": [ + "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-networkTapRule" + ], + "provisioningState": "Accepted" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/subscriptionId/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup", + "name": "example-neighborGroup", + "type": "microsoft.managednetworkfabric/neighborGroups", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NeighborGroups_Update.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NeighborGroups_Update.json new file mode 100644 index 000000000000..3e56806ea0f4 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NeighborGroups_Update.json @@ -0,0 +1,86 @@ +{ + "title": "NeighborGroups_Update_MaximumSet_Gen", + "operationId": "NeighborGroups_Update", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "neighborGroupName": "example-neighborGroup", + "properties": { + "tags": { + "KeyId": "KeyValue" + }, + "properties": { + "annotation": "Updating", + "destination": { + "ipv4Addresses": [ + "10.10.10.10", + "20.10.10.10", + "30.10.10.10", + "40.10.10.10", + "50.10.10.10", + "60.10.10.10", + "70.10.10.10", + "80.10.10.10", + "90.10.10.10" + ], + "ipv6Addresses": [ + "2F::/100" + ] + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "destination": { + "ipv4Addresses": [ + "10.10.10.10", + "20.10.10.10", + "30.10.10.10", + "40.10.10.10", + "50.10.10.10", + "60.10.10.10", + "70.10.10.10", + "80.10.10.10", + "90.10.10.10" + ], + "ipv6Addresses": [ + "2F::/100" + ] + }, + "networkTapIds": [ + "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-networkTap" + ], + "networkTapRuleIds": [ + "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-networkTapRule" + ], + "provisioningState": "Accepted" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/subscriptionId/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup", + "name": "example-neighborGroup", + "type": "microsoft.managednetworkfabric/neighborGroups", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkDeviceSkus_Get.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkDeviceSkus_Get.json new file mode 100644 index 000000000000..46d749b6cd00 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkDeviceSkus_Get.json @@ -0,0 +1,54 @@ +{ + "title": "NetworkDeviceSkus_Get_MaximumSet_Gen", + "operationId": "NetworkDeviceSkus_Get", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "networkDeviceSkuName": "example-deviceSku" + }, + "responses": { + "200": { + "body": { + "properties": { + "model": "model1", + "manufacturer": "Arista", + "supportedVersions": [ + { + "version": "1.0.0", + "vendorOsVersion": "2.0", + "vendorFirmwareVersion": "11.2", + "isDefault": "True" + } + ], + "supportedRoleTypes": [ + "CE" + ], + "interfaces": [ + { + "identifier": "HundredGigE0/0", + "interfaceType": "type1", + "supportedConnectorTypes": [ + { + "connectorType": "Optical", + "maxSpeedInMbps": 100 + } + ] + } + ], + "provisioningState": "Accepted" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/providers/Microsoft.ManagedNetworkFabric/networkDeviceSkus/example-deviceSku", + "name": "example-deviceSku", + "type": "microsoft.managednetworkfabric/networkDeviceSkus", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkDeviceSkus_ListBySubscription.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkDeviceSkus_ListBySubscription.json new file mode 100644 index 000000000000..3ae43e057f80 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkDeviceSkus_ListBySubscription.json @@ -0,0 +1,58 @@ +{ + "title": "NetworkDeviceSkus_ListBySubscription_MaximumSet_Gen", + "operationId": "NetworkDeviceSkus_ListBySubscription", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "model": "model1", + "manufacturer": "Arista", + "supportedVersions": [ + { + "version": "1.0.0", + "vendorOsVersion": "2.0", + "vendorFirmwareVersion": "11.2", + "isDefault": "True" + } + ], + "supportedRoleTypes": [ + "CE" + ], + "interfaces": [ + { + "identifier": "HundredGigE0/0", + "interfaceType": "type1", + "supportedConnectorTypes": [ + { + "connectorType": "Optical", + "maxSpeedInMbps": 100 + } + ] + } + ], + "provisioningState": "Accepted" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/providers/Microsoft.ManagedNetworkFabric/networkDeviceSkus/example-deviceSku", + "name": "example-deviceSku", + "type": "microsoft.managednetworkfabric/networkDeviceSkus", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkDevices_Create.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkDevices_Create.json new file mode 100644 index 000000000000..b5993dc3080d --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkDevices_Create.json @@ -0,0 +1,95 @@ +{ + "title": "NetworkDevices_Create_MaximumSet_Gen", + "operationId": "NetworkDevices_Create", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkDeviceName": "example-device", + "resource": { + "properties": { + "annotation": "annotation", + "hostName": "NFA-Device", + "serialNumber": "Vendor;DCS-7280XXX-24;12.05;JPE2111XXXX", + "networkDeviceSku": "DeviceSku", + "networkDeviceRole": "CE", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastuseuap" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "hostName": "NFA-Device", + "serialNumber": "Vendor;DCS-7280XXX-24;12.05;JPE2111XXXX", + "version": "1.0", + "networkDeviceSku": "DeviceSku", + "networkDeviceRole": "CE", + "networkRackId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-rack", + "managementIpv4Address": "10.10.10.10", + "managementIpv6Address": "2F::1/100", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-device", + "name": "example-device", + "type": "microsoft.managednetworkfabric/networkdevices", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotation", + "hostName": "NFA-Device", + "serialNumber": "Vendor;DCS-7280XXX-24;12.05;JPE2111XXXX", + "version": "1.0", + "networkDeviceSku": "DeviceSku", + "networkDeviceRole": "CE", + "networkRackId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-rack", + "managementIpv4Address": "10.10.10.10", + "managementIpv6Address": "2F::1/100", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-device", + "name": "example-device", + "type": "microsoft.managednetworkfabric/networkdevices", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkDevices_Delete.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkDevices_Delete.json new file mode 100644 index 000000000000..4d483128670a --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkDevices_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "NetworkDevices_Delete_MaximumSet_Gen", + "operationId": "NetworkDevices_Delete", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkDeviceName": "example-device" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkDevices_Get.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkDevices_Get.json new file mode 100644 index 000000000000..be1f976e9898 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkDevices_Get.json @@ -0,0 +1,45 @@ +{ + "title": "NetworkDevices_Get_MaximumSet_Gen", + "operationId": "NetworkDevices_Get", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkDeviceName": "example-device" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "hostName": "NFA-Device", + "serialNumber": "Vendor;DCS-7280XXX-24;12.05;JPE2111XXXX", + "version": "1.0", + "networkDeviceSku": "DeviceSku", + "networkDeviceRole": "CE", + "networkRackId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-rack", + "managementIpv4Address": "10.10.10.10", + "managementIpv6Address": "2F::1/100", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-device", + "name": "example-device", + "type": "microsoft.managednetworkfabric/networkdevices", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkDevices_ListByResourceGroup.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkDevices_ListByResourceGroup.json new file mode 100644 index 000000000000..e8c7c84bbdc0 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkDevices_ListByResourceGroup.json @@ -0,0 +1,49 @@ +{ + "title": "NetworkDevices_ListByResourceGroup_MaximumSet_Gen", + "operationId": "NetworkDevices_ListByResourceGroup", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "hostName": "NFA-Device", + "serialNumber": "Vendor;DCS-7280XXX-24;12.05;JPE2111XXXX", + "version": "1.0", + "networkDeviceSku": "DeviceSku", + "networkDeviceRole": "CE", + "networkRackId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-rack", + "managementIpv4Address": "10.10.10.10", + "managementIpv6Address": "2F::1/100", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-device", + "name": "example-device", + "type": "microsoft.managednetworkfabric/networkdevices", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkDevices_ListBySubscription.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkDevices_ListBySubscription.json new file mode 100644 index 000000000000..8559a3beb510 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkDevices_ListBySubscription.json @@ -0,0 +1,48 @@ +{ + "title": "NetworkDevices_ListBySubscription_MaximumSet_Gen", + "operationId": "NetworkDevices_ListBySubscription", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "hostName": "NFA-Device", + "serialNumber": "Vendor;DCS-7280XXX-24;12.05;JPE2111XXXX", + "version": "1.0", + "networkDeviceSku": "DeviceSku", + "networkDeviceRole": "CE", + "networkRackId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-rack", + "managementIpv4Address": "10.10.10.10", + "managementIpv6Address": "2F::1/100", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-device", + "name": "example-device", + "type": "microsoft.managednetworkfabric/networkdevices", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkDevices_Reboot.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkDevices_Reboot.json new file mode 100644 index 000000000000..6f3a91cbb09d --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkDevices_Reboot.json @@ -0,0 +1,37 @@ +{ + "title": "NetworkDevices_Reboot_MaximumSet_Gen", + "operationId": "NetworkDevices_Reboot", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkDeviceName": "example-device", + "body": { + "rebootType": "GracefulRebootWithZTP" + } + }, + "responses": { + "200": { + "body": { + "configurationState": "Succeeded", + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkDevices_RefreshConfiguration.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkDevices_RefreshConfiguration.json new file mode 100644 index 000000000000..93586a346895 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkDevices_RefreshConfiguration.json @@ -0,0 +1,34 @@ +{ + "title": "NetworkDevices_RefreshConfiguration_MaximumSet_Gen", + "operationId": "NetworkDevices_RefreshConfiguration", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkDeviceName": "example-device" + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkDevices_RunRoCommand.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkDevices_RunRoCommand.json new file mode 100644 index 000000000000..91025ecd7805 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkDevices_RunRoCommand.json @@ -0,0 +1,38 @@ +{ + "title": "NetworkDevices_RunRoCommand_MaximumSet_Gen", + "operationId": "NetworkDevices_RunRoCommand", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkDeviceName": "example-device", + "body": { + "command": "sigtufivipqdapgglzi" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "svvzwijqaghjlelhr", + "message": "kgttomemzowwdiqvbtqlrd", + "target": "txdqddgrezjihhhrmdovikhm", + "details": [], + "additionalInfo": [ + { + "type": "vcaekwfqlkfzcjompti", + "info": {} + } + ] + }, + "configurationState": "Succeeded", + "outputUrl": "dxzpukpwdgo" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkDevices_RunRwCommand.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkDevices_RunRwCommand.json new file mode 100644 index 000000000000..4a9ea97ea83f --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkDevices_RunRwCommand.json @@ -0,0 +1,38 @@ +{ + "title": "NetworkDevices_RunRwCommand_MaximumSet_Gen", + "operationId": "NetworkDevices_RunRwCommand", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkDeviceName": "example-device", + "body": { + "command": "yzuabghycngqmqtfacvoh" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "svvzwijqaghjlelhr", + "message": "kgttomemzowwdiqvbtqlrd", + "target": "txdqddgrezjihhhrmdovikhm", + "details": [], + "additionalInfo": [ + { + "type": "vcaekwfqlkfzcjompti", + "info": {} + } + ] + }, + "configurationState": "Succeeded", + "outputUrl": "hypjtiwzhevuc" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkDevices_Update.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkDevices_Update.json new file mode 100644 index 000000000000..392bf8fe6175 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkDevices_Update.json @@ -0,0 +1,60 @@ +{ + "title": "NetworkDevices_Update_MaximumSet_Gen", + "operationId": "NetworkDevices_Update", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkDeviceName": "example-device", + "properties": { + "tags": { + "KeyId": "KeyValue" + }, + "properties": { + "annotation": "annotation", + "hostName": "NFA-Device", + "serialNumber": "Vendor;DCS-7280XXX-24;12.05;JPE2111XXXX" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "hostName": "NFA-Device", + "serialNumber": "Vendor;DCS-7280XXX-24;12.05;JPE2111XXXX", + "version": "1.0", + "networkDeviceSku": "DeviceSku", + "networkDeviceRole": "CE", + "networkRackId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-rack", + "managementIpv4Address": "10.10.10.10", + "managementIpv6Address": "2F::1/100", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-device", + "name": "example-device", + "type": "microsoft.managednetworkfabric/networkdevices", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkDevices_UpdateAdministrativeState.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkDevices_UpdateAdministrativeState.json new file mode 100644 index 000000000000..e1bd7f7794e6 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkDevices_UpdateAdministrativeState.json @@ -0,0 +1,40 @@ +{ + "title": "NetworkDevices_UpdateAdministrativeState_MaximumSet_Gen", + "operationId": "NetworkDevices_UpdateAdministrativeState", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkDeviceName": "example-device", + "body": { + "resourceIds": [ + "" + ], + "state": "RMA" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkDevices_Upgrade.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkDevices_Upgrade.json new file mode 100644 index 000000000000..28c627fccf75 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkDevices_Upgrade.json @@ -0,0 +1,37 @@ +{ + "title": "NetworkDevices_Upgrade_MaximumSet_Gen", + "operationId": "NetworkDevices_Upgrade", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkDeviceName": "example-device", + "body": { + "version": "1.0.0" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkFabricControllers_Create.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkFabricControllers_Create.json new file mode 100644 index 000000000000..b1c6ab25f476 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkFabricControllers_Create.json @@ -0,0 +1,176 @@ +{ + "title": "NetworkFabricControllers_Create_MaximumSet_Gen", + "operationId": "NetworkFabricControllers_Create", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricControllerName": "example-networkController", + "resource": { + "properties": { + "annotation": "annotation", + "infrastructureExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName", + "expressRouteAuthorizationKey": "xxx-xxx-xxx" + } + ], + "workloadExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName", + "expressRouteAuthorizationKey": "xxx-xxx-xxx" + } + ], + "infrastructureServices": { + "ipv4AddressSpaces": [ + "172.253.0.0/19" + ], + "ipv6AddressSpaces": [] + }, + "workloadServices": { + "ipv4AddressSpaces": [ + "172.253.28.0/22" + ], + "ipv6AddressSpaces": [] + }, + "managedResourceGroupConfiguration": { + "name": "managedResourceGroupName", + "location": "eastus" + }, + "isWorkloadManagementNetworkEnabled": "True", + "ipv4AddressSpace": "172.253.0.0/19", + "ipv6AddressSpace": "::/60", + "nfcSku": "Standard" + }, + "tags": { + "keyId": "KeyValue" + }, + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "infrastructureExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName" + } + ], + "workloadExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName" + } + ], + "infrastructureServices": { + "ipv4AddressSpaces": [ + "172.253.0.0/19" + ], + "ipv6AddressSpaces": [] + }, + "workloadServices": { + "ipv4AddressSpaces": [ + "172.253.28.0/22" + ], + "ipv6AddressSpaces": [] + }, + "managedResourceGroupConfiguration": { + "name": "managedResourceGroupName", + "location": "eastus" + }, + "networkFabricIds": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/eaxmple-fabric" + ], + "workloadManagementNetwork": true, + "isWorkloadManagementNetworkEnabled": "True", + "tenantInternetGatewayIds": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/internetGateways/example-internetGateway" + ], + "ipv4AddressSpace": "172.253.0.0/19", + "ipv6AddressSpace": "::/60", + "nfcSku": "Standard", + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-networkController", + "name": "example-networkController", + "type": "microsoft.managednetworkfabric/networkfabriccontrollers", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotation", + "infrastructureExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName" + } + ], + "workloadExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName" + } + ], + "infrastructureServices": { + "ipv4AddressSpaces": [ + "172.253.0.0/19" + ], + "ipv6AddressSpaces": [] + }, + "workloadServices": { + "ipv4AddressSpaces": [ + "172.253.28.0/22" + ], + "ipv6AddressSpaces": [] + }, + "managedResourceGroupConfiguration": { + "name": "managedResourceGroupName", + "location": "eastus" + }, + "networkFabricIds": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/eaxmple-fabric" + ], + "workloadManagementNetwork": true, + "isWorkloadManagementNetworkEnabled": "True", + "tenantInternetGatewayIds": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/internetGateways/example-internetGateway" + ], + "ipv4AddressSpace": "172.253.0.0/19", + "ipv6AddressSpace": "::/60", + "nfcSku": "Standard", + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-networkController", + "name": "example-networkController", + "type": "microsoft.managednetworkfabric/networkfabriccontrollers", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkFabricControllers_Delete.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkFabricControllers_Delete.json new file mode 100644 index 000000000000..8f91ec82c5a4 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkFabricControllers_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "NetworkFabricControllers_Delete_MaximumSet_Gen", + "operationId": "NetworkFabricControllers_Delete", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricControllerName": "example-networkController" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkFabricControllers_Get.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkFabricControllers_Get.json new file mode 100644 index 000000000000..2e7178462006 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkFabricControllers_Get.json @@ -0,0 +1,72 @@ +{ + "title": "NetworkFabricControllers_Get_MaximumSet_Gen", + "operationId": "NetworkFabricControllers_Get", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricControllerName": "example-networkController" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "infrastructureExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName" + } + ], + "workloadExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName" + } + ], + "infrastructureServices": { + "ipv4AddressSpaces": [ + "172.253.0.0/19" + ], + "ipv6AddressSpaces": [] + }, + "workloadServices": { + "ipv4AddressSpaces": [ + "172.253.28.0/22" + ], + "ipv6AddressSpaces": [] + }, + "managedResourceGroupConfiguration": { + "name": "managedResourceGroupName", + "location": "eastus" + }, + "networkFabricIds": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/eaxmple-fabric" + ], + "workloadManagementNetwork": true, + "isWorkloadManagementNetworkEnabled": "True", + "tenantInternetGatewayIds": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/internetGateways/example-internetGateway" + ], + "ipv4AddressSpace": "172.253.0.0/19", + "ipv6AddressSpace": "::/60", + "nfcSku": "Standard", + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-networkController", + "name": "example-networkController", + "type": "microsoft.managednetworkfabric/networkfabriccontrollers", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkFabricControllers_ListByResourceGroup.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkFabricControllers_ListByResourceGroup.json new file mode 100644 index 000000000000..3541ae52cc03 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkFabricControllers_ListByResourceGroup.json @@ -0,0 +1,76 @@ +{ + "title": "NetworkFabricControllers_ListByResourceGroup_MaximumSet_Gen", + "operationId": "NetworkFabricControllers_ListByResourceGroup", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "infrastructureExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName" + } + ], + "workloadExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName" + } + ], + "infrastructureServices": { + "ipv4AddressSpaces": [ + "172.253.0.0/19" + ], + "ipv6AddressSpaces": [] + }, + "workloadServices": { + "ipv4AddressSpaces": [ + "172.253.28.0/22" + ], + "ipv6AddressSpaces": [] + }, + "managedResourceGroupConfiguration": { + "name": "managedResourceGroupName", + "location": "eastus" + }, + "networkFabricIds": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/eaxmple-fabric" + ], + "workloadManagementNetwork": true, + "isWorkloadManagementNetworkEnabled": "True", + "tenantInternetGatewayIds": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/internetGateways/example-internetGateway" + ], + "ipv4AddressSpace": "172.253.0.0/19", + "ipv6AddressSpace": "::/60", + "nfcSku": "Standard", + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-networkController", + "name": "example-networkController", + "type": "microsoft.managednetworkfabric/networkfabriccontrollers", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkFabricControllers_ListBySubscription.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkFabricControllers_ListBySubscription.json new file mode 100644 index 000000000000..bad557fcec40 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkFabricControllers_ListBySubscription.json @@ -0,0 +1,75 @@ +{ + "title": "NetworkFabricControllers_ListBySubscription_MaximumSet_Gen", + "operationId": "NetworkFabricControllers_ListBySubscription", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "infrastructureExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName" + } + ], + "workloadExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName" + } + ], + "infrastructureServices": { + "ipv4AddressSpaces": [ + "172.253.0.0/19" + ], + "ipv6AddressSpaces": [] + }, + "workloadServices": { + "ipv4AddressSpaces": [ + "172.253.28.0/22" + ], + "ipv6AddressSpaces": [] + }, + "managedResourceGroupConfiguration": { + "name": "managedResourceGroupName", + "location": "eastus" + }, + "networkFabricIds": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/eaxmple-fabric" + ], + "workloadManagementNetwork": true, + "isWorkloadManagementNetworkEnabled": "True", + "tenantInternetGatewayIds": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/internetGateways/example-internetGateway" + ], + "ipv4AddressSpace": "172.253.0.0/19", + "ipv6AddressSpace": "::/60", + "nfcSku": "Standard", + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-networkController", + "name": "example-networkController", + "type": "microsoft.managednetworkfabric/networkfabriccontrollers", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkFabricControllers_Update.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkFabricControllers_Update.json new file mode 100644 index 000000000000..9ab3eba8b2a8 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkFabricControllers_Update.json @@ -0,0 +1,96 @@ +{ + "title": "NetworkFabricControllers_Update_MaximumSet_Gen", + "operationId": "NetworkFabricControllers_Update", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricControllerName": "example-networkController", + "properties": { + "tags": { + "keyId": "KeyValue" + }, + "properties": { + "infrastructureExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName", + "expressRouteAuthorizationKey": "xxx-xxx-xxx" + } + ], + "workloadExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName", + "expressRouteAuthorizationKey": "xxx-xxx-xxx" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "infrastructureExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName" + } + ], + "workloadExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName" + } + ], + "infrastructureServices": { + "ipv4AddressSpaces": [ + "172.253.0.0/19" + ], + "ipv6AddressSpaces": [] + }, + "workloadServices": { + "ipv4AddressSpaces": [ + "172.253.28.0/22" + ], + "ipv6AddressSpaces": [] + }, + "managedResourceGroupConfiguration": { + "name": "managedResourceGroupName", + "location": "eastus" + }, + "networkFabricIds": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/eaxmple-fabric" + ], + "workloadManagementNetwork": true, + "isWorkloadManagementNetworkEnabled": "True", + "tenantInternetGatewayIds": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/internetGateways/example-internetGateway" + ], + "ipv4AddressSpace": "172.253.0.0/19", + "ipv6AddressSpace": "::/60", + "nfcSku": "Standard", + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-networkController", + "name": "example-networkController", + "type": "microsoft.managednetworkfabric/networkfabriccontrollers", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkFabricSkus_Get.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkFabricSkus_Get.json new file mode 100644 index 000000000000..c8172a76d1f6 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkFabricSkus_Get.json @@ -0,0 +1,36 @@ +{ + "title": "NetworkFabricSkus_Get_MaximumSet_Gen", + "operationId": "NetworkFabricSkus_Get", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "networkFabricSkuName": "wxample-fabricsku" + }, + "responses": { + "200": { + "body": { + "properties": { + "type": "SingleRack", + "maxComputeRacks": 4, + "maximumServerCount": 9, + "supportedVersions": [ + "1.0.0" + ], + "details": "https://azure/fabricskuDetails", + "provisioningState": "Accepted" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/providers/Microsoft.ManagedNetworkFabric/networkFabricSkus/example-fabricsku", + "name": "example-fabricsku", + "type": "microsoft.managednetworkfabric/networkFabricSkus", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkFabricSkus_ListBySubscription.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkFabricSkus_ListBySubscription.json new file mode 100644 index 000000000000..ad538f69e92f --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkFabricSkus_ListBySubscription.json @@ -0,0 +1,40 @@ +{ + "title": "NetworkFabricSkus_ListBySubscription_MaximumSet_Gen", + "operationId": "NetworkFabricSkus_ListBySubscription", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "type": "SingleRack", + "maxComputeRacks": 4, + "maximumServerCount": 9, + "supportedVersions": [ + "1.0.0" + ], + "details": "https://azure/fabricskuDetails", + "provisioningState": "Accepted" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/providers/Microsoft.ManagedNetworkFabric/networkFabricSkus/example-fabricsku", + "name": "example-fabricsku", + "type": "microsoft.managednetworkfabric/networkFabricSkus", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkFabrics_CommitConfiguration.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkFabrics_CommitConfiguration.json new file mode 100644 index 000000000000..deed3be982e5 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkFabrics_CommitConfiguration.json @@ -0,0 +1,34 @@ +{ + "title": "NetworkFabrics_CommitConfiguration_MaximumSet_Gen", + "operationId": "NetworkFabrics_CommitConfiguration", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-networkFabric" + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkFabrics_Create.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkFabrics_Create.json new file mode 100644 index 000000000000..975097cf74f7 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkFabrics_Create.json @@ -0,0 +1,397 @@ +{ + "title": "NetworkFabrics_Create_MaximumSet_Gen", + "operationId": "NetworkFabrics_Create", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-fabric", + "resource": { + "properties": { + "annotation": "annotation", + "networkFabricSku": "M4-A400-A100-C16-aa", + "fabricVersion": "version1", + "networkFabricControllerId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-fabricController", + "rackCount": 4, + "serverCountPerRack": 8, + "ipv4Prefix": "10.18.0.0/19", + "ipv6Prefix": "3FFE:FFFF:0:CD40::/59", + "fabricASN": 29249, + "terminalServerConfiguration": { + "username": "username", + "password": "xxx-xx-xx", + "serialNumber": "123456", + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "40.0.0.14/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127" + }, + "managementNetworkConfiguration": { + "infrastructureVpnConfiguration": { + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10050" + ], + "exportRouteTargets": [ + "65046:10050" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "mtu": 1501, + "vlanId": 3001, + "peerASN": 1235, + "bfdConfiguration": { + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "20.0.0.13/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127" + } + }, + "workloadVpnConfiguration": { + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10050" + ], + "exportRouteTargets": [ + "65046:10050" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "mtu": 1500, + "vlanId": 3000, + "peerASN": 61234, + "bfdConfiguration": { + "intervalInMilliSeconds": 300, + "multiplier": 5 + }, + "primaryIpv4Prefix": "10.0.0.14/30", + "primaryIpv6Prefix": "2FFE:FFFF:0:CD30::a7/126", + "secondaryIpv4Prefix": "10.0.0.15/30", + "secondaryIpv6Prefix": "2FFE:FFFF:0:CD30::ac/126" + } + } + } + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkFabricSku": "M4-A400-A100-C16-aa", + "fabricVersion": "version1", + "routerIds": [ + "routerId" + ], + "networkFabricControllerId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-fabricController", + "rackCount": 4, + "serverCountPerRack": 8, + "ipv4Prefix": "10.18.0.0/19", + "ipv6Prefix": "3FFE:FFFF:0:CD40::/59", + "fabricASN": 29249, + "terminalServerConfiguration": { + "username": "username", + "serialNumber": "123456", + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "40.0.0.14/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127", + "networkDeviceId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice" + }, + "managementNetworkConfiguration": { + "infrastructureVpnConfiguration": { + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "administrativeState": "Enabled", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10050" + ], + "exportRouteTargets": [ + "65046:10050" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "mtu": 1501, + "vlanId": 3001, + "peerASN": 1235, + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "20.0.0.13/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127" + } + }, + "workloadVpnConfiguration": { + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "administrativeState": "Enabled", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10050" + ], + "exportRouteTargets": [ + "65046:10050" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "mtu": 1500, + "vlanId": 3000, + "peerASN": 61234, + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 5 + }, + "primaryIpv4Prefix": "10.0.0.14/30", + "primaryIpv6Prefix": "2FFE:FFFF:0:CD30::a7/126", + "secondaryIpv4Prefix": "10.0.0.15/30", + "secondaryIpv6Prefix": "2FFE:FFFF:0:CD30::ac/126" + } + } + }, + "racks": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-networkRack" + ], + "l2IsolationDomains": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/example-l2Domain" + ], + "l3IsolationDomains": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3Domain" + ], + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "name": "example-fabric", + "type": "Microsoft.ManagedNetworkFabric/networkFabrics", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotation", + "networkFabricSku": "M4-A400-A100-C16-aa", + "fabricVersion": "version1", + "routerIds": [ + "routerId" + ], + "networkFabricControllerId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-fabricController", + "rackCount": 4, + "serverCountPerRack": 8, + "ipv4Prefix": "10.18.0.0/19", + "ipv6Prefix": "3FFE:FFFF:0:CD40::/59", + "fabricASN": 29249, + "terminalServerConfiguration": { + "username": "username", + "serialNumber": "123456", + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "40.0.0.14/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127", + "networkDeviceId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice" + }, + "managementNetworkConfiguration": { + "infrastructureVpnConfiguration": { + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "administrativeState": "Enabled", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10050" + ], + "exportRouteTargets": [ + "65046:10050" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "mtu": 1501, + "vlanId": 3001, + "peerASN": 1235, + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "20.0.0.13/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127" + } + }, + "workloadVpnConfiguration": { + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "administrativeState": "Enabled", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10050" + ], + "exportRouteTargets": [ + "65046:10050" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "mtu": 1500, + "vlanId": 3000, + "peerASN": 61234, + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 5 + }, + "primaryIpv4Prefix": "10.0.0.14/30", + "primaryIpv6Prefix": "2FFE:FFFF:0:CD30::a7/126", + "secondaryIpv4Prefix": "10.0.0.15/30", + "secondaryIpv6Prefix": "2FFE:FFFF:0:CD30::ac/126" + } + } + }, + "racks": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-networkRack" + ], + "l2IsolationDomains": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/example-l2Domain" + ], + "l3IsolationDomains": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3Domain" + ], + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "name": "example-fabric", + "type": "Microsoft.ManagedNetworkFabric/networkFabrics", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkFabrics_Delete.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkFabrics_Delete.json new file mode 100644 index 000000000000..d0c139f7c23c --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkFabrics_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "NetworkFabrics_Delete_MaximumSet_Gen", + "operationId": "NetworkFabrics_Delete", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-fabric" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkFabrics_Deprovision.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkFabrics_Deprovision.json new file mode 100644 index 000000000000..140aa94f5019 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkFabrics_Deprovision.json @@ -0,0 +1,40 @@ +{ + "title": "NetworkFabrics_Deprovision_MaximumSet_Gen", + "operationId": "NetworkFabrics_Deprovision", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-fabric" + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded", + "successfulDevices": [ + "" + ], + "failedDevices": [ + "" + ] + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkFabrics_Get.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkFabrics_Get.json new file mode 100644 index 000000000000..fe9da64b52d9 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkFabrics_Get.json @@ -0,0 +1,150 @@ +{ + "title": "NetworkFabrics_Get_MaximumSet_Gen", + "operationId": "NetworkFabrics_Get", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-fabric" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkFabricSku": "M4-A400-A100-C16-aa", + "fabricVersion": "version1", + "routerIds": [ + "routerId" + ], + "networkFabricControllerId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-fabricController", + "rackCount": 4, + "serverCountPerRack": 8, + "ipv4Prefix": "10.18.0.0/19", + "ipv6Prefix": "3FFE:FFFF:0:CD40::/59", + "fabricASN": 29249, + "terminalServerConfiguration": { + "username": "username", + "serialNumber": "123456", + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "40.0.0.14/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127", + "networkDeviceId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice" + }, + "managementNetworkConfiguration": { + "infrastructureVpnConfiguration": { + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "administrativeState": "Enabled", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10050" + ], + "exportRouteTargets": [ + "65046:10050" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "mtu": 1501, + "vlanId": 3001, + "peerASN": 1235, + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "20.0.0.13/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127" + } + }, + "workloadVpnConfiguration": { + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "administrativeState": "Enabled", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10050" + ], + "exportRouteTargets": [ + "65046:10050" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "mtu": 1500, + "vlanId": 3000, + "peerASN": 61234, + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 5 + }, + "primaryIpv4Prefix": "10.0.0.14/30", + "primaryIpv6Prefix": "2FFE:FFFF:0:CD30::a7/126", + "secondaryIpv4Prefix": "10.0.0.15/30", + "secondaryIpv6Prefix": "2FFE:FFFF:0:CD30::ac/126" + } + } + }, + "racks": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-networkRack" + ], + "l2IsolationDomains": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/example-l2Domain" + ], + "l3IsolationDomains": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3Domain" + ], + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "name": "example-fabric", + "type": "Microsoft.ManagedNetworkFabric/networkFabrics", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkFabrics_GetTopology.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkFabrics_GetTopology.json new file mode 100644 index 000000000000..c71871703bdd --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkFabrics_GetTopology.json @@ -0,0 +1,35 @@ +{ + "title": "NetworkFabrics_GetTopology_MaximumSet_Gen", + "operationId": "NetworkFabrics_GetTopology", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-fabric" + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded", + "url": "https://ActionDetails" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkFabrics_ListByResourceGroup.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkFabrics_ListByResourceGroup.json new file mode 100644 index 000000000000..b4d37a7c3ecc --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkFabrics_ListByResourceGroup.json @@ -0,0 +1,154 @@ +{ + "title": "NetworkFabrics_ListByResourceGroup_MaximumSet_Gen", + "operationId": "NetworkFabrics_ListByResourceGroup", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "networkFabricSku": "M4-A400-A100-C16-aa", + "fabricVersion": "version1", + "routerIds": [ + "routerId" + ], + "networkFabricControllerId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-fabricController", + "rackCount": 4, + "serverCountPerRack": 8, + "ipv4Prefix": "10.18.0.0/19", + "ipv6Prefix": "3FFE:FFFF:0:CD40::/59", + "fabricASN": 29249, + "terminalServerConfiguration": { + "username": "username", + "serialNumber": "123456", + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "40.0.0.14/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127", + "networkDeviceId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice" + }, + "managementNetworkConfiguration": { + "infrastructureVpnConfiguration": { + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "administrativeState": "Enabled", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10050" + ], + "exportRouteTargets": [ + "65046:10050" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "mtu": 1501, + "vlanId": 3001, + "peerASN": 1235, + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "20.0.0.13/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127" + } + }, + "workloadVpnConfiguration": { + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "administrativeState": "Enabled", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10050" + ], + "exportRouteTargets": [ + "65046:10050" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "mtu": 1500, + "vlanId": 3000, + "peerASN": 61234, + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 5 + }, + "primaryIpv4Prefix": "10.0.0.14/30", + "primaryIpv6Prefix": "2FFE:FFFF:0:CD30::a7/126", + "secondaryIpv4Prefix": "10.0.0.15/30", + "secondaryIpv6Prefix": "2FFE:FFFF:0:CD30::ac/126" + } + } + }, + "racks": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-networkRack" + ], + "l2IsolationDomains": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/example-l2Domain" + ], + "l3IsolationDomains": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3Domain" + ], + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "name": "example-fabric", + "type": "Microsoft.ManagedNetworkFabric/networkFabrics", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkFabrics_ListBySubscription.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkFabrics_ListBySubscription.json new file mode 100644 index 000000000000..829492311a93 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkFabrics_ListBySubscription.json @@ -0,0 +1,153 @@ +{ + "title": "NetworkFabrics_ListBySubscription_MaximumSet_Gen", + "operationId": "NetworkFabrics_ListBySubscription", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "networkFabricSku": "M4-A400-A100-C16-aa", + "fabricVersion": "version1", + "routerIds": [ + "routerId" + ], + "networkFabricControllerId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-fabricController", + "rackCount": 4, + "serverCountPerRack": 8, + "ipv4Prefix": "10.18.0.0/19", + "ipv6Prefix": "3FFE:FFFF:0:CD40::/59", + "fabricASN": 29249, + "terminalServerConfiguration": { + "username": "username", + "serialNumber": "123456", + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "40.0.0.14/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127", + "networkDeviceId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice" + }, + "managementNetworkConfiguration": { + "infrastructureVpnConfiguration": { + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "administrativeState": "Enabled", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10050" + ], + "exportRouteTargets": [ + "65046:10050" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "mtu": 1501, + "vlanId": 3001, + "peerASN": 1235, + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "20.0.0.13/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127" + } + }, + "workloadVpnConfiguration": { + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "administrativeState": "Enabled", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10050" + ], + "exportRouteTargets": [ + "65046:10050" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "mtu": 1500, + "vlanId": 3000, + "peerASN": 61234, + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 5 + }, + "primaryIpv4Prefix": "10.0.0.14/30", + "primaryIpv6Prefix": "2FFE:FFFF:0:CD30::a7/126", + "secondaryIpv4Prefix": "10.0.0.15/30", + "secondaryIpv6Prefix": "2FFE:FFFF:0:CD30::ac/126" + } + } + }, + "racks": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-networkRack" + ], + "l2IsolationDomains": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/example-l2Domain" + ], + "l3IsolationDomains": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3Domain" + ], + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "name": "example-fabric", + "type": "Microsoft.ManagedNetworkFabric/networkFabrics", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkFabrics_Provision.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkFabrics_Provision.json new file mode 100644 index 000000000000..45c3065d6248 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkFabrics_Provision.json @@ -0,0 +1,40 @@ +{ + "title": "NetworkFabrics_Provision_MaximumSet_Gen", + "operationId": "NetworkFabrics_Provision", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-fabric" + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded", + "successfulDevices": [ + "" + ], + "failedDevices": [ + "" + ] + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkFabrics_RefreshConfiguration.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkFabrics_RefreshConfiguration.json new file mode 100644 index 000000000000..bd34a828d128 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkFabrics_RefreshConfiguration.json @@ -0,0 +1,34 @@ +{ + "title": "NetworkFabrics_RefreshConfiguration_MaximumSet_Gen", + "operationId": "NetworkFabrics_RefreshConfiguration", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-fabric" + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkFabrics_Update.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkFabrics_Update.json new file mode 100644 index 000000000000..14dd18529410 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkFabrics_Update.json @@ -0,0 +1,257 @@ +{ + "title": "NetworkFabrics_Update_MaximumSet_Gen", + "operationId": "NetworkFabrics_Update", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-fabric", + "properties": { + "tags": { + "keyId": "keyValue" + }, + "properties": { + "annotation": "annotation1", + "rackCount": 6, + "serverCountPerRack": 10, + "ipv4Prefix": "10.18.0.0/17", + "ipv6Prefix": "3FFE:FFFF:0:CD40::/60", + "fabricASN": 12345, + "terminalServerConfiguration": { + "username": "username1", + "password": "xxxxxxxx", + "serialNumber": "1234567", + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "40.0.0.14/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127" + }, + "managementNetworkConfiguration": { + "infrastructureVpnConfiguration": { + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10050" + ], + "exportRouteTargets": [ + "65046:10050" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "mtu": 1501, + "vlanId": 3001, + "peerASN": 1235, + "bfdConfiguration": { + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "20.0.0.13/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127" + } + }, + "workloadVpnConfiguration": { + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10050" + ], + "exportRouteTargets": [ + "65046:10050" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "mtu": 1500, + "vlanId": 3000, + "peerASN": 61234, + "bfdConfiguration": { + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "primaryIpv4Prefix": "10.0.0.14/30", + "primaryIpv6Prefix": "2FFE:FFFF:0:CD30::a7/126", + "secondaryIpv4Prefix": "10.0.0.15/30", + "secondaryIpv6Prefix": "2FFE:FFFF:0:CD30::ac/126" + } + } + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkFabricSku": "M4-A400-A100-C16-aa", + "fabricVersion": "version1", + "routerIds": [ + "routerId" + ], + "networkFabricControllerId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-fabricController", + "rackCount": 4, + "serverCountPerRack": 8, + "ipv4Prefix": "10.18.0.0/19", + "ipv6Prefix": "3FFE:FFFF:0:CD40::/59", + "fabricASN": 29249, + "terminalServerConfiguration": { + "username": "username", + "serialNumber": "123456", + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "40.0.0.14/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127", + "networkDeviceId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice" + }, + "managementNetworkConfiguration": { + "infrastructureVpnConfiguration": { + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "administrativeState": "Enabled", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10050" + ], + "exportRouteTargets": [ + "65046:10050" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "mtu": 1501, + "vlanId": 3001, + "peerASN": 1235, + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "20.0.0.13/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127" + } + }, + "workloadVpnConfiguration": { + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "administrativeState": "Enabled", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10050" + ], + "exportRouteTargets": [ + "65046:10050" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "mtu": 1500, + "vlanId": 3000, + "peerASN": 61234, + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 5 + }, + "primaryIpv4Prefix": "10.0.0.14/30", + "primaryIpv6Prefix": "2FFE:FFFF:0:CD30::a7/126", + "secondaryIpv4Prefix": "10.0.0.15/30", + "secondaryIpv6Prefix": "2FFE:FFFF:0:CD30::ac/126" + } + } + }, + "racks": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-networkRack" + ], + "l2IsolationDomains": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/example-l2Domain" + ], + "l3IsolationDomains": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3Domain" + ], + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "name": "example-fabric", + "type": "Microsoft.ManagedNetworkFabric/networkFabrics", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkFabrics_UpdateInfraManagementBfdConfiguration.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkFabrics_UpdateInfraManagementBfdConfiguration.json new file mode 100644 index 000000000000..3478e9396b91 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkFabrics_UpdateInfraManagementBfdConfiguration.json @@ -0,0 +1,40 @@ +{ + "title": "NetworkFabrics_UpdateInfraManagementBfdConfiguration_MaximumSet_Gen", + "operationId": "NetworkFabrics_UpdateInfraManagementBfdConfiguration", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-fabric", + "body": { + "resourceIds": [ + "" + ], + "state": "Enable" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkFabrics_UpdateWorkloadManagementBfdConfiguration.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkFabrics_UpdateWorkloadManagementBfdConfiguration.json new file mode 100644 index 000000000000..435d85e516b3 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkFabrics_UpdateWorkloadManagementBfdConfiguration.json @@ -0,0 +1,40 @@ +{ + "title": "NetworkFabrics_UpdateWorkloadManagementBfdConfiguration_MaximumSet_Gen", + "operationId": "NetworkFabrics_UpdateWorkloadManagementBfdConfiguration", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-fabric", + "body": { + "resourceIds": [ + "" + ], + "state": "Enable" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkFabrics_Upgrade.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkFabrics_Upgrade.json new file mode 100644 index 000000000000..518795125fd7 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkFabrics_Upgrade.json @@ -0,0 +1,38 @@ +{ + "title": "NetworkFabrics_Upgrade_MaximumSet_Gen", + "operationId": "NetworkFabrics_Upgrade", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-fabric", + "body": { + "version": "3.x.x", + "action": "Start" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkFabrics_ValidateConfiguration.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkFabrics_ValidateConfiguration.json new file mode 100644 index 000000000000..f18b605ff9b0 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkFabrics_ValidateConfiguration.json @@ -0,0 +1,38 @@ +{ + "title": "NetworkFabrics_ValidateConfiguration_MaximumSet_Gen", + "operationId": "NetworkFabrics_ValidateConfiguration", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-fabric", + "body": { + "validateAction": "Cabling" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded", + "url": "https://ActionDetails" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkInterfaces_Create.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkInterfaces_Create.json new file mode 100644 index 000000000000..7b5c37e90538 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkInterfaces_Create.json @@ -0,0 +1,73 @@ +{ + "title": "NetworkInterfaces_Create_MaximumSet_Gen", + "operationId": "NetworkInterfaces_Create", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkDeviceName": "example-device", + "networkInterfaceName": "example-interface", + "resource": { + "properties": { + "annotation": "annotation", + "interfaceType": "Management", + "administrativeState": "Enabled" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "physicalIdentifier": "Id", + "connectedTo": "external-interface", + "interfaceType": "Management", + "ipv4Address": "10.2.2.8", + "ipv6Address": "10:2:0:0::", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-device/networkInterfaces/example-interface", + "name": "example-interface", + "type": "microsoft.managednetworkfabric/networkdevices/networkinterfaces", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotation", + "physicalIdentifier": "Id", + "connectedTo": "external-interface", + "interfaceType": "Management", + "ipv4Address": "10.2.2.8", + "ipv6Address": "10:2:0:0::", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-device/networkInterfaces/example-interface", + "name": "example-interface", + "type": "microsoft.managednetworkfabric/networkdevices/networkinterfaces", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkInterfaces_Delete.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkInterfaces_Delete.json new file mode 100644 index 000000000000..71f733e6e126 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkInterfaces_Delete.json @@ -0,0 +1,19 @@ +{ + "title": "NetworkInterfaces_Delete_MaximumSet_Gen", + "operationId": "NetworkInterfaces_Delete", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkDeviceName": "example-device", + "networkInterfaceName": "example-interface" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkInterfaces_Get.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkInterfaces_Get.json new file mode 100644 index 000000000000..0efe58de95b2 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkInterfaces_Get.json @@ -0,0 +1,38 @@ +{ + "title": "NetworkInterfaces_Get_MaximumSet_Gen", + "operationId": "NetworkInterfaces_Get", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkDeviceName": "example-device", + "networkInterfaceName": "example-interface" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "physicalIdentifier": "Id", + "connectedTo": "external-interface", + "interfaceType": "Management", + "ipv4Address": "10.2.2.8", + "ipv6Address": "10:2:0:0::", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-device/networkInterfaces/example-interface", + "name": "example-interface", + "type": "microsoft.managednetworkfabric/networkdevices/networkinterfaces", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkInterfaces_ListByNetworkDevice.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkInterfaces_ListByNetworkDevice.json new file mode 100644 index 000000000000..788fce977a3a --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkInterfaces_ListByNetworkDevice.json @@ -0,0 +1,42 @@ +{ + "title": "NetworkInterfaces_ListByNetworkDevice_MaximumSet_Gen", + "operationId": "NetworkInterfaces_ListByNetworkDevice", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkDeviceName": "example-device" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "physicalIdentifier": "Id", + "connectedTo": "external-interface", + "interfaceType": "Management", + "ipv4Address": "10.2.2.8", + "ipv6Address": "10:2:0:0::", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-device/networkInterfaces/example-interface", + "name": "example-interface", + "type": "microsoft.managednetworkfabric/networkdevices/networkinterfaces", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkInterfaces_Update.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkInterfaces_Update.json new file mode 100644 index 000000000000..0d58ef795203 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkInterfaces_Update.json @@ -0,0 +1,48 @@ +{ + "title": "NetworkInterfaces_Update_MaximumSet_Gen", + "operationId": "NetworkInterfaces_Update", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkDeviceName": "example-device", + "networkInterfaceName": "example-interface", + "properties": { + "properties": { + "annotation": "annotation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "physicalIdentifier": "Id", + "connectedTo": "external-interface", + "interfaceType": "Management", + "ipv4Address": "10.2.2.8", + "ipv6Address": "10:2:0:0::", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-device/networkInterfaces/example-interface", + "name": "example-interface", + "type": "microsoft.managednetworkfabric/networkdevices/networkinterfaces", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkInterfaces_UpdateAdministrativeState.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkInterfaces_UpdateAdministrativeState.json new file mode 100644 index 000000000000..52003d2e427d --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkInterfaces_UpdateAdministrativeState.json @@ -0,0 +1,41 @@ +{ + "title": "NetworkInterfaces_UpdateAdministrativeState_MaximumSet_Gen", + "operationId": "NetworkInterfaces_UpdateAdministrativeState", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkDeviceName": "example-device", + "networkInterfaceName": "example-interface", + "body": { + "resourceIds": [ + "" + ], + "state": "Enable" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkPacketBrokers_Create.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkPacketBrokers_Create.json new file mode 100644 index 000000000000..4084af2eda20 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkPacketBrokers_Create.json @@ -0,0 +1,94 @@ +{ + "title": "NetworkPacketBrokers_Create_MaximumSet_Gen", + "operationId": "NetworkPacketBrokers_Create", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkPacketBrokerName": "example-networkPacketBroker", + "resource": { + "properties": { + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-networkFabric" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-networkFabric", + "networkDeviceIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice" + ], + "sourceInterfaceIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice/networkInterfaces/example-networkInterface" + ], + "networkTapIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-networkTap" + ], + "neighborGroupIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup" + ], + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkPacketBrokers/example-networkPacketBroker", + "name": "example-networkPacketBroker", + "type": "microsoft.managednetworkfabric/networkPacketBrokers", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-networkFabric", + "networkDeviceIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice" + ], + "sourceInterfaceIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice/networkInterfaces/example-networkInterface" + ], + "networkTapIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-networkTap" + ], + "neighborGroupIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup" + ], + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkPacketBrokers/example-networkPacketBroker", + "name": "example-networkPacketBroker", + "type": "microsoft.managednetworkfabric/networkPacketBrokers", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkPacketBrokers_Delete.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkPacketBrokers_Delete.json new file mode 100644 index 000000000000..b1aa7b0ea835 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkPacketBrokers_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "NetworkPacketBrokers_Delete_MaximumSet_Gen", + "operationId": "NetworkPacketBrokers_Delete", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkPacketBrokerName": "example-networkPacketBroker" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkPacketBrokers_Get.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkPacketBrokers_Get.json new file mode 100644 index 000000000000..8eedd3e13ca3 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkPacketBrokers_Get.json @@ -0,0 +1,47 @@ +{ + "title": "NetworkPacketBrokers_Get_MaximumSet_Gen", + "operationId": "NetworkPacketBrokers_Get", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkPacketBrokerName": "example-networkPacketBroker" + }, + "responses": { + "200": { + "body": { + "properties": { + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-networkFabric", + "networkDeviceIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice" + ], + "sourceInterfaceIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice/networkInterfaces/example-networkInterface" + ], + "networkTapIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-networkTap" + ], + "neighborGroupIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup" + ], + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkPacketBrokers/example-networkPacketBroker", + "name": "example-networkPacketBroker", + "type": "microsoft.managednetworkfabric/networkPacketBrokers", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkPacketBrokers_ListByResourceGroup.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkPacketBrokers_ListByResourceGroup.json new file mode 100644 index 000000000000..79b74669e55d --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkPacketBrokers_ListByResourceGroup.json @@ -0,0 +1,51 @@ +{ + "title": "NetworkPacketBrokers_ListByResourceGroup_MaximumSet_Gen", + "operationId": "NetworkPacketBrokers_ListByResourceGroup", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-networkFabric", + "networkDeviceIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice" + ], + "sourceInterfaceIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice/networkInterfaces/example-networkInterface" + ], + "networkTapIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-networkTap" + ], + "neighborGroupIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup" + ], + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkPacketBrokers/example-networkPacketBroker", + "name": "example-networkPacketBroker", + "type": "microsoft.managednetworkfabric/networkPacketBrokers", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkPacketBrokers_ListBySubscription.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkPacketBrokers_ListBySubscription.json new file mode 100644 index 000000000000..a827dfdc412a --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkPacketBrokers_ListBySubscription.json @@ -0,0 +1,50 @@ +{ + "title": "NetworkPacketBrokers_ListBySubscription_MaximumSet_Gen", + "operationId": "NetworkPacketBrokers_ListBySubscription", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-networkFabric", + "networkDeviceIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice" + ], + "sourceInterfaceIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice/networkInterfaces/example-networkInterface" + ], + "networkTapIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-networkTap" + ], + "neighborGroupIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup" + ], + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkPacketBrokers/example-networkPacketBroker", + "name": "example-networkPacketBroker", + "type": "microsoft.managednetworkfabric/networkPacketBrokers", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkPacketBrokers_Update.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkPacketBrokers_Update.json new file mode 100644 index 000000000000..cb133c0cdab6 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkPacketBrokers_Update.json @@ -0,0 +1,57 @@ +{ + "title": "NetworkPacketBrokers_Update_MaximumSet_Gen", + "operationId": "NetworkPacketBrokers_Update", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkPacketBrokerName": "example-networkPacketBroker", + "properties": { + "tags": { + "keyId": "keyValue" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-networkFabric", + "networkDeviceIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice" + ], + "sourceInterfaceIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice/networkInterfaces/example-networkInterface" + ], + "networkTapIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-networkTap" + ], + "neighborGroupIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup" + ], + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkPacketBrokers/example-networkPacketBroker", + "name": "example-networkPacketBroker", + "type": "microsoft.managednetworkfabric/networkPacketBrokers", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkRacks_Create.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkRacks_Create.json new file mode 100644 index 000000000000..9a01bbe9eb53 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkRacks_Create.json @@ -0,0 +1,82 @@ +{ + "title": "NetworkRacks_Create_MaximumSet_Gen", + "operationId": "NetworkRacks_Create", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkRackName": "example-rack", + "resource": { + "properties": { + "annotation": "annotation", + "networkRackType": "Aggregate", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-networkFabric" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkRackType": "Aggregate", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-networkFabric", + "networkDevices": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice" + ], + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-rack", + "name": "example-rack", + "type": "microsoft.managednetworkfabric/networkRacks", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotation", + "networkRackType": "Aggregate", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-networkFabric", + "networkDevices": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice" + ], + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-rack", + "name": "example-rack", + "type": "microsoft.managednetworkfabric/networkRacks", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkRacks_Delete.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkRacks_Delete.json new file mode 100644 index 000000000000..90584c3a3af3 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkRacks_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "NetworkRacks_Delete_MaximumSet_Gen", + "operationId": "NetworkRacks_Delete", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkRackName": "example-rack" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkRacks_Get.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkRacks_Get.json new file mode 100644 index 000000000000..91f7bd200a8c --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkRacks_Get.json @@ -0,0 +1,40 @@ +{ + "title": "NetworkRacks_Get_MaximumSet_Gen", + "operationId": "NetworkRacks_Get", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkRackName": "example-rack" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkRackType": "Aggregate", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-networkFabric", + "networkDevices": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice" + ], + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-rack", + "name": "example-rack", + "type": "microsoft.managednetworkfabric/networkRacks", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkRacks_ListByResourceGroup.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkRacks_ListByResourceGroup.json new file mode 100644 index 000000000000..8a1330a9c76b --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkRacks_ListByResourceGroup.json @@ -0,0 +1,44 @@ +{ + "title": "NetworkRacks_ListByResourceGroup_MaximumSet_Gen", + "operationId": "NetworkRacks_ListByResourceGroup", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "networkRackType": "Aggregate", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-networkFabric", + "networkDevices": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice" + ], + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-rack", + "name": "example-rack", + "type": "microsoft.managednetworkfabric/networkRacks", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkRacks_ListBySubscription.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkRacks_ListBySubscription.json new file mode 100644 index 000000000000..af7bd05d13f1 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkRacks_ListBySubscription.json @@ -0,0 +1,43 @@ +{ + "title": "NetworkRacks_ListBySubscription_MaximumSet_Gen", + "operationId": "NetworkRacks_ListBySubscription", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "networkRackType": "Aggregate", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-networkFabric", + "networkDevices": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice" + ], + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-rack", + "name": "example-rack", + "type": "microsoft.managednetworkfabric/networkRacks", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkRacks_Update.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkRacks_Update.json new file mode 100644 index 000000000000..99fbed98d4cd --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkRacks_Update.json @@ -0,0 +1,50 @@ +{ + "title": "NetworkRacks_Update_MaximumSet_Gen", + "operationId": "NetworkRacks_Update", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkRackName": "example-rack", + "properties": { + "tags": { + "keyId": "keyValue" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkRackType": "Aggregate", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-networkFabric", + "networkDevices": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice" + ], + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-rack", + "name": "example-rack", + "type": "microsoft.managednetworkfabric/networkRacks", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkTapRules_Create.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkTapRules_Create.json new file mode 100644 index 000000000000..00dc44691afe --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkTapRules_Create.json @@ -0,0 +1,340 @@ +{ + "title": "NetworkTapRules_Create_MaximumSet_Gen", + "operationId": "NetworkTapRules_Create", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkTapRuleName": "example-tapRule", + "resource": { + "properties": { + "annotation": "annotation", + "configurationType": "File", + "tapRulesUrl": "https://microsoft.com/a", + "matchConfigurations": [ + { + "matchConfigurationName": "config1", + "sequenceNumber": 10, + "ipAddressType": "IPv4", + "matchConditions": [ + { + "protocolTypes": [ + "TCP" + ], + "vlanMatchCondition": { + "vlans": [ + "20-30" + ], + "innerVlans": [ + "30" + ], + "vlanGroupNames": [ + "example-vlanGroup" + ] + }, + "ipCondition": { + "type": "SourceIP", + "prefixType": "Prefix", + "ipPrefixValues": [ + "10.20.20.20/12" + ], + "ipGroupNames": [ + "example-ipGroup" + ] + }, + "encapsulationType": "None", + "portCondition": { + "portType": "SourcePort", + "layer4Protocol": "TCP", + "ports": [ + "100" + ], + "portGroupNames": [ + "example-portGroup1" + ] + } + } + ], + "actions": [ + { + "type": "Drop", + "truncate": "100", + "isTimestampEnabled": "True", + "destinationId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup", + "matchConfigurationName": "match1" + } + ] + } + ], + "dynamicMatchConfigurations": [ + { + "ipGroups": [ + { + "name": "example-ipGroup", + "ipAddressType": "IPv4", + "ipPrefixes": [ + "10.20.3.1/20" + ] + } + ], + "vlanGroups": [ + { + "name": "example-vlanGroup", + "vlans": [ + "20-30" + ] + } + ], + "portGroups": [ + { + "name": "example-portGroup", + "ports": [ + "100-200" + ] + } + ] + } + ], + "pollingIntervalInSeconds": 30, + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "configurationType": "File", + "tapRulesUrl": "https://microsoft.com/a", + "matchConfigurations": [ + { + "matchConfigurationName": "config1", + "sequenceNumber": 10, + "ipAddressType": "IPv4", + "matchConditions": [ + { + "protocolTypes": [ + "TCP" + ], + "vlanMatchCondition": { + "vlans": [ + "20-30" + ], + "innerVlans": [ + "30" + ], + "vlanGroupNames": [ + "example-vlanGroup" + ] + }, + "ipCondition": { + "type": "SourceIP", + "prefixType": "Prefix", + "ipPrefixValues": [ + "10.20.20.20/12" + ], + "ipGroupNames": [ + "example-ipGroup" + ] + }, + "encapsulationType": "None", + "portCondition": { + "portType": "SourcePort", + "layer4Protocol": "TCP", + "ports": [ + "100" + ], + "portGroupNames": [ + "example-portGroup1" + ] + } + } + ], + "actions": [ + { + "type": "Drop", + "truncate": "100", + "isTimestampEnabled": "True", + "destinationId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup", + "matchConfigurationName": "match1" + } + ] + } + ], + "dynamicMatchConfigurations": [ + { + "ipGroups": [ + { + "name": "example-ipGroup", + "ipAddressType": "IPv4", + "ipPrefixes": [ + "10.20.3.1/20" + ] + } + ], + "vlanGroups": [ + { + "name": "example-vlanGroup", + "vlans": [ + "20-30" + ] + } + ], + "portGroups": [ + { + "name": "example-portGroup", + "ports": [ + "100-200" + ] + } + ] + } + ], + "networkTapId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-tap", + "pollingIntervalInSeconds": 30, + "lastSyncedTime": "2023-06-12T07:11:22.485Z", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-tapRule", + "name": "example-tapRule", + "type": "microsoft.managednetworkfabric/networkTapRules", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "location": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotation", + "configurationType": "File", + "tapRulesUrl": "https://microsoft.com/a", + "matchConfigurations": [ + { + "matchConfigurationName": "config1", + "sequenceNumber": 10, + "ipAddressType": "IPv4", + "matchConditions": [ + { + "protocolTypes": [ + "TCP" + ], + "vlanMatchCondition": { + "vlans": [ + "20-30" + ], + "innerVlans": [ + "30" + ], + "vlanGroupNames": [ + "example-vlanGroup" + ] + }, + "ipCondition": { + "type": "SourceIP", + "prefixType": "Prefix", + "ipPrefixValues": [ + "10.20.20.20/12" + ], + "ipGroupNames": [ + "example-ipGroup" + ] + }, + "encapsulationType": "None", + "portCondition": { + "portType": "SourcePort", + "layer4Protocol": "TCP", + "ports": [ + "100" + ], + "portGroupNames": [ + "example-portGroup1" + ] + } + } + ], + "actions": [ + { + "type": "Drop", + "truncate": "100", + "isTimestampEnabled": "True", + "destinationId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup", + "matchConfigurationName": "match1" + } + ] + } + ], + "dynamicMatchConfigurations": [ + { + "ipGroups": [ + { + "name": "example-ipGroup", + "ipAddressType": "IPv4", + "ipPrefixes": [ + "10.20.3.1/20" + ] + } + ], + "vlanGroups": [ + { + "name": "example-vlanGroup", + "vlans": [ + "20-30" + ] + } + ], + "portGroups": [ + { + "name": "example-portGroup", + "ports": [ + "100-200" + ] + } + ] + } + ], + "networkTapId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-tap", + "pollingIntervalInSeconds": 30, + "lastSyncedTime": "2023-06-12T07:11:22.485Z", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-tapRule", + "name": "example-tapRule", + "type": "microsoft.managednetworkfabric/networkTapRules", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkTapRules_Delete.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkTapRules_Delete.json new file mode 100644 index 000000000000..cb2fbbb2943a --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkTapRules_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "NetworkTapRules_Delete_MaximumSet_Gen", + "operationId": "NetworkTapRules_Delete", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkTapRuleName": "example-tapRule" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkTapRules_Get.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkTapRules_Get.json new file mode 100644 index 000000000000..9edce7cd0d27 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkTapRules_Get.json @@ -0,0 +1,126 @@ +{ + "title": "NetworkTapRules_Get_MaximumSet_Gen", + "operationId": "NetworkTapRules_Get", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkTapRuleName": "example-tapRule" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "configurationType": "File", + "tapRulesUrl": "https://microsoft.com/a", + "matchConfigurations": [ + { + "matchConfigurationName": "config1", + "sequenceNumber": 10, + "ipAddressType": "IPv4", + "matchConditions": [ + { + "protocolTypes": [ + "TCP" + ], + "vlanMatchCondition": { + "vlans": [ + "20-30" + ], + "innerVlans": [ + "30" + ], + "vlanGroupNames": [ + "example-vlanGroup" + ] + }, + "ipCondition": { + "type": "SourceIP", + "prefixType": "Prefix", + "ipPrefixValues": [ + "10.20.20.20/12" + ], + "ipGroupNames": [ + "example-ipGroup" + ] + }, + "encapsulationType": "None", + "portCondition": { + "portType": "SourcePort", + "layer4Protocol": "TCP", + "ports": [ + "100" + ], + "portGroupNames": [ + "example-portGroup1" + ] + } + } + ], + "actions": [ + { + "type": "Drop", + "truncate": "100", + "isTimestampEnabled": "True", + "destinationId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup", + "matchConfigurationName": "match1" + } + ] + } + ], + "dynamicMatchConfigurations": [ + { + "ipGroups": [ + { + "name": "example-ipGroup", + "ipAddressType": "IPv4", + "ipPrefixes": [ + "10.20.3.1/20" + ] + } + ], + "vlanGroups": [ + { + "name": "example-vlanGroup", + "vlans": [ + "20-30" + ] + } + ], + "portGroups": [ + { + "name": "example-portGroup", + "ports": [ + "100-200" + ] + } + ] + } + ], + "networkTapId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-tap", + "pollingIntervalInSeconds": 30, + "lastSyncedTime": "2023-06-12T07:11:22.485Z", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-tapRule", + "name": "example-tapRule", + "type": "microsoft.managednetworkfabric/networkTapRules", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkTapRules_ListByResourceGroup.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkTapRules_ListByResourceGroup.json new file mode 100644 index 000000000000..2128f9c21a45 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkTapRules_ListByResourceGroup.json @@ -0,0 +1,130 @@ +{ + "title": "NetworkTapRules_ListByResourceGroup_MaximumSet_Gen", + "operationId": "NetworkTapRules_ListByResourceGroup", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "configurationType": "File", + "tapRulesUrl": "https://microsoft.com/a", + "matchConfigurations": [ + { + "matchConfigurationName": "config1", + "sequenceNumber": 10, + "ipAddressType": "IPv4", + "matchConditions": [ + { + "protocolTypes": [ + "TCP" + ], + "vlanMatchCondition": { + "vlans": [ + "20-30" + ], + "innerVlans": [ + "30" + ], + "vlanGroupNames": [ + "example-vlanGroup" + ] + }, + "ipCondition": { + "type": "SourceIP", + "prefixType": "Prefix", + "ipPrefixValues": [ + "10.20.20.20/12" + ], + "ipGroupNames": [ + "example-ipGroup" + ] + }, + "encapsulationType": "None", + "portCondition": { + "portType": "SourcePort", + "layer4Protocol": "TCP", + "ports": [ + "100" + ], + "portGroupNames": [ + "example-portGroup1" + ] + } + } + ], + "actions": [ + { + "type": "Drop", + "truncate": "100", + "isTimestampEnabled": "True", + "destinationId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup", + "matchConfigurationName": "match1" + } + ] + } + ], + "dynamicMatchConfigurations": [ + { + "ipGroups": [ + { + "name": "example-ipGroup", + "ipAddressType": "IPv4", + "ipPrefixes": [ + "10.20.3.1/20" + ] + } + ], + "vlanGroups": [ + { + "name": "example-vlanGroup", + "vlans": [ + "20-30" + ] + } + ], + "portGroups": [ + { + "name": "example-portGroup", + "ports": [ + "100-200" + ] + } + ] + } + ], + "networkTapId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-tap", + "pollingIntervalInSeconds": 30, + "lastSyncedTime": "2023-06-12T07:11:22.485Z", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-tapRule", + "name": "example-tapRule", + "type": "microsoft.managednetworkfabric/networkTapRules", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkTapRules_ListBySubscription.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkTapRules_ListBySubscription.json new file mode 100644 index 000000000000..82c413a364d5 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkTapRules_ListBySubscription.json @@ -0,0 +1,129 @@ +{ + "title": "NetworkTapRules_ListBySubscription_MaximumSet_Gen", + "operationId": "NetworkTapRules_ListBySubscription", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "configurationType": "File", + "tapRulesUrl": "https://microsoft.com/a", + "matchConfigurations": [ + { + "matchConfigurationName": "config1", + "sequenceNumber": 10, + "ipAddressType": "IPv4", + "matchConditions": [ + { + "protocolTypes": [ + "TCP" + ], + "vlanMatchCondition": { + "vlans": [ + "20-30" + ], + "innerVlans": [ + "30" + ], + "vlanGroupNames": [ + "example-vlanGroup" + ] + }, + "ipCondition": { + "type": "SourceIP", + "prefixType": "Prefix", + "ipPrefixValues": [ + "10.20.20.20/12" + ], + "ipGroupNames": [ + "example-ipGroup" + ] + }, + "encapsulationType": "None", + "portCondition": { + "portType": "SourcePort", + "layer4Protocol": "TCP", + "ports": [ + "100" + ], + "portGroupNames": [ + "example-portGroup1" + ] + } + } + ], + "actions": [ + { + "type": "Drop", + "truncate": "100", + "isTimestampEnabled": "True", + "destinationId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup", + "matchConfigurationName": "match1" + } + ] + } + ], + "dynamicMatchConfigurations": [ + { + "ipGroups": [ + { + "name": "example-ipGroup", + "ipAddressType": "IPv4", + "ipPrefixes": [ + "10.20.3.1/20" + ] + } + ], + "vlanGroups": [ + { + "name": "example-vlanGroup", + "vlans": [ + "20-30" + ] + } + ], + "portGroups": [ + { + "name": "example-portGroup", + "ports": [ + "100-200" + ] + } + ] + } + ], + "networkTapId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-tap", + "pollingIntervalInSeconds": 30, + "lastSyncedTime": "2023-06-12T07:11:22.485Z", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-tapRule", + "name": "example-tapRule", + "type": "microsoft.managednetworkfabric/networkTapRules", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkTapRules_Resync.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkTapRules_Resync.json new file mode 100644 index 000000000000..700cdeda9234 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkTapRules_Resync.json @@ -0,0 +1,34 @@ +{ + "title": "NetworkTapRules_Resync_MaximumSet_Gen", + "operationId": "NetworkTapRules_Resync", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkTapRuleName": "example-tapRule" + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkTapRules_Update.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkTapRules_Update.json new file mode 100644 index 000000000000..05e0f9fb0031 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkTapRules_Update.json @@ -0,0 +1,225 @@ +{ + "title": "NetworkTapRules_Update_MaximumSet_Gen", + "operationId": "NetworkTapRules_Update", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkTapRuleName": "example-tapRule", + "properties": { + "tags": { + "keyId": "keyValue" + }, + "properties": { + "annotation": "annotation", + "configurationType": "File", + "tapRulesUrl": "https://microsoft.com/amdsdx", + "matchConfigurations": [ + { + "matchConfigurationName": "config1", + "sequenceNumber": 10, + "ipAddressType": "IPv4", + "matchConditions": [ + { + "protocolTypes": [ + "TCP" + ], + "vlanMatchCondition": { + "vlans": [ + "20-30" + ], + "innerVlans": [ + "30" + ], + "vlanGroupNames": [ + "example-vlanGroup" + ] + }, + "ipCondition": { + "type": "SourceIP", + "prefixType": "Prefix", + "ipPrefixValues": [ + "10.20.20.20/12" + ], + "ipGroupNames": [ + "example-ipGroup" + ] + }, + "encapsulationType": "None", + "portCondition": { + "portType": "SourcePort", + "layer4Protocol": "TCP", + "ports": [ + "100" + ], + "portGroupNames": [ + "example-portGroup1" + ] + } + } + ], + "actions": [ + { + "type": "Drop", + "truncate": "100", + "isTimestampEnabled": "True", + "destinationId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup", + "matchConfigurationName": "match1" + } + ] + } + ], + "dynamicMatchConfigurations": [ + { + "ipGroups": [ + { + "name": "example-ipGroup", + "ipAddressType": "IPv4", + "ipPrefixes": [ + "10.20.3.1/20" + ] + } + ], + "vlanGroups": [ + { + "name": "example-vlanGroup", + "vlans": [ + "20-30" + ] + } + ], + "portGroups": [ + { + "name": "example-portGroup", + "ports": [ + "100-200" + ] + } + ] + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "configurationType": "File", + "tapRulesUrl": "https://microsoft.com/a", + "matchConfigurations": [ + { + "matchConfigurationName": "config1", + "sequenceNumber": 10, + "ipAddressType": "IPv4", + "matchConditions": [ + { + "protocolTypes": [ + "TCP" + ], + "vlanMatchCondition": { + "vlans": [ + "20-30" + ], + "innerVlans": [ + "30" + ], + "vlanGroupNames": [ + "example-vlanGroup" + ] + }, + "ipCondition": { + "type": "SourceIP", + "prefixType": "Prefix", + "ipPrefixValues": [ + "10.20.20.20/12" + ], + "ipGroupNames": [ + "example-ipGroup" + ] + }, + "encapsulationType": "None", + "portCondition": { + "portType": "SourcePort", + "layer4Protocol": "TCP", + "ports": [ + "100" + ], + "portGroupNames": [ + "example-portGroup1" + ] + } + } + ], + "actions": [ + { + "type": "Drop", + "truncate": "100", + "isTimestampEnabled": "True", + "destinationId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup", + "matchConfigurationName": "match1" + } + ] + } + ], + "dynamicMatchConfigurations": [ + { + "ipGroups": [ + { + "name": "example-ipGroup", + "ipAddressType": "IPv4", + "ipPrefixes": [ + "10.20.3.1/20" + ] + } + ], + "vlanGroups": [ + { + "name": "example-vlanGroup", + "vlans": [ + "20-30" + ] + } + ], + "portGroups": [ + { + "name": "example-portGroup", + "ports": [ + "100-200" + ] + } + ] + } + ], + "networkTapId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-tap", + "pollingIntervalInSeconds": 30, + "lastSyncedTime": "2023-06-12T07:11:22.485Z", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-tapRule", + "name": "example-tapRule", + "type": "microsoft.managednetworkfabric/networkTapRules", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkTapRules_UpdateAdministrativeState.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkTapRules_UpdateAdministrativeState.json new file mode 100644 index 000000000000..a6ef36b88911 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkTapRules_UpdateAdministrativeState.json @@ -0,0 +1,40 @@ +{ + "title": "NetworkTapRules_UpdateAdministrativeState_MaximumSet_Gen", + "operationId": "NetworkTapRules_UpdateAdministrativeState", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkTapRuleName": "example-tapRule", + "body": { + "resourceIds": [ + "" + ], + "state": "Enable" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkTapRules_ValidateConfiguration.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkTapRules_ValidateConfiguration.json new file mode 100644 index 000000000000..281321d62333 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkTapRules_ValidateConfiguration.json @@ -0,0 +1,35 @@ +{ + "title": "NetworkTapRules_ValidateConfiguration_MaximumSet_Gen", + "operationId": "NetworkTapRules_ValidateConfiguration", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkTapRuleName": "example-tapRule" + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded", + "url": "https://ActionDetails" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkTaps_Create.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkTaps_Create.json new file mode 100644 index 000000000000..5642fb074109 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkTaps_Create.json @@ -0,0 +1,125 @@ +{ + "title": "NetworkTaps_Create_MaximumSet_Gen", + "operationId": "NetworkTaps_Create", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkTapName": "example-networkTap", + "resource": { + "properties": { + "annotation": "annotation", + "networkPacketBrokerId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkPacketBrokers/example-networkPacketBroker", + "destinations": [ + { + "name": "example-destinaionName", + "destinationType": "IsolationDomain", + "destinationId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsloationDomains/example-l3Domain/internalNetworks/example-internalNetwork", + "isolationDomainProperties": { + "encapsulation": "None", + "neighborGroupIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup" + ] + }, + "destinationTapRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-destinationTapRule" + } + ], + "pollingType": "Pull", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkPacketBrokerId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkPacketBrokers/example-networkPacketBroker", + "sourceTapRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-sourceTapRule", + "destinations": [ + { + "name": "example-destinaionName", + "destinationType": "IsolationDomain", + "destinationId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsloationDomains/example-l3Domain/internalNetworks/example-internalNetwork", + "isolationDomainProperties": { + "encapsulation": "None", + "neighborGroupIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup" + ] + }, + "destinationTapRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-destinationTapRule" + } + ], + "pollingType": "Pull", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-networkTap", + "name": "example-networkTap", + "type": "microsoft.managednetworkfabric/networkTaps", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotation", + "networkPacketBrokerId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkPacketBrokers/example-networkPacketBroker", + "sourceTapRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-sourceTapRule", + "destinations": [ + { + "name": "example-destinaionName", + "destinationType": "IsolationDomain", + "destinationId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsloationDomains/example-l3Domain/internalNetworks/example-internalNetwork", + "isolationDomainProperties": { + "encapsulation": "None", + "neighborGroupIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup" + ] + }, + "destinationTapRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-destinationTapRule" + } + ], + "pollingType": "Pull", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-networkTap", + "name": "example-networkTap", + "type": "microsoft.managednetworkfabric/networkTaps", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkTaps_Delete.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkTaps_Delete.json new file mode 100644 index 000000000000..68045cbc4ade --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkTaps_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "NetworkTaps_Delete_MaximumSet_Gen", + "operationId": "NetworkTaps_Delete", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkTapName": "example-networkTap" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkTaps_Get.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkTaps_Get.json new file mode 100644 index 000000000000..287179c06ac5 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkTaps_Get.json @@ -0,0 +1,54 @@ +{ + "title": "NetworkTaps_Get_MaximumSet_Gen", + "operationId": "NetworkTaps_Get", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkTapName": "example-networkTap" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkPacketBrokerId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkPacketBrokers/example-networkPacketBroker", + "sourceTapRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-sourceTapRule", + "destinations": [ + { + "name": "example-destinaionName", + "destinationType": "IsolationDomain", + "destinationId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsloationDomains/example-l3Domain/internalNetworks/example-internalNetwork", + "isolationDomainProperties": { + "encapsulation": "None", + "neighborGroupIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup" + ] + }, + "destinationTapRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-destinationTapRule" + } + ], + "pollingType": "Pull", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-networkTap", + "name": "example-networkTap", + "type": "microsoft.managednetworkfabric/networkTaps", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkTaps_ListByResourceGroup.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkTaps_ListByResourceGroup.json new file mode 100644 index 000000000000..b13b23d36099 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkTaps_ListByResourceGroup.json @@ -0,0 +1,58 @@ +{ + "title": "NetworkTaps_ListByResourceGroup_MaximumSet_Gen", + "operationId": "NetworkTaps_ListByResourceGroup", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "networkPacketBrokerId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkPacketBrokers/example-networkPacketBroker", + "sourceTapRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-sourceTapRule", + "destinations": [ + { + "name": "example-destinaionName", + "destinationType": "IsolationDomain", + "destinationId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsloationDomains/example-l3Domain/internalNetworks/example-internalNetwork", + "isolationDomainProperties": { + "encapsulation": "None", + "neighborGroupIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup" + ] + }, + "destinationTapRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-destinationTapRule" + } + ], + "pollingType": "Pull", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-networkTap", + "name": "example-networkTap", + "type": "microsoft.managednetworkfabric/networkTaps", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkTaps_ListBySubscription.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkTaps_ListBySubscription.json new file mode 100644 index 000000000000..6dc9c84c98db --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkTaps_ListBySubscription.json @@ -0,0 +1,57 @@ +{ + "title": "NetworkTaps_ListBySubscription_MaximumSet_Gen", + "operationId": "NetworkTaps_ListBySubscription", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "networkPacketBrokerId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkPacketBrokers/example-networkPacketBroker", + "sourceTapRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-sourceTapRule", + "destinations": [ + { + "name": "example-destinaionName", + "destinationType": "IsolationDomain", + "destinationId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsloationDomains/example-l3Domain/internalNetworks/example-internalNetwork", + "isolationDomainProperties": { + "encapsulation": "None", + "neighborGroupIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup" + ] + }, + "destinationTapRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-destinationTapRule" + } + ], + "pollingType": "Pull", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-networkTap", + "name": "example-networkTap", + "type": "microsoft.managednetworkfabric/networkTaps", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkTaps_Resync.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkTaps_Resync.json new file mode 100644 index 000000000000..3d231062a446 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkTaps_Resync.json @@ -0,0 +1,34 @@ +{ + "title": "NetworkTaps_Resync_MaximumSet_Gen", + "operationId": "NetworkTaps_Resync", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkTapName": "example-networkTap" + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkTaps_Update.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkTaps_Update.json new file mode 100644 index 000000000000..d915ef60c312 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkTaps_Update.json @@ -0,0 +1,82 @@ +{ + "title": "NetworkTaps_Update_MaximumSet_Gen", + "operationId": "NetworkTaps_Update", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkTapName": "example-networkTap", + "properties": { + "tags": { + "keyId": "keyValue" + }, + "properties": { + "annotation": "annotation1", + "pollingType": "Pull", + "destinations": [ + { + "name": "example-destinaionName", + "destinationType": "IsolationDomain", + "destinationId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsloationDomains/example-l3Domain/internalNetworks/example-internalNetwork", + "isolationDomainProperties": { + "encapsulation": "None", + "neighborGroupIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup" + ] + }, + "destinationTapRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-destinationTapRule" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkPacketBrokerId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkPacketBrokers/example-networkPacketBroker", + "sourceTapRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-sourceTapRule", + "destinations": [ + { + "name": "example-destinaionName", + "destinationType": "IsolationDomain", + "destinationId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsloationDomains/example-l3Domain/internalNetworks/example-internalNetwork", + "isolationDomainProperties": { + "encapsulation": "None", + "neighborGroupIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup" + ] + }, + "destinationTapRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-destinationTapRule" + } + ], + "pollingType": "Pull", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-networkTap", + "name": "example-networkTap", + "type": "microsoft.managednetworkfabric/networkTaps", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkTaps_UpdateAdministrativeState.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkTaps_UpdateAdministrativeState.json new file mode 100644 index 000000000000..c06540817af3 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkTaps_UpdateAdministrativeState.json @@ -0,0 +1,46 @@ +{ + "title": "NetworkTaps_UpdateAdministrativeState_MaximumSet_Gen", + "operationId": "NetworkTaps_UpdateAdministrativeState", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkTapName": "example-networkTap", + "body": { + "resourceIds": [ + "" + ], + "state": "Enable" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded", + "successfulDevices": [ + "" + ], + "failedDevices": [ + "" + ] + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkToNetworkInterconnects_Create.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkToNetworkInterconnects_Create.json new file mode 100644 index 000000000000..0305f288a174 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkToNetworkInterconnects_Create.json @@ -0,0 +1,211 @@ +{ + "title": "NetworkToNetworkInterconnects_Create_MaximumSet_Gen", + "operationId": "NetworkToNetworkInterconnects_Create", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-nf", + "networkToNetworkInterconnectName": "example-nni", + "resource": { + "properties": { + "nniType": "CE", + "isManagementType": "True", + "useOptionB": "True", + "layer2Configuration": { + "mtu": 1500, + "interfaces": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice/networkInterfaces/example-networkInterface" + ] + }, + "optionBLayer3Configuration": { + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "40.0.0.14/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127", + "peerASN": 61234, + "vlanId": 1234 + }, + "npbStaticRouteConfiguration": { + "bfdConfiguration": { + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "jffgck", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "jffgck", + "nextHop": [ + "10.0.0.1" + ] + } + ] + }, + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "nniType": "CE", + "isManagementType": "True", + "useOptionB": "True", + "layer2Configuration": { + "mtu": 1500, + "interfaces": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice/networkInterfaces/example-networkInterface" + ] + }, + "optionBLayer3Configuration": { + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "40.0.0.14/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127", + "peerASN": 61234, + "vlanId": 1234, + "fabricASN": 17 + }, + "npbStaticRouteConfiguration": { + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "jffgck", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "jffgck", + "nextHop": [ + "10.0.0.1" + ] + } + ] + }, + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "name": "example-nni", + "type": "microsoft.managedNetworkFabric/networkFabrics/networkToNetworkInterconnects", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "nniType": "CE", + "isManagementType": "True", + "useOptionB": "True", + "layer2Configuration": { + "mtu": 1500, + "interfaces": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice/networkInterfaces/example-networkInterface" + ] + }, + "optionBLayer3Configuration": { + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "40.0.0.14/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127", + "peerASN": 61234, + "vlanId": 1234, + "fabricASN": 17 + }, + "npbStaticRouteConfiguration": { + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "jffgck", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "jffgck", + "nextHop": [ + "10.0.0.1" + ] + } + ] + }, + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "name": "example-nni", + "type": "microsoft.managedNetworkFabric/networkFabrics/networkToNetworkInterconnects", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkToNetworkInterconnects_Delete.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkToNetworkInterconnects_Delete.json new file mode 100644 index 000000000000..454a58faf0c3 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkToNetworkInterconnects_Delete.json @@ -0,0 +1,19 @@ +{ + "title": "NetworkToNetworkInterconnects_Delete_MaximumSet_Gen", + "operationId": "NetworkToNetworkInterconnects_Delete", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-nf", + "networkToNetworkInterconnectName": "example-nni" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkToNetworkInterconnects_Get.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkToNetworkInterconnects_Get.json new file mode 100644 index 000000000000..0e26b026c3ad --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkToNetworkInterconnects_Get.json @@ -0,0 +1,84 @@ +{ + "title": "NetworkToNetworkInterconnects_Get_MaximumSet_Gen", + "operationId": "NetworkToNetworkInterconnects_Get", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-nf", + "networkToNetworkInterconnectName": "example-nni" + }, + "responses": { + "200": { + "body": { + "properties": { + "nniType": "CE", + "isManagementType": "True", + "useOptionB": "True", + "layer2Configuration": { + "mtu": 1500, + "interfaces": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice/networkInterfaces/example-networkInterface" + ] + }, + "optionBLayer3Configuration": { + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "40.0.0.14/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127", + "peerASN": 61234, + "vlanId": 1234, + "fabricASN": 17 + }, + "npbStaticRouteConfiguration": { + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "jffgck", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "jffgck", + "nextHop": [ + "10.0.0.1" + ] + } + ] + }, + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "name": "example-nni", + "type": "microsoft.managedNetworkFabric/networkFabrics/networkToNetworkInterconnects", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkToNetworkInterconnects_ListByNetworkFabric.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkToNetworkInterconnects_ListByNetworkFabric.json new file mode 100644 index 000000000000..ec5ecac1f7d9 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkToNetworkInterconnects_ListByNetworkFabric.json @@ -0,0 +1,88 @@ +{ + "title": "NetworkToNetworkInterconnects_ListByNetworkFabric_MaximumSet_Gen", + "operationId": "NetworkToNetworkInterconnects_ListByNetworkFabric", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-nf" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "nniType": "CE", + "isManagementType": "True", + "useOptionB": "True", + "layer2Configuration": { + "mtu": 1500, + "interfaces": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice/networkInterfaces/example-networkInterface" + ] + }, + "optionBLayer3Configuration": { + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "40.0.0.14/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127", + "peerASN": 61234, + "vlanId": 1234, + "fabricASN": 17 + }, + "npbStaticRouteConfiguration": { + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "jffgck", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "jffgck", + "nextHop": [ + "10.0.0.1" + ] + } + ] + }, + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "name": "example-nni", + "type": "microsoft.managedNetworkFabric/networkFabrics/networkToNetworkInterconnects", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkToNetworkInterconnects_Update.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkToNetworkInterconnects_Update.json new file mode 100644 index 000000000000..c202ce3d7f5e --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkToNetworkInterconnects_Update.json @@ -0,0 +1,139 @@ +{ + "title": "NetworkToNetworkInterconnects_Update_MaximumSet_Gen", + "operationId": "NetworkToNetworkInterconnects_Update", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-nf", + "networkToNetworkInterconnectName": "example-nni", + "properties": { + "properties": { + "layer2Configuration": { + "mtu": 1500, + "interfaces": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice/networkInterfaces/example-networkInterface" + ] + }, + "optionBLayer3Configuration": { + "primaryIpv4Prefix": "20.0.0.12/29", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "20.0.0.14/29", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127", + "peerASN": 2345, + "vlanId": 1235 + }, + "npbStaticRouteConfiguration": { + "bfdConfiguration": { + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "jffgck", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "jffgck", + "nextHop": [ + "10.0.0.1" + ] + } + ] + }, + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "nniType": "CE", + "isManagementType": "True", + "useOptionB": "True", + "layer2Configuration": { + "mtu": 1500, + "interfaces": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice/networkInterfaces/example-networkInterface" + ] + }, + "optionBLayer3Configuration": { + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "40.0.0.14/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127", + "peerASN": 61234, + "vlanId": 1234, + "fabricASN": 17 + }, + "npbStaticRouteConfiguration": { + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "jffgck", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "jffgck", + "nextHop": [ + "10.0.0.1" + ] + } + ] + }, + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "name": "example-nni", + "type": "microsoft.managedNetworkFabric/networkFabrics/networkToNetworkInterconnects", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkToNetworkInterconnects_UpdateAdministrativeState.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkToNetworkInterconnects_UpdateAdministrativeState.json new file mode 100644 index 000000000000..366039ba84bf --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkToNetworkInterconnects_UpdateAdministrativeState.json @@ -0,0 +1,41 @@ +{ + "title": "NetworkToNetworkInterconnects_UpdateAdministrativeState_MaximumSet_Gen", + "operationId": "NetworkToNetworkInterconnects_UpdateAdministrativeState", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-nf", + "networkToNetworkInterconnectName": "example-nni", + "body": { + "resourceIds": [ + "" + ], + "state": "Enable" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkToNetworkInterconnects_UpdateNpbStaticRouteBfdAdministrativeState.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkToNetworkInterconnects_UpdateNpbStaticRouteBfdAdministrativeState.json new file mode 100644 index 000000000000..e68765388922 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/NetworkToNetworkInterconnects_UpdateNpbStaticRouteBfdAdministrativeState.json @@ -0,0 +1,41 @@ +{ + "title": "NetworkToNetworkInterconnects_UpdateNpbStaticRouteBfdAdministrativeState_MaximumSet_Gen", + "operationId": "NetworkToNetworkInterconnects_UpdateNpbStaticRouteBfdAdministrativeState", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-nf", + "networkToNetworkInterconnectName": "example-nni", + "body": { + "resourceIds": [ + "" + ], + "state": "Enable" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/Operations_List.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/Operations_List.json new file mode 100644 index 000000000000..e752db72760e --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/Operations_List.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "api-version": "2024-02-15-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.ManagedNetworkFabric/NetworkFabricControllers/Read", + "actionType": "Internal", + "isDataAction": true, + "origin": "user,system", + "display": { + "provider": "Microsoft.ManagedNetworkFabric resource provider", + "resource": "NetworkFabricControllers", + "operation": "Gets/List NetworkFabricController resources.", + "description": "Gets/List the NetworkFabricController resource data." + } + }, + { + "name": "Microsoft.ManagedNetworkFabric/NetworkFabricControllers/Write", + "actionType": "Internal", + "isDataAction": true, + "origin": "user,system", + "display": { + "provider": "Microsoft.ManagedNetworkFabric resource provider", + "resource": "NetworkFabricControllers", + "operation": "Create or Update NetworkFabricController resource.", + "description": "Create or Update NetworkFabricController resource data." + } + }, + { + "name": "Microsoft.ManagedNetworkFabric/NetworkFabricControllers/Delete", + "actionType": "Internal", + "isDataAction": true, + "origin": "user,system", + "display": { + "provider": "Microsoft.ManagedNetworkFabric resource provider", + "resource": "NetworkFabricControllers", + "operation": "Deletes the NetworkFabricController resource.", + "description": "Deletes the NetworkFabricController resource." + } + } + ] + } + } + }, + "operationId": "Operations_List", + "title": "Operations_List_MaximumSet_Gen" +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/RoutePolicies_CommitConfiguration.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/RoutePolicies_CommitConfiguration.json new file mode 100644 index 000000000000..c0abcc368cc3 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/RoutePolicies_CommitConfiguration.json @@ -0,0 +1,34 @@ +{ + "title": "RoutePolicies_CommitConfiguration_MaximumSet_Gen", + "operationId": "RoutePolicies_CommitConfiguration", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "routePolicyName": "example-routePolicy" + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/RoutePolicies_Create.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/RoutePolicies_Create.json new file mode 100644 index 000000000000..7692fa8cec05 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/RoutePolicies_Create.json @@ -0,0 +1,246 @@ +{ + "title": "RoutePolicies_Create_MaximumSet_Gen", + "operationId": "RoutePolicies_Create", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "routePolicyName": "example-routePolicy", + "resource": { + "properties": { + "annotation": "annotation", + "defaultAction": "Permit", + "statements": [ + { + "annotation": "annotation", + "sequenceNumber": 7, + "condition": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ], + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ], + "type": "Or", + "ipPrefixId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix" + }, + "action": { + "localPreference": 20, + "actionType": "Permit", + "ipCommunityProperties": { + "add": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + }, + "delete": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + }, + "set": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + } + }, + "ipExtendedCommunityProperties": { + "add": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + }, + "delete": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + }, + "set": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + } + } + } + } + ], + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "addressFamilyType": "IPv4", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "defaultAction": "Permit", + "statements": [ + { + "annotation": "annotation", + "sequenceNumber": 7, + "condition": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ], + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ], + "type": "Or", + "ipPrefixId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix" + }, + "action": { + "localPreference": 20, + "actionType": "Permit", + "ipCommunityProperties": { + "add": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + }, + "delete": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + }, + "set": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + } + }, + "ipExtendedCommunityProperties": { + "add": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + }, + "delete": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + }, + "set": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + } + } + } + } + ], + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "addressFamilyType": "IPv4", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "name": "example-routePolicy", + "type": "microsoft.managednetworkfabric/routePolicies", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotation", + "defaultAction": "Permit", + "statements": [ + { + "annotation": "annotation", + "sequenceNumber": 7, + "condition": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ], + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ], + "type": "Or", + "ipPrefixId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix" + }, + "action": { + "localPreference": 20, + "actionType": "Permit", + "ipCommunityProperties": { + "add": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + }, + "delete": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + }, + "set": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + } + }, + "ipExtendedCommunityProperties": { + "add": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + }, + "delete": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + }, + "set": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + } + } + } + } + ], + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "addressFamilyType": "IPv4", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "name": "example-routePolicy", + "type": "microsoft.managednetworkfabric/routePolicies", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/RoutePolicies_Delete.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/RoutePolicies_Delete.json new file mode 100644 index 000000000000..394c5799f5e2 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/RoutePolicies_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "RoutePolicies_Delete_MaximumSet_Gen", + "operationId": "RoutePolicies_Delete", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "routePolicyName": "example-routePolicy" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/RoutePolicies_Get.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/RoutePolicies_Get.json new file mode 100644 index 000000000000..d2be66d5fc46 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/RoutePolicies_Get.json @@ -0,0 +1,94 @@ +{ + "title": "RoutePolicies_Get_MaximumSet_Gen", + "operationId": "RoutePolicies_Get", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "routePolicyName": "example-routePolicy" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "defaultAction": "Permit", + "statements": [ + { + "annotation": "annotation", + "sequenceNumber": 7, + "condition": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ], + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ], + "type": "Or", + "ipPrefixId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix" + }, + "action": { + "localPreference": 20, + "actionType": "Permit", + "ipCommunityProperties": { + "add": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + }, + "delete": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + }, + "set": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + } + }, + "ipExtendedCommunityProperties": { + "add": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + }, + "delete": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + }, + "set": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + } + } + } + } + ], + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "addressFamilyType": "IPv4", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "name": "example-routePolicy", + "type": "microsoft.managednetworkfabric/routePolicies", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/RoutePolicies_ListByResourceGroup.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/RoutePolicies_ListByResourceGroup.json new file mode 100644 index 000000000000..c389e077a3aa --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/RoutePolicies_ListByResourceGroup.json @@ -0,0 +1,98 @@ +{ + "title": "RoutePolicies_ListByResourceGroup_MaximumSet_Gen", + "operationId": "RoutePolicies_ListByResourceGroup", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "defaultAction": "Permit", + "statements": [ + { + "annotation": "annotation", + "sequenceNumber": 7, + "condition": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ], + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ], + "type": "Or", + "ipPrefixId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix" + }, + "action": { + "localPreference": 20, + "actionType": "Permit", + "ipCommunityProperties": { + "add": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + }, + "delete": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + }, + "set": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + } + }, + "ipExtendedCommunityProperties": { + "add": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + }, + "delete": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + }, + "set": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + } + } + } + } + ], + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "addressFamilyType": "IPv4", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "name": "example-routePolicy", + "type": "microsoft.managednetworkfabric/routePolicies", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/RoutePolicies_ListBySubscription.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/RoutePolicies_ListBySubscription.json new file mode 100644 index 000000000000..a7f47a51dae4 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/RoutePolicies_ListBySubscription.json @@ -0,0 +1,97 @@ +{ + "title": "RoutePolicies_ListBySubscription_MaximumSet_Gen", + "operationId": "RoutePolicies_ListBySubscription", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "defaultAction": "Permit", + "statements": [ + { + "annotation": "annotation", + "sequenceNumber": 7, + "condition": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ], + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ], + "type": "Or", + "ipPrefixId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix" + }, + "action": { + "localPreference": 20, + "actionType": "Permit", + "ipCommunityProperties": { + "add": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + }, + "delete": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + }, + "set": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + } + }, + "ipExtendedCommunityProperties": { + "add": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + }, + "delete": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + }, + "set": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + } + } + } + } + ], + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "addressFamilyType": "IPv4", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "name": "example-routePolicy", + "type": "microsoft.managednetworkfabric/routePolicies", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/RoutePolicies_Update.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/RoutePolicies_Update.json new file mode 100644 index 000000000000..210aabe13601 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/RoutePolicies_Update.json @@ -0,0 +1,161 @@ +{ + "title": "RoutePolicies_Update_MaximumSet_Gen", + "operationId": "RoutePolicies_Update", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "routePolicyName": "example-routePolicy", + "properties": { + "tags": { + "keyId": "keyValue" + }, + "properties": { + "defaultAction": "Permit", + "statements": [ + { + "annotation": "annotation", + "sequenceNumber": 7, + "condition": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ], + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ], + "type": "Or", + "ipPrefixId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix" + }, + "action": { + "localPreference": 20, + "actionType": "Permit", + "ipCommunityProperties": { + "add": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + }, + "delete": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + }, + "set": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + } + }, + "ipExtendedCommunityProperties": { + "add": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + }, + "delete": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + }, + "set": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + } + } + } + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "defaultAction": "Permit", + "statements": [ + { + "annotation": "annotation", + "sequenceNumber": 7, + "condition": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ], + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ], + "type": "Or", + "ipPrefixId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix" + }, + "action": { + "localPreference": 20, + "actionType": "Permit", + "ipCommunityProperties": { + "add": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + }, + "delete": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + }, + "set": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + } + }, + "ipExtendedCommunityProperties": { + "add": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + }, + "delete": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + }, + "set": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + } + } + } + } + ], + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "addressFamilyType": "IPv4", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "name": "example-routePolicy", + "type": "microsoft.managednetworkfabric/routePolicies", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/RoutePolicies_UpdateAdministrativeState.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/RoutePolicies_UpdateAdministrativeState.json new file mode 100644 index 000000000000..9bb4b8110cef --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/RoutePolicies_UpdateAdministrativeState.json @@ -0,0 +1,46 @@ +{ + "title": "RoutePolicies_UpdateAdministrativeState_MaximumSet_Gen", + "operationId": "RoutePolicies_UpdateAdministrativeState", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "routePolicyName": "example-routePolicy", + "body": { + "resourceIds": [ + "" + ], + "state": "Enable" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded", + "successfulDevices": [ + "" + ], + "failedDevices": [ + "" + ] + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/RoutePolicies_ValidateConfiguration.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/RoutePolicies_ValidateConfiguration.json new file mode 100644 index 000000000000..fa11d7b11a20 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/examples/RoutePolicies_ValidateConfiguration.json @@ -0,0 +1,35 @@ +{ + "title": "RoutePolicies_ValidateConfiguration_MaximumSet_Gen", + "operationId": "RoutePolicies_ValidateConfiguration", + "parameters": { + "api-version": "2024-02-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "routePolicyName": "example-routePolicy" + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded", + "url": "https://ActionDetails" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/managednetworkfabric.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/managednetworkfabric.json new file mode 100644 index 000000000000..341989b9acc1 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/managednetworkfabric.json @@ -0,0 +1,18499 @@ +{ + "swagger": "2.0", + "info": { + "title": "Azure Network Fabric Management Service API", + "version": "2024-02-15-preview", + "description": "Self service experience for Azure Network Fabric API.", + "x-typespec-generated": [ + { + "emitter": "@azure-tools/typespec-autorest" + } + ] + }, + "schemes": [ + "https" + ], + "host": "management.azure.com", + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow.", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "tags": [ + { + "name": "Operations" + }, + { + "name": "AccessControlLists" + }, + { + "name": "InternetGatewayRules" + }, + { + "name": "InternetGateways" + }, + { + "name": "IpCommunities" + }, + { + "name": "IpExtendedCommunities" + }, + { + "name": "IpPrefixes" + }, + { + "name": "L2IsolationDomains" + }, + { + "name": "L3IsolationDomains" + }, + { + "name": "InternalNetworks" + }, + { + "name": "ExternalNetworks" + }, + { + "name": "NeighborGroups" + }, + { + "name": "NetworkDeviceSkus" + }, + { + "name": "NetworkDevices" + }, + { + "name": "NetworkInterfaces" + }, + { + "name": "NetworkFabricControllers" + }, + { + "name": "NetworkFabricSkus" + }, + { + "name": "NetworkFabrics" + }, + { + "name": "NetworkToNetworkInterconnects" + }, + { + "name": "NetworkPacketBrokers" + }, + { + "name": "NetworkRacks" + }, + { + "name": "NetworkTapRules" + }, + { + "name": "NetworkTaps" + }, + { + "name": "RoutePolicies" + } + ], + "paths": { + "/providers/Microsoft.ManagedNetworkFabric/operations": { + "get": { + "operationId": "Operations_List", + "tags": [ + "Operations" + ], + "description": "List the operations for the provider", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Operations_List_MaximumSet_Gen": { + "$ref": "./examples/Operations_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/accessControlLists": { + "get": { + "operationId": "AccessControlLists_ListBySubscription", + "tags": [ + "AccessControlLists" + ], + "description": "Implements AccessControlLists list by subscription GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/AccessControlListListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "AccessControlLists_ListBySubscription_MaximumSet_Gen": { + "$ref": "./examples/AccessControlLists_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/internetGatewayRules": { + "get": { + "operationId": "InternetGatewayRules_ListBySubscription", + "tags": [ + "InternetGatewayRules" + ], + "description": "List all Internet Gateway rules in the given subscription.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InternetGatewayRuleListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternetGatewayRules_ListBySubscription_MaximumSet_Gen": { + "$ref": "./examples/InternetGatewayRules_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/internetGateways": { + "get": { + "operationId": "InternetGateways_ListBySubscription", + "tags": [ + "InternetGateways" + ], + "description": "Displays Internet Gateways list by subscription GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InternetGatewayListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternetGateways_ListBySubscription_MaximumSet_Gen": { + "$ref": "./examples/InternetGateways_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/ipCommunities": { + "get": { + "operationId": "IpCommunities_ListBySubscription", + "tags": [ + "IpCommunities" + ], + "description": "Implements IP Communities list by subscription GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/IpCommunityListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "IpCommunities_ListBySubscription_MaximumSet_Gen": { + "$ref": "./examples/IpCommunities_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities": { + "get": { + "operationId": "IpExtendedCommunities_ListBySubscription", + "tags": [ + "IpExtendedCommunities" + ], + "description": "Implements IpExtendedCommunities list by subscription GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/IpExtendedCommunityListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "IpExtendedCommunities_ListBySubscription_MaximumSet_Gen": { + "$ref": "./examples/IpExtendedCommunities_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/ipPrefixes": { + "get": { + "operationId": "IpPrefixes_ListBySubscription", + "tags": [ + "IpPrefixes" + ], + "description": "Implements IpPrefixes list by subscription GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/IpPrefixListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "IpPrefixes_ListBySubscription_MaximumSet_Gen": { + "$ref": "./examples/IpPrefixes_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains": { + "get": { + "operationId": "L2IsolationDomains_ListBySubscription", + "tags": [ + "L2IsolationDomains" + ], + "description": "Displays L2IsolationDomains list by subscription GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/L2IsolationDomainListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "L2IsolationDomains_ListBySubscription_MaximumSet_Gen": { + "$ref": "./examples/L2IsolationDomains_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains": { + "get": { + "operationId": "L3IsolationDomains_ListBySubscription", + "tags": [ + "L3IsolationDomains" + ], + "description": "Displays L3IsolationDomains list by subscription GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/L3IsolationDomainListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "L3IsolationDomains_ListBySubscription_MaximumSet_Gen": { + "$ref": "./examples/L3IsolationDomains_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/neighborGroups": { + "get": { + "operationId": "NeighborGroups_ListBySubscription", + "tags": [ + "NeighborGroups" + ], + "description": "Displays NeighborGroups list by subscription GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NeighborGroupListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NeighborGroups_ListBySubscription_MaximumSet_Gen": { + "$ref": "./examples/NeighborGroups_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/networkDeviceSkus": { + "get": { + "operationId": "NetworkDeviceSkus_ListBySubscription", + "tags": [ + "NetworkDeviceSkus" + ], + "description": "List Network Device SKUs for the given subscription.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkDeviceSkuListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkDeviceSkus_ListBySubscription_MaximumSet_Gen": { + "$ref": "./examples/NetworkDeviceSkus_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/networkDeviceSkus/{networkDeviceSkuName}": { + "get": { + "operationId": "NetworkDeviceSkus_Get", + "tags": [ + "NetworkDeviceSkus" + ], + "description": "Get a Network Device SKU details.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "networkDeviceSkuName", + "in": "path", + "description": "Name of the Network Device SKU.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkDeviceSku" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkDeviceSkus_Get_MaximumSet_Gen": { + "$ref": "./examples/NetworkDeviceSkus_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/networkDevices": { + "get": { + "operationId": "NetworkDevices_ListBySubscription", + "tags": [ + "NetworkDevices" + ], + "description": "List all the Network Device resources in a given subscription.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkDeviceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkDevices_ListBySubscription_MaximumSet_Gen": { + "$ref": "./examples/NetworkDevices_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers": { + "get": { + "operationId": "NetworkFabricControllers_ListBySubscription", + "tags": [ + "NetworkFabricControllers" + ], + "description": "Lists all the NetworkFabricControllers by subscription.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkFabricControllerListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkFabricControllers_ListBySubscription_MaximumSet_Gen": { + "$ref": "./examples/NetworkFabricControllers_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/networkFabricSkus": { + "get": { + "operationId": "NetworkFabricSkus_ListBySubscription", + "tags": [ + "NetworkFabricSkus" + ], + "description": "Implements Network Fabric SKUs list by subscription GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkFabricSkuListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkFabricSkus_ListBySubscription_MaximumSet_Gen": { + "$ref": "./examples/NetworkFabricSkus_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/networkFabricSkus/{networkFabricSkuName}": { + "get": { + "operationId": "NetworkFabricSkus_Get", + "tags": [ + "NetworkFabricSkus" + ], + "description": "Implements Network Fabric SKU GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "networkFabricSkuName", + "in": "path", + "description": "Name of the Network Fabric SKU.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkFabricSku" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkFabricSkus_Get_MaximumSet_Gen": { + "$ref": "./examples/NetworkFabricSkus_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/networkFabrics": { + "get": { + "operationId": "NetworkFabrics_ListBySubscription", + "tags": [ + "NetworkFabrics" + ], + "description": "List all the Network Fabric resources in the given subscription.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkFabricListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkFabrics_ListBySubscription_MaximumSet_Gen": { + "$ref": "./examples/NetworkFabrics_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/networkPacketBrokers": { + "get": { + "operationId": "NetworkPacketBrokers_ListBySubscription", + "tags": [ + "NetworkPacketBrokers" + ], + "description": "Displays Network Packet Brokers list by subscription GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkPacketBrokerListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkPacketBrokers_ListBySubscription_MaximumSet_Gen": { + "$ref": "./examples/NetworkPacketBrokers_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/networkRacks": { + "get": { + "operationId": "NetworkRacks_ListBySubscription", + "tags": [ + "NetworkRacks" + ], + "description": "List all Network Rack resources in the given subscription", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkRackListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkRacks_ListBySubscription_MaximumSet_Gen": { + "$ref": "./examples/NetworkRacks_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/networkTapRules": { + "get": { + "operationId": "NetworkTapRules_ListBySubscription", + "tags": [ + "NetworkTapRules" + ], + "description": "List all the Network Tap Rule resources in the given subscription.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkTapRuleListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkTapRules_ListBySubscription_MaximumSet_Gen": { + "$ref": "./examples/NetworkTapRules_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/networkTaps": { + "get": { + "operationId": "NetworkTaps_ListBySubscription", + "tags": [ + "NetworkTaps" + ], + "description": "Displays Network Taps list by subscription GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkTapListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkTaps_ListBySubscription_MaximumSet_Gen": { + "$ref": "./examples/NetworkTaps_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/routePolicies": { + "get": { + "operationId": "RoutePolicies_ListBySubscription", + "tags": [ + "RoutePolicies" + ], + "description": "Implements RoutePolicies list by subscription GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/RoutePolicyListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "RoutePolicies_ListBySubscription_MaximumSet_Gen": { + "$ref": "./examples/RoutePolicies_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/accessControlLists": { + "get": { + "operationId": "AccessControlLists_ListByResourceGroup", + "tags": [ + "AccessControlLists" + ], + "description": "Implements AccessControlLists list by resource group GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/AccessControlListListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "AccessControlLists_ListByResourceGroup_MaximumSet_Gen": { + "$ref": "./examples/AccessControlLists_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/accessControlLists/{accessControlListName}": { + "get": { + "operationId": "AccessControlLists_Get", + "tags": [ + "AccessControlLists" + ], + "description": "Implements Access Control List GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accessControlListName", + "in": "path", + "description": "Name of the Access Control List.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/AccessControlList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "AccessControlLists_Get_MaximumSet_Gen": { + "$ref": "./examples/AccessControlLists_Get.json" + } + } + }, + "put": { + "operationId": "AccessControlLists_Create", + "tags": [ + "AccessControlLists" + ], + "description": "Implements Access Control List PUT method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accessControlListName", + "in": "path", + "description": "Name of the Access Control List.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "resource", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/AccessControlList" + } + } + ], + "responses": { + "200": { + "description": "Resource 'AccessControlList' update operation succeeded", + "schema": { + "$ref": "#/definitions/AccessControlList" + } + }, + "201": { + "description": "Resource 'AccessControlList' create operation succeeded", + "schema": { + "$ref": "#/definitions/AccessControlList" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "AccessControlLists_Create_MaximumSet_Gen": { + "$ref": "./examples/AccessControlLists_Create.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "AccessControlLists_Update", + "tags": [ + "AccessControlLists" + ], + "description": "API to update certain properties of the Access Control List resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accessControlListName", + "in": "path", + "description": "Name of the Access Control List.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "properties", + "in": "body", + "description": "Access Control List properties to update.", + "required": true, + "schema": { + "$ref": "#/definitions/AccessControlListPatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/AccessControlList" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "AccessControlLists_Update_MaximumSet_Gen": { + "$ref": "./examples/AccessControlLists_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "AccessControlLists_Delete", + "tags": [ + "AccessControlLists" + ], + "description": "Implements Access Control List DELETE method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accessControlListName", + "in": "path", + "description": "Name of the Access Control List.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "AccessControlLists_Delete_MaximumSet_Gen": { + "$ref": "./examples/AccessControlLists_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/accessControlLists/{accessControlListName}/resync": { + "post": { + "operationId": "AccessControlLists_Resync", + "tags": [ + "AccessControlLists" + ], + "description": "Implements the operation to the underlying resources.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accessControlListName", + "in": "path", + "description": "Name of the Access Control List.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommonPostActionResponseForStateUpdate" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "AccessControlLists_Resync_MaximumSet_Gen": { + "$ref": "./examples/AccessControlLists_Resync.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/accessControlLists/{accessControlListName}/updateAdministrativeState": { + "post": { + "operationId": "AccessControlLists_UpdateAdministrativeState", + "tags": [ + "AccessControlLists" + ], + "description": "Implements the operation to the underlying resources.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accessControlListName", + "in": "path", + "description": "Name of the Access Control List.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "body", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateAdministrativeState" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommonPostActionResponseForStateUpdate" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "AccessControlLists_UpdateAdministrativeState_MaximumSet_Gen": { + "$ref": "./examples/AccessControlLists_UpdateAdministrativeState.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/accessControlLists/{accessControlListName}/validateConfiguration": { + "post": { + "operationId": "AccessControlLists_ValidateConfiguration", + "tags": [ + "AccessControlLists" + ], + "description": "Implements the operation to the underlying resources.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accessControlListName", + "in": "path", + "description": "Name of the Access Control List.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ValidateConfigurationResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "AccessControlLists_ValidateConfiguration_MaximumSet_Gen": { + "$ref": "./examples/AccessControlLists_ValidateConfiguration.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/internetGatewayRules": { + "get": { + "operationId": "InternetGatewayRules_ListByResourceGroup", + "tags": [ + "InternetGatewayRules" + ], + "description": "Implements Internet Gateway Rules list by resource group GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InternetGatewayRuleListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternetGatewayRules_ListByResourceGroup_MaximumSet_Gen": { + "$ref": "./examples/InternetGatewayRules_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/internetGatewayRules/{internetGatewayRuleName}": { + "get": { + "operationId": "InternetGatewayRules_Get", + "tags": [ + "InternetGatewayRules" + ], + "description": "Gets an Internet Gateway Rule resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "internetGatewayRuleName", + "in": "path", + "description": "Name of the Internet Gateway rule.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InternetGatewayRule" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternetGatewayRules_Get_MaximumSet_Gen": { + "$ref": "./examples/InternetGatewayRules_Get.json" + } + } + }, + "put": { + "operationId": "InternetGatewayRules_Create", + "tags": [ + "InternetGatewayRules" + ], + "description": "Creates an Internet Gateway rule resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "internetGatewayRuleName", + "in": "path", + "description": "Name of the Internet Gateway rule.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "resource", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/InternetGatewayRule" + } + } + ], + "responses": { + "200": { + "description": "Resource 'InternetGatewayRule' update operation succeeded", + "schema": { + "$ref": "#/definitions/InternetGatewayRule" + } + }, + "201": { + "description": "Resource 'InternetGatewayRule' create operation succeeded", + "schema": { + "$ref": "#/definitions/InternetGatewayRule" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternetGatewayRules_Create_MaximumSet_Gen": { + "$ref": "./examples/InternetGatewayRules_Create.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "InternetGatewayRules_Update", + "tags": [ + "InternetGatewayRules" + ], + "description": "API to update certain properties of the Internet Gateway Rule resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "internetGatewayRuleName", + "in": "path", + "description": "Name of the Internet Gateway rule.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "properties", + "in": "body", + "description": "Internet Gateway Rule properties to update.", + "required": true, + "schema": { + "$ref": "#/definitions/InternetGatewayRulePatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InternetGatewayRule" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternetGatewayRules_Update_MaximumSet_Gen": { + "$ref": "./examples/InternetGatewayRules_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "InternetGatewayRules_Delete", + "tags": [ + "InternetGatewayRules" + ], + "description": "Implements Internet Gateway Rules DELETE method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "internetGatewayRuleName", + "in": "path", + "description": "Name of the Internet Gateway rule.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternetGatewayRules_Delete_MaximumSet_Gen": { + "$ref": "./examples/InternetGatewayRules_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/internetGateways": { + "get": { + "operationId": "InternetGateways_ListByResourceGroup", + "tags": [ + "InternetGateways" + ], + "description": "Displays Internet Gateways list by resource group GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InternetGatewayListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternetGateways_ListByResourceGroup_MaximumSet_Gen": { + "$ref": "./examples/InternetGateways_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/internetGateways/{internetGatewayName}": { + "get": { + "operationId": "InternetGateways_Get", + "tags": [ + "InternetGateways" + ], + "description": "Implements Gateway GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "internetGatewayName", + "in": "path", + "description": "Name of the Internet Gateway.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InternetGateway" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternetGateways_Get_MaximumSet_Gen": { + "$ref": "./examples/InternetGateways_Get.json" + } + } + }, + "put": { + "operationId": "InternetGateways_Create", + "tags": [ + "InternetGateways" + ], + "description": "Creates a Network Fabric Service Internet Gateway resource instance.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "internetGatewayName", + "in": "path", + "description": "Name of the Internet Gateway.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "resource", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/InternetGateway" + } + } + ], + "responses": { + "200": { + "description": "Resource 'InternetGateway' update operation succeeded", + "schema": { + "$ref": "#/definitions/InternetGateway" + } + }, + "201": { + "description": "Resource 'InternetGateway' create operation succeeded", + "schema": { + "$ref": "#/definitions/InternetGateway" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternetGateways_Create_MaximumSet_Gen": { + "$ref": "./examples/InternetGateways_Create.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "InternetGateways_Update", + "tags": [ + "InternetGateways" + ], + "description": "Execute patch on Network Fabric Service Internet Gateway.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "internetGatewayName", + "in": "path", + "description": "Name of the Internet Gateway.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "properties", + "in": "body", + "description": "API to update certain properties of the InternetGateway resource..", + "required": true, + "schema": { + "$ref": "#/definitions/InternetGatewayPatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InternetGateway" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternetGateways_Update_MaximumSet_Gen": { + "$ref": "./examples/InternetGateways_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "InternetGateways_Delete", + "tags": [ + "InternetGateways" + ], + "description": "Execute a delete on Network Fabric Service Internet Gateway.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "internetGatewayName", + "in": "path", + "description": "Name of the Internet Gateway.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternetGateways_Delete_MaximumSet_Gen": { + "$ref": "./examples/InternetGateways_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/ipCommunities": { + "get": { + "operationId": "IpCommunities_ListByResourceGroup", + "tags": [ + "IpCommunities" + ], + "description": "Implements IP Communities list by resource group GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/IpCommunityListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "IpCommunities_ListByResourceGroup_MaximumSet_Gen": { + "$ref": "./examples/IpCommunities_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/ipCommunities/{ipCommunityName}": { + "get": { + "operationId": "IpCommunities_Get", + "tags": [ + "IpCommunities" + ], + "description": "Implements an IP Community GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "ipCommunityName", + "in": "path", + "description": "Name of the IP Community.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/IpCommunity" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "IpCommunities_Get_MaximumSet_Gen": { + "$ref": "./examples/IpCommunities_Get.json" + } + } + }, + "put": { + "operationId": "IpCommunities_Create", + "tags": [ + "IpCommunities" + ], + "description": "Implements an IP Community PUT method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "ipCommunityName", + "in": "path", + "description": "Name of the IP Community.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "resource", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/IpCommunity" + } + } + ], + "responses": { + "200": { + "description": "Resource 'IpCommunity' update operation succeeded", + "schema": { + "$ref": "#/definitions/IpCommunity" + } + }, + "201": { + "description": "Resource 'IpCommunity' create operation succeeded", + "schema": { + "$ref": "#/definitions/IpCommunity" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "IpCommunities_Create_MaximumSet_Gen": { + "$ref": "./examples/IpCommunities_Create.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "IpCommunities_Update", + "tags": [ + "IpCommunities" + ], + "description": "API to update certain properties of the IP Community resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "ipCommunityName", + "in": "path", + "description": "Name of the IP Community.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "properties", + "in": "body", + "description": "IP Community properties to update.", + "required": true, + "schema": { + "$ref": "#/definitions/IpCommunityPatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/IpCommunity" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "IpCommunities_Update_MaximumSet_Gen": { + "$ref": "./examples/IpCommunities_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "IpCommunities_Delete", + "tags": [ + "IpCommunities" + ], + "description": "Implements IP Community DELETE method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "ipCommunityName", + "in": "path", + "description": "Name of the IP Community.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "IpCommunities_Delete_MaximumSet_Gen": { + "$ref": "./examples/IpCommunities_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities": { + "get": { + "operationId": "IpExtendedCommunities_ListByResourceGroup", + "tags": [ + "IpExtendedCommunities" + ], + "description": "Implements IpExtendedCommunities list by resource group GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/IpExtendedCommunityListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "IpExtendedCommunities_ListByResourceGroup_MaximumSet_Gen": { + "$ref": "./examples/IpExtendedCommunities_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/{ipExtendedCommunityName}": { + "get": { + "operationId": "IpExtendedCommunities_Get", + "tags": [ + "IpExtendedCommunities" + ], + "description": "Implements IP Extended Community GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "ipExtendedCommunityName", + "in": "path", + "description": "Name of the IP Extended Community.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/IpExtendedCommunity" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "IpExtendedCommunities_Get_MaximumSet_Gen": { + "$ref": "./examples/IpExtendedCommunities_Get.json" + } + } + }, + "put": { + "operationId": "IpExtendedCommunities_Create", + "tags": [ + "IpExtendedCommunities" + ], + "description": "Implements IP Extended Community PUT method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "ipExtendedCommunityName", + "in": "path", + "description": "Name of the IP Extended Community.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "resource", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/IpExtendedCommunity" + } + } + ], + "responses": { + "200": { + "description": "Resource 'IpExtendedCommunity' update operation succeeded", + "schema": { + "$ref": "#/definitions/IpExtendedCommunity" + } + }, + "201": { + "description": "Resource 'IpExtendedCommunity' create operation succeeded", + "schema": { + "$ref": "#/definitions/IpExtendedCommunity" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "IpExtendedCommunities_Create_MaximumSet_Gen": { + "$ref": "./examples/IpExtendedCommunities_Create.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "IpExtendedCommunities_Update", + "tags": [ + "IpExtendedCommunities" + ], + "description": "API to update certain properties of the IP Extended Community resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "ipExtendedCommunityName", + "in": "path", + "description": "Name of the IP Extended Community.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "properties", + "in": "body", + "description": "IP Extended Community properties to update.", + "required": true, + "schema": { + "$ref": "#/definitions/IpExtendedCommunityPatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/IpExtendedCommunity" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "IpExtendedCommunities_Update_MaximumSet_Gen": { + "$ref": "./examples/IpExtendedCommunities_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "IpExtendedCommunities_Delete", + "tags": [ + "IpExtendedCommunities" + ], + "description": "Implements IP Extended Community DELETE method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "ipExtendedCommunityName", + "in": "path", + "description": "Name of the IP Extended Community.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "IpExtendedCommunities_Delete_MaximumSet_Gen": { + "$ref": "./examples/IpExtendedCommunities_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/ipPrefixes": { + "get": { + "operationId": "IpPrefixes_ListByResourceGroup", + "tags": [ + "IpPrefixes" + ], + "description": "Implements IpPrefixes list by resource group GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/IpPrefixListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "IpPrefixes_ListByResourceGroup_MaximumSet_Gen": { + "$ref": "./examples/IpPrefixes_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/{ipPrefixName}": { + "get": { + "operationId": "IpPrefixes_Get", + "tags": [ + "IpPrefixes" + ], + "description": "Implements IP Prefix GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "ipPrefixName", + "in": "path", + "description": "Name of the IP Prefix.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/IpPrefix" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "IpPrefixes_Get_MaximumSet_Gen": { + "$ref": "./examples/IpPrefixes_Get.json" + } + } + }, + "put": { + "operationId": "IpPrefixes_Create", + "tags": [ + "IpPrefixes" + ], + "description": "Implements IP Prefix PUT method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "ipPrefixName", + "in": "path", + "description": "Name of the IP Prefix.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "resource", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/IpPrefix" + } + } + ], + "responses": { + "200": { + "description": "Resource 'IpPrefix' update operation succeeded", + "schema": { + "$ref": "#/definitions/IpPrefix" + } + }, + "201": { + "description": "Resource 'IpPrefix' create operation succeeded", + "schema": { + "$ref": "#/definitions/IpPrefix" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "IpPrefixes_Create_MaximumSet_Gen": { + "$ref": "./examples/IpPrefixes_Create.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "IpPrefixes_Update", + "tags": [ + "IpPrefixes" + ], + "description": "API to update certain properties of the IP Prefix resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "ipPrefixName", + "in": "path", + "description": "Name of the IP Prefix.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "properties", + "in": "body", + "description": "IP Prefix properties to update.", + "required": true, + "schema": { + "$ref": "#/definitions/IpPrefixPatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/IpPrefix" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "IpPrefixes_Update_MaximumSet_Gen": { + "$ref": "./examples/IpPrefixes_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "IpPrefixes_Delete", + "tags": [ + "IpPrefixes" + ], + "description": "Implements IP Prefix DELETE method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "ipPrefixName", + "in": "path", + "description": "Name of the IP Prefix.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "IpPrefixes_Delete_MaximumSet_Gen": { + "$ref": "./examples/IpPrefixes_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains": { + "get": { + "operationId": "L2IsolationDomains_ListByResourceGroup", + "tags": [ + "L2IsolationDomains" + ], + "description": "Displays L2IsolationDomains list by resource group GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/L2IsolationDomainListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "L2IsolationDomains_ListByResourceGroup_MaximumSet_Gen": { + "$ref": "./examples/L2IsolationDomains_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/{l2IsolationDomainName}": { + "get": { + "operationId": "L2IsolationDomains_Get", + "tags": [ + "L2IsolationDomains" + ], + "description": "Implements L2 Isolation Domain GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "l2IsolationDomainName", + "in": "path", + "description": "Name of the L2 Isolation Domain.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/L2IsolationDomain" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "L2IsolationDomains_Get_MaximumSet_Gen": { + "$ref": "./examples/L2IsolationDomains_Get.json" + } + } + }, + "put": { + "operationId": "L2IsolationDomains_Create", + "tags": [ + "L2IsolationDomains" + ], + "description": "Creates layer 2 network connectivity between compute nodes within a rack and across racks.The configuration is applied on the devices only after the isolation domain is enabled.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "l2IsolationDomainName", + "in": "path", + "description": "Name of the L2 Isolation Domain.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "resource", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/L2IsolationDomain" + } + } + ], + "responses": { + "200": { + "description": "Resource 'L2IsolationDomain' update operation succeeded", + "schema": { + "$ref": "#/definitions/L2IsolationDomain" + } + }, + "201": { + "description": "Resource 'L2IsolationDomain' create operation succeeded", + "schema": { + "$ref": "#/definitions/L2IsolationDomain" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "L2IsolationDomains_Create_MaximumSet_Gen": { + "$ref": "./examples/L2IsolationDomains_Create.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "L2IsolationDomains_Update", + "tags": [ + "L2IsolationDomains" + ], + "description": "API to update certain properties of the L2 Isolation Domain resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "l2IsolationDomainName", + "in": "path", + "description": "Name of the L2 Isolation Domain.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "properties", + "in": "body", + "description": "API to update certain properties of the L2 Isolation Domain resource..", + "required": true, + "schema": { + "$ref": "#/definitions/L2IsolationDomainPatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/L2IsolationDomain" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "L2IsolationDomains_Update_MaximumSet_Gen": { + "$ref": "./examples/L2IsolationDomains_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "L2IsolationDomains_Delete", + "tags": [ + "L2IsolationDomains" + ], + "description": "Deletes layer 2 connectivity between compute nodes by managed by named L2 Isolation name.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "l2IsolationDomainName", + "in": "path", + "description": "Name of the L2 Isolation Domain.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "L2IsolationDomains_Delete_MaximumSet_Gen": { + "$ref": "./examples/L2IsolationDomains_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/{l2IsolationDomainName}/commitConfiguration": { + "post": { + "operationId": "L2IsolationDomains_CommitConfiguration", + "tags": [ + "L2IsolationDomains" + ], + "description": "Commits the configuration of the given resources.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "l2IsolationDomainName", + "in": "path", + "description": "Name of the L2 Isolation Domain.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommonPostActionResponseForStateUpdate" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "L2IsolationDomains_CommitConfiguration_MaximumSet_Gen": { + "$ref": "./examples/L2IsolationDomains_CommitConfiguration.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/{l2IsolationDomainName}/updateAdministrativeState": { + "post": { + "operationId": "L2IsolationDomains_UpdateAdministrativeState", + "tags": [ + "L2IsolationDomains" + ], + "description": "Enables isolation domain across the fabric or on specified racks.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "l2IsolationDomainName", + "in": "path", + "description": "Name of the L2 Isolation Domain.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "body", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateAdministrativeState" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommonPostActionResponseForDeviceUpdate" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "L2IsolationDomains_UpdateAdministrativeState_MaximumSet_Gen": { + "$ref": "./examples/L2IsolationDomains_UpdateAdministrativeState.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/{l2IsolationDomainName}/validateConfiguration": { + "post": { + "operationId": "L2IsolationDomains_ValidateConfiguration", + "tags": [ + "L2IsolationDomains" + ], + "description": "Validates the configuration of the resources.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "l2IsolationDomainName", + "in": "path", + "description": "Name of the L2 Isolation Domain.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ValidateConfigurationResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "L2IsolationDomains_ValidateConfiguration_MaximumSet_Gen": { + "$ref": "./examples/L2IsolationDomains_ValidateConfiguration.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains": { + "get": { + "operationId": "L3IsolationDomains_ListByResourceGroup", + "tags": [ + "L3IsolationDomains" + ], + "description": "Displays L3IsolationDomains list by resource group GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/L3IsolationDomainListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "L3IsolationDomains_ListByResourceGroup_MaximumSet_Gen": { + "$ref": "./examples/L3IsolationDomains_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/{l3IsolationDomainName}": { + "get": { + "operationId": "L3IsolationDomains_Get", + "tags": [ + "L3IsolationDomains" + ], + "description": "Retrieves details of this L3 Isolation Domain.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "l3IsolationDomainName", + "in": "path", + "description": "Name of the L3 Isolation Domain.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/L3IsolationDomain" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "L3IsolationDomains_Get_MaximumSet_Gen": { + "$ref": "./examples/L3IsolationDomains_Get.json" + } + } + }, + "put": { + "operationId": "L3IsolationDomains_Create", + "tags": [ + "L3IsolationDomains" + ], + "description": "Create isolation domain resources for layer 3 connectivity between compute nodes and for communication with external services .This configuration is applied on the devices only after the creation of networks is completed and isolation domain is enabled.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "l3IsolationDomainName", + "in": "path", + "description": "Name of the L3 Isolation Domain.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "resource", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/L3IsolationDomain" + } + } + ], + "responses": { + "200": { + "description": "Resource 'L3IsolationDomain' update operation succeeded", + "schema": { + "$ref": "#/definitions/L3IsolationDomain" + } + }, + "201": { + "description": "Resource 'L3IsolationDomain' create operation succeeded", + "schema": { + "$ref": "#/definitions/L3IsolationDomain" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "L3IsolationDomains_Create_MaximumSet_Gen": { + "$ref": "./examples/L3IsolationDomains_Create.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "L3IsolationDomains_Update", + "tags": [ + "L3IsolationDomains" + ], + "description": "API to update certain properties of the L3 Isolation Domain resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "l3IsolationDomainName", + "in": "path", + "description": "Name of the L3 Isolation Domain.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "properties", + "in": "body", + "description": "API to update certain properties of the L3 Isolation Domain resource.", + "required": true, + "schema": { + "$ref": "#/definitions/L3IsolationDomainPatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/L3IsolationDomain" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "L3IsolationDomains_Update_MaximumSet_Gen": { + "$ref": "./examples/L3IsolationDomains_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "L3IsolationDomains_Delete", + "tags": [ + "L3IsolationDomains" + ], + "description": "Deletes layer 3 connectivity between compute nodes by managed by named L3 Isolation name.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "l3IsolationDomainName", + "in": "path", + "description": "Name of the L3 Isolation Domain.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "L3IsolationDomains_Delete_MaximumSet_Gen": { + "$ref": "./examples/L3IsolationDomains_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/{l3IsolationDomainName}/commitConfiguration": { + "post": { + "operationId": "L3IsolationDomains_CommitConfiguration", + "tags": [ + "L3IsolationDomains" + ], + "description": "Commits the configuration of the given resources.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "l3IsolationDomainName", + "in": "path", + "description": "Name of the L3 Isolation Domain.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommonPostActionResponseForStateUpdate" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "L3IsolationDomains_CommitConfiguration_MaximumSet_Gen": { + "$ref": "./examples/L3IsolationDomains_CommitConfiguration.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/{l3IsolationDomainName}/externalNetworks": { + "get": { + "operationId": "ExternalNetworks_ListByL3IsolationDomain", + "tags": [ + "ExternalNetworks" + ], + "description": "Implements External Networks list by resource group GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "l3IsolationDomainName", + "in": "path", + "description": "Name of the L3 Isolation Domain.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExternalNetworkListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalNetworks_ListByL3IsolationDomain_MaximumSet_Gen": { + "$ref": "./examples/ExternalNetworks_ListByL3IsolationDomain.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/{l3IsolationDomainName}/externalNetworks/{externalNetworkName}": { + "get": { + "operationId": "ExternalNetworks_Get", + "tags": [ + "ExternalNetworks" + ], + "description": "Implements ExternalNetworks GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "l3IsolationDomainName", + "in": "path", + "description": "Name of the L3 Isolation Domain.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "externalNetworkName", + "in": "path", + "description": "Name of the External Network.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExternalNetwork" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalNetworks_Get_MaximumSet_Gen": { + "$ref": "./examples/ExternalNetworks_Get.json" + } + } + }, + "put": { + "operationId": "ExternalNetworks_Create", + "tags": [ + "ExternalNetworks" + ], + "description": "Creates ExternalNetwork PUT method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "l3IsolationDomainName", + "in": "path", + "description": "Name of the L3 Isolation Domain.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "externalNetworkName", + "in": "path", + "description": "Name of the External Network.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "resource", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/ExternalNetwork" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ExternalNetwork' update operation succeeded", + "schema": { + "$ref": "#/definitions/ExternalNetwork" + } + }, + "201": { + "description": "Resource 'ExternalNetwork' create operation succeeded", + "schema": { + "$ref": "#/definitions/ExternalNetwork" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalNetworks_Create_MaximumSet_Gen": { + "$ref": "./examples/ExternalNetworks_Create.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "ExternalNetworks_Update", + "tags": [ + "ExternalNetworks" + ], + "description": "API to update certain properties of the ExternalNetworks resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "l3IsolationDomainName", + "in": "path", + "description": "Name of the L3 Isolation Domain.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "externalNetworkName", + "in": "path", + "description": "Name of the External Network.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "properties", + "in": "body", + "description": "ExternalNetwork properties to update. Only annotations are supported.", + "required": true, + "schema": { + "$ref": "#/definitions/ExternalNetworkPatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExternalNetwork" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalNetworks_Update_MaximumSet_Gen": { + "$ref": "./examples/ExternalNetworks_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "ExternalNetworks_Delete", + "tags": [ + "ExternalNetworks" + ], + "description": "Implements ExternalNetworks DELETE method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "l3IsolationDomainName", + "in": "path", + "description": "Name of the L3 Isolation Domain.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "externalNetworkName", + "in": "path", + "description": "Name of the External Network.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalNetworks_Delete_MaximumSet_Gen": { + "$ref": "./examples/ExternalNetworks_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/{l3IsolationDomainName}/externalNetworks/{externalNetworkName}/updateAdministrativeState": { + "post": { + "operationId": "ExternalNetworks_UpdateAdministrativeState", + "tags": [ + "ExternalNetworks" + ], + "description": "Executes update operation to enable or disable administrative State for externalNetwork.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "l3IsolationDomainName", + "in": "path", + "description": "Name of the L3 Isolation Domain.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "externalNetworkName", + "in": "path", + "description": "Name of the External Network.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "body", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateAdministrativeState" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommonPostActionResponseForStateUpdate" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalNetworks_UpdateAdministrativeState_MaximumSet_Gen": { + "$ref": "./examples/ExternalNetworks_UpdateAdministrativeState.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/{l3IsolationDomainName}/externalNetworks/{externalNetworkName}/updateStaticRouteBfdAdministrativeState": { + "post": { + "operationId": "ExternalNetworks_UpdateStaticRouteBfdAdministrativeState", + "tags": [ + "ExternalNetworks" + ], + "description": "Update Static Route BFD for external Network.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "l3IsolationDomainName", + "in": "path", + "description": "Name of the L3 Isolation Domain.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "externalNetworkName", + "in": "path", + "description": "Name of the External Network.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "body", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateAdministrativeState" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommonPostActionResponseForStateUpdate" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalNetworks_UpdateStaticRouteBfdAdministrativeState_MaximumSet_Gen": { + "$ref": "./examples/ExternalNetworks_UpdateStaticRouteBfdAdministrativeState.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/{l3IsolationDomainName}/internalNetworks": { + "get": { + "operationId": "InternalNetworks_ListByL3IsolationDomain", + "tags": [ + "InternalNetworks" + ], + "description": "Displays InternalNetworks list by resource group GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "l3IsolationDomainName", + "in": "path", + "description": "Name of the L3 Isolation Domain.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InternalNetworkListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalNetworks_ListByL3IsolationDomain_MaximumSet_Gen": { + "$ref": "./examples/InternalNetworks_ListByL3IsolationDomain.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/{l3IsolationDomainName}/internalNetworks/{internalNetworkName}": { + "get": { + "operationId": "InternalNetworks_Get", + "tags": [ + "InternalNetworks" + ], + "description": "Gets a InternalNetworks.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "l3IsolationDomainName", + "in": "path", + "description": "Name of the L3 Isolation Domain.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "internalNetworkName", + "in": "path", + "description": "Name of the Internal Network.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InternalNetwork" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalNetworks_Get_MaximumSet_Gen": { + "$ref": "./examples/InternalNetworks_Get.json" + } + } + }, + "put": { + "operationId": "InternalNetworks_Create", + "tags": [ + "InternalNetworks" + ], + "description": "Creates InternalNetwork PUT method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "l3IsolationDomainName", + "in": "path", + "description": "Name of the L3 Isolation Domain.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "internalNetworkName", + "in": "path", + "description": "Name of the Internal Network.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "resource", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/InternalNetwork" + } + } + ], + "responses": { + "200": { + "description": "Resource 'InternalNetwork' update operation succeeded", + "schema": { + "$ref": "#/definitions/InternalNetwork" + } + }, + "201": { + "description": "Resource 'InternalNetwork' create operation succeeded", + "schema": { + "$ref": "#/definitions/InternalNetwork" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalNetworks_Create_MaximumSet_Gen": { + "$ref": "./examples/InternalNetworks_Create.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "InternalNetworks_Update", + "tags": [ + "InternalNetworks" + ], + "description": "Updates a InternalNetworks.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "l3IsolationDomainName", + "in": "path", + "description": "Name of the L3 Isolation Domain.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "internalNetworkName", + "in": "path", + "description": "Name of the Internal Network.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "properties", + "in": "body", + "description": "InternalNetwork properties to update. Only annotations are supported.", + "required": true, + "schema": { + "$ref": "#/definitions/InternalNetworkPatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InternalNetwork" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalNetworks_Update_MaximumSet_Gen": { + "$ref": "./examples/InternalNetworks_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "InternalNetworks_Delete", + "tags": [ + "InternalNetworks" + ], + "description": "Implements InternalNetworks DELETE method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "l3IsolationDomainName", + "in": "path", + "description": "Name of the L3 Isolation Domain.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "internalNetworkName", + "in": "path", + "description": "Name of the Internal Network.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalNetworks_Delete_MaximumSet_Gen": { + "$ref": "./examples/InternalNetworks_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/{l3IsolationDomainName}/internalNetworks/{internalNetworkName}/updateAdministrativeState": { + "post": { + "operationId": "InternalNetworks_UpdateAdministrativeState", + "tags": [ + "InternalNetworks" + ], + "description": "Update Administrative state of InternalNetworks on resources referred by their resource ids.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "l3IsolationDomainName", + "in": "path", + "description": "Name of the L3 Isolation Domain.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "internalNetworkName", + "in": "path", + "description": "Name of the Internal Network.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "body", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateAdministrativeState" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommonPostActionResponseForStateUpdate" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalNetworks_UpdateAdministrativeState_MaximumSet_Gen": { + "$ref": "./examples/InternalNetworks_UpdateAdministrativeState.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/{l3IsolationDomainName}/internalNetworks/{internalNetworkName}/updateBgpAdministrativeState": { + "post": { + "operationId": "InternalNetworks_UpdateBgpAdministrativeState", + "tags": [ + "InternalNetworks" + ], + "description": "Update BGP state for internalNetwork. Allowed only on edge devices.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "l3IsolationDomainName", + "in": "path", + "description": "Name of the L3 Isolation Domain.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "internalNetworkName", + "in": "path", + "description": "Name of the Internal Network.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "body", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateAdministrativeState" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommonPostActionResponseForStateUpdate" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalNetworks_UpdateBgpAdministrativeState_MaximumSet_Gen": { + "$ref": "./examples/InternalNetworks_UpdateBgpAdministrativeState.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/{l3IsolationDomainName}/internalNetworks/{internalNetworkName}/updateStaticRouteBfdAdministrativeState": { + "post": { + "operationId": "InternalNetworks_UpdateStaticRouteBfdAdministrativeState", + "tags": [ + "InternalNetworks" + ], + "description": "Update Static Route BFD administrative state for internalNetwork.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "l3IsolationDomainName", + "in": "path", + "description": "Name of the L3 Isolation Domain.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "internalNetworkName", + "in": "path", + "description": "Name of the Internal Network.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "body", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateAdministrativeState" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommonPostActionResponseForStateUpdate" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalNetworks_UpdateStaticRouteBfdAdministrativeState_MaximumSet_Gen": { + "$ref": "./examples/InternalNetworks_UpdateStaticRouteBfdAdministrativeState.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/{l3IsolationDomainName}/updateAdministrativeState": { + "post": { + "operationId": "L3IsolationDomains_UpdateAdministrativeState", + "tags": [ + "L3IsolationDomains" + ], + "description": "Enables racks for this Isolation Domain.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "l3IsolationDomainName", + "in": "path", + "description": "Name of the L3 Isolation Domain.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "body", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateAdministrativeState" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommonPostActionResponseForDeviceUpdate" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "L3IsolationDomains_UpdateAdministrativeState_MaximumSet_Gen": { + "$ref": "./examples/L3IsolationDomains_UpdateAdministrativeState.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/{l3IsolationDomainName}/validateConfiguration": { + "post": { + "operationId": "L3IsolationDomains_ValidateConfiguration", + "tags": [ + "L3IsolationDomains" + ], + "description": "Validates the configuration of the resources.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "l3IsolationDomainName", + "in": "path", + "description": "Name of the L3 Isolation Domain.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ValidateConfigurationResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "L3IsolationDomains_ValidateConfiguration_MaximumSet_Gen": { + "$ref": "./examples/L3IsolationDomains_ValidateConfiguration.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/neighborGroups": { + "get": { + "operationId": "NeighborGroups_ListByResourceGroup", + "tags": [ + "NeighborGroups" + ], + "description": "Displays NeighborGroups list by resource group GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NeighborGroupListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NeighborGroups_ListByResourceGroup_MaximumSet_Gen": { + "$ref": "./examples/NeighborGroups_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/neighborGroups/{neighborGroupName}": { + "get": { + "operationId": "NeighborGroups_Get", + "tags": [ + "NeighborGroups" + ], + "description": "Gets the Neighbor Group.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "neighborGroupName", + "in": "path", + "description": "Name of the Neighbor Group.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NeighborGroup" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NeighborGroups_Get_MaximumSet_Gen": { + "$ref": "./examples/NeighborGroups_Get.json" + } + } + }, + "put": { + "operationId": "NeighborGroups_Create", + "tags": [ + "NeighborGroups" + ], + "description": "Implements the Neighbor Group PUT method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "neighborGroupName", + "in": "path", + "description": "Name of the Neighbor Group.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "resource", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/NeighborGroup" + } + } + ], + "responses": { + "200": { + "description": "Resource 'NeighborGroup' update operation succeeded", + "schema": { + "$ref": "#/definitions/NeighborGroup" + } + }, + "201": { + "description": "Resource 'NeighborGroup' create operation succeeded", + "schema": { + "$ref": "#/definitions/NeighborGroup" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NeighborGroups_Create_MaximumSet_Gen": { + "$ref": "./examples/NeighborGroups_Create.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "NeighborGroups_Update", + "tags": [ + "NeighborGroups" + ], + "description": "Updates the Neighbor Group.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "neighborGroupName", + "in": "path", + "description": "Name of the Neighbor Group.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "properties", + "in": "body", + "description": "Neighbor Group properties to update. Only annotations are supported.", + "required": true, + "schema": { + "$ref": "#/definitions/NeighborGroupPatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NeighborGroup" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NeighborGroups_Update_MaximumSet_Gen": { + "$ref": "./examples/NeighborGroups_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "NeighborGroups_Delete", + "tags": [ + "NeighborGroups" + ], + "description": "Implements Neighbor Group DELETE method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "neighborGroupName", + "in": "path", + "description": "Name of the Neighbor Group.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NeighborGroups_Delete_MaximumSet_Gen": { + "$ref": "./examples/NeighborGroups_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkDevices": { + "get": { + "operationId": "NetworkDevices_ListByResourceGroup", + "tags": [ + "NetworkDevices" + ], + "description": "List all the Network Device resources in a given resource group.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkDeviceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkDevices_ListByResourceGroup_MaximumSet_Gen": { + "$ref": "./examples/NetworkDevices_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkDevices/{networkDeviceName}": { + "get": { + "operationId": "NetworkDevices_Get", + "tags": [ + "NetworkDevices" + ], + "description": "Gets the Network Device resource details.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkDeviceName", + "in": "path", + "description": "Name of the Network Device.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkDevice" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkDevices_Get_MaximumSet_Gen": { + "$ref": "./examples/NetworkDevices_Get.json" + } + } + }, + "put": { + "operationId": "NetworkDevices_Create", + "tags": [ + "NetworkDevices" + ], + "description": "Create a Network Device resource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkDeviceName", + "in": "path", + "description": "Name of the Network Device.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "resource", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkDevice" + } + } + ], + "responses": { + "200": { + "description": "Resource 'NetworkDevice' update operation succeeded", + "schema": { + "$ref": "#/definitions/NetworkDevice" + } + }, + "201": { + "description": "Resource 'NetworkDevice' create operation succeeded", + "schema": { + "$ref": "#/definitions/NetworkDevice" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkDevices_Create_MaximumSet_Gen": { + "$ref": "./examples/NetworkDevices_Create.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "NetworkDevices_Update", + "tags": [ + "NetworkDevices" + ], + "description": "Update certain properties of the Network Device resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkDeviceName", + "in": "path", + "description": "Name of the Network Device.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "properties", + "in": "body", + "description": "Network Device properties to update.", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkDevicePatchParameters" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkDevice" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkDevices_Update_MaximumSet_Gen": { + "$ref": "./examples/NetworkDevices_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "NetworkDevices_Delete", + "tags": [ + "NetworkDevices" + ], + "description": "Delete the Network Device resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkDeviceName", + "in": "path", + "description": "Name of the Network Device.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkDevices_Delete_MaximumSet_Gen": { + "$ref": "./examples/NetworkDevices_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkDevices/{networkDeviceName}/networkInterfaces": { + "get": { + "operationId": "NetworkInterfaces_ListByNetworkDevice", + "tags": [ + "NetworkInterfaces" + ], + "description": "List all the Network Interface resources in a given resource group.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkDeviceName", + "in": "path", + "description": "Name of the Network Device.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkInterfaceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkInterfaces_ListByNetworkDevice_MaximumSet_Gen": { + "$ref": "./examples/NetworkInterfaces_ListByNetworkDevice.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkDevices/{networkDeviceName}/networkInterfaces/{networkInterfaceName}": { + "get": { + "operationId": "NetworkInterfaces_Get", + "tags": [ + "NetworkInterfaces" + ], + "description": "Get the Network Interface resource details.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkDeviceName", + "in": "path", + "description": "Name of the Network Device.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "networkInterfaceName", + "in": "path", + "description": "Name of the Network Interface.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkInterface" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkInterfaces_Get_MaximumSet_Gen": { + "$ref": "./examples/NetworkInterfaces_Get.json" + } + } + }, + "put": { + "operationId": "NetworkInterfaces_Create", + "tags": [ + "NetworkInterfaces" + ], + "description": "Create a Network Interface resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkDeviceName", + "in": "path", + "description": "Name of the Network Device.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "networkInterfaceName", + "in": "path", + "description": "Name of the Network Interface.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "resource", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkInterface" + } + } + ], + "responses": { + "200": { + "description": "Resource 'NetworkInterface' update operation succeeded", + "schema": { + "$ref": "#/definitions/NetworkInterface" + } + }, + "201": { + "description": "Resource 'NetworkInterface' create operation succeeded", + "schema": { + "$ref": "#/definitions/NetworkInterface" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkInterfaces_Create_MaximumSet_Gen": { + "$ref": "./examples/NetworkInterfaces_Create.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "NetworkInterfaces_Update", + "tags": [ + "NetworkInterfaces" + ], + "description": "Update certain properties of the Network Interface resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkDeviceName", + "in": "path", + "description": "Name of the Network Device.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "networkInterfaceName", + "in": "path", + "description": "Name of the Network Interface.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "properties", + "in": "body", + "description": "NetworkInterface properties to update. Only tags are supported.", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkInterfacePatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkInterface" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkInterfaces_Update_MaximumSet_Gen": { + "$ref": "./examples/NetworkInterfaces_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "NetworkInterfaces_Delete", + "tags": [ + "NetworkInterfaces" + ], + "description": "Delete the Network Interface resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkDeviceName", + "in": "path", + "description": "Name of the Network Device.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "networkInterfaceName", + "in": "path", + "description": "Name of the Network Interface.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkInterfaces_Delete_MaximumSet_Gen": { + "$ref": "./examples/NetworkInterfaces_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkDevices/{networkDeviceName}/networkInterfaces/{networkInterfaceName}/updateAdministrativeState": { + "post": { + "operationId": "NetworkInterfaces_UpdateAdministrativeState", + "tags": [ + "NetworkInterfaces" + ], + "description": "Update the admin state of the Network Interface.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkDeviceName", + "in": "path", + "description": "Name of the Network Device.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "networkInterfaceName", + "in": "path", + "description": "Name of the Network Interface.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "body", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateAdministrativeState" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommonPostActionResponseForStateUpdate" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkInterfaces_UpdateAdministrativeState_MaximumSet_Gen": { + "$ref": "./examples/NetworkInterfaces_UpdateAdministrativeState.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkDevices/{networkDeviceName}/reboot": { + "post": { + "operationId": "NetworkDevices_Reboot", + "tags": [ + "NetworkDevices" + ], + "description": "Reboot the Network Device.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkDeviceName", + "in": "path", + "description": "Name of the Network Device.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "body", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/RebootProperties" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommonPostActionResponseForStateUpdate" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkDevices_Reboot_MaximumSet_Gen": { + "$ref": "./examples/NetworkDevices_Reboot.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkDevices/{networkDeviceName}/refreshConfiguration": { + "post": { + "operationId": "NetworkDevices_RefreshConfiguration", + "tags": [ + "NetworkDevices" + ], + "description": "Refreshes the configuration the Network Device.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkDeviceName", + "in": "path", + "description": "Name of the Network Device.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommonPostActionResponseForStateUpdate" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkDevices_RefreshConfiguration_MaximumSet_Gen": { + "$ref": "./examples/NetworkDevices_RefreshConfiguration.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkDevices/{networkDeviceName}/runRoCommand": { + "post": { + "operationId": "NetworkDevices_RunRoCommand", + "tags": [ + "NetworkDevices" + ], + "description": "Run the RO Command on the Network Device.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkDeviceName", + "in": "path", + "description": "Name of the Network Device.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "body", + "in": "body", + "description": "Request the command.", + "required": true, + "schema": { + "$ref": "#/definitions/DeviceRoCommand" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommonPostActionResponseForDeviceROCommands" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkDevices_RunRoCommand_MaximumSet_Gen": { + "$ref": "./examples/NetworkDevices_RunRoCommand.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkDevices/{networkDeviceName}/runRwCommand": { + "post": { + "operationId": "NetworkDevices_RunRwCommand", + "tags": [ + "NetworkDevices" + ], + "description": "Run the RW Command on the Network Device.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkDeviceName", + "in": "path", + "description": "Name of the Network Device.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "body", + "in": "body", + "description": "Request the command.", + "required": true, + "schema": { + "$ref": "#/definitions/DeviceRwCommand" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommonPostActionResponseForDeviceRWCommands" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkDevices_RunRwCommand_MaximumSet_Gen": { + "$ref": "./examples/NetworkDevices_RunRwCommand.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkDevices/{networkDeviceName}/updateAdministrativeState": { + "post": { + "operationId": "NetworkDevices_UpdateAdministrativeState", + "tags": [ + "NetworkDevices" + ], + "description": "Updates the Administrative state of the Network Device.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkDeviceName", + "in": "path", + "description": "Name of the Network Device.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "body", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateDeviceAdministrativeState" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommonPostActionResponseForStateUpdate" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkDevices_UpdateAdministrativeState_MaximumSet_Gen": { + "$ref": "./examples/NetworkDevices_UpdateAdministrativeState.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkDevices/{networkDeviceName}/upgrade": { + "post": { + "operationId": "NetworkDevices_Upgrade", + "tags": [ + "NetworkDevices" + ], + "description": "Upgrades the version of the Network Device.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkDeviceName", + "in": "path", + "description": "Name of the Network Device.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "body", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateVersion" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommonPostActionResponseForStateUpdate" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkDevices_Upgrade_MaximumSet_Gen": { + "$ref": "./examples/NetworkDevices_Upgrade.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers": { + "get": { + "operationId": "NetworkFabricControllers_ListByResourceGroup", + "tags": [ + "NetworkFabricControllers" + ], + "description": "Lists all the NetworkFabricControllers thats available in the resource group.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkFabricControllerListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkFabricControllers_ListByResourceGroup_MaximumSet_Gen": { + "$ref": "./examples/NetworkFabricControllers_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/{networkFabricControllerName}": { + "get": { + "operationId": "NetworkFabricControllers_Get", + "tags": [ + "NetworkFabricControllers" + ], + "description": "Shows the provisioning status of Network Fabric Controller.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkFabricControllerName", + "in": "path", + "description": "Name of the Network Fabric Controller.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkFabricController" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkFabricControllers_Get_MaximumSet_Gen": { + "$ref": "./examples/NetworkFabricControllers_Get.json" + } + } + }, + "put": { + "operationId": "NetworkFabricControllers_Create", + "tags": [ + "NetworkFabricControllers" + ], + "description": "Creates a Network Fabric Controller.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkFabricControllerName", + "in": "path", + "description": "Name of the Network Fabric Controller.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "resource", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkFabricController" + } + } + ], + "responses": { + "200": { + "description": "Resource 'NetworkFabricController' update operation succeeded", + "schema": { + "$ref": "#/definitions/NetworkFabricController" + } + }, + "201": { + "description": "Resource 'NetworkFabricController' create operation succeeded", + "schema": { + "$ref": "#/definitions/NetworkFabricController" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkFabricControllers_Create_MaximumSet_Gen": { + "$ref": "./examples/NetworkFabricControllers_Create.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "NetworkFabricControllers_Update", + "tags": [ + "NetworkFabricControllers" + ], + "description": "Updates are currently not supported for the Network Fabric Controller resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkFabricControllerName", + "in": "path", + "description": "Name of the Network Fabric Controller.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "properties", + "in": "body", + "description": "Network Fabric Controller properties to update.", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkFabricControllerPatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkFabricController" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkFabricControllers_Update_MaximumSet_Gen": { + "$ref": "./examples/NetworkFabricControllers_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "NetworkFabricControllers_Delete", + "tags": [ + "NetworkFabricControllers" + ], + "description": "Deletes the Network Fabric Controller resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkFabricControllerName", + "in": "path", + "description": "Name of the Network Fabric Controller.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkFabricControllers_Delete_MaximumSet_Gen": { + "$ref": "./examples/NetworkFabricControllers_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics": { + "get": { + "operationId": "NetworkFabrics_ListByResourceGroup", + "tags": [ + "NetworkFabrics" + ], + "description": "List all the Network Fabric resources in the given resource group.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkFabricListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkFabrics_ListByResourceGroup_MaximumSet_Gen": { + "$ref": "./examples/NetworkFabrics_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics/{networkFabricName}": { + "get": { + "operationId": "NetworkFabrics_Get", + "tags": [ + "NetworkFabrics" + ], + "description": "Get Network Fabric resource details.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkFabricName", + "in": "path", + "description": "Name of the Network Fabric.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkFabric" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkFabrics_Get_MaximumSet_Gen": { + "$ref": "./examples/NetworkFabrics_Get.json" + } + } + }, + "put": { + "operationId": "NetworkFabrics_Create", + "tags": [ + "NetworkFabrics" + ], + "description": "Create Network Fabric resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkFabricName", + "in": "path", + "description": "Name of the Network Fabric.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "resource", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkFabric" + } + } + ], + "responses": { + "200": { + "description": "Resource 'NetworkFabric' update operation succeeded", + "schema": { + "$ref": "#/definitions/NetworkFabric" + } + }, + "201": { + "description": "Resource 'NetworkFabric' create operation succeeded", + "schema": { + "$ref": "#/definitions/NetworkFabric" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkFabrics_Create_MaximumSet_Gen": { + "$ref": "./examples/NetworkFabrics_Create.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "NetworkFabrics_Update", + "tags": [ + "NetworkFabrics" + ], + "description": "Update certain properties of the Network Fabric resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkFabricName", + "in": "path", + "description": "Name of the Network Fabric.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "properties", + "in": "body", + "description": "Network Fabric properties to update.", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkFabricPatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkFabric" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkFabrics_Update_MaximumSet_Gen": { + "$ref": "./examples/NetworkFabrics_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "NetworkFabrics_Delete", + "tags": [ + "NetworkFabrics" + ], + "description": "Delete Network Fabric resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkFabricName", + "in": "path", + "description": "Name of the Network Fabric.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkFabrics_Delete_MaximumSet_Gen": { + "$ref": "./examples/NetworkFabrics_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics/{networkFabricName}/commitConfiguration": { + "post": { + "operationId": "NetworkFabrics_CommitConfiguration", + "tags": [ + "NetworkFabrics" + ], + "description": "Atomic update of the given Network Fabric instance. Sync update of NFA resources at Fabric level.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkFabricName", + "in": "path", + "description": "Name of the Network Fabric.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommonPostActionResponseForStateUpdate" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkFabrics_CommitConfiguration_MaximumSet_Gen": { + "$ref": "./examples/NetworkFabrics_CommitConfiguration.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics/{networkFabricName}/deprovision": { + "post": { + "operationId": "NetworkFabrics_Deprovision", + "tags": [ + "NetworkFabrics" + ], + "description": "Deprovisions the underlying resources in the given Network Fabric instance.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkFabricName", + "in": "path", + "description": "Name of the Network Fabric.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommonPostActionResponseForDeviceUpdate" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkFabrics_Deprovision_MaximumSet_Gen": { + "$ref": "./examples/NetworkFabrics_Deprovision.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics/{networkFabricName}/getTopology": { + "post": { + "operationId": "NetworkFabrics_GetTopology", + "tags": [ + "NetworkFabrics" + ], + "description": "Gets Topology of the underlying resources in the given Network Fabric instance.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkFabricName", + "in": "path", + "description": "Name of the Network Fabric.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ValidateConfigurationResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkFabrics_GetTopology_MaximumSet_Gen": { + "$ref": "./examples/NetworkFabrics_GetTopology.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics/{networkFabricName}/networkToNetworkInterconnects": { + "get": { + "operationId": "NetworkToNetworkInterconnects_ListByNetworkFabric", + "tags": [ + "NetworkToNetworkInterconnects" + ], + "description": "Implements Network To Network Interconnects list by Network Fabric GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkFabricName", + "in": "path", + "description": "Name of the Network Fabric.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkToNetworkInterconnectListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkToNetworkInterconnects_ListByNetworkFabric_MaximumSet_Gen": { + "$ref": "./examples/NetworkToNetworkInterconnects_ListByNetworkFabric.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics/{networkFabricName}/networkToNetworkInterconnects/{networkToNetworkInterconnectName}": { + "get": { + "operationId": "NetworkToNetworkInterconnects_Get", + "tags": [ + "NetworkToNetworkInterconnects" + ], + "description": "Implements NetworkToNetworkInterconnects GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkFabricName", + "in": "path", + "description": "Name of the Network Fabric.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "networkToNetworkInterconnectName", + "in": "path", + "description": "Name of the Network to Network Interconnect.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkToNetworkInterconnect" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkToNetworkInterconnects_Get_MaximumSet_Gen": { + "$ref": "./examples/NetworkToNetworkInterconnects_Get.json" + } + } + }, + "put": { + "operationId": "NetworkToNetworkInterconnects_Create", + "tags": [ + "NetworkToNetworkInterconnects" + ], + "description": "Configuration used to setup CE-PE connectivity PUT Method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkFabricName", + "in": "path", + "description": "Name of the Network Fabric.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "networkToNetworkInterconnectName", + "in": "path", + "description": "Name of the Network to Network Interconnect.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "resource", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkToNetworkInterconnect" + } + } + ], + "responses": { + "200": { + "description": "Resource 'NetworkToNetworkInterconnect' update operation succeeded", + "schema": { + "$ref": "#/definitions/NetworkToNetworkInterconnect" + } + }, + "201": { + "description": "Resource 'NetworkToNetworkInterconnect' create operation succeeded", + "schema": { + "$ref": "#/definitions/NetworkToNetworkInterconnect" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkToNetworkInterconnects_Create_MaximumSet_Gen": { + "$ref": "./examples/NetworkToNetworkInterconnects_Create.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "NetworkToNetworkInterconnects_Update", + "tags": [ + "NetworkToNetworkInterconnects" + ], + "description": "Update certain properties of the Network To NetworkInterconnects resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkFabricName", + "in": "path", + "description": "Name of the Network Fabric.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "networkToNetworkInterconnectName", + "in": "path", + "description": "Name of the Network to Network Interconnect.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "properties", + "in": "body", + "description": "Network to Network Interconnect properties to update.", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkToNetworkInterconnectPatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkToNetworkInterconnect" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkToNetworkInterconnects_Update_MaximumSet_Gen": { + "$ref": "./examples/NetworkToNetworkInterconnects_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "NetworkToNetworkInterconnects_Delete", + "tags": [ + "NetworkToNetworkInterconnects" + ], + "description": "Implements NetworkToNetworkInterconnects DELETE method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkFabricName", + "in": "path", + "description": "Name of the Network Fabric.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "networkToNetworkInterconnectName", + "in": "path", + "description": "Name of the Network to Network Interconnect.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkToNetworkInterconnects_Delete_MaximumSet_Gen": { + "$ref": "./examples/NetworkToNetworkInterconnects_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics/{networkFabricName}/networkToNetworkInterconnects/{networkToNetworkInterconnectName}/updateAdministrativeState": { + "post": { + "operationId": "NetworkToNetworkInterconnects_UpdateAdministrativeState", + "tags": [ + "NetworkToNetworkInterconnects" + ], + "description": "Updates the Admin State.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkFabricName", + "in": "path", + "description": "Name of the Network Fabric.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "networkToNetworkInterconnectName", + "in": "path", + "description": "Name of the Network to Network Interconnect.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "body", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateAdministrativeState" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommonPostActionResponseForStateUpdate" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkToNetworkInterconnects_UpdateAdministrativeState_MaximumSet_Gen": { + "$ref": "./examples/NetworkToNetworkInterconnects_UpdateAdministrativeState.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics/{networkFabricName}/networkToNetworkInterconnects/{networkToNetworkInterconnectName}/updateNpbStaticRouteBfdAdministrativeState": { + "post": { + "operationId": "NetworkToNetworkInterconnects_UpdateNpbStaticRouteBfdAdministrativeState", + "tags": [ + "NetworkToNetworkInterconnects" + ], + "description": "Updates the NPB Static Route BFD Administrative State.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkFabricName", + "in": "path", + "description": "Name of the Network Fabric.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "networkToNetworkInterconnectName", + "in": "path", + "description": "Name of the Network to Network Interconnect.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "body", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateAdministrativeState" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommonPostActionResponseForStateUpdate" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkToNetworkInterconnects_UpdateNpbStaticRouteBfdAdministrativeState_MaximumSet_Gen": { + "$ref": "./examples/NetworkToNetworkInterconnects_UpdateNpbStaticRouteBfdAdministrativeState.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics/{networkFabricName}/provision": { + "post": { + "operationId": "NetworkFabrics_Provision", + "tags": [ + "NetworkFabrics" + ], + "description": "Provisions the underlying resources in the given Network Fabric instance.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkFabricName", + "in": "path", + "description": "Name of the Network Fabric.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommonPostActionResponseForDeviceUpdate" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkFabrics_Provision_MaximumSet_Gen": { + "$ref": "./examples/NetworkFabrics_Provision.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics/{networkFabricName}/refreshConfiguration": { + "post": { + "operationId": "NetworkFabrics_RefreshConfiguration", + "tags": [ + "NetworkFabrics" + ], + "description": "Refreshes the configuration of the underlying resources in the given Network Fabric instance.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkFabricName", + "in": "path", + "description": "Name of the Network Fabric.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommonPostActionResponseForStateUpdate" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkFabrics_RefreshConfiguration_MaximumSet_Gen": { + "$ref": "./examples/NetworkFabrics_RefreshConfiguration.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics/{networkFabricName}/updateInfraManagementBfdConfiguration": { + "post": { + "operationId": "NetworkFabrics_UpdateInfraManagementBfdConfiguration", + "tags": [ + "NetworkFabrics" + ], + "description": "Updates the Infra Management BFD Configuration of the underlying resources in the given Network Fabric instance.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkFabricName", + "in": "path", + "description": "Name of the Network Fabric.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "body", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateAdministrativeState" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommonPostActionResponseForStateUpdate" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkFabrics_UpdateInfraManagementBfdConfiguration_MaximumSet_Gen": { + "$ref": "./examples/NetworkFabrics_UpdateInfraManagementBfdConfiguration.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics/{networkFabricName}/updateWorkloadManagementBfdConfiguration": { + "post": { + "operationId": "NetworkFabrics_UpdateWorkloadManagementBfdConfiguration", + "tags": [ + "NetworkFabrics" + ], + "description": "Updates the Workload Management BFD Configuration of the underlying resources in the given Network Fabric instance.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkFabricName", + "in": "path", + "description": "Name of the Network Fabric.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "body", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateAdministrativeState" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommonPostActionResponseForStateUpdate" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkFabrics_UpdateWorkloadManagementBfdConfiguration_MaximumSet_Gen": { + "$ref": "./examples/NetworkFabrics_UpdateWorkloadManagementBfdConfiguration.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics/{networkFabricName}/upgrade": { + "post": { + "operationId": "NetworkFabrics_Upgrade", + "tags": [ + "NetworkFabrics" + ], + "description": "Upgrades the version of the underlying resources in the given Network Fabric instance.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkFabricName", + "in": "path", + "description": "Name of the Network Fabric.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "body", + "in": "body", + "description": "Network Fabric properties to update.", + "required": true, + "schema": { + "$ref": "#/definitions/UpgradeNetworkFabricProperties" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommonPostActionResponseForStateUpdate" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkFabrics_Upgrade_MaximumSet_Gen": { + "$ref": "./examples/NetworkFabrics_Upgrade.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics/{networkFabricName}/validateConfiguration": { + "post": { + "operationId": "NetworkFabrics_ValidateConfiguration", + "tags": [ + "NetworkFabrics" + ], + "description": "Validates the configuration of the underlying resources in the given Network Fabric instance.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkFabricName", + "in": "path", + "description": "Name of the Network Fabric.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "body", + "in": "body", + "description": "Validate configuration properties.", + "required": true, + "schema": { + "$ref": "#/definitions/ValidateConfigurationProperties" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ValidateConfigurationResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkFabrics_ValidateConfiguration_MaximumSet_Gen": { + "$ref": "./examples/NetworkFabrics_ValidateConfiguration.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkPacketBrokers": { + "get": { + "operationId": "NetworkPacketBrokers_ListByResourceGroup", + "tags": [ + "NetworkPacketBrokers" + ], + "description": "Displays NetworkPacketBrokers list by resource group GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkPacketBrokerListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkPacketBrokers_ListByResourceGroup_MaximumSet_Gen": { + "$ref": "./examples/NetworkPacketBrokers_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkPacketBrokers/{networkPacketBrokerName}": { + "get": { + "operationId": "NetworkPacketBrokers_Get", + "tags": [ + "NetworkPacketBrokers" + ], + "description": "Retrieves details of this Network Packet Broker.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkPacketBrokerName", + "in": "path", + "description": "Name of the Network Packet Broker.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkPacketBroker" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkPacketBrokers_Get_MaximumSet_Gen": { + "$ref": "./examples/NetworkPacketBrokers_Get.json" + } + } + }, + "put": { + "operationId": "NetworkPacketBrokers_Create", + "tags": [ + "NetworkPacketBrokers" + ], + "description": "Creates a Network Packet Broker.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkPacketBrokerName", + "in": "path", + "description": "Name of the Network Packet Broker.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "resource", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkPacketBroker" + } + } + ], + "responses": { + "200": { + "description": "Resource 'NetworkPacketBroker' update operation succeeded", + "schema": { + "$ref": "#/definitions/NetworkPacketBroker" + } + }, + "201": { + "description": "Resource 'NetworkPacketBroker' create operation succeeded", + "schema": { + "$ref": "#/definitions/NetworkPacketBroker" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkPacketBrokers_Create_MaximumSet_Gen": { + "$ref": "./examples/NetworkPacketBrokers_Create.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "NetworkPacketBrokers_Update", + "tags": [ + "NetworkPacketBrokers" + ], + "description": "API to update certain properties of the Network Packet Broker resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkPacketBrokerName", + "in": "path", + "description": "Name of the Network Packet Broker.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "properties", + "in": "body", + "description": "Network Packet Broker properties to update.", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkPacketBrokerPatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkPacketBroker" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkPacketBrokers_Update_MaximumSet_Gen": { + "$ref": "./examples/NetworkPacketBrokers_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "NetworkPacketBrokers_Delete", + "tags": [ + "NetworkPacketBrokers" + ], + "description": "Deletes Network Packet Broker.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkPacketBrokerName", + "in": "path", + "description": "Name of the Network Packet Broker.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkPacketBrokers_Delete_MaximumSet_Gen": { + "$ref": "./examples/NetworkPacketBrokers_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkRacks": { + "get": { + "operationId": "NetworkRacks_ListByResourceGroup", + "tags": [ + "NetworkRacks" + ], + "description": "List all Network Rack resources in the given resource group.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkRackListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkRacks_ListByResourceGroup_MaximumSet_Gen": { + "$ref": "./examples/NetworkRacks_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkRacks/{networkRackName}": { + "get": { + "operationId": "NetworkRacks_Get", + "tags": [ + "NetworkRacks" + ], + "description": "Get Network Rack resource details.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkRackName", + "in": "path", + "description": "Name of the Network Rack.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkRack" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkRacks_Get_MaximumSet_Gen": { + "$ref": "./examples/NetworkRacks_Get.json" + } + } + }, + "put": { + "operationId": "NetworkRacks_Create", + "tags": [ + "NetworkRacks" + ], + "description": "Create Network Rack resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkRackName", + "in": "path", + "description": "Name of the Network Rack.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "resource", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkRack" + } + } + ], + "responses": { + "200": { + "description": "Resource 'NetworkRack' update operation succeeded", + "schema": { + "$ref": "#/definitions/NetworkRack" + } + }, + "201": { + "description": "Resource 'NetworkRack' create operation succeeded", + "schema": { + "$ref": "#/definitions/NetworkRack" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkRacks_Create_MaximumSet_Gen": { + "$ref": "./examples/NetworkRacks_Create.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "NetworkRacks_Update", + "tags": [ + "NetworkRacks" + ], + "description": "Update certain properties of the Network Rack resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkRackName", + "in": "path", + "description": "Name of the Network Rack.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "properties", + "in": "body", + "description": "Network Rack properties to update.", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkRackPatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkRack" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkRacks_Update_MaximumSet_Gen": { + "$ref": "./examples/NetworkRacks_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "NetworkRacks_Delete", + "tags": [ + "NetworkRacks" + ], + "description": "Delete Network Rack resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkRackName", + "in": "path", + "description": "Name of the Network Rack.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkRacks_Delete_MaximumSet_Gen": { + "$ref": "./examples/NetworkRacks_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkTapRules": { + "get": { + "operationId": "NetworkTapRules_ListByResourceGroup", + "tags": [ + "NetworkTapRules" + ], + "description": "List all the Network Tap Rule resources in the given resource group.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkTapRuleListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkTapRules_ListByResourceGroup_MaximumSet_Gen": { + "$ref": "./examples/NetworkTapRules_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkTapRules/{networkTapRuleName}": { + "get": { + "operationId": "NetworkTapRules_Get", + "tags": [ + "NetworkTapRules" + ], + "description": "Get Network Tap Rule resource details.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkTapRuleName", + "in": "path", + "description": "Name of the Network Tap Rule.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkTapRule" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkTapRules_Get_MaximumSet_Gen": { + "$ref": "./examples/NetworkTapRules_Get.json" + } + } + }, + "put": { + "operationId": "NetworkTapRules_Create", + "tags": [ + "NetworkTapRules" + ], + "description": "Create Network Tap Rule resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkTapRuleName", + "in": "path", + "description": "Name of the Network Tap Rule.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "resource", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkTapRule" + } + } + ], + "responses": { + "200": { + "description": "Resource 'NetworkTapRule' update operation succeeded", + "schema": { + "$ref": "#/definitions/NetworkTapRule" + } + }, + "201": { + "description": "Resource 'NetworkTapRule' create operation succeeded", + "schema": { + "$ref": "#/definitions/NetworkTapRule" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkTapRules_Create_MaximumSet_Gen": { + "$ref": "./examples/NetworkTapRules_Create.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "NetworkTapRules_Update", + "tags": [ + "NetworkTapRules" + ], + "description": "Update certain properties of the Network Tap Rule resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkTapRuleName", + "in": "path", + "description": "Name of the Network Tap Rule.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "properties", + "in": "body", + "description": "Network Tap Rule properties to update.", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkTapRulePatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkTapRule" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkTapRules_Update_MaximumSet_Gen": { + "$ref": "./examples/NetworkTapRules_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "NetworkTapRules_Delete", + "tags": [ + "NetworkTapRules" + ], + "description": "Delete Network Tap Rule resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkTapRuleName", + "in": "path", + "description": "Name of the Network Tap Rule.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkTapRules_Delete_MaximumSet_Gen": { + "$ref": "./examples/NetworkTapRules_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkTapRules/{networkTapRuleName}/resync": { + "post": { + "operationId": "NetworkTapRules_Resync", + "tags": [ + "NetworkTapRules" + ], + "description": "Implements the operation to the underlying resources.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkTapRuleName", + "in": "path", + "description": "Name of the Network Tap Rule.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommonPostActionResponseForStateUpdate" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkTapRules_Resync_MaximumSet_Gen": { + "$ref": "./examples/NetworkTapRules_Resync.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkTapRules/{networkTapRuleName}/updateAdministrativeState": { + "post": { + "operationId": "NetworkTapRules_UpdateAdministrativeState", + "tags": [ + "NetworkTapRules" + ], + "description": "Implements the operation to the underlying resources.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkTapRuleName", + "in": "path", + "description": "Name of the Network Tap Rule.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "body", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateAdministrativeState" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommonPostActionResponseForStateUpdate" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkTapRules_UpdateAdministrativeState_MaximumSet_Gen": { + "$ref": "./examples/NetworkTapRules_UpdateAdministrativeState.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkTapRules/{networkTapRuleName}/validateConfiguration": { + "post": { + "operationId": "NetworkTapRules_ValidateConfiguration", + "tags": [ + "NetworkTapRules" + ], + "description": "Implements the operation to the underlying resources.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkTapRuleName", + "in": "path", + "description": "Name of the Network Tap Rule.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ValidateConfigurationResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkTapRules_ValidateConfiguration_MaximumSet_Gen": { + "$ref": "./examples/NetworkTapRules_ValidateConfiguration.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkTaps": { + "get": { + "operationId": "NetworkTaps_ListByResourceGroup", + "tags": [ + "NetworkTaps" + ], + "description": "Displays Network Taps list by resource group GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkTapListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkTaps_ListByResourceGroup_MaximumSet_Gen": { + "$ref": "./examples/NetworkTaps_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkTaps/{networkTapName}": { + "get": { + "operationId": "NetworkTaps_Get", + "tags": [ + "NetworkTaps" + ], + "description": "Retrieves details of this Network Tap.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkTapName", + "in": "path", + "description": "Name of the Network Tap.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkTap" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkTaps_Get_MaximumSet_Gen": { + "$ref": "./examples/NetworkTaps_Get.json" + } + } + }, + "put": { + "operationId": "NetworkTaps_Create", + "tags": [ + "NetworkTaps" + ], + "description": "Creates a Network Tap.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkTapName", + "in": "path", + "description": "Name of the Network Tap.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "resource", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkTap" + } + } + ], + "responses": { + "200": { + "description": "Resource 'NetworkTap' update operation succeeded", + "schema": { + "$ref": "#/definitions/NetworkTap" + } + }, + "201": { + "description": "Resource 'NetworkTap' create operation succeeded", + "schema": { + "$ref": "#/definitions/NetworkTap" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkTaps_Create_MaximumSet_Gen": { + "$ref": "./examples/NetworkTaps_Create.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "NetworkTaps_Update", + "tags": [ + "NetworkTaps" + ], + "description": "API to update certain properties of the Network Tap resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkTapName", + "in": "path", + "description": "Name of the Network Tap.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "properties", + "in": "body", + "description": "Network Tap properties to update.", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkTapPatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkTap" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkTaps_Update_MaximumSet_Gen": { + "$ref": "./examples/NetworkTaps_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "NetworkTaps_Delete", + "tags": [ + "NetworkTaps" + ], + "description": "Deletes Network Tap.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkTapName", + "in": "path", + "description": "Name of the Network Tap.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkTaps_Delete_MaximumSet_Gen": { + "$ref": "./examples/NetworkTaps_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkTaps/{networkTapName}/resync": { + "post": { + "operationId": "NetworkTaps_Resync", + "tags": [ + "NetworkTaps" + ], + "description": "Implements the operation to the underlying resources.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkTapName", + "in": "path", + "description": "Name of the Network Tap.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommonPostActionResponseForStateUpdate" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkTaps_Resync_MaximumSet_Gen": { + "$ref": "./examples/NetworkTaps_Resync.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkTaps/{networkTapName}/updateAdministrativeState": { + "post": { + "operationId": "NetworkTaps_UpdateAdministrativeState", + "tags": [ + "NetworkTaps" + ], + "description": "Implements the operation to the underlying resources.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkTapName", + "in": "path", + "description": "Name of the Network Tap.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "body", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateAdministrativeState" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommonPostActionResponseForDeviceUpdate" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkTaps_UpdateAdministrativeState_MaximumSet_Gen": { + "$ref": "./examples/NetworkTaps_UpdateAdministrativeState.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/routePolicies": { + "get": { + "operationId": "RoutePolicies_ListByResourceGroup", + "tags": [ + "RoutePolicies" + ], + "description": "Implements RoutePolicies list by resource group GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/RoutePolicyListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "RoutePolicies_ListByResourceGroup_MaximumSet_Gen": { + "$ref": "./examples/RoutePolicies_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/routePolicies/{routePolicyName}": { + "get": { + "operationId": "RoutePolicies_Get", + "tags": [ + "RoutePolicies" + ], + "description": "Implements Route Policy GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "routePolicyName", + "in": "path", + "description": "Name of the Route Policy.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/RoutePolicy" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "RoutePolicies_Get_MaximumSet_Gen": { + "$ref": "./examples/RoutePolicies_Get.json" + } + } + }, + "put": { + "operationId": "RoutePolicies_Create", + "tags": [ + "RoutePolicies" + ], + "description": "Implements Route Policy PUT method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "routePolicyName", + "in": "path", + "description": "Name of the Route Policy.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "resource", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/RoutePolicy" + } + } + ], + "responses": { + "200": { + "description": "Resource 'RoutePolicy' update operation succeeded", + "schema": { + "$ref": "#/definitions/RoutePolicy" + } + }, + "201": { + "description": "Resource 'RoutePolicy' create operation succeeded", + "schema": { + "$ref": "#/definitions/RoutePolicy" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "RoutePolicies_Create_MaximumSet_Gen": { + "$ref": "./examples/RoutePolicies_Create.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "RoutePolicies_Update", + "tags": [ + "RoutePolicies" + ], + "description": "API to update certain properties of the Route Policy resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "routePolicyName", + "in": "path", + "description": "Name of the Route Policy.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "properties", + "in": "body", + "description": "Route Policy properties to update.", + "required": true, + "schema": { + "$ref": "#/definitions/RoutePolicyPatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/RoutePolicy" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "RoutePolicies_Update_MaximumSet_Gen": { + "$ref": "./examples/RoutePolicies_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "RoutePolicies_Delete", + "tags": [ + "RoutePolicies" + ], + "description": "Implements Route Policy DELETE method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "routePolicyName", + "in": "path", + "description": "Name of the Route Policy.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "RoutePolicies_Delete_MaximumSet_Gen": { + "$ref": "./examples/RoutePolicies_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/routePolicies/{routePolicyName}/commitConfiguration": { + "post": { + "operationId": "RoutePolicies_CommitConfiguration", + "tags": [ + "RoutePolicies" + ], + "description": "Commits the configuration of the given resources.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "routePolicyName", + "in": "path", + "description": "Name of the Route Policy.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommonPostActionResponseForStateUpdate" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "RoutePolicies_CommitConfiguration_MaximumSet_Gen": { + "$ref": "./examples/RoutePolicies_CommitConfiguration.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/routePolicies/{routePolicyName}/updateAdministrativeState": { + "post": { + "operationId": "RoutePolicies_UpdateAdministrativeState", + "tags": [ + "RoutePolicies" + ], + "description": "Updated the admin state for this Route Policy.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "routePolicyName", + "in": "path", + "description": "Name of the Route Policy.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "body", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateAdministrativeState" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommonPostActionResponseForDeviceUpdate" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "RoutePolicies_UpdateAdministrativeState_MaximumSet_Gen": { + "$ref": "./examples/RoutePolicies_UpdateAdministrativeState.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/routePolicies/{routePolicyName}/validateConfiguration": { + "post": { + "operationId": "RoutePolicies_ValidateConfiguration", + "tags": [ + "RoutePolicies" + ], + "description": "Validates the configuration of the resources.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "routePolicyName", + "in": "path", + "description": "Name of the Route Policy.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ValidateConfigurationResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "RoutePolicies_ValidateConfiguration_MaximumSet_Gen": { + "$ref": "./examples/RoutePolicies_ValidateConfiguration.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + } + }, + "definitions": { + "AccessControlList": { + "type": "object", + "description": "The Access Control List resource definition.", + "properties": { + "properties": { + "$ref": "#/definitions/AccessControlListProperties", + "description": "The Access ControlList properties" + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "AccessControlListAction": { + "type": "object", + "description": "Action that need to performed.", + "properties": { + "type": { + "$ref": "#/definitions/AclActionType", + "description": "Type of actions that can be performed." + }, + "counterName": { + "type": "string", + "description": "Name of the counter block to get match count information.", + "minLength": 1 + } + } + }, + "AccessControlListActionPatch": { + "type": "object", + "description": "Action that need to be performed", + "properties": { + "type": { + "$ref": "#/definitions/AclActionType", + "description": "Type of actions that can be performed." + }, + "counterName": { + "type": "string", + "description": "Name of the counter block to get match count information.", + "minLength": 1 + } + } + }, + "AccessControlListListResult": { + "type": "object", + "description": "The response of a AccessControlList list operation.", + "properties": { + "value": { + "type": "array", + "description": "The AccessControlList items on this page", + "items": { + "$ref": "#/definitions/AccessControlList" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "AccessControlListMatchCondition": { + "type": "object", + "description": "Defines the match condition that is supported to filter the traffic.", + "properties": { + "protocolTypes": { + "type": "array", + "description": "List of the protocols that need to be matched.", + "minItems": 1, + "items": { + "type": "string" + } + }, + "vlanMatchCondition": { + "$ref": "#/definitions/VlanMatchCondition", + "description": "Vlan match condition that needs to be matched." + }, + "ipCondition": { + "$ref": "#/definitions/IpMatchCondition", + "description": "IP condition that needs to be matched." + }, + "etherTypes": { + "type": "array", + "description": "List of ether type values that need to be matched.", + "minItems": 1, + "items": { + "type": "string" + } + }, + "fragments": { + "type": "array", + "description": "List of IP fragment packets that need to be matched.", + "minItems": 1, + "items": { + "type": "string" + } + }, + "ipLengths": { + "type": "array", + "description": "List of IP Lengths that need to be matched.", + "minItems": 1, + "items": { + "type": "string" + } + }, + "ttlValues": { + "type": "array", + "description": "List of TTL [Time To Live] values that need to be matched.", + "minItems": 1, + "items": { + "type": "string" + } + }, + "dscpMarkings": { + "type": "array", + "description": "List of DSCP Markings that need to be matched.", + "minItems": 1, + "items": { + "type": "string" + } + }, + "portCondition": { + "$ref": "#/definitions/AccessControlListPortCondition", + "description": "Defines the port condition that needs to be matched." + } + } + }, + "AccessControlListMatchConditionPatch": { + "type": "object", + "description": "Defines the match condition that is supported to filter the traffic.", + "properties": { + "protocolTypes": { + "type": "array", + "description": "List of the protocols that need to be matched.", + "minItems": 1, + "items": { + "type": "string" + } + }, + "vlanMatchCondition": { + "$ref": "#/definitions/VlanMatchConditionPatch", + "description": "Vlan match condition that needs to be matched." + }, + "ipCondition": { + "$ref": "#/definitions/IpMatchConditionPatch", + "description": "IP condition that needs to be matched." + }, + "etherTypes": { + "type": "array", + "description": "List of ether type values that need to be matched.", + "minItems": 1, + "items": { + "type": "string" + } + }, + "fragments": { + "type": "array", + "description": "List of IP fragment packets that need to be matched.", + "minItems": 1, + "items": { + "type": "string" + } + }, + "ipLengths": { + "type": "array", + "description": "List of IP Lengths that need to be matched.", + "minItems": 1, + "items": { + "type": "string" + } + }, + "ttlValues": { + "type": "array", + "description": "List of TTL [Time To Live] values that need to be matched.", + "minItems": 1, + "items": { + "type": "string" + } + }, + "dscpMarkings": { + "type": "array", + "description": "List of DSCP Markings that need to be matched.", + "minItems": 1, + "items": { + "type": "string" + } + }, + "portCondition": { + "$ref": "#/definitions/AccessControlListPortConditionPatch", + "description": "Defines the port condition that needs to be matched." + } + } + }, + "AccessControlListMatchConfiguration": { + "type": "object", + "description": "Defines the match configuration that are supported to filter the traffic.", + "properties": { + "matchConfigurationName": { + "type": "string", + "description": "The name of the match configuration.", + "minLength": 1 + }, + "sequenceNumber": { + "type": "integer", + "format": "int64", + "description": "Sequence Number of the match configuration.", + "minimum": 1, + "maximum": 4294967295 + }, + "ipAddressType": { + "$ref": "#/definitions/IPAddressType", + "description": "Type of IP Address. IPv4 or IPv6" + }, + "matchConditions": { + "type": "array", + "description": "List of the match conditions.", + "minItems": 1, + "items": { + "$ref": "#/definitions/AccessControlListMatchCondition" + }, + "x-ms-identifiers": [] + }, + "actions": { + "type": "array", + "description": "List of actions that need to be performed for the matched conditions.", + "minItems": 1, + "items": { + "$ref": "#/definitions/AccessControlListAction" + }, + "x-ms-identifiers": [] + } + } + }, + "AccessControlListMatchConfigurationPatch": { + "type": "object", + "description": "Defines the match configuration that are supported to filter the traffic.", + "properties": { + "matchConfigurationName": { + "type": "string", + "description": "The name of the match configuration.", + "minLength": 1 + }, + "sequenceNumber": { + "type": "integer", + "format": "int64", + "description": "Sequence Number of the match configuration.", + "minimum": 1, + "maximum": 4294967295 + }, + "ipAddressType": { + "$ref": "#/definitions/IPAddressType", + "description": "Type of IP Address. IPv4 or IPv6" + }, + "matchConditions": { + "type": "array", + "description": "List of the match conditions.", + "minItems": 1, + "items": { + "$ref": "#/definitions/AccessControlListMatchConditionPatch" + }, + "x-ms-identifiers": [] + }, + "actions": { + "type": "array", + "description": "List of actions that need to be performed for the matched conditions.", + "minItems": 1, + "items": { + "$ref": "#/definitions/AccessControlListActionPatch" + }, + "x-ms-identifiers": [] + } + } + }, + "AccessControlListPatch": { + "type": "object", + "description": "The Access Control Lists patch resource definition.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/AccessControlListPatchProperties", + "description": "Access Control Lists patch properties." + } + } + }, + "AccessControlListPatchProperties": { + "type": "object", + "description": "Access Control Lists patch properties.", + "properties": { + "configurationType": { + "$ref": "#/definitions/ConfigurationType", + "description": "Input method to configure Access Control List." + }, + "aclsUrl": { + "type": "string", + "format": "uri", + "description": "Access Control List file URL." + }, + "defaultAction": { + "$ref": "#/definitions/CommunityActionTypes", + "description": "Default action that needs to be applied when no condition is matched. Example: Permit | Deny." + }, + "matchConfigurations": { + "type": "array", + "description": "List of match configurations.", + "minItems": 1, + "items": { + "$ref": "#/definitions/AccessControlListMatchConfigurationPatch" + }, + "x-ms-identifiers": [] + }, + "dynamicMatchConfigurations": { + "type": "array", + "description": "List of dynamic match configurations.", + "minItems": 1, + "items": { + "$ref": "#/definitions/CommonDynamicMatchConfigurationPatch" + }, + "x-ms-identifiers": [] + }, + "annotation": { + "type": "string", + "description": "Switch configuration description." + } + } + }, + "AccessControlListPortCondition": { + "type": "object", + "description": "Defines the port condition that needs to be matched.", + "properties": { + "portType": { + "$ref": "#/definitions/PortType", + "description": "Port type that needs to be matched." + }, + "layer4Protocol": { + "$ref": "#/definitions/Layer4Protocol", + "description": "Layer4 protocol type that needs to be matched." + }, + "ports": { + "type": "array", + "description": "List of the Ports that need to be matched.", + "items": { + "type": "string" + } + }, + "portGroupNames": { + "type": "array", + "description": "List of the port Group Names that need to be matched.", + "items": { + "type": "string" + } + }, + "flags": { + "type": "array", + "description": "List of protocol flags that need to be matched. Example: established | initial | . List of eligible TCP Flags are ack, fin, not-ack, not-fin, not-psh, not-rst, not-syn, not-urg, psh, rst, syn, urg", + "items": { + "type": "string" + } + } + }, + "required": [ + "layer4Protocol" + ] + }, + "AccessControlListPortConditionPatch": { + "type": "object", + "description": "Defines the port condition that needs to be matched.", + "properties": { + "portType": { + "$ref": "#/definitions/PortType", + "description": "Port type that needs to be matched." + }, + "layer4Protocol": { + "$ref": "#/definitions/Layer4Protocol", + "description": "Layer4 protocol type that needs to be matched." + }, + "ports": { + "type": "array", + "description": "List of the Ports that need to be matched.", + "items": { + "type": "string" + } + }, + "portGroupNames": { + "type": "array", + "description": "List of the port Group Names that need to be matched.", + "items": { + "type": "string" + } + }, + "flags": { + "type": "array", + "description": "List of protocol flags that need to be matched. Example: established | initial | . List of eligible TCP Flags are ack, fin, not-ack, not-fin, not-psh, not-rst, not-syn, not-urg, psh, rst, syn, urg", + "items": { + "type": "string" + } + } + } + }, + "AccessControlListProperties": { + "type": "object", + "description": "Access Control List Properties defines the resource properties.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "configurationType": { + "$ref": "#/definitions/ConfigurationType", + "description": "Input method to configure Access Control List." + }, + "aclsUrl": { + "type": "string", + "format": "uri", + "description": "Access Control List file URL." + }, + "defaultAction": { + "type": "string", + "description": "Default action that needs to be applied when no condition is matched. Example: Permit | Deny.", + "default": "Permit", + "enum": [ + "Permit", + "Deny" + ], + "x-ms-enum": { + "name": "CommunityActionTypes", + "modelAsString": true, + "values": [ + { + "name": "Permit", + "value": "Permit", + "description": "Permit Community Action Types" + }, + { + "name": "Deny", + "value": "Deny", + "description": "Deny Community Action Types" + } + ] + } + }, + "matchConfigurations": { + "type": "array", + "description": "List of match configurations.", + "minItems": 1, + "items": { + "$ref": "#/definitions/AccessControlListMatchConfiguration" + }, + "x-ms-identifiers": [] + }, + "dynamicMatchConfigurations": { + "type": "array", + "description": "List of dynamic match configurations.", + "minItems": 1, + "items": { + "$ref": "#/definitions/CommonDynamicMatchConfiguration" + }, + "x-ms-identifiers": [] + }, + "lastSyncedTime": { + "type": "string", + "format": "date-time", + "description": "The last synced timestamp.", + "readOnly": true + }, + "configurationState": { + "$ref": "#/definitions/ConfigurationState", + "description": "Configuration state of the resource.", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning state of the resource.", + "readOnly": true + }, + "administrativeState": { + "$ref": "#/definitions/AdministrativeState", + "description": "Administrative state of the resource.", + "readOnly": true + } + }, + "required": [ + "configurationType" + ] + }, + "AclActionType": { + "type": "string", + "description": "Type of actions that can be performed.", + "enum": [ + "Drop", + "Count", + "Log" + ], + "x-ms-enum": { + "name": "AclActionType", + "modelAsString": true, + "values": [ + { + "name": "Drop", + "value": "Drop", + "description": "AclActionType Drop" + }, + { + "name": "Count", + "value": "Count", + "description": "AclActionType Count" + }, + { + "name": "Log", + "value": "Log", + "description": "AclActionType Log" + } + ] + } + }, + "Action": { + "type": "string", + "description": "Specify action.", + "enum": [ + "Allow", + "Deny" + ], + "x-ms-enum": { + "name": "Action", + "modelAsString": true, + "values": [ + { + "name": "Allow", + "value": "Allow", + "description": "Action Allow" + }, + { + "name": "Deny", + "value": "Deny", + "description": "Action Deny" + } + ] + } + }, + "ActionIpCommunityPatchProperties": { + "type": "object", + "description": "IP Community Properties.", + "properties": { + "add": { + "$ref": "#/definitions/IpCommunityIdList", + "description": "List of IP Community IDs." + }, + "delete": { + "$ref": "#/definitions/IpCommunityIdList", + "description": "List of IP Community IDs." + }, + "set": { + "$ref": "#/definitions/IpCommunityIdList", + "description": "List of IP Community IDs." + } + } + }, + "ActionIpCommunityProperties": { + "type": "object", + "description": "IP Community Properties.", + "properties": { + "add": { + "$ref": "#/definitions/IpCommunityIdList", + "description": "List of IP Community IDs." + }, + "delete": { + "$ref": "#/definitions/IpCommunityIdList", + "description": "List of IP Community IDs." + }, + "set": { + "$ref": "#/definitions/IpCommunityIdList", + "description": "List of IP Community IDs." + } + } + }, + "ActionIpExtendedCommunityPatchProperties": { + "type": "object", + "description": "IP Extended Community Properties.", + "properties": { + "add": { + "$ref": "#/definitions/IpExtendedCommunityIdList", + "description": "List of IP Extended Community IDs." + }, + "delete": { + "$ref": "#/definitions/IpExtendedCommunityIdList", + "description": "List of IP Extended Community IDs." + }, + "set": { + "$ref": "#/definitions/IpExtendedCommunityIdList", + "description": "List of IP Extended Community IDs." + } + } + }, + "ActionIpExtendedCommunityProperties": { + "type": "object", + "description": "IP Extended Community Properties.", + "properties": { + "add": { + "$ref": "#/definitions/IpExtendedCommunityIdList", + "description": "List of IP Extended Community IDs." + }, + "delete": { + "$ref": "#/definitions/IpExtendedCommunityIdList", + "description": "List of IP Extended Community IDs." + }, + "set": { + "$ref": "#/definitions/IpExtendedCommunityIdList", + "description": "List of IP Extended Community IDs." + } + } + }, + "AdministrativeState": { + "type": "string", + "description": "State defined to represent administrative actions or post actions on a particular resource.", + "enum": [ + "Enabled", + "Disabled", + "MAT", + "RMA", + "UnderMaintenance" + ], + "x-ms-enum": { + "name": "AdministrativeState", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "Enabled Administrative State" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "Disabled Administrative State" + }, + { + "name": "MAT", + "value": "MAT", + "description": "MAT(Manual Action Taken) Administrative State" + }, + { + "name": "RMA", + "value": "RMA", + "description": "RMA(Return Material Authorization) Administrative State" + }, + { + "name": "UnderMaintenance", + "value": "UnderMaintenance", + "description": "UnderMaintenance Administrative State" + } + ] + } + }, + "AggregateRoute": { + "type": "object", + "description": "aggregateIpv4Route model.", + "properties": { + "prefix": { + "type": "string", + "description": "IPv4 Prefix of the aggregate Ipv4Route.", + "minLength": 1 + } + }, + "required": [ + "prefix" + ] + }, + "AggregateRouteConfiguration": { + "type": "object", + "description": "List of IPv4 and IPv6 aggregate routes.", + "properties": { + "ipv4Routes": { + "type": "array", + "description": "List of IPv4 Route prefixes.", + "minItems": 1, + "items": { + "$ref": "#/definitions/AggregateRoute" + }, + "x-ms-identifiers": [ + "prefix" + ] + }, + "ipv6Routes": { + "type": "array", + "description": "List of Ipv6Routes prefixes.", + "minItems": 1, + "items": { + "$ref": "#/definitions/AggregateRoute" + }, + "x-ms-identifiers": [ + "prefix" + ] + } + } + }, + "AllowASOverride": { + "type": "string", + "description": "Enable Or Disable state.", + "enum": [ + "Enable", + "Disable" + ], + "x-ms-enum": { + "name": "AllowASOverride", + "modelAsString": true, + "values": [ + { + "name": "Enable", + "value": "Enable", + "description": "AllowASOverride-Enable" + }, + { + "name": "Disable", + "value": "Disable", + "description": "AllowASOverride-Disable" + } + ] + } + }, + "BfdAdministrativeState": { + "type": "string", + "description": "Administrative state of the BfdConfiguration. Example: Enabled | Disabled.", + "enum": [ + "Enabled", + "Disabled", + "MAT", + "RMA" + ], + "x-ms-enum": { + "name": "BfdAdministrativeState", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "Represents the enabled state of BFD administrative state." + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "Represents the disabled state of BFD administrative state." + }, + { + "name": "MAT", + "value": "MAT", + "description": "Represents the MAT(Manual Action Taken) state of BFD administrative state." + }, + { + "name": "RMA", + "value": "RMA", + "description": "Represents the RMA(Return Material Authorization) state of BFD administrative state." + } + ] + } + }, + "BfdConfiguration": { + "type": "object", + "description": "BFD configuration properties", + "properties": { + "administrativeState": { + "type": "string", + "description": "Administrative state of the BfdConfiguration. Example: Enabled | Disabled.", + "default": "Disabled", + "enum": [ + "Enabled", + "Disabled", + "MAT", + "RMA" + ], + "x-ms-enum": { + "name": "BfdAdministrativeState", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "Represents the enabled state of BFD administrative state." + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "Represents the disabled state of BFD administrative state." + }, + { + "name": "MAT", + "value": "MAT", + "description": "Represents the MAT(Manual Action Taken) state of BFD administrative state." + }, + { + "name": "RMA", + "value": "RMA", + "description": "Represents the RMA(Return Material Authorization) state of BFD administrative state." + } + ] + }, + "readOnly": true + }, + "intervalInMilliSeconds": { + "type": "integer", + "format": "int32", + "description": "Interval in milliseconds. Example: 300.", + "default": 300 + }, + "multiplier": { + "type": "integer", + "format": "int32", + "description": "Multiplier for the Bfd Configuration. Example: 5.", + "default": 5 + } + } + }, + "BfdPatchConfiguration": { + "type": "object", + "description": "BFD configuration properties", + "properties": { + "administrativeState": { + "$ref": "#/definitions/BfdAdministrativeState", + "description": "Administrative state of the BfdConfiguration. Example: Enabled | Disabled.", + "readOnly": true + }, + "intervalInMilliSeconds": { + "type": "integer", + "format": "int32", + "description": "Interval in milliseconds. Example: 300." + }, + "multiplier": { + "type": "integer", + "format": "int32", + "description": "Multiplier for the Bfd Configuration. Example: 5." + } + } + }, + "BgpConfiguration": { + "type": "object", + "description": "BGP configuration properties", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "bfdConfiguration": { + "$ref": "#/definitions/BfdConfiguration", + "description": "BFD configuration properties" + }, + "defaultRouteOriginate": { + "$ref": "#/definitions/BooleanEnumProperty", + "description": "Originate a defaultRoute. Ex: \"True\" | \"False\"." + }, + "allowAS": { + "type": "integer", + "format": "int32", + "description": "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.", + "default": 2, + "minimum": 0, + "maximum": 10 + }, + "allowASOverride": { + "$ref": "#/definitions/AllowASOverride", + "description": "Enable Or Disable state." + }, + "fabricASN": { + "type": "integer", + "format": "int64", + "description": "ASN of Network Fabric. Example: 65048.", + "readOnly": true + }, + "peerASN": { + "type": "integer", + "format": "int64", + "description": "Peer ASN. Example: 65047.", + "minimum": 1, + "maximum": 4294967295 + }, + "ipv4ListenRangePrefixes": { + "type": "array", + "description": "List of BGP IPv4 Listen Range prefixes.", + "items": { + "type": "string" + } + }, + "ipv6ListenRangePrefixes": { + "type": "array", + "description": "List of BGP IPv6 Listen Ranges prefixes.", + "items": { + "type": "string" + } + }, + "ipv4NeighborAddress": { + "type": "array", + "description": "List with stringified IPv4 Neighbor Addresses.", + "items": { + "$ref": "#/definitions/NeighborAddress" + }, + "x-ms-identifiers": [ + "address" + ] + }, + "ipv6NeighborAddress": { + "type": "array", + "description": "List with stringified IPv6 Neighbor Address.", + "items": { + "$ref": "#/definitions/NeighborAddress" + }, + "x-ms-identifiers": [ + "address" + ] + } + }, + "required": [ + "peerASN" + ] + }, + "BgpPatchConfiguration": { + "type": "object", + "description": "BGP configuration properties.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "bfdConfiguration": { + "$ref": "#/definitions/BfdPatchConfiguration", + "description": "BFD configuration properties" + }, + "defaultRouteOriginate": { + "$ref": "#/definitions/BooleanEnumProperty", + "description": "Originate a defaultRoute. Ex: \"True\" | \"False\"." + }, + "allowAS": { + "type": "integer", + "format": "int32", + "description": "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.", + "minimum": 0, + "maximum": 10 + }, + "allowASOverride": { + "$ref": "#/definitions/AllowASOverride", + "description": "Enable Or Disable state." + }, + "fabricASN": { + "type": "integer", + "format": "int64", + "description": "ASN of Network Fabric. Example: 65048.", + "readOnly": true + }, + "peerASN": { + "type": "integer", + "format": "int64", + "description": "Peer ASN. Example: 65047.", + "minimum": 1, + "maximum": 4294967295 + }, + "ipv4ListenRangePrefixes": { + "type": "array", + "description": "List of BGP IPv4 Listen Range prefixes.", + "items": { + "type": "string" + } + }, + "ipv6ListenRangePrefixes": { + "type": "array", + "description": "List of BGP IPv6 Listen Ranges prefixes.", + "items": { + "type": "string" + } + }, + "ipv4NeighborAddress": { + "type": "array", + "description": "List with stringified IPv4 Neighbor Addresses.", + "items": { + "$ref": "#/definitions/NeighborAddressPatch" + }, + "x-ms-identifiers": [ + "address" + ] + }, + "ipv6NeighborAddress": { + "type": "array", + "description": "List with stringified IPv6 Neighbor Address.", + "items": { + "$ref": "#/definitions/NeighborAddressPatch" + }, + "x-ms-identifiers": [ + "address" + ] + } + } + }, + "BooleanEnumProperty": { + "type": "string", + "description": "Boolean union. Example- True/False", + "enum": [ + "True", + "False" + ], + "x-ms-enum": { + "name": "BooleanEnumProperty", + "modelAsString": true, + "values": [ + { + "name": "True", + "value": "True", + "description": "EnumProperty-True" + }, + { + "name": "False", + "value": "False", + "description": "EnumProperty-False" + } + ] + } + }, + "CommonDynamicMatchConfiguration": { + "type": "object", + "description": "Dynamic match configuration object.", + "properties": { + "ipGroups": { + "type": "array", + "description": "List of IP Groups.", + "items": { + "$ref": "#/definitions/IpGroupProperties" + }, + "x-ms-identifiers": [] + }, + "vlanGroups": { + "type": "array", + "description": "List of vlan groups.", + "items": { + "$ref": "#/definitions/VlanGroupProperties" + }, + "x-ms-identifiers": [] + }, + "portGroups": { + "type": "array", + "description": "List of the port groups.", + "items": { + "$ref": "#/definitions/PortGroupProperties" + }, + "x-ms-identifiers": [] + } + } + }, + "CommonDynamicMatchConfigurationPatch": { + "type": "object", + "description": "Dynamic match configuration object.", + "properties": { + "ipGroups": { + "type": "array", + "description": "List of IP Groups.", + "items": { + "$ref": "#/definitions/IpGroupPatchProperties" + }, + "x-ms-identifiers": [] + }, + "vlanGroups": { + "type": "array", + "description": "List of vlan groups.", + "items": { + "$ref": "#/definitions/VlanGroupPatchProperties" + }, + "x-ms-identifiers": [] + }, + "portGroups": { + "type": "array", + "description": "List of the port groups.", + "items": { + "$ref": "#/definitions/PortGroupPatchProperties" + }, + "x-ms-identifiers": [] + } + } + }, + "CommonPostActionResponseForDeviceROCommands": { + "type": "object", + "description": "Common response for device Ro Commands.", + "properties": { + "error": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorDetail", + "description": "The error object." + }, + "configurationState": { + "$ref": "#/definitions/ConfigurationState", + "description": "Gets the configuration state.", + "readOnly": true + }, + "outputUrl": { + "type": "string", + "description": "Predefined link containing Device RO Command output." + } + } + }, + "CommonPostActionResponseForDeviceRWCommands": { + "type": "object", + "description": "Common response for device Rw Commands.", + "properties": { + "error": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorDetail", + "description": "The error object." + }, + "configurationState": { + "$ref": "#/definitions/ConfigurationState", + "description": "Gets the configuration state.", + "readOnly": true + }, + "outputUrl": { + "type": "string", + "description": "Predefined link containing Device Rw Command output." + } + } + }, + "CommonPostActionResponseForDeviceUpdate": { + "type": "object", + "description": "Common response for device updates.", + "properties": { + "error": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorDetail", + "description": "The error object." + }, + "configurationState": { + "$ref": "#/definitions/ConfigurationState", + "description": "Gets the configuration state.", + "readOnly": true + }, + "successfulDevices": { + "type": "array", + "description": "List of ARM Resource IDs for which the given action applied successfully.", + "items": { + "type": "string" + } + }, + "failedDevices": { + "type": "array", + "description": "List of ARM Resource IDs for which the given action failed to apply.", + "items": { + "type": "string" + } + } + } + }, + "CommonPostActionResponseForStateUpdate": { + "type": "object", + "description": "Common response for the state updates.", + "properties": { + "error": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorDetail", + "description": "The error object." + }, + "configurationState": { + "$ref": "#/definitions/ConfigurationState", + "description": "Gets the configuration state.", + "readOnly": true + } + } + }, + "CommunityActionTypes": { + "type": "string", + "description": "Community action types. Example: Permit | Deny.", + "enum": [ + "Permit", + "Deny" + ], + "x-ms-enum": { + "name": "CommunityActionTypes", + "modelAsString": true, + "values": [ + { + "name": "Permit", + "value": "Permit", + "description": "Permit Community Action Types" + }, + { + "name": "Deny", + "value": "Deny", + "description": "Deny Community Action Types" + } + ] + } + }, + "Condition": { + "type": "string", + "description": "Specify prefix-list bounds.", + "enum": [ + "EqualTo", + "GreaterThanOrEqualTo", + "LesserThanOrEqualTo", + "Range" + ], + "x-ms-enum": { + "name": "Condition", + "modelAsString": true, + "values": [ + { + "name": "EqualTo", + "value": "EqualTo", + "description": "Condition-EqualTo" + }, + { + "name": "GreaterThanOrEqualTo", + "value": "GreaterThanOrEqualTo", + "description": "Condition-GreaterThanOrEqualTo" + }, + { + "name": "LesserThanOrEqualTo", + "value": "LesserThanOrEqualTo", + "description": "Condition-LesserThanOrEqualTo" + }, + { + "name": "Range", + "value": "Range", + "description": "Condition-Range" + } + ] + } + }, + "ConfigurationState": { + "type": "string", + "description": "Configuration state for the resource.", + "enum": [ + "Succeeded", + "Failed", + "Rejected", + "Accepted", + "Provisioned", + "ErrorProvisioning", + "Deprovisioning", + "Deprovisioned", + "ErrorDeprovisioning", + "DeferredControl", + "Provisioning", + "PendingCommit" + ], + "x-ms-enum": { + "name": "ConfigurationState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Success Configuration State" + }, + { + "name": "Failed", + "value": "Failed", + "description": "Failed Configuration State" + }, + { + "name": "Rejected", + "value": "Rejected", + "description": "Rejected Configuration State" + }, + { + "name": "Accepted", + "value": "Accepted", + "description": "Accepted Configuration State" + }, + { + "name": "Provisioned", + "value": "Provisioned", + "description": "Provisioned Configuration State" + }, + { + "name": "ErrorProvisioning", + "value": "ErrorProvisioning", + "description": "ErrorProvisioning Configuration State" + }, + { + "name": "Deprovisioning", + "value": "Deprovisioning", + "description": "Deprovisioning Configuration State" + }, + { + "name": "Deprovisioned", + "value": "Deprovisioned", + "description": "Deprovisioned Configuration State" + }, + { + "name": "ErrorDeprovisioning", + "value": "ErrorDeprovisioning", + "description": "ErrorDeprovisioning Configuration State" + }, + { + "name": "DeferredControl", + "value": "DeferredControl", + "description": "DeferredControl Configuration State" + }, + { + "name": "Provisioning", + "value": "Provisioning", + "description": "Provisioning Configuration State" + }, + { + "name": "PendingCommit", + "value": "PendingCommit", + "description": "PendingCommit Configuration State" + } + ] + }, + "readOnly": true + }, + "ConfigurationType": { + "type": "string", + "description": "Input method to configure Access Control List.", + "enum": [ + "File", + "Inline" + ], + "x-ms-enum": { + "name": "ConfigurationType", + "modelAsString": true, + "values": [ + { + "name": "File", + "value": "File", + "description": "File Configuration Type" + }, + { + "name": "Inline", + "value": "Inline", + "description": "Inline Configuration Type" + } + ] + } + }, + "ConnectedSubnet": { + "type": "object", + "description": "Connected Subnet properties.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "prefix": { + "type": "string", + "description": "Prefix of the Connected Subnet.", + "minLength": 1 + } + }, + "required": [ + "prefix" + ] + }, + "ConnectedSubnetPatch": { + "type": "object", + "description": "Connected Subnet properties.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "prefix": { + "type": "string", + "description": "Prefix of the Connected Subnet.", + "minLength": 1 + } + }, + "required": [ + "prefix" + ] + }, + "ConnectedSubnetRoutePolicy": { + "type": "object", + "description": "Connected Subnet Route Policy properties.", + "properties": { + "exportRoutePolicyId": { + "type": "string", + "format": "arm-id", + "description": "ARM Resource ID of the Route Policy. This is used for the backward compatibility.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/routePolicies" + } + ] + } + }, + "exportRoutePolicy": { + "$ref": "#/definitions/L3ExportRoutePolicy", + "description": "Array of ARM Resource ID of the RoutePolicies." + } + } + }, + "ControllerServices": { + "type": "object", + "description": "Network Fabric Controller services.", + "properties": { + "ipv4AddressSpaces": { + "type": "array", + "description": "The IPv4 Address space is optional, if the value is not defined at the time of NFC creation, then the default value 10.0.0.0/19 is considered. The IPV4 address subnet is an optional attribute.", + "items": { + "type": "string" + } + }, + "ipv6AddressSpaces": { + "type": "array", + "description": "The IPv6 is not supported right now.", + "items": { + "type": "string" + } + } + } + }, + "DestinationPatchProperties": { + "type": "object", + "description": "The network tap destination properties.", + "properties": { + "name": { + "type": "string", + "description": "Destination name.", + "minLength": 1 + }, + "destinationType": { + "$ref": "#/definitions/DestinationType", + "description": "Type of destination. Input can be IsolationDomain or Direct." + }, + "destinationId": { + "type": "string", + "format": "arm-id", + "description": "The destination Id. ARM Resource ID of either NNI or Internal Networks.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/networkToNetworkInterconnects" + }, + { + "type": "Microsoft.ManagedNetworkFabric/l3IsolationDomains/internalNetworks" + } + ] + } + }, + "isolationDomainProperties": { + "$ref": "#/definitions/IsolationDomainPatchProperties", + "description": "Isolation Domain Properties." + }, + "destinationTapRuleId": { + "type": "string", + "format": "arm-id", + "description": "ARM Resource ID of destination Tap Rule that contains match configurations.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/networkTapRules" + } + ] + } + } + } + }, + "DestinationProperties": { + "type": "object", + "description": "The network tap destination properties.", + "properties": { + "name": { + "type": "string", + "description": "Destination name.", + "minLength": 1 + }, + "destinationType": { + "$ref": "#/definitions/DestinationType", + "description": "Type of destination. Input can be IsolationDomain or Direct." + }, + "destinationId": { + "type": "string", + "format": "arm-id", + "description": "The destination Id. ARM Resource ID of either NNI or Internal Networks.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/networkToNetworkInterconnects" + }, + { + "type": "Microsoft.ManagedNetworkFabric/l3IsolationDomains/internalNetworks" + } + ] + } + }, + "isolationDomainProperties": { + "$ref": "#/definitions/IsolationDomainProperties", + "description": "Isolation Domain Properties." + }, + "destinationTapRuleId": { + "type": "string", + "format": "arm-id", + "description": "ARM Resource ID of destination Tap Rule that contains match configurations.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/networkTapRules" + } + ] + } + } + }, + "required": [ + "name", + "destinationType", + "destinationId" + ] + }, + "DestinationType": { + "type": "string", + "description": "Type of destination. Input can be IsolationDomain or Direct.", + "enum": [ + "IsolationDomain", + "Direct" + ], + "x-ms-enum": { + "name": "DestinationType", + "modelAsString": true, + "values": [ + { + "name": "IsolationDomain", + "value": "IsolationDomain", + "description": "DestinationType-IsolationDomain" + }, + { + "name": "Direct", + "value": "Direct", + "description": "DestinationType-Direct" + } + ] + } + }, + "DeviceAdministrativeState": { + "type": "string", + "description": "Administrative state.", + "enum": [ + "RMA", + "Resync", + "GracefulQuarantine", + "Quarantine", + "UnderMaintenance", + "Enable" + ], + "x-ms-enum": { + "name": "DeviceAdministrativeState", + "modelAsString": true, + "values": [ + { + "name": "RMA", + "value": "RMA", + "description": "Device AdministrativeState-RMA" + }, + { + "name": "Resync", + "value": "Resync", + "description": "Device AdministrativeState-Resync" + }, + { + "name": "GracefulQuarantine", + "value": "GracefulQuarantine", + "description": "Device AdministrativeState-GracefulQuarantine" + }, + { + "name": "Quarantine", + "value": "Quarantine", + "description": "Device AdministrativeState-Quarantine" + }, + { + "name": "UnderMaintenance", + "value": "UnderMaintenance", + "description": "Device AdministrativeState-UnderMaintenance" + }, + { + "name": "Enable", + "value": "Enable", + "description": "Device AdministrativeState-Enable" + } + ] + } + }, + "DeviceInterfaceProperties": { + "type": "object", + "description": "Network device interface properties.", + "properties": { + "identifier": { + "type": "string", + "description": "Interface identifier. Example: HundredGigE0/0." + }, + "interfaceType": { + "type": "string", + "description": "Interface type." + }, + "supportedConnectorTypes": { + "type": "array", + "description": "List of supported connector types.", + "items": { + "$ref": "#/definitions/SupportedConnectorProperties" + }, + "x-ms-identifiers": [ + "connectorType" + ] + } + } + }, + "DeviceRoCommand": { + "type": "object", + "description": "Provide the RO command", + "properties": { + "command": { + "type": "string", + "description": "Specify the command." + } + } + }, + "DeviceRwCommand": { + "type": "object", + "description": "Provide the Rw command", + "properties": { + "command": { + "type": "string", + "description": "Specify the command." + } + } + }, + "EnableDisableState": { + "type": "string", + "description": "Administrative state.", + "enum": [ + "Enable", + "Disable", + "UnderMaintenance" + ], + "x-ms-enum": { + "name": "EnableDisableState", + "modelAsString": true, + "values": [ + { + "name": "Enable", + "value": "Enable", + "description": "AdministrativeState Enable" + }, + { + "name": "Disable", + "value": "Disable", + "description": "AdministrativeState Disable" + }, + { + "name": "UnderMaintenance", + "value": "UnderMaintenance", + "description": "AdministrativeState UnderMaintenance" + } + ] + } + }, + "Encapsulation": { + "type": "string", + "description": "Type of encapsulation.", + "enum": [ + "None", + "GRE" + ], + "x-ms-enum": { + "name": "Encapsulation", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None", + "description": "Encapsulation-None" + }, + { + "name": "GRE", + "value": "GRE", + "description": "Encapsulation-GRE" + } + ] + } + }, + "EncapsulationType": { + "type": "string", + "description": "Encapsulation Type that needs to be matched.", + "enum": [ + "None", + "GTPv1" + ], + "x-ms-enum": { + "name": "EncapsulationType", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None", + "description": "None EncapsulationType" + }, + { + "name": "GTPv1", + "value": "GTPv1", + "description": "GTPv1 EncapsulationType" + } + ] + } + }, + "ExportRoutePolicy": { + "type": "object", + "description": "Export Route Policy either IPv4 or IPv6.", + "properties": { + "exportIpv4RoutePolicyId": { + "type": "string", + "format": "arm-id", + "description": "ARM resource ID of RoutePolicy.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/routePolicies" + } + ] + } + }, + "exportIpv6RoutePolicyId": { + "type": "string", + "format": "arm-id", + "description": "ARM resource ID of RoutePolicy.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/routePolicies" + } + ] + } + } + } + }, + "ExportRoutePolicyInformation": { + "type": "object", + "description": "Export Route Policy Configuration.", + "properties": { + "exportIpv4RoutePolicyId": { + "type": "string", + "format": "arm-id", + "description": "Export IPv4 Route Policy Id.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/routePolicies" + } + ] + } + }, + "exportIpv6RoutePolicyId": { + "type": "string", + "format": "arm-id", + "description": "Export IPv6 Route Policy Id.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/routePolicies" + } + ] + } + } + } + }, + "ExportRoutePolicyInformationPatch": { + "type": "object", + "description": "Export Route Policy Configuration.", + "properties": { + "exportIpv4RoutePolicyId": { + "type": "string", + "format": "arm-id", + "description": "Export IPv4 Route Policy Id.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/routePolicies" + } + ] + } + }, + "exportIpv6RoutePolicyId": { + "type": "string", + "format": "arm-id", + "description": "Export IPv6 Route Policy Id.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/routePolicies" + } + ] + } + } + } + }, + "ExportRoutePolicyPatch": { + "type": "object", + "description": "Export Route Policy either IPv4 or IPv6.", + "properties": { + "exportIpv4RoutePolicyId": { + "type": "string", + "format": "arm-id", + "description": "ARM resource ID of RoutePolicy.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/routePolicies" + } + ] + } + }, + "exportIpv6RoutePolicyId": { + "type": "string", + "format": "arm-id", + "description": "ARM resource ID of RoutePolicy.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/routePolicies" + } + ] + } + } + } + }, + "ExpressRouteConnectionInformation": { + "type": "object", + "description": "The ExpressRoute circuit ID and the Auth Key are required for you to successfully deploy NFC service.", + "properties": { + "expressRouteCircuitId": { + "type": "string", + "format": "arm-id", + "description": "The express route circuit Azure resource ID, must be of type Microsoft.Network/expressRouteCircuits/circuitName. The ExpressRoute Circuit is a mandatory attribute.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/expressRouteCircuits" + } + ] + } + }, + "expressRouteAuthorizationKey": { + "type": "string", + "format": "password", + "description": "Authorization key for the circuit, must be of type Microsoft.Network/expressRouteCircuits/authorizations. The Auth Key is a mandatory attribute.", + "x-ms-secret": true + } + }, + "required": [ + "expressRouteCircuitId", + "expressRouteAuthorizationKey" + ] + }, + "ExternalNetwork": { + "type": "object", + "description": "Defines the External Network resource.", + "properties": { + "properties": { + "$ref": "#/definitions/ExternalNetworkProperties", + "description": "External Network Properties" + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "ExternalNetworkListResult": { + "type": "object", + "description": "The response of a ExternalNetwork list operation.", + "properties": { + "value": { + "type": "array", + "description": "The ExternalNetwork items on this page", + "items": { + "$ref": "#/definitions/ExternalNetwork" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ExternalNetworkPatch": { + "type": "object", + "description": "The ExternalNetwork patch resource definition.", + "properties": { + "properties": { + "$ref": "#/definitions/ExternalNetworkPatchProperties", + "description": "External Network Patch properties." + } + } + }, + "ExternalNetworkPatchProperties": { + "type": "object", + "description": "External Network Patch properties.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "networkToNetworkInterconnectId": { + "type": "string", + "format": "arm-id", + "description": "ARM Resource ID of the networkToNetworkInterconnectId of the ExternalNetwork resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/networkFabrics/networkToNetworkInterconnects" + } + ] + } + }, + "importRoutePolicyId": { + "type": "string", + "format": "arm-id", + "description": "ARM Resource ID of the RoutePolicy. This is used for the backward compatibility.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/routePolicies" + } + ] + } + }, + "exportRoutePolicyId": { + "type": "string", + "format": "arm-id", + "description": "ARM Resource ID of the RoutePolicy. This is used for the backward compatibility.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/routePolicies" + } + ] + } + }, + "importRoutePolicy": { + "$ref": "#/definitions/ImportRoutePolicyPatch", + "description": "Import Route Policy either IPv4 or IPv6." + }, + "exportRoutePolicy": { + "$ref": "#/definitions/ExportRoutePolicyPatch", + "description": "Export Route Policy either IPv4 or IPv6." + }, + "peeringOption": { + "$ref": "#/definitions/PeeringOption", + "description": "Peering option list." + }, + "optionBProperties": { + "$ref": "#/definitions/L3OptionBPatchProperties", + "description": "option B properties object" + }, + "optionAProperties": { + "$ref": "#/definitions/ExternalNetworkPatchPropertiesOptionAProperties", + "description": "option A properties object" + } + } + }, + "ExternalNetworkPatchPropertiesOptionAProperties": { + "type": "object", + "description": "option A properties object", + "properties": { + "primaryIpv4Prefix": { + "type": "string", + "description": "IPv4 Address Prefix." + }, + "primaryIpv6Prefix": { + "type": "string", + "description": "IPv6 Address Prefix." + }, + "secondaryIpv4Prefix": { + "type": "string", + "description": "Secondary IPv4 Address Prefix." + }, + "secondaryIpv6Prefix": { + "type": "string", + "description": "Secondary IPv6 Address Prefix." + }, + "mtu": { + "type": "integer", + "format": "int32", + "description": "MTU to use for option A peering.", + "minimum": 64, + "maximum": 9200 + }, + "vlanId": { + "type": "integer", + "format": "int32", + "description": "Vlan identifier. Example : 501", + "minimum": 501, + "maximum": 4094 + }, + "fabricASN": { + "type": "integer", + "format": "int64", + "description": "Fabric ASN number. Example 65001", + "minimum": 1, + "maximum": 4294967295, + "readOnly": true + }, + "peerASN": { + "type": "integer", + "format": "int64", + "description": "Peer ASN number.Example : 28", + "minimum": 1, + "maximum": 4294967295 + }, + "bfdConfiguration": { + "$ref": "#/definitions/BfdPatchConfiguration", + "description": "BFD configuration properties" + }, + "ingressAclId": { + "type": "string", + "format": "arm-id", + "description": "Ingress Acl. ARM resource ID of Access Control Lists.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/accessControlLists" + } + ] + } + }, + "egressAclId": { + "type": "string", + "format": "arm-id", + "description": "Egress Acl. ARM resource ID of Access Control Lists.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/accessControlLists" + } + ] + } + } + } + }, + "ExternalNetworkProperties": { + "type": "object", + "description": "External Network Properties.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "networkToNetworkInterconnectId": { + "type": "string", + "format": "arm-id", + "description": "ARM Resource ID of the networkToNetworkInterconnectId of the ExternalNetwork resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/networkFabrics/networkToNetworkInterconnects" + } + ] + } + }, + "importRoutePolicyId": { + "type": "string", + "format": "arm-id", + "description": "ARM Resource ID of the RoutePolicy. This is used for the backward compatibility.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/routePolicies" + } + ] + } + }, + "exportRoutePolicyId": { + "type": "string", + "format": "arm-id", + "description": "ARM Resource ID of the RoutePolicy. This is used for the backward compatibility.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/routePolicies" + } + ] + } + }, + "importRoutePolicy": { + "$ref": "#/definitions/ImportRoutePolicy", + "description": "Import Route Policy either IPv4 or IPv6." + }, + "exportRoutePolicy": { + "$ref": "#/definitions/ExportRoutePolicy", + "description": "Export Route Policy either IPv4 or IPv6." + }, + "peeringOption": { + "$ref": "#/definitions/PeeringOption", + "description": "Peering option list." + }, + "optionBProperties": { + "$ref": "#/definitions/L3OptionBProperties", + "description": "option B properties object" + }, + "optionAProperties": { + "$ref": "#/definitions/ExternalNetworkPropertiesOptionAProperties", + "description": "option A properties object" + }, + "configurationState": { + "$ref": "#/definitions/ConfigurationState", + "description": "Configuration state of the resource.", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning state of the resource.", + "readOnly": true + }, + "administrativeState": { + "$ref": "#/definitions/AdministrativeState", + "description": "Administrative state of the resource.", + "readOnly": true + } + }, + "required": [ + "peeringOption" + ] + }, + "ExternalNetworkPropertiesOptionAProperties": { + "type": "object", + "description": "option A properties object", + "properties": { + "primaryIpv4Prefix": { + "type": "string", + "description": "IPv4 Address Prefix." + }, + "primaryIpv6Prefix": { + "type": "string", + "description": "IPv6 Address Prefix." + }, + "secondaryIpv4Prefix": { + "type": "string", + "description": "Secondary IPv4 Address Prefix." + }, + "secondaryIpv6Prefix": { + "type": "string", + "description": "Secondary IPv6 Address Prefix." + }, + "mtu": { + "type": "integer", + "format": "int32", + "description": "MTU to use for option A peering.", + "default": 1500, + "minimum": 64, + "maximum": 9200 + }, + "vlanId": { + "type": "integer", + "format": "int32", + "description": "Vlan identifier. Example : 501", + "minimum": 501, + "maximum": 4094 + }, + "fabricASN": { + "type": "integer", + "format": "int64", + "description": "Fabric ASN number. Example 65001", + "minimum": 1, + "maximum": 4294967295, + "readOnly": true + }, + "peerASN": { + "type": "integer", + "format": "int64", + "description": "Peer ASN number.Example : 28", + "minimum": 1, + "maximum": 4294967295 + }, + "bfdConfiguration": { + "$ref": "#/definitions/BfdConfiguration", + "description": "BFD configuration properties" + }, + "ingressAclId": { + "type": "string", + "format": "arm-id", + "description": "Ingress Acl. ARM resource ID of Access Control Lists.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/accessControlLists" + } + ] + } + }, + "egressAclId": { + "type": "string", + "format": "arm-id", + "description": "Egress Acl. ARM resource ID of Access Control Lists.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/accessControlLists" + } + ] + } + } + }, + "required": [ + "vlanId", + "peerASN" + ] + }, + "FabricSkuType": { + "type": "string", + "description": "Type of Network Fabric SKU.", + "enum": [ + "SingleRack", + "MultiRack" + ], + "x-ms-enum": { + "name": "FabricSkuType", + "modelAsString": true, + "values": [ + { + "name": "SingleRack", + "value": "SingleRack", + "description": "FabricSkuType-SingleRack" + }, + { + "name": "MultiRack", + "value": "MultiRack", + "description": "FabricSkuType-MultiRack" + } + ] + } + }, + "GatewayType": { + "type": "string", + "description": "Gateway Type of the resource.", + "enum": [ + "Infrastructure", + "Workload" + ], + "x-ms-enum": { + "name": "GatewayType", + "modelAsString": true, + "values": [ + { + "name": "Infrastructure", + "value": "Infrastructure", + "description": "GatewayType Infrastructure" + }, + { + "name": "Workload", + "value": "Workload", + "description": "GatewayType Workload" + } + ] + } + }, + "IPAddressType": { + "type": "string", + "description": "IP Address type.", + "enum": [ + "IPv4", + "IPv6" + ], + "x-ms-enum": { + "name": "IPAddressType", + "modelAsString": true, + "values": [ + { + "name": "IPv4", + "value": "IPv4", + "description": "IPv4 IP address" + }, + { + "name": "IPv6", + "value": "IPv6", + "description": "IPv6 IP address" + } + ] + } + }, + "ImportRoutePolicy": { + "type": "object", + "description": "Import Route Policy either IPv4 or IPv6.", + "properties": { + "importIpv4RoutePolicyId": { + "type": "string", + "format": "arm-id", + "description": "ARM resource ID of RoutePolicy.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/routePolicies" + } + ] + } + }, + "importIpv6RoutePolicyId": { + "type": "string", + "format": "arm-id", + "description": "ARM resource ID of RoutePolicy.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/routePolicies" + } + ] + } + } + } + }, + "ImportRoutePolicyInformation": { + "type": "object", + "description": "Import Route Policy Configuration.", + "properties": { + "importIpv4RoutePolicyId": { + "type": "string", + "format": "arm-id", + "description": "Import IPv4 Route Policy Id.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/routePolicies" + } + ] + } + }, + "importIpv6RoutePolicyId": { + "type": "string", + "format": "arm-id", + "description": "Import IPv6 Route Policy Id.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/routePolicies" + } + ] + } + } + } + }, + "ImportRoutePolicyInformationPatch": { + "type": "object", + "description": "Import Route Policy Configuration.", + "properties": { + "importIpv4RoutePolicyId": { + "type": "string", + "format": "arm-id", + "description": "Import IPv4 Route Policy Id.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/routePolicies" + } + ] + } + }, + "importIpv6RoutePolicyId": { + "type": "string", + "format": "arm-id", + "description": "Import IPv6 Route Policy Id.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/routePolicies" + } + ] + } + } + } + }, + "ImportRoutePolicyPatch": { + "type": "object", + "description": "Import Route Policy either IPv4 or IPv6.", + "properties": { + "importIpv4RoutePolicyId": { + "type": "string", + "format": "arm-id", + "description": "ARM resource ID of RoutePolicy.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/routePolicies" + } + ] + } + }, + "importIpv6RoutePolicyId": { + "type": "string", + "format": "arm-id", + "description": "ARM resource ID of RoutePolicy.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/routePolicies" + } + ] + } + } + } + }, + "InterfaceType": { + "type": "string", + "description": "The Interface Type. Example: Management/Data", + "enum": [ + "Management", + "Data" + ], + "x-ms-enum": { + "name": "InterfaceType", + "modelAsString": true, + "values": [ + { + "name": "Management", + "value": "Management", + "description": "InterfaceType-Management" + }, + { + "name": "Data", + "value": "Data", + "description": "InterfaceType-Data" + } + ] + } + }, + "InternalNetwork": { + "type": "object", + "description": "Defines the Internal Network resource.", + "properties": { + "properties": { + "$ref": "#/definitions/InternalNetworkProperties", + "description": "The Internal Network Properties" + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "InternalNetworkListResult": { + "type": "object", + "description": "The response of a InternalNetwork list operation.", + "properties": { + "value": { + "type": "array", + "description": "The InternalNetwork items on this page", + "items": { + "$ref": "#/definitions/InternalNetwork" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "InternalNetworkPatch": { + "type": "object", + "description": "The InternalNetwork patch resource definition.", + "properties": { + "properties": { + "$ref": "#/definitions/InternalNetworkPatchProperties", + "description": "InternalNetwork Patch properties." + } + } + }, + "InternalNetworkPatchProperties": { + "type": "object", + "description": "InternalNetwork Patch properties.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "mtu": { + "type": "integer", + "format": "int32", + "description": "Maximum transmission unit. Default value is 1500.", + "minimum": 64, + "maximum": 9200 + }, + "connectedIPv4Subnets": { + "type": "array", + "description": "List of Connected IPv4 Subnets.", + "minItems": 1, + "items": { + "$ref": "#/definitions/ConnectedSubnetPatch" + }, + "x-ms-identifiers": [ + "prefix" + ] + }, + "connectedIPv6Subnets": { + "type": "array", + "description": "List of connected IPv6 Subnets.", + "minItems": 1, + "items": { + "$ref": "#/definitions/ConnectedSubnetPatch" + }, + "x-ms-identifiers": [ + "prefix" + ] + }, + "importRoutePolicyId": { + "type": "string", + "format": "arm-id", + "description": "ARM Resource ID of the RoutePolicy. This is used for the backward compatibility.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/routePolicies" + } + ] + } + }, + "exportRoutePolicyId": { + "type": "string", + "format": "arm-id", + "description": "ARM Resource ID of the RoutePolicy. This is used for the backward compatibility.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/routePolicies" + } + ] + } + }, + "importRoutePolicy": { + "$ref": "#/definitions/ImportRoutePolicy", + "description": "Import Route Policy either IPv4 or IPv6." + }, + "exportRoutePolicy": { + "$ref": "#/definitions/ExportRoutePolicy", + "description": "Export Route Policy either IPv4 or IPv6." + }, + "ingressAclId": { + "type": "string", + "format": "arm-id", + "description": "Ingress Acl. ARM resource ID of Access Control Lists.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/accessControlLists" + } + ] + } + }, + "egressAclId": { + "type": "string", + "format": "arm-id", + "description": "Egress Acl. ARM resource ID of Access Control Lists.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/accessControlLists" + } + ] + } + }, + "isMonitoringEnabled": { + "$ref": "#/definitions/IsMonitoringEnabled", + "description": "To check whether monitoring of internal network is enabled or not." + }, + "bgpConfiguration": { + "$ref": "#/definitions/BgpPatchConfiguration", + "description": "BGP configuration properties." + }, + "staticRouteConfiguration": { + "$ref": "#/definitions/StaticRoutePatchConfiguration", + "description": "Static Route Configuration properties." + } + } + }, + "InternalNetworkProperties": { + "type": "object", + "description": "Internal Network Properties defines the properties of the resource.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "mtu": { + "type": "integer", + "format": "int32", + "description": "Maximum transmission unit. Default value is 1500.", + "default": 1500, + "minimum": 64, + "maximum": 9200 + }, + "connectedIPv4Subnets": { + "type": "array", + "description": "List of Connected IPv4 Subnets.", + "minItems": 1, + "items": { + "$ref": "#/definitions/ConnectedSubnet" + }, + "x-ms-identifiers": [ + "prefix" + ] + }, + "connectedIPv6Subnets": { + "type": "array", + "description": "List of connected IPv6 Subnets.", + "minItems": 1, + "items": { + "$ref": "#/definitions/ConnectedSubnet" + }, + "x-ms-identifiers": [ + "prefix" + ] + }, + "importRoutePolicyId": { + "type": "string", + "format": "arm-id", + "description": "ARM Resource ID of the RoutePolicy. This is used for the backward compatibility.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/routePolicies" + } + ] + } + }, + "exportRoutePolicyId": { + "type": "string", + "format": "arm-id", + "description": "ARM Resource ID of the RoutePolicy. This is used for the backward compatibility.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/routePolicies" + } + ] + } + }, + "importRoutePolicy": { + "$ref": "#/definitions/ImportRoutePolicy", + "description": "Import Route Policy either IPv4 or IPv6." + }, + "exportRoutePolicy": { + "$ref": "#/definitions/ExportRoutePolicy", + "description": "Export Route Policy either IPv4 or IPv6." + }, + "ingressAclId": { + "type": "string", + "format": "arm-id", + "description": "Ingress Acl. ARM resource ID of Access Control Lists.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/accessControlLists" + } + ] + } + }, + "egressAclId": { + "type": "string", + "format": "arm-id", + "description": "Egress Acl. ARM resource ID of Access Control Lists.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/accessControlLists" + } + ] + } + }, + "isMonitoringEnabled": { + "type": "string", + "description": "To check whether monitoring of internal network is enabled or not.", + "default": "False", + "enum": [ + "True", + "False" + ], + "x-ms-enum": { + "name": "IsMonitoringEnabled", + "modelAsString": true, + "values": [ + { + "name": "True", + "value": "True", + "description": "IsMonitoringEnabled-True" + }, + { + "name": "False", + "value": "False", + "description": "IsMonitoringEnabled-False" + } + ] + } + }, + "extension": { + "type": "string", + "description": "Extension. Example: NoExtension | NPB.", + "default": "NoExtension", + "enum": [ + "NoExtension", + "NPB" + ], + "x-ms-enum": { + "name": "Extension", + "modelAsString": true, + "values": [ + { + "name": "NoExtension", + "value": "NoExtension", + "description": "Extension-NoExtension" + }, + { + "name": "NPB", + "value": "NPB", + "description": "Extension-NPB" + } + ] + } + }, + "vlanId": { + "type": "integer", + "format": "int32", + "description": "Vlan identifier. Example: 1001.", + "minimum": 100, + "maximum": 4094 + }, + "bgpConfiguration": { + "$ref": "#/definitions/BgpConfiguration", + "description": "BGP configuration properties." + }, + "staticRouteConfiguration": { + "$ref": "#/definitions/StaticRouteConfiguration", + "description": "Static Route Configuration properties." + }, + "configurationState": { + "$ref": "#/definitions/ConfigurationState", + "description": "Configuration state of the resource.", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning state of the resource.", + "readOnly": true + }, + "administrativeState": { + "$ref": "#/definitions/AdministrativeState", + "description": "Administrative state of the resource.", + "readOnly": true + } + }, + "required": [ + "vlanId" + ] + }, + "InternetGateway": { + "type": "object", + "description": "The Internet Gateway resource definition.", + "properties": { + "properties": { + "$ref": "#/definitions/InternetGatewayProperties", + "description": "The Internet Gateway Properties" + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "InternetGatewayListResult": { + "type": "object", + "description": "The response of a InternetGateway list operation.", + "properties": { + "value": { + "type": "array", + "description": "The InternetGateway items on this page", + "items": { + "$ref": "#/definitions/InternetGateway" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "InternetGatewayPatch": { + "type": "object", + "description": "The Internet Gateway patch resource definition.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/InternetGatewayPatchProperties", + "description": "Resource properties." + } + } + }, + "InternetGatewayPatchProperties": { + "type": "object", + "description": "PatchProperties for InternetGateway ", + "properties": { + "internetGatewayRuleId": { + "type": "string", + "format": "arm-id", + "description": "ARM Resource ID of the Internet Gateway Rule.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/internetGatewayRules" + } + ] + } + } + } + }, + "InternetGatewayProperties": { + "type": "object", + "description": "Internet Gateway Properties defines the properties of the resource.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "internetGatewayRuleId": { + "type": "string", + "format": "arm-id", + "description": "ARM Resource ID of the Internet Gateway Rule.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/internetGatewayRules" + } + ] + } + }, + "ipv4Address": { + "type": "string", + "description": "IPv4 Address of Internet Gateway.", + "readOnly": true + }, + "port": { + "type": "integer", + "format": "int32", + "description": "Port number of Internet Gateway.", + "readOnly": true + }, + "type": { + "$ref": "#/definitions/GatewayType", + "description": "Gateway Type of the resource." + }, + "networkFabricControllerId": { + "type": "string", + "format": "arm-id", + "description": "ARM Resource ID of the Network Fabric Controller.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/networkFabricControllers" + } + ] + } + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning state of resource.", + "readOnly": true + } + }, + "required": [ + "type", + "networkFabricControllerId" + ] + }, + "InternetGatewayRule": { + "type": "object", + "description": "The Internet Gateway Rule resource definition.", + "properties": { + "properties": { + "$ref": "#/definitions/InternetGatewayRuleProperties", + "description": "The Internet Gateway Rule properties" + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "InternetGatewayRuleListResult": { + "type": "object", + "description": "The response of a InternetGatewayRule list operation.", + "properties": { + "value": { + "type": "array", + "description": "The InternetGatewayRule items on this page", + "items": { + "$ref": "#/definitions/InternetGatewayRule" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "InternetGatewayRulePatch": { + "type": "object", + "description": "The Internet Gateway Rules patch resource definition.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, + "InternetGatewayRuleProperties": { + "type": "object", + "description": "Internet Gateway Rule Properties defines the resource properties.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "ruleProperties": { + "$ref": "#/definitions/RuleProperties", + "description": "Rules for the InternetGateways" + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning state of the resource.", + "readOnly": true + }, + "internetGatewayIds": { + "type": "array", + "description": "List of Internet Gateway resource Id.", + "items": { + "type": "string" + }, + "readOnly": true + } + }, + "required": [ + "ruleProperties" + ] + }, + "IpCommunity": { + "type": "object", + "description": "The IP Community resource definition.", + "properties": { + "properties": { + "$ref": "#/definitions/IpCommunityProperties", + "description": "The IP Community Properties" + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "IpCommunityIdList": { + "type": "object", + "description": "IP Community ID list properties.", + "properties": { + "ipCommunityIds": { + "type": "array", + "description": "List of IP Community resource IDs.", + "items": { + "type": "string" + } + } + } + }, + "IpCommunityListResult": { + "type": "object", + "description": "The response of a IpCommunity list operation.", + "properties": { + "value": { + "type": "array", + "description": "The IpCommunity items on this page", + "items": { + "$ref": "#/definitions/IpCommunity" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "IpCommunityPatch": { + "type": "object", + "description": "The IP Community patch resource definition.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/IpCommunityPatchableProperties", + "description": "IP Community patchable properties." + } + } + }, + "IpCommunityPatchableProperties": { + "type": "object", + "description": "IP Community patchable properties.", + "properties": { + "ipCommunityRules": { + "type": "array", + "description": "List of IP Community Rules.", + "items": { + "$ref": "#/definitions/IpCommunityRule" + }, + "x-ms-identifiers": [] + } + } + }, + "IpCommunityProperties": { + "type": "object", + "description": "IP Community Properties defines the resource properties.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "ipCommunityRules": { + "type": "array", + "description": "List of IP Community Rules.", + "items": { + "$ref": "#/definitions/IpCommunityRule" + }, + "x-ms-identifiers": [] + }, + "configurationState": { + "$ref": "#/definitions/ConfigurationState", + "description": "Configuration state of the resource.", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning state of the resource.", + "readOnly": true + }, + "administrativeState": { + "$ref": "#/definitions/AdministrativeState", + "description": "Administrative state of the resource.", + "readOnly": true + } + }, + "required": [ + "ipCommunityRules" + ] + }, + "IpCommunityRule": { + "type": "object", + "description": "IP Community patchable properties.", + "properties": { + "action": { + "$ref": "#/definitions/CommunityActionTypes", + "description": "Action to be taken on the configuration. Example: Permit | Deny." + }, + "sequenceNumber": { + "type": "integer", + "format": "int64", + "description": "Sequence to insert to/delete from existing route. Prefix lists are evaluated starting with the lowest sequence number and continue down the list until a match is made. Once a match is made, the permit or deny statement is applied to that network and the rest of the list is ignored.", + "minimum": 1, + "maximum": 4294967295 + }, + "wellKnownCommunities": { + "type": "array", + "description": "Supported well known Community List.", + "items": { + "$ref": "#/definitions/WellKnownCommunities" + } + }, + "communityMembers": { + "type": "array", + "description": "List the community members of IP Community.", + "minItems": 1, + "items": { + "type": "string" + } + } + }, + "required": [ + "action", + "sequenceNumber", + "communityMembers" + ] + }, + "IpExtendedCommunity": { + "type": "object", + "description": "The IP Extended Community resource definition.", + "properties": { + "properties": { + "$ref": "#/definitions/IpExtendedCommunityProperties", + "description": "The IpExtendedCommunity properties" + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "IpExtendedCommunityIdList": { + "type": "object", + "description": "IP Extended Community Id list properties.", + "properties": { + "ipExtendedCommunityIds": { + "type": "array", + "description": "List of IP Extended Community resource IDs.", + "items": { + "type": "string" + } + } + } + }, + "IpExtendedCommunityListResult": { + "type": "object", + "description": "The response of a IpExtendedCommunity list operation.", + "properties": { + "value": { + "type": "array", + "description": "The IpExtendedCommunity items on this page", + "items": { + "$ref": "#/definitions/IpExtendedCommunity" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "IpExtendedCommunityPatch": { + "type": "object", + "description": "The IP Extended Communities patch resource definition.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/IpExtendedCommunityPatchProperties", + "description": "IP Extended Community patchable properties." + } + } + }, + "IpExtendedCommunityPatchProperties": { + "type": "object", + "description": "IP Extended Community patchable properties.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "ipExtendedCommunityRules": { + "type": "array", + "description": "List of IP Extended Community Rules.", + "items": { + "$ref": "#/definitions/IpExtendedCommunityRule" + }, + "x-ms-identifiers": [] + } + } + }, + "IpExtendedCommunityProperties": { + "type": "object", + "description": "IP Extended Community Properties defines the resource properties.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "ipExtendedCommunityRules": { + "type": "array", + "description": "List of IP Extended Community Rules.", + "items": { + "$ref": "#/definitions/IpExtendedCommunityRule" + }, + "x-ms-identifiers": [] + }, + "configurationState": { + "$ref": "#/definitions/ConfigurationState", + "description": "Configuration state of the resource.", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning state of the resource.", + "readOnly": true + }, + "administrativeState": { + "$ref": "#/definitions/AdministrativeState", + "description": "Administrative state of the resource.", + "readOnly": true + } + }, + "required": [ + "ipExtendedCommunityRules" + ] + }, + "IpExtendedCommunityRule": { + "type": "object", + "description": "List of IP Extended Community Rules.", + "properties": { + "action": { + "$ref": "#/definitions/CommunityActionTypes", + "description": "Action to be taken on the configuration. Example: Permit | Deny." + }, + "sequenceNumber": { + "type": "integer", + "format": "int64", + "description": "Sequence to insert to/delete from existing route. Prefix lists are evaluated starting with the lowest sequence number and continue down the list until a match is made. Once a match is made, the permit or deny statement is applied to that network and the rest of the list is ignored.", + "minimum": 1, + "maximum": 4294967295 + }, + "routeTargets": { + "type": "array", + "description": "Route Target List.The expected formats are ASN(plain):NN >> example 4294967294:50, ASN.ASN:NN >> example 65533.65333:40, IP-address:NN >> example 10.10.10.10:65535. The possible values of ASN,NN are in range of 0-65535, ASN(plain) is in range of 0-4294967295.", + "minItems": 1, + "items": { + "type": "string" + } + } + }, + "required": [ + "action", + "sequenceNumber", + "routeTargets" + ] + }, + "IpGroupPatchProperties": { + "type": "object", + "description": "IP Group properties.", + "properties": { + "name": { + "type": "string", + "description": "IP Group name.", + "minLength": 1 + }, + "ipAddressType": { + "$ref": "#/definitions/IPAddressType", + "description": "IP Address type." + }, + "ipPrefixes": { + "type": "array", + "description": "List of IP Prefixes.", + "items": { + "type": "string" + } + } + } + }, + "IpGroupProperties": { + "type": "object", + "description": "IP Group properties.", + "properties": { + "name": { + "type": "string", + "description": "IP Group name.", + "minLength": 1 + }, + "ipAddressType": { + "$ref": "#/definitions/IPAddressType", + "description": "IP Address type." + }, + "ipPrefixes": { + "type": "array", + "description": "List of IP Prefixes.", + "items": { + "type": "string" + } + } + } + }, + "IpMatchCondition": { + "type": "object", + "description": "Defines the condition that can be filtered using the selected IPs.", + "properties": { + "type": { + "$ref": "#/definitions/SourceDestinationType", + "description": "IP Address type that needs to be matched." + }, + "prefixType": { + "$ref": "#/definitions/PrefixType", + "description": "IP Prefix Type that needs to be matched." + }, + "ipPrefixValues": { + "type": "array", + "description": "The list of IP Prefixes that need to be matched.", + "minItems": 1, + "items": { + "type": "string" + } + }, + "ipGroupNames": { + "type": "array", + "description": "The List of IP Group Names that need to be matched.", + "minItems": 1, + "items": { + "type": "string" + } + } + } + }, + "IpMatchConditionPatch": { + "type": "object", + "description": "Defines the condition that can be filtered using the selected IPs.", + "properties": { + "type": { + "$ref": "#/definitions/SourceDestinationType", + "description": "IP Address type that needs to be matched." + }, + "prefixType": { + "$ref": "#/definitions/PrefixType", + "description": "IP Prefix Type that needs to be matched." + }, + "ipPrefixValues": { + "type": "array", + "description": "The list of IP Prefixes that need to be matched.", + "minItems": 1, + "items": { + "type": "string" + } + }, + "ipGroupNames": { + "type": "array", + "description": "The List of IP Group Names that need to be matched.", + "minItems": 1, + "items": { + "type": "string" + } + } + } + }, + "IpPrefix": { + "type": "object", + "description": "The IP Prefix resource definition.", + "properties": { + "properties": { + "$ref": "#/definitions/IpPrefixProperties", + "description": "The IP Prefix properties" + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "IpPrefixListResult": { + "type": "object", + "description": "The response of a IpPrefix list operation.", + "properties": { + "value": { + "type": "array", + "description": "The IpPrefix items on this page", + "items": { + "$ref": "#/definitions/IpPrefix" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "IpPrefixPatch": { + "type": "object", + "description": "The IP Prefix patch resource definition.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/IpPrefixPatchProperties", + "description": "IP Prefix patchable properties." + } + } + }, + "IpPrefixPatchProperties": { + "type": "object", + "description": "IP Prefix patchable properties.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "ipPrefixRules": { + "type": "array", + "description": "The list of IP Prefix Rules.", + "items": { + "$ref": "#/definitions/IpPrefixRule" + }, + "x-ms-identifiers": [] + } + } + }, + "IpPrefixProperties": { + "type": "object", + "description": "IP Prefix Properties defines the properties of the resource.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "ipPrefixRules": { + "type": "array", + "description": "The list of IP Prefix Rules.", + "items": { + "$ref": "#/definitions/IpPrefixRule" + }, + "x-ms-identifiers": [] + }, + "configurationState": { + "$ref": "#/definitions/ConfigurationState", + "description": "Configuration state of the resource.", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning state of the resource.", + "readOnly": true + }, + "administrativeState": { + "$ref": "#/definitions/AdministrativeState", + "description": "Administrative state of the resource.", + "readOnly": true + } + }, + "required": [ + "ipPrefixRules" + ] + }, + "IpPrefixRule": { + "type": "object", + "description": "IP Prefix Rule properties.", + "properties": { + "action": { + "$ref": "#/definitions/CommunityActionTypes", + "description": "Action to be taken on the configuration. Example: Permit | Deny." + }, + "sequenceNumber": { + "type": "integer", + "format": "int64", + "description": "Sequence to insert to/delete from existing route. Prefix lists are evaluated starting with the lowest sequence number and continue down the list until a match is made. Once a match is made, the permit or deny statement is applied to that network and the rest of the list is ignored.", + "minimum": 1, + "maximum": 4294967295 + }, + "networkPrefix": { + "type": "string", + "description": "Network Prefix specifying IPv4/IPv6 packets to be permitted or denied. Example: 1.1.1.0/24 | 3FFE:FFFF:0:CD30::/126" + }, + "condition": { + "$ref": "#/definitions/Condition", + "description": "Specify prefix-list bounds." + }, + "subnetMaskLength": { + "type": "string", + "description": "SubnetMaskLength gives the minimum NetworkPrefix length to be matched. Possible values for IPv4 are 1 - 32 . Possible values of IPv6 are 1 - 128." + } + }, + "required": [ + "action", + "sequenceNumber", + "networkPrefix" + ] + }, + "IsMonitoringEnabled": { + "type": "string", + "description": "To check whether monitoring of internal network is enabled or not.", + "enum": [ + "True", + "False" + ], + "x-ms-enum": { + "name": "IsMonitoringEnabled", + "modelAsString": true, + "values": [ + { + "name": "True", + "value": "True", + "description": "IsMonitoringEnabled-True" + }, + { + "name": "False", + "value": "False", + "description": "IsMonitoringEnabled-False" + } + ] + } + }, + "IsolationDomainPatchProperties": { + "type": "object", + "description": "Isolation Domain Properties.", + "properties": { + "encapsulation": { + "$ref": "#/definitions/Encapsulation", + "description": "Type of encapsulation." + }, + "neighborGroupIds": { + "type": "array", + "description": "List of Neighbor Group IDs.", + "items": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/neighborGroups" + } + ] + } + } + } + } + }, + "IsolationDomainProperties": { + "type": "object", + "description": "Isolation Domain Properties.", + "properties": { + "encapsulation": { + "$ref": "#/definitions/Encapsulation", + "description": "Type of encapsulation." + }, + "neighborGroupIds": { + "type": "array", + "description": "List of Neighbor Group IDs.", + "items": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/neighborGroups" + } + ] + } + } + } + } + }, + "L2IsolationDomain": { + "type": "object", + "description": "The L2 Isolation Domain resource definition.", + "properties": { + "properties": { + "$ref": "#/definitions/L2IsolationDomainProperties", + "description": "The L2IsolationDomain properties" + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "L2IsolationDomainListResult": { + "type": "object", + "description": "The response of a L2IsolationDomain list operation.", + "properties": { + "value": { + "type": "array", + "description": "The L2IsolationDomain items on this page", + "items": { + "$ref": "#/definitions/L2IsolationDomain" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "L2IsolationDomainPatch": { + "type": "object", + "description": "The L2 Isolation Domain patch resource definition.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/L2IsolationDomainPatchProperties", + "description": "Resource properties." + } + } + }, + "L2IsolationDomainPatchProperties": { + "type": "object", + "description": "L2 Isolation Domain Patch Properties defines the patchable properties of the resource.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "mtu": { + "type": "integer", + "format": "int32", + "description": "Maximum transmission unit. Default value is 1500.", + "minimum": 64, + "maximum": 9200 + } + } + }, + "L2IsolationDomainProperties": { + "type": "object", + "description": "L2Isolation Domain Properties defines the properties of the resource.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "networkFabricId": { + "type": "string", + "format": "arm-id", + "description": "ARM Resource ID of the Network Fabric.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/networkFabrics" + } + ] + } + }, + "vlanId": { + "type": "integer", + "format": "int32", + "description": "Vlan Identifier of the Network Fabric. Example: 501.", + "minimum": 100, + "maximum": 4094 + }, + "mtu": { + "type": "integer", + "format": "int32", + "description": "Maximum transmission unit. Default value is 1500.", + "default": 1500, + "minimum": 64, + "maximum": 9200 + }, + "configurationState": { + "$ref": "#/definitions/ConfigurationState", + "description": "Configuration state of the resource.", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning state of the resource.", + "readOnly": true + }, + "administrativeState": { + "$ref": "#/definitions/AdministrativeState", + "description": "Administrative state of the resource.", + "readOnly": true + } + }, + "required": [ + "networkFabricId", + "vlanId" + ] + }, + "L3ExportRoutePolicy": { + "type": "object", + "description": "Array of ARM Resource ID of the RoutePolicies.", + "properties": { + "exportIpv4RoutePolicyId": { + "type": "string", + "format": "arm-id", + "description": "ARM Resource ID of the RoutePolicy.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/routePolicies" + } + ] + } + }, + "exportIpv6RoutePolicyId": { + "type": "string", + "format": "arm-id", + "description": "ARM Resource ID of the RoutePolicy.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/routePolicies" + } + ] + } + } + } + }, + "L3IsolationDomain": { + "type": "object", + "description": "The L3 Isolation Domain resource definition.", + "properties": { + "properties": { + "$ref": "#/definitions/L3IsolationDomainProperties", + "description": "The L3 Isolation Domain Properties" + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "L3IsolationDomainListResult": { + "type": "object", + "description": "The response of a L3IsolationDomain list operation.", + "properties": { + "value": { + "type": "array", + "description": "The L3IsolationDomain items on this page", + "items": { + "$ref": "#/definitions/L3IsolationDomain" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "L3IsolationDomainPatch": { + "type": "object", + "description": "The L3 Isolation Domain patch resource definition.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/L3IsolationDomainPatchProperties", + "description": "Resource properties." + } + } + }, + "L3IsolationDomainPatchProperties": { + "type": "object", + "description": "Resource properties.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "redistributeConnectedSubnets": { + "$ref": "#/definitions/RedistributeConnectedSubnets", + "description": "Advertise Connected Subnets. Ex: \"True\" | \"False\"." + }, + "redistributeStaticRoutes": { + "$ref": "#/definitions/RedistributeStaticRoutes", + "description": "Advertise Static Routes. Ex: \"True\" | \"False\"." + }, + "aggregateRouteConfiguration": { + "$ref": "#/definitions/AggregateRouteConfiguration", + "description": "Aggregate route configurations." + }, + "connectedSubnetRoutePolicy": { + "$ref": "#/definitions/ConnectedSubnetRoutePolicy", + "description": "Connected Subnet RoutePolicy" + } + } + }, + "L3IsolationDomainProperties": { + "type": "object", + "description": "L3 Isolation Domain Properties defines the properties of the resource.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "redistributeConnectedSubnets": { + "type": "string", + "description": "Advertise Connected Subnets. Ex: \"True\" | \"False\".", + "default": "True", + "enum": [ + "True", + "False" + ], + "x-ms-enum": { + "name": "RedistributeConnectedSubnets", + "modelAsString": true, + "values": [ + { + "name": "True", + "value": "True", + "description": "RedistributeConnectedSubnets-True" + }, + { + "name": "False", + "value": "False", + "description": "RedistributeConnectedSubnets-False" + } + ] + } + }, + "redistributeStaticRoutes": { + "type": "string", + "description": "Advertise Static Routes. Ex: \"True\" | \"False\".", + "default": "False", + "enum": [ + "True", + "False" + ], + "x-ms-enum": { + "name": "RedistributeStaticRoutes", + "modelAsString": true, + "values": [ + { + "name": "True", + "value": "True", + "description": "RedistributeStaticRoutes-True" + }, + { + "name": "False", + "value": "False", + "description": "RedistributeStaticRoutes-False" + } + ] + } + }, + "aggregateRouteConfiguration": { + "$ref": "#/definitions/AggregateRouteConfiguration", + "description": "Aggregate route configurations." + }, + "connectedSubnetRoutePolicy": { + "$ref": "#/definitions/ConnectedSubnetRoutePolicy", + "description": "Connected Subnet RoutePolicy" + }, + "networkFabricId": { + "type": "string", + "format": "arm-id", + "description": "ARM Resource ID of the Network Fabric.", + "x-ms-mutability": [ + "read", + "create" + ], + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/networkFabrics" + } + ] + } + }, + "configurationState": { + "$ref": "#/definitions/ConfigurationState", + "description": "Configuration state of the resource.", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning state of the resource.", + "readOnly": true + }, + "administrativeState": { + "$ref": "#/definitions/AdministrativeState", + "description": "Administrative state of the resource.", + "readOnly": true + } + }, + "required": [ + "networkFabricId" + ] + }, + "L3OptionBPatchProperties": { + "type": "object", + "description": "Option B configuration.", + "properties": { + "importRouteTargets": { + "type": "array", + "description": "RouteTargets to be applied. This is used for the backward compatibility.", + "items": { + "type": "string" + } + }, + "exportRouteTargets": { + "type": "array", + "description": "RouteTargets to be applied. This is used for the backward compatibility.", + "items": { + "type": "string" + } + }, + "routeTargets": { + "$ref": "#/definitions/RouteTargetPatchInformation", + "description": "RouteTargets to be applied." + } + } + }, + "L3OptionBProperties": { + "type": "object", + "description": "Option B configuration.", + "properties": { + "importRouteTargets": { + "type": "array", + "description": "RouteTargets to be applied. This is used for the backward compatibility.", + "items": { + "type": "string" + } + }, + "exportRouteTargets": { + "type": "array", + "description": "RouteTargets to be applied. This is used for the backward compatibility.", + "items": { + "type": "string" + } + }, + "routeTargets": { + "$ref": "#/definitions/RouteTargetInformation", + "description": "RouteTargets to be applied." + } + } + }, + "Layer2Configuration": { + "type": "object", + "description": "Common properties for Layer2 Configuration.", + "properties": { + "mtu": { + "type": "integer", + "format": "int32", + "description": "MTU of the packets between PE & CE.", + "default": 1500, + "minimum": 64, + "maximum": 9200 + }, + "interfaces": { + "type": "array", + "description": "List of network device interfaces resource IDs.", + "minItems": 1, + "items": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/networkDevices/networkInterfaces" + } + ] + } + } + } + } + }, + "Layer2ConfigurationPatch": { + "type": "object", + "description": "Common properties for Layer2 Configuration.", + "properties": { + "mtu": { + "type": "integer", + "format": "int32", + "description": "MTU of the packets between PE & CE.", + "minimum": 64, + "maximum": 9200 + }, + "interfaces": { + "type": "array", + "description": "List of network device interfaces resource IDs.", + "minItems": 1, + "items": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/networkDevices/networkInterfaces" + } + ] + } + } + } + } + }, + "Layer4Protocol": { + "type": "string", + "description": "Layer4 protocol type that needs to be matched.", + "enum": [ + "TCP", + "UDP" + ], + "x-ms-enum": { + "name": "Layer4Protocol", + "modelAsString": true, + "values": [ + { + "name": "TCP", + "value": "TCP", + "description": "TCP(Transmission Control Protocol) Protocol" + }, + { + "name": "UDP", + "value": "UDP", + "description": "UDP(User Datagram Protocol) Protocol" + } + ] + } + }, + "ManagedResourceGroupConfiguration": { + "type": "object", + "description": "Managed Resource Group configuration properties.", + "properties": { + "name": { + "type": "string", + "description": "The NFC service will be hosted in a Managed resource group." + }, + "location": { + "type": "string", + "description": "Managed resource group location.", + "x-ms-mutability": [ + "read", + "create" + ] + } + } + }, + "ManagementNetworkConfigurationProperties": { + "type": "object", + "description": "Configuration to be used to setup the management network.", + "properties": { + "infrastructureVpnConfiguration": { + "$ref": "#/definitions/VpnConfigurationProperties", + "description": "VPN Configuration properties." + }, + "workloadVpnConfiguration": { + "$ref": "#/definitions/VpnConfigurationProperties", + "description": "VPN Configuration properties." + } + }, + "required": [ + "infrastructureVpnConfiguration", + "workloadVpnConfiguration" + ] + }, + "ManagementNetworkPatchConfiguration": { + "type": "object", + "description": "Configuration to be used to setup the management network.", + "properties": { + "infrastructureVpnConfiguration": { + "$ref": "#/definitions/VpnConfigurationPatchableProperties", + "description": "VPN Configuration properties." + }, + "workloadVpnConfiguration": { + "$ref": "#/definitions/VpnConfigurationPatchableProperties", + "description": "VPN Configuration properties." + } + } + }, + "NeighborAddress": { + "type": "object", + "description": "Neighbor Address properties.", + "properties": { + "address": { + "type": "string", + "description": "IP Address.", + "minLength": 1 + }, + "configurationState": { + "$ref": "#/definitions/ConfigurationState", + "description": "Configuration state of the resource.", + "readOnly": true + } + } + }, + "NeighborAddressPatch": { + "type": "object", + "description": "Neighbor Address properties.", + "properties": { + "address": { + "type": "string", + "description": "IP Address.", + "minLength": 1 + }, + "configurationState": { + "$ref": "#/definitions/ConfigurationState", + "description": "Configuration state of the resource.", + "readOnly": true + } + } + }, + "NeighborGroup": { + "type": "object", + "description": "Defines the Neighbor Group.", + "properties": { + "properties": { + "$ref": "#/definitions/NeighborGroupProperties", + "description": "The NeighborGroup Properties" + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "NeighborGroupDestination": { + "type": "object", + "description": "An array of destination IPv4 Addresses or IPv6 Addresses.", + "properties": { + "ipv4Addresses": { + "type": "array", + "description": "Array of IPv4 Addresses.", + "maxItems": 16, + "items": { + "type": "string" + } + }, + "ipv6Addresses": { + "type": "array", + "description": "Array of IPv6 Addresses.", + "maxItems": 16, + "items": { + "type": "string" + } + } + } + }, + "NeighborGroupDestinationPatch": { + "type": "object", + "description": "An array of destination IPv4 Addresses or IPv6 Addresses.", + "properties": { + "ipv4Addresses": { + "type": "array", + "description": "Array of IPv4 Addresses.", + "maxItems": 16, + "items": { + "type": "string" + } + }, + "ipv6Addresses": { + "type": "array", + "description": "Array of IPv6 Addresses.", + "maxItems": 16, + "items": { + "type": "string" + } + } + } + }, + "NeighborGroupListResult": { + "type": "object", + "description": "The response of a NeighborGroup list operation.", + "properties": { + "value": { + "type": "array", + "description": "The NeighborGroup items on this page", + "items": { + "$ref": "#/definitions/NeighborGroup" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "NeighborGroupPatch": { + "type": "object", + "description": "The Neighbor Group Patch definition.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/NeighborGroupPatchProperties", + "description": "Neighbor Group Patch properties." + } + } + }, + "NeighborGroupPatchProperties": { + "type": "object", + "description": "Neighbor Group Patch properties.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "destination": { + "$ref": "#/definitions/NeighborGroupDestinationPatch", + "description": "An array of destination IPv4 Addresses or IPv6 Addresses." + } + } + }, + "NeighborGroupProperties": { + "type": "object", + "description": "Neighbor Group Properties defines the properties of the resource.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "destination": { + "$ref": "#/definitions/NeighborGroupDestination", + "description": "An array of destination IPv4 Addresses or IPv6 Addresses." + }, + "networkTapIds": { + "type": "array", + "description": "List of NetworkTap IDs where neighbor group is associated.", + "items": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/networkTaps" + } + ] + } + }, + "readOnly": true + }, + "networkTapRuleIds": { + "type": "array", + "description": "List of Network Tap Rule IDs where neighbor group is associated.", + "items": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/networkTapRules" + } + ] + } + }, + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The provisioning state of the resource.", + "readOnly": true + } + }, + "required": [ + "destination" + ] + }, + "NetworkDevice": { + "type": "object", + "description": "The Network Device resource definition.", + "properties": { + "properties": { + "$ref": "#/definitions/NetworkDeviceProperties", + "description": "The NetworkDevice properties" + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "NetworkDeviceListResult": { + "type": "object", + "description": "The response of a NetworkDevice list operation.", + "properties": { + "value": { + "type": "array", + "description": "The NetworkDevice items on this page", + "items": { + "$ref": "#/definitions/NetworkDevice" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "NetworkDevicePatchParameters": { + "type": "object", + "description": "The Network Device Patch Parameters defines the patch parameters of the resource.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/NetworkDevicePatchParametersProperties", + "description": "Network Device Patch properties." + } + } + }, + "NetworkDevicePatchParametersProperties": { + "type": "object", + "description": "Network Device Patch properties.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "hostName": { + "type": "string", + "description": "The host name of the device.", + "minLength": 1 + }, + "serialNumber": { + "type": "string", + "description": "Serial number of the device. Format of serial Number - Make;Model;HardwareRevisionId;SerialNumber.", + "minLength": 1 + } + } + }, + "NetworkDeviceProperties": { + "type": "object", + "description": "Network Device Properties defines the properties of the resource.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "hostName": { + "type": "string", + "description": "The host name of the device.", + "minLength": 1 + }, + "serialNumber": { + "type": "string", + "description": "Serial number of the device. Format of serial Number - Make;Model;HardwareRevisionId;SerialNumber.", + "minLength": 1 + }, + "version": { + "type": "string", + "description": "Current version of the device as defined in SKU.", + "readOnly": true + }, + "networkDeviceSku": { + "type": "string", + "description": "Network Device SKU name.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "networkDeviceRole": { + "$ref": "#/definitions/NetworkDeviceRole", + "description": "NetworkDeviceRole is the device role: Example: CE | ToR.", + "readOnly": true + }, + "networkRackId": { + "type": "string", + "description": "Reference to network rack resource id.", + "readOnly": true + }, + "managementIpv4Address": { + "type": "string", + "description": "Management IPv4 Address.", + "readOnly": true + }, + "managementIpv6Address": { + "type": "string", + "description": "Management IPv6 Address.", + "readOnly": true + }, + "configurationState": { + "$ref": "#/definitions/ConfigurationState", + "description": "Configuration state of the resource.", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning state of the resource.", + "readOnly": true + }, + "administrativeState": { + "$ref": "#/definitions/AdministrativeState", + "description": "Administrative state of the resource.", + "readOnly": true + } + }, + "required": [ + "serialNumber" + ] + }, + "NetworkDeviceRole": { + "type": "string", + "description": "NetworkDeviceRole is the device role: Example: CE | ToR.", + "enum": [ + "CE", + "ToR", + "NPB", + "TS", + "Management" + ], + "x-ms-enum": { + "name": "NetworkDeviceRole", + "modelAsString": true, + "values": [ + { + "name": "CE", + "value": "CE", + "description": "NetworkDeviceRole-CE(Customer Edge)" + }, + { + "name": "ToR", + "value": "ToR", + "description": "NetworkDeviceRole-ToR(top of rack)" + }, + { + "name": "NPB", + "value": "NPB", + "description": "NetworkDeviceRole-NPB(Network Packet Broker)" + }, + { + "name": "TS", + "value": "TS", + "description": "NetworkDeviceRole-TS(Terminal Server)" + }, + { + "name": "Management", + "value": "Management", + "description": "NetworkDeviceRole-Management" + } + ] + } + }, + "NetworkDeviceRoleName": { + "type": "string", + "description": "Available roles for the network device.", + "enum": [ + "CE", + "ToR", + "NPB", + "TS", + "Management" + ], + "x-ms-enum": { + "name": "NetworkDeviceRoleName", + "modelAsString": true, + "values": [ + { + "name": "CE", + "value": "CE", + "description": "NetworkDeviceRoleName-CE(Customer Edge)" + }, + { + "name": "ToR", + "value": "ToR", + "description": "NetworkDeviceRoleName-ToR(top of rack)" + }, + { + "name": "NPB", + "value": "NPB", + "description": "NetworkDeviceRoleName-NPB(Network Packet Broker)" + }, + { + "name": "TS", + "value": "TS", + "description": "NetworkDeviceRoleName-TS(Terminal Server)" + }, + { + "name": "Management", + "value": "Management", + "description": "NetworkDeviceRoleName-Management" + } + ] + } + }, + "NetworkDeviceSku": { + "type": "object", + "description": "The NetworkDeviceSku resource definition.", + "properties": { + "properties": { + "$ref": "#/definitions/NetworkDeviceSkuProperties", + "description": "The NetworkDeviceSku properties" + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "NetworkDeviceSkuListResult": { + "type": "object", + "description": "The response of a NetworkDeviceSku list operation.", + "properties": { + "value": { + "type": "array", + "description": "The NetworkDeviceSku items on this page", + "items": { + "$ref": "#/definitions/NetworkDeviceSku" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "NetworkDeviceSkuProperties": { + "type": "object", + "description": "Network Device SKU Properties defines the properties of the resource.", + "properties": { + "model": { + "type": "string", + "description": "Model of the network device." + }, + "manufacturer": { + "type": "string", + "description": "Manufacturer of the network device." + }, + "supportedVersions": { + "type": "array", + "description": "List of supported version details of network device.", + "items": { + "$ref": "#/definitions/SupportedVersionProperties" + }, + "x-ms-identifiers": [ + "version" + ] + }, + "supportedRoleTypes": { + "type": "array", + "description": "Available roles for the network device.", + "items": { + "$ref": "#/definitions/NetworkDeviceRoleName" + } + }, + "interfaces": { + "type": "array", + "description": "List of network device interfaces.", + "items": { + "$ref": "#/definitions/DeviceInterfaceProperties" + }, + "x-ms-identifiers": [ + "identifier" + ] + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning state of the resource.", + "readOnly": true + } + }, + "required": [ + "model" + ] + }, + "NetworkFabric": { + "type": "object", + "description": "The Network Fabric resource definition.", + "properties": { + "properties": { + "$ref": "#/definitions/NetworkFabricProperties", + "description": "The NetworkFabric Properties" + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "NetworkFabricController": { + "type": "object", + "description": "The Network Fabric Controller resource definition.", + "properties": { + "properties": { + "$ref": "#/definitions/NetworkFabricControllerProperties", + "description": "The NetworkFabricController Properties" + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "NetworkFabricControllerListResult": { + "type": "object", + "description": "The response of a NetworkFabricController list operation.", + "properties": { + "value": { + "type": "array", + "description": "The NetworkFabricController items on this page", + "items": { + "$ref": "#/definitions/NetworkFabricController" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "NetworkFabricControllerPatch": { + "type": "object", + "description": "The Network Fabric Controller Patch payload definition.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/NetworkFabricControllerPatchProperties", + "description": "Network Fabric Controller patch properties." + } + } + }, + "NetworkFabricControllerPatchProperties": { + "type": "object", + "description": "Network Fabric Controller patch properties.", + "properties": { + "infrastructureExpressRouteConnections": { + "type": "array", + "description": "As part of an update, the Infrastructure ExpressRoute CircuitID should be provided to create and Provision a NFC. This Express route is dedicated for Infrastructure services. (This is a Mandatory attribute)", + "items": { + "$ref": "#/definitions/ExpressRouteConnectionInformation" + }, + "x-ms-identifiers": [ + "expressRouteCircuitId" + ] + }, + "workloadExpressRouteConnections": { + "type": "array", + "description": "As part of an update, the workload ExpressRoute CircuitID should be provided to create and Provision a NFC. This Express route is dedicated for Workload services. (This is a Mandatory attribute).", + "items": { + "$ref": "#/definitions/ExpressRouteConnectionInformation" + }, + "x-ms-identifiers": [ + "expressRouteCircuitId" + ] + } + } + }, + "NetworkFabricControllerProperties": { + "type": "object", + "description": "NetworkFabricControllerProperties defines the resource properties.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "infrastructureExpressRouteConnections": { + "type": "array", + "description": "As part of an update, the Infrastructure ExpressRoute CircuitID should be provided to create and Provision a NFC. This Express route is dedicated for Infrastructure services. (This is a Mandatory attribute)", + "items": { + "$ref": "#/definitions/ExpressRouteConnectionInformation" + }, + "x-ms-identifiers": [ + "expressRouteCircuitId" + ] + }, + "workloadExpressRouteConnections": { + "type": "array", + "description": "As part of an update, the workload ExpressRoute CircuitID should be provided to create and Provision a NFC. This Express route is dedicated for Workload services. (This is a Mandatory attribute).", + "items": { + "$ref": "#/definitions/ExpressRouteConnectionInformation" + }, + "x-ms-identifiers": [ + "expressRouteCircuitId" + ] + }, + "infrastructureServices": { + "$ref": "#/definitions/ControllerServices", + "description": "InfrastructureServices IP ranges.", + "readOnly": true + }, + "workloadServices": { + "$ref": "#/definitions/ControllerServices", + "description": "WorkloadServices IP ranges.", + "readOnly": true + }, + "managedResourceGroupConfiguration": { + "$ref": "#/definitions/ManagedResourceGroupConfiguration", + "description": "Managed Resource Group configuration properties." + }, + "networkFabricIds": { + "type": "array", + "description": "The NF-ID will be an input parameter used by the NF to link and get associated with the parent NFC Service.", + "items": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/networkFabrics" + } + ] + } + }, + "readOnly": true + }, + "workloadManagementNetwork": { + "type": "boolean", + "description": "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.", + "default": true, + "readOnly": true + }, + "isWorkloadManagementNetworkEnabled": { + "type": "string", + "description": "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.", + "default": "True", + "enum": [ + "True", + "False" + ], + "x-ms-enum": { + "name": "IsWorkloadManagementNetworkEnabled", + "modelAsString": true, + "values": [ + { + "name": "True", + "value": "True", + "description": "IsWorkloadManagementNetworkEnabled-True" + }, + { + "name": "False", + "value": "False", + "description": "IsWorkloadManagementNetworkEnabled-False" + } + ] + } + }, + "tenantInternetGatewayIds": { + "type": "array", + "description": "List of tenant InternetGateway resource IDs", + "items": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/internetGateways" + } + ] + } + }, + "readOnly": true + }, + "ipv4AddressSpace": { + "type": "string", + "description": "IPv4 Network Fabric Controller Address Space.", + "default": "10.0.0.0/19", + "minLength": 1 + }, + "ipv6AddressSpace": { + "type": "string", + "description": "IPv6 Network Fabric Controller Address Space.", + "default": "FC00::/59", + "minLength": 1 + }, + "nfcSku": { + "type": "string", + "description": "Network Fabric Controller SKU.", + "default": "Standard", + "enum": [ + "Basic", + "Standard", + "HighPerformance" + ], + "x-ms-enum": { + "name": "NfcSku", + "modelAsString": true, + "values": [ + { + "name": "Basic", + "value": "Basic", + "description": "NfcSku-Basic" + }, + { + "name": "Standard", + "value": "Standard", + "description": "NfcSku-Standard" + }, + { + "name": "HighPerformance", + "value": "HighPerformance", + "description": "NfcSku-HighPerformance" + } + ] + } + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "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.", + "readOnly": true + } + } + }, + "NetworkFabricListResult": { + "type": "object", + "description": "The response of a NetworkFabric list operation.", + "properties": { + "value": { + "type": "array", + "description": "The NetworkFabric items on this page", + "items": { + "$ref": "#/definitions/NetworkFabric" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "NetworkFabricPatch": { + "type": "object", + "description": "The Network Fabric resource definition.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/NetworkFabricPatchProperties", + "description": "Network Fabric Patch properties." + } + } + }, + "NetworkFabricPatchProperties": { + "type": "object", + "description": "Network Fabric Patch properties.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "rackCount": { + "type": "integer", + "format": "int32", + "description": "Number of compute racks associated to Network Fabric.", + "minimum": 1, + "maximum": 8 + }, + "serverCountPerRack": { + "type": "integer", + "format": "int32", + "description": "Number of servers.Possible values are from 1-16.", + "minimum": 1, + "maximum": 16 + }, + "ipv4Prefix": { + "type": "string", + "description": "IPv4Prefix for Management Network. Example: 10.1.0.0/19.", + "minLength": 1 + }, + "ipv6Prefix": { + "type": "string", + "description": "IPv6Prefix for Management Network. Example: 3FFE:FFFF:0:CD40::/59.", + "minLength": 1 + }, + "fabricASN": { + "type": "integer", + "format": "int64", + "description": "ASN of CE devices for CE/PE connectivity.", + "minimum": 1, + "maximum": 4294967295 + }, + "terminalServerConfiguration": { + "$ref": "#/definitions/TerminalServerPatchConfiguration", + "description": "Network and credentials configuration already applied to terminal server." + }, + "managementNetworkConfiguration": { + "$ref": "#/definitions/ManagementNetworkPatchConfiguration", + "description": "Configuration to be used to setup the management network." + } + } + }, + "NetworkFabricProperties": { + "type": "object", + "description": "Network Fabric Properties defines the properties of the resource.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "networkFabricSku": { + "type": "string", + "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.", + "minLength": 1, + "x-ms-mutability": [ + "read", + "create" + ] + }, + "fabricVersion": { + "type": "string", + "description": "The version of Network Fabric.", + "minLength": 1 + }, + "routerIds": { + "type": "array", + "description": "Array of router IDs.", + "items": { + "type": "string" + }, + "readOnly": true + }, + "networkFabricControllerId": { + "type": "string", + "format": "arm-id", + "description": "Azure resource ID for the NetworkFabricController the NetworkFabric belongs.", + "x-ms-mutability": [ + "read", + "create" + ], + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/networkFabricControllers" + } + ] + } + }, + "rackCount": { + "type": "integer", + "format": "int32", + "description": "Number of compute racks associated to Network Fabric.", + "minimum": 1, + "maximum": 8 + }, + "serverCountPerRack": { + "type": "integer", + "format": "int32", + "description": "Number of servers.Possible values are from 1-16.", + "minimum": 1, + "maximum": 16 + }, + "ipv4Prefix": { + "type": "string", + "description": "IPv4Prefix for Management Network. Example: 10.1.0.0/19.", + "minLength": 1 + }, + "ipv6Prefix": { + "type": "string", + "description": "IPv6Prefix for Management Network. Example: 3FFE:FFFF:0:CD40::/59", + "minLength": 1 + }, + "fabricASN": { + "type": "integer", + "format": "int64", + "description": "ASN of CE devices for CE/PE connectivity.", + "minimum": 1, + "maximum": 4294967295 + }, + "terminalServerConfiguration": { + "$ref": "#/definitions/TerminalServerConfiguration", + "description": "Network and credentials configuration currently applied to terminal server." + }, + "managementNetworkConfiguration": { + "$ref": "#/definitions/ManagementNetworkConfigurationProperties", + "description": "Configuration to be used to setup the management network." + }, + "racks": { + "type": "array", + "description": "List of NetworkRack resource IDs under the Network Fabric. The number of racks allowed depends on the Network Fabric SKU.", + "items": { + "type": "string" + }, + "readOnly": true + }, + "l2IsolationDomains": { + "type": "array", + "description": "List of L2 Isolation Domain resource IDs under the Network Fabric.", + "items": { + "type": "string" + }, + "readOnly": true + }, + "l3IsolationDomains": { + "type": "array", + "description": "List of L3 Isolation Domain resource IDs under the Network Fabric.", + "items": { + "type": "string" + }, + "readOnly": true + }, + "configurationState": { + "$ref": "#/definitions/ConfigurationState", + "description": "Configuration state of the resource.", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "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.", + "readOnly": true + }, + "administrativeState": { + "$ref": "#/definitions/AdministrativeState", + "description": "Administrative state of the resource.", + "readOnly": true + } + }, + "required": [ + "networkFabricSku", + "networkFabricControllerId", + "serverCountPerRack", + "ipv4Prefix", + "fabricASN", + "terminalServerConfiguration", + "managementNetworkConfiguration" + ] + }, + "NetworkFabricSku": { + "type": "object", + "description": "The Network Fabric SKU resource definition.", + "properties": { + "properties": { + "$ref": "#/definitions/NetworkFabricSkuProperties", + "description": "The Network Fabric Sku properties" + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "NetworkFabricSkuListResult": { + "type": "object", + "description": "The response of a NetworkFabricSku list operation.", + "properties": { + "value": { + "type": "array", + "description": "The NetworkFabricSku items on this page", + "items": { + "$ref": "#/definitions/NetworkFabricSku" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "NetworkFabricSkuProperties": { + "type": "object", + "description": "Network Fabric SKU Properties define properties of the resource.", + "properties": { + "type": { + "$ref": "#/definitions/FabricSkuType", + "description": "Type of Network Fabric SKU.", + "readOnly": true + }, + "maxComputeRacks": { + "type": "integer", + "format": "int32", + "description": "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." + }, + "maximumServerCount": { + "type": "integer", + "format": "int32", + "description": "Maximum number of servers available for this Network Fabric SKU." + }, + "supportedVersions": { + "type": "array", + "description": "List of supported Network Fabric SKU versions.", + "items": { + "type": "string" + }, + "readOnly": true + }, + "details": { + "type": "string", + "description": "URL providing detailed configuration of the fabric SKU.", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning state of the resource.", + "readOnly": true + } + } + }, + "NetworkFabricUpgradeAction": { + "type": "string", + "description": "Action to be performed while upgrading the fabric.", + "enum": [ + "Start", + "Complete" + ], + "x-ms-enum": { + "name": "NetworkFabricUpgradeAction", + "modelAsString": true, + "values": [ + { + "name": "Start", + "value": "Start", + "description": "UpgradeAction-Start" + }, + { + "name": "Complete", + "value": "Complete", + "description": "UpgradeAction -Complete" + } + ] + } + }, + "NetworkInterface": { + "type": "object", + "description": "Defines the NetworkInterface resource.", + "properties": { + "properties": { + "$ref": "#/definitions/NetworkInterfaceProperties", + "description": "The NetworkInterface properties" + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "NetworkInterfaceListResult": { + "type": "object", + "description": "The response of a NetworkInterface list operation.", + "properties": { + "value": { + "type": "array", + "description": "The NetworkInterface items on this page", + "items": { + "$ref": "#/definitions/NetworkInterface" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "NetworkInterfacePatch": { + "type": "object", + "description": "The NetworkInterfacePatch resource definition.", + "properties": { + "properties": { + "$ref": "#/definitions/NetworkInterfacePatchProperties", + "description": "Network Interface Patch properties." + } + } + }, + "NetworkInterfacePatchProperties": { + "type": "object", + "description": "Network Interface Patch properties.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + } + } + }, + "NetworkInterfaceProperties": { + "type": "object", + "description": "Network Interface Properties defines the properties of the resource.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "physicalIdentifier": { + "type": "string", + "description": "Physical Identifier of the network interface.", + "readOnly": true + }, + "connectedTo": { + "type": "string", + "description": "The ARM resource id of the interface or compute server its connected to.", + "readOnly": true + }, + "interfaceType": { + "$ref": "#/definitions/InterfaceType", + "description": "The Interface Type. Example: Management/Data", + "readOnly": true + }, + "ipv4Address": { + "type": "string", + "description": "IPv4Address of the interface.", + "readOnly": true + }, + "ipv6Address": { + "type": "string", + "description": "IPv6Address of the interface.", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning state of the resource.", + "readOnly": true + }, + "administrativeState": { + "$ref": "#/definitions/AdministrativeState", + "description": "Administrative state of the resource.", + "readOnly": true + } + } + }, + "NetworkPacketBroker": { + "type": "object", + "description": "The NetworkPacketBroker resource definition.", + "properties": { + "properties": { + "$ref": "#/definitions/NetworkPacketBrokerProperties", + "description": "The NetworkPacketBroker properties" + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "NetworkPacketBrokerListResult": { + "type": "object", + "description": "The response of a NetworkPacketBroker list operation.", + "properties": { + "value": { + "type": "array", + "description": "The NetworkPacketBroker items on this page", + "items": { + "$ref": "#/definitions/NetworkPacketBroker" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "NetworkPacketBrokerPatch": { + "type": "object", + "description": "The NetworkPacketBroker patch resource definition.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, + "NetworkPacketBrokerProperties": { + "type": "object", + "description": "Network Packet Broker Properties defines the properties of the resource.", + "properties": { + "networkFabricId": { + "type": "string", + "format": "arm-id", + "description": "ARM resource ID of the Network Fabric.", + "x-ms-mutability": [ + "read", + "create" + ], + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/networkFabrics" + } + ] + } + }, + "networkDeviceIds": { + "type": "array", + "description": "List of ARM resource IDs of Network Devices [NPB].", + "items": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/networkDevices" + } + ] + } + }, + "readOnly": true + }, + "sourceInterfaceIds": { + "type": "array", + "description": "List of network interfaces across NPB devices that are used to mirror source traffic.", + "items": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/networkDevices/networkInterfaces" + } + ] + } + }, + "readOnly": true + }, + "networkTapIds": { + "type": "array", + "description": "List of network Tap IDs configured on NPB.", + "items": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/networkTaps" + } + ] + } + }, + "readOnly": true + }, + "neighborGroupIds": { + "type": "array", + "description": "List of neighbor group IDs configured on NPB.", + "items": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/networkTaps" + } + ] + } + }, + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning state of the resource.", + "readOnly": true + } + }, + "required": [ + "networkFabricId" + ] + }, + "NetworkRack": { + "type": "object", + "description": "The Network Rack resource definition.", + "properties": { + "properties": { + "$ref": "#/definitions/NetworkRackProperties", + "description": "The NetworkRack properties" + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "NetworkRackListResult": { + "type": "object", + "description": "The response of a NetworkRack list operation.", + "properties": { + "value": { + "type": "array", + "description": "The NetworkRack items on this page", + "items": { + "$ref": "#/definitions/NetworkRack" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "NetworkRackPatch": { + "type": "object", + "description": "Network Rack patch resource definition.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, + "NetworkRackProperties": { + "type": "object", + "description": "Network Rack Properties defines the properties of the resource.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "networkRackType": { + "$ref": "#/definitions/NetworkRackType", + "description": "Network Rack SKU name." + }, + "networkFabricId": { + "type": "string", + "format": "arm-id", + "description": "ARM resource ID of the Network Fabric.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/networkFabrics" + } + ] + } + }, + "networkDevices": { + "type": "array", + "description": "List of network device ARM resource IDs.", + "items": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/networkDevices" + } + ] + } + }, + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning state of the resource.", + "readOnly": true + } + }, + "required": [ + "networkFabricId" + ] + }, + "NetworkRackType": { + "type": "string", + "description": "Network Rack SKU name.", + "enum": [ + "Aggregate", + "Compute", + "Combined" + ], + "x-ms-enum": { + "name": "NetworkRackType", + "modelAsString": true, + "values": [ + { + "name": "Aggregate", + "value": "Aggregate", + "description": "NetworkRackType-Aggregate" + }, + { + "name": "Compute", + "value": "Compute", + "description": "NetworkRackType-Compute" + }, + { + "name": "Combined", + "value": "Combined", + "description": "NetworkRackType-Combined" + } + ] + } + }, + "NetworkTap": { + "type": "object", + "description": "The Network Tap resource definition.", + "properties": { + "properties": { + "$ref": "#/definitions/NetworkTapProperties", + "description": "The NetworkTap Properties" + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "NetworkTapListResult": { + "type": "object", + "description": "The response of a NetworkTap list operation.", + "properties": { + "value": { + "type": "array", + "description": "The NetworkTap items on this page", + "items": { + "$ref": "#/definitions/NetworkTap" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "NetworkTapPatch": { + "type": "object", + "description": "The NetworkFabric resource definition.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/NetworkTapPatchProperties", + "description": "Resource properties." + } + } + }, + "NetworkTapPatchProperties": { + "type": "object", + "description": "The Network Tap resource patch definition.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "pollingType": { + "$ref": "#/definitions/PollingType", + "description": "Polling type." + }, + "destinations": { + "type": "array", + "description": "List of destination properties to send the filter traffic.", + "items": { + "$ref": "#/definitions/DestinationPatchProperties" + }, + "x-ms-identifiers": [] + } + } + }, + "NetworkTapProperties": { + "type": "object", + "description": "Network Tap Properties defines the properties of the resource.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "networkPacketBrokerId": { + "type": "string", + "format": "arm-id", + "description": "ARM resource ID of the Network Packet Broker.", + "x-ms-mutability": [ + "read", + "create" + ], + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/networkFabrics" + } + ] + } + }, + "sourceTapRuleId": { + "type": "string", + "format": "arm-id", + "description": "Source Tap Rule Id. ARM Resource ID of the Network Tap Rule.", + "readOnly": true, + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/networkTapRules" + } + ] + } + }, + "destinations": { + "type": "array", + "description": "List of destinations to send the filter traffic.", + "items": { + "$ref": "#/definitions/DestinationProperties" + }, + "x-ms-identifiers": [] + }, + "pollingType": { + "type": "string", + "description": "Polling type.", + "default": "Pull", + "enum": [ + "Pull", + "Push" + ], + "x-ms-enum": { + "name": "PollingType", + "modelAsString": true, + "values": [ + { + "name": "Pull", + "value": "Pull", + "description": "PollingType-Pull" + }, + { + "name": "Push", + "value": "Push", + "description": "PollingType-Push" + } + ] + } + }, + "configurationState": { + "$ref": "#/definitions/ConfigurationState", + "description": "Gets the configurations state of the resource.", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "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.", + "readOnly": true + }, + "administrativeState": { + "$ref": "#/definitions/AdministrativeState", + "description": "Administrative state of the resource. Example -Enabled/Disabled", + "readOnly": true + } + }, + "required": [ + "networkPacketBrokerId", + "destinations" + ] + }, + "NetworkTapRule": { + "type": "object", + "description": "The NetworkTapRule resource definition.", + "properties": { + "properties": { + "$ref": "#/definitions/NetworkTapRuleProperties", + "description": "The NetworkTapRule Properties" + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "NetworkTapRuleAction": { + "type": "object", + "description": "Action that need to performed.", + "properties": { + "type": { + "$ref": "#/definitions/TapRuleActionType", + "description": "Type of actions that can be performed." + }, + "truncate": { + "type": "string", + "description": "Truncate. 0 indicates do not truncate.", + "minLength": 1 + }, + "isTimestampEnabled": { + "$ref": "#/definitions/BooleanEnumProperty", + "description": "The parameter to enable or disable the timestamp." + }, + "destinationId": { + "type": "string", + "format": "arm-id", + "description": "Destination Id. The ARM resource Id may be either Network To Network Interconnect or NeighborGroup.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/neighborGroups" + }, + { + "type": "Microsoft.ManagedNetworkFabric/networkFabrics/networkToNetworkInterconnects" + } + ] + } + }, + "matchConfigurationName": { + "type": "string", + "description": "The name of the match configuration. This is used when Goto type is provided. If Goto type is selected and no match configuration name is provided. It goes to next configuration.", + "minLength": 1 + } + } + }, + "NetworkTapRuleActionPatch": { + "type": "object", + "description": "Action that need to performed.", + "properties": { + "type": { + "$ref": "#/definitions/TapRuleActionType", + "description": "Type of actions that can be performed." + }, + "truncate": { + "type": "string", + "description": "Truncate. 0 indicates do not truncate.", + "minLength": 1 + }, + "isTimestampEnabled": { + "$ref": "#/definitions/BooleanEnumProperty", + "description": "The parameter to enable or disable the timestamp." + }, + "destinationId": { + "type": "string", + "format": "arm-id", + "description": "Destination Id. The ARM resource Id may be either Network To Network Interconnect or NeighborGroup.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/neighborGroups" + }, + { + "type": "Microsoft.ManagedNetworkFabric/networkFabrics/networkToNetworkInterconnects" + } + ] + } + }, + "matchConfigurationName": { + "type": "string", + "description": "The name of the match configuration. This is used when Goto type is provided. If Goto type is selected and no match configuration name is provided. It goes to next configuration.", + "minLength": 1 + } + } + }, + "NetworkTapRuleListResult": { + "type": "object", + "description": "The response of a NetworkTapRule list operation.", + "properties": { + "value": { + "type": "array", + "description": "The NetworkTapRule items on this page", + "items": { + "$ref": "#/definitions/NetworkTapRule" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "NetworkTapRuleMatchCondition": { + "type": "object", + "description": "Defines the match condition that is supported to filter the traffic.", + "properties": { + "protocolTypes": { + "type": "array", + "description": "List of the protocols that need to be matched.", + "minItems": 1, + "items": { + "type": "string" + } + }, + "vlanMatchCondition": { + "$ref": "#/definitions/VlanMatchCondition", + "description": "Vlan match condition that needs to be matched." + }, + "ipCondition": { + "$ref": "#/definitions/IpMatchCondition", + "description": "IP condition that needs to be matched." + }, + "encapsulationType": { + "type": "string", + "description": "Encapsulation Type that needs to be matched.", + "default": "None", + "enum": [ + "None", + "GTPv1" + ], + "x-ms-enum": { + "name": "EncapsulationType", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None", + "description": "None EncapsulationType" + }, + { + "name": "GTPv1", + "value": "GTPv1", + "description": "GTPv1 EncapsulationType" + } + ] + } + }, + "portCondition": { + "$ref": "#/definitions/PortCondition", + "description": "Defines the port condition that needs to be matched." + } + } + }, + "NetworkTapRuleMatchConditionPatch": { + "type": "object", + "description": "Defines the match condition that is supported to filter the traffic.", + "properties": { + "protocolTypes": { + "type": "array", + "description": "List of the protocols that need to be matched.", + "minItems": 1, + "items": { + "type": "string" + } + }, + "vlanMatchCondition": { + "$ref": "#/definitions/VlanMatchConditionPatch", + "description": "Vlan match condition that needs to be matched." + }, + "ipCondition": { + "$ref": "#/definitions/IpMatchConditionPatch", + "description": "IP condition that needs to be matched." + }, + "encapsulationType": { + "$ref": "#/definitions/EncapsulationType", + "description": "Encapsulation Type that needs to be matched." + }, + "portCondition": { + "$ref": "#/definitions/PortConditionPatch", + "description": "Defines the port condition that needs to be matched." + } + } + }, + "NetworkTapRuleMatchConfiguration": { + "type": "object", + "description": "Defines the match configuration that are supported to filter the traffic.", + "properties": { + "matchConfigurationName": { + "type": "string", + "description": "The name of the match configuration.", + "minLength": 1 + }, + "sequenceNumber": { + "type": "integer", + "format": "int64", + "description": "Sequence Number of the match configuration..", + "minimum": 1, + "maximum": 4294967295 + }, + "ipAddressType": { + "$ref": "#/definitions/IPAddressType", + "description": "Type of IP Address. IPv4 or IPv6" + }, + "matchConditions": { + "type": "array", + "description": "List of the match conditions.", + "items": { + "$ref": "#/definitions/NetworkTapRuleMatchCondition" + }, + "x-ms-identifiers": [] + }, + "actions": { + "type": "array", + "description": "List of actions that need to be performed for the matched conditions.", + "items": { + "$ref": "#/definitions/NetworkTapRuleAction" + }, + "x-ms-identifiers": [] + } + } + }, + "NetworkTapRuleMatchConfigurationPatch": { + "type": "object", + "description": "Defines the match configuration that are supported to filter the traffic.", + "properties": { + "matchConfigurationName": { + "type": "string", + "description": "The name of the match configuration.", + "minLength": 1 + }, + "sequenceNumber": { + "type": "integer", + "format": "int64", + "description": "Sequence Number of the match configuration..", + "minimum": 1, + "maximum": 4294967295 + }, + "ipAddressType": { + "$ref": "#/definitions/IPAddressType", + "description": "Type of IP Address. IPv4 or IPv6" + }, + "matchConditions": { + "type": "array", + "description": "List of the match conditions.", + "items": { + "$ref": "#/definitions/NetworkTapRuleMatchConditionPatch" + }, + "x-ms-identifiers": [] + }, + "actions": { + "type": "array", + "description": "List of actions that need to be performed for the matched conditions.", + "items": { + "$ref": "#/definitions/NetworkTapRuleActionPatch" + }, + "x-ms-identifiers": [] + } + } + }, + "NetworkTapRulePatch": { + "type": "object", + "description": "The NetworkTapRule resource definition.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/NetworkTapRulePatchProperties", + "description": "Network Tap Rule Patch properties." + } + } + }, + "NetworkTapRulePatchProperties": { + "type": "object", + "description": "Network Tap Rule Patch properties.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "configurationType": { + "$ref": "#/definitions/ConfigurationType", + "description": "Input method to configure Network Tap Rule." + }, + "tapRulesUrl": { + "type": "string", + "format": "uri", + "description": "Network Tap Rules file URL." + }, + "matchConfigurations": { + "type": "array", + "description": "List of match configurations.", + "minItems": 1, + "items": { + "$ref": "#/definitions/NetworkTapRuleMatchConfigurationPatch" + }, + "x-ms-identifiers": [] + }, + "dynamicMatchConfigurations": { + "type": "array", + "description": "List of dynamic match configurations.", + "minItems": 1, + "items": { + "$ref": "#/definitions/CommonDynamicMatchConfigurationPatch" + }, + "x-ms-identifiers": [] + } + } + }, + "NetworkTapRuleProperties": { + "type": "object", + "description": "Network Tap Rule Properties defines the resource properties.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "configurationType": { + "$ref": "#/definitions/ConfigurationType", + "description": "Input method to configure Network Tap Rule." + }, + "tapRulesUrl": { + "type": "string", + "format": "uri", + "description": "Network Tap Rules file URL." + }, + "matchConfigurations": { + "type": "array", + "description": "List of match configurations.", + "minItems": 1, + "items": { + "$ref": "#/definitions/NetworkTapRuleMatchConfiguration" + }, + "x-ms-identifiers": [] + }, + "dynamicMatchConfigurations": { + "type": "array", + "description": "List of dynamic match configurations.", + "minItems": 1, + "items": { + "$ref": "#/definitions/CommonDynamicMatchConfiguration" + }, + "x-ms-identifiers": [] + }, + "networkTapId": { + "type": "string", + "description": "The ARM resource Id of the NetworkTap.", + "readOnly": true + }, + "pollingIntervalInSeconds": { + "type": "number", + "description": "Polling interval in seconds.", + "default": 30, + "enum": [ + 30, + 60, + 90, + 120 + ], + "x-ms-enum": { + "name": "PollingIntervalInSeconds", + "modelAsString": true, + "values": [ + { + "name": "Thirty", + "value": 30, + "description": "30 PollingIntervalInSeconds" + }, + { + "name": "sixty", + "value": 60, + "description": "60 PollingIntervalInSeconds" + }, + { + "name": "Ninety", + "value": 90, + "description": "90 PollingIntervalInSeconds" + }, + { + "name": "OneTwenty", + "value": 120, + "description": "120 PollingIntervalInSeconds" + } + ] + } + }, + "lastSyncedTime": { + "type": "string", + "format": "date-time", + "description": "The last sync timestamp.", + "readOnly": true + }, + "configurationState": { + "$ref": "#/definitions/ConfigurationState", + "description": "Configuration state of the resource.", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning state of the resource.", + "readOnly": true + }, + "administrativeState": { + "$ref": "#/definitions/AdministrativeState", + "description": "Administrative state of the resource.", + "readOnly": true + } + }, + "required": [ + "configurationType" + ] + }, + "NetworkToNetworkInterconnect": { + "type": "object", + "description": "The Network To Network Interconnect resource definition.", + "properties": { + "properties": { + "$ref": "#/definitions/NetworkToNetworkInterconnectProperties", + "description": "The NetworkToNetworkInterconnect Properties" + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "NetworkToNetworkInterconnectListResult": { + "type": "object", + "description": "The response of a NetworkToNetworkInterconnect list operation.", + "properties": { + "value": { + "type": "array", + "description": "The NetworkToNetworkInterconnect items on this page", + "items": { + "$ref": "#/definitions/NetworkToNetworkInterconnect" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "NetworkToNetworkInterconnectPatch": { + "type": "object", + "description": "The Network To Network Interconnect resource patch definition.", + "properties": { + "id": { + "type": "string", + "format": "arm-id", + "description": "Fully qualified resource ID for the resource. E.g. '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'", + "readOnly": true + }, + "type": { + "type": "string", + "description": "The type of the resource. E.g. 'Microsoft.Compute/virtualMachines' or 'Microsoft.Storage/storageAccounts'", + "readOnly": true + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", + "description": "Azure Resource Manager metadata containing createdBy and modifiedBy information.", + "readOnly": true + }, + "properties": { + "$ref": "#/definitions/NetworkToNetworkInterconnectPatchProperties", + "description": "Resource properties." + } + } + }, + "NetworkToNetworkInterconnectPatchProperties": { + "type": "object", + "description": "Network Tap Rule Patch properties.", + "properties": { + "layer2Configuration": { + "$ref": "#/definitions/Layer2ConfigurationPatch", + "description": "Common properties for Layer2Configuration." + }, + "optionBLayer3Configuration": { + "$ref": "#/definitions/OptionBLayer3ConfigurationPatchProperties", + "description": "Common properties for Layer3Configuration." + }, + "npbStaticRouteConfiguration": { + "$ref": "#/definitions/NpbStaticRouteConfigurationPatch", + "description": "NPB Static Route Configuration properties." + }, + "importRoutePolicy": { + "$ref": "#/definitions/ImportRoutePolicyInformationPatch", + "description": "Import Route Policy information." + }, + "exportRoutePolicy": { + "$ref": "#/definitions/ExportRoutePolicyInformationPatch", + "description": "Export Route Policy information" + }, + "egressAclId": { + "type": "string", + "format": "arm-id", + "description": "Egress Acl. ARM resource ID of Access Control Lists.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/accessControlLists" + } + ] + } + }, + "ingressAclId": { + "type": "string", + "format": "arm-id", + "description": "Ingress Acl. ARM resource ID of Access Control Lists.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/accessControlLists" + } + ] + } + } + } + }, + "NetworkToNetworkInterconnectProperties": { + "type": "object", + "description": "Configuration used to setup CE-PE connectivity.", + "properties": { + "nniType": { + "type": "string", + "description": "Type of NNI used. Example: CE | NPB", + "default": "CE", + "enum": [ + "CE", + "NPB" + ], + "x-ms-enum": { + "name": "NniType", + "modelAsString": true, + "values": [ + { + "name": "CE", + "value": "CE", + "description": "NniType-CE(Customer Edge)." + }, + { + "name": "NPB", + "value": "NPB", + "description": "NniType-NPB(Network Packet Broker)." + } + ] + } + }, + "isManagementType": { + "type": "string", + "description": "Configuration to use NNI for Infrastructure Management. Example: True/False.", + "default": "True", + "enum": [ + "True", + "False" + ], + "x-ms-enum": { + "name": "IsManagementType", + "modelAsString": true, + "values": [ + { + "name": "True", + "value": "True", + "description": "IsManagementType-True" + }, + { + "name": "False", + "value": "False", + "description": "IsManagementType-False" + } + ] + } + }, + "useOptionB": { + "$ref": "#/definitions/BooleanEnumProperty", + "description": "Based on this option layer3 parameters are mandatory. Example: True/False" + }, + "layer2Configuration": { + "$ref": "#/definitions/Layer2Configuration", + "description": "Common properties for Layer2 Configuration." + }, + "optionBLayer3Configuration": { + "$ref": "#/definitions/OptionBLayer3Configuration", + "description": "Common properties for Layer3Configuration." + }, + "npbStaticRouteConfiguration": { + "$ref": "#/definitions/NpbStaticRouteConfiguration", + "description": "NPB Static Route Configuration properties." + }, + "importRoutePolicy": { + "$ref": "#/definitions/ImportRoutePolicyInformation", + "description": "Import Route Policy information." + }, + "exportRoutePolicy": { + "$ref": "#/definitions/ExportRoutePolicyInformation", + "description": "Export Route Policy information" + }, + "egressAclId": { + "type": "string", + "format": "arm-id", + "description": "Egress Acl. ARM resource ID of Access Control Lists.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/accessControlLists" + } + ] + } + }, + "ingressAclId": { + "type": "string", + "format": "arm-id", + "description": "Ingress Acl. ARM resource ID of Access Control Lists.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/accessControlLists" + } + ] + } + }, + "configurationState": { + "$ref": "#/definitions/ConfigurationState", + "description": "Configuration state of the resource.", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning state of the resource.", + "readOnly": true + }, + "administrativeState": { + "$ref": "#/definitions/AdministrativeState", + "description": "Administrative state of the resource.", + "readOnly": true + } + }, + "required": [ + "useOptionB" + ] + }, + "NpbStaticRouteConfiguration": { + "type": "object", + "description": "NPB Static Route Configuration properties.", + "properties": { + "bfdConfiguration": { + "$ref": "#/definitions/BfdConfiguration", + "description": "BFD Configuration properties." + }, + "ipv4Routes": { + "type": "array", + "description": "List of IPv4 Routes.", + "minItems": 1, + "items": { + "$ref": "#/definitions/StaticRouteProperties" + }, + "x-ms-identifiers": [ + "prefix" + ] + }, + "ipv6Routes": { + "type": "array", + "description": "List of IPv6 Routes.", + "minItems": 1, + "items": { + "$ref": "#/definitions/StaticRouteProperties" + }, + "x-ms-identifiers": [ + "prefix" + ] + } + } + }, + "NpbStaticRouteConfigurationPatch": { + "type": "object", + "description": "NPB Static Route Configuration properties.", + "properties": { + "bfdConfiguration": { + "$ref": "#/definitions/BfdPatchConfiguration", + "description": "BFD Configuration properties." + }, + "ipv4Routes": { + "type": "array", + "description": "List of IPv4 Routes.", + "minItems": 1, + "items": { + "$ref": "#/definitions/StaticRoutePatchProperties" + }, + "x-ms-identifiers": [ + "prefix" + ] + }, + "ipv6Routes": { + "type": "array", + "description": "List of IPv6 Routes.", + "minItems": 1, + "items": { + "$ref": "#/definitions/StaticRoutePatchProperties" + }, + "x-ms-identifiers": [ + "prefix" + ] + } + } + }, + "OptionBLayer3Configuration": { + "type": "object", + "description": "OptionB Layer3 Configuration properties.", + "properties": { + "primaryIpv4Prefix": { + "type": "string", + "description": "IPv4 Address Prefix." + }, + "primaryIpv6Prefix": { + "type": "string", + "description": "IPv6 Address Prefix." + }, + "secondaryIpv4Prefix": { + "type": "string", + "description": "Secondary IPv4 Address Prefix." + }, + "secondaryIpv6Prefix": { + "type": "string", + "description": "Secondary IPv6 Address Prefix." + }, + "peerASN": { + "type": "integer", + "format": "int64", + "description": "ASN of PE devices for CE/PE connectivity.Example : 28", + "minimum": 1, + "maximum": 4294967295 + }, + "vlanId": { + "type": "integer", + "format": "int32", + "description": "VLAN for CE/PE Layer 3 connectivity.Example : 501", + "minimum": 100, + "maximum": 4094 + }, + "fabricASN": { + "type": "integer", + "format": "int64", + "description": "ASN of CE devices for CE/PE connectivity.", + "readOnly": true + } + }, + "required": [ + "peerASN", + "vlanId" + ] + }, + "OptionBLayer3ConfigurationPatchProperties": { + "type": "object", + "description": "Common properties for Layer3Configuration.", + "properties": { + "primaryIpv4Prefix": { + "type": "string", + "description": "IPv4 Address Prefix." + }, + "primaryIpv6Prefix": { + "type": "string", + "description": "IPv6 Address Prefix." + }, + "secondaryIpv4Prefix": { + "type": "string", + "description": "Secondary IPv4 Address Prefix." + }, + "secondaryIpv6Prefix": { + "type": "string", + "description": "Secondary IPv6 Address Prefix." + }, + "peerASN": { + "type": "integer", + "format": "int64", + "description": "ASN of PE devices for CE/PE connectivity.Example : 28", + "minimum": 1, + "maximum": 4294967295 + }, + "vlanId": { + "type": "integer", + "format": "int32", + "description": "VLAN for CE/PE Layer 3 connectivity.Example : 501", + "minimum": 100, + "maximum": 4094 + }, + "fabricASN": { + "type": "integer", + "format": "int64", + "description": "ASN of CE devices for CE/PE connectivity.", + "readOnly": true + } + } + }, + "PeeringOption": { + "type": "string", + "description": "Peering option list.", + "enum": [ + "OptionA", + "OptionB" + ], + "x-ms-enum": { + "name": "PeeringOption", + "modelAsString": true, + "values": [ + { + "name": "OptionA", + "value": "OptionA", + "description": "PeeringOption-OptionA" + }, + { + "name": "OptionB", + "value": "OptionB", + "description": "PeeringOption-OptionB" + } + ] + } + }, + "PollingType": { + "type": "string", + "description": "Polling type.", + "enum": [ + "Pull", + "Push" + ], + "x-ms-enum": { + "name": "PollingType", + "modelAsString": true, + "values": [ + { + "name": "Pull", + "value": "Pull", + "description": "PollingType-Pull" + }, + { + "name": "Push", + "value": "Push", + "description": "PollingType-Push" + } + ] + } + }, + "PortCondition": { + "type": "object", + "description": "Port condition that needs to be matched.", + "properties": { + "portType": { + "$ref": "#/definitions/PortType", + "description": "Port type that needs to be matched." + }, + "layer4Protocol": { + "$ref": "#/definitions/Layer4Protocol", + "description": "Layer4 protocol type that needs to be matched." + }, + "ports": { + "type": "array", + "description": "List of the Ports that need to be matched.", + "items": { + "type": "string" + } + }, + "portGroupNames": { + "type": "array", + "description": "List of the port Group Names that need to be matched.", + "items": { + "type": "string" + } + } + }, + "required": [ + "layer4Protocol" + ] + }, + "PortConditionPatch": { + "type": "object", + "description": "Port condition that needs to be matched.", + "properties": { + "portType": { + "$ref": "#/definitions/PortType", + "description": "Port type that needs to be matched." + }, + "layer4Protocol": { + "$ref": "#/definitions/Layer4Protocol", + "description": "Layer4 protocol type that needs to be matched." + }, + "ports": { + "type": "array", + "description": "List of the Ports that need to be matched.", + "items": { + "type": "string" + } + }, + "portGroupNames": { + "type": "array", + "description": "List of the port Group Names that need to be matched.", + "items": { + "type": "string" + } + } + } + }, + "PortGroupPatchProperties": { + "type": "object", + "description": "Port Group Properties", + "properties": { + "name": { + "type": "string", + "description": "The name of the port group.", + "minLength": 1 + }, + "ports": { + "type": "array", + "description": "List of the ports that need to be matched.", + "items": { + "type": "string" + } + } + } + }, + "PortGroupProperties": { + "type": "object", + "description": "Port Group properties.", + "properties": { + "name": { + "type": "string", + "description": "The name of the port group.", + "minLength": 1 + }, + "ports": { + "type": "array", + "description": "List of the ports that need to be matched.", + "items": { + "type": "string" + } + } + } + }, + "PortType": { + "type": "string", + "description": "Port type that needs to be matched.", + "enum": [ + "SourcePort", + "DestinationPort" + ], + "x-ms-enum": { + "name": "PortType", + "modelAsString": true, + "values": [ + { + "name": "SourcePort", + "value": "SourcePort", + "description": "PortType SourcePort" + }, + { + "name": "DestinationPort", + "value": "DestinationPort", + "description": "PortType DestinationPort" + } + ] + } + }, + "PrefixType": { + "type": "string", + "description": "IP Prefix Type that needs to be matched.", + "enum": [ + "Prefix", + "LongestPrefix" + ], + "x-ms-enum": { + "name": "PrefixType", + "modelAsString": true, + "values": [ + { + "name": "Prefix", + "value": "Prefix", + "description": "PrefixType Prefix" + }, + { + "name": "LongestPrefix", + "value": "LongestPrefix", + "description": "PrefixType LongestPrefix" + } + ] + } + }, + "ProvisioningState": { + "type": "string", + "description": "The current provisioning state.", + "enum": [ + "Accepted", + "Succeeded", + "Updating", + "Deleting", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Accepted", + "value": "Accepted", + "description": "Accepted Provisioning State" + }, + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Succeeded Provisioning State" + }, + { + "name": "Updating", + "value": "Updating", + "description": "Updating Provisioning State" + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "Deleting Provisioning State" + }, + { + "name": "Failed", + "value": "Failed", + "description": "Failed Provisioning State" + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Canceled Provisioning State" + } + ] + }, + "readOnly": true + }, + "RebootProperties": { + "type": "object", + "description": "Reboot properties.", + "properties": { + "rebootType": { + "$ref": "#/definitions/RebootType", + "description": "Type of reboot to be performed. Example: GracefulRebootWithZTP" + } + } + }, + "RebootType": { + "type": "string", + "description": "Type of reboot to be performed. Example: GracefulRebootWithZTP", + "enum": [ + "GracefulRebootWithZTP", + "GracefulRebootWithoutZTP", + "UngracefulRebootWithZTP", + "UngracefulRebootWithoutZTP" + ], + "x-ms-enum": { + "name": "RebootType", + "modelAsString": true, + "values": [ + { + "name": "GracefulRebootWithZTP", + "value": "GracefulRebootWithZTP", + "description": "RebootType GracefulRebootWithZTP" + }, + { + "name": "GracefulRebootWithoutZTP", + "value": "GracefulRebootWithoutZTP", + "description": "RebootType GracefulRebootWithoutZTP" + }, + { + "name": "UngracefulRebootWithZTP", + "value": "UngracefulRebootWithZTP", + "description": "RebootType UngracefulRebootWithZTP" + }, + { + "name": "UngracefulRebootWithoutZTP", + "value": "UngracefulRebootWithoutZTP", + "description": "RebootType UngracefulRebootWithoutZTP" + } + ] + } + }, + "RedistributeConnectedSubnets": { + "type": "string", + "description": "Advertise Connected Subnets. Ex: \"True\" | \"False\".", + "enum": [ + "True", + "False" + ], + "x-ms-enum": { + "name": "RedistributeConnectedSubnets", + "modelAsString": true, + "values": [ + { + "name": "True", + "value": "True", + "description": "RedistributeConnectedSubnets-True" + }, + { + "name": "False", + "value": "False", + "description": "RedistributeConnectedSubnets-False" + } + ] + } + }, + "RedistributeStaticRoutes": { + "type": "string", + "description": "Advertise Static Routes. Ex: \"True\" | \"False\".", + "enum": [ + "True", + "False" + ], + "x-ms-enum": { + "name": "RedistributeStaticRoutes", + "modelAsString": true, + "values": [ + { + "name": "True", + "value": "True", + "description": "RedistributeStaticRoutes-True" + }, + { + "name": "False", + "value": "False", + "description": "RedistributeStaticRoutes-False" + } + ] + } + }, + "RoutePolicy": { + "type": "object", + "description": "The RoutePolicy resource definition.", + "properties": { + "properties": { + "$ref": "#/definitions/RoutePolicyProperties", + "description": "The RoutePolicy properties" + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "RoutePolicyActionType": { + "type": "string", + "description": "Action type. Example: Permit | Deny | Continue.", + "enum": [ + "Permit", + "Deny", + "Continue" + ], + "x-ms-enum": { + "name": "RoutePolicyActionType", + "modelAsString": true, + "values": [ + { + "name": "Permit", + "value": "Permit", + "description": "RoutePolicyActionType-Permit" + }, + { + "name": "Deny", + "value": "Deny", + "description": "RoutePolicyActionType-Deny" + }, + { + "name": "Continue", + "value": "Continue", + "description": "RoutePolicyActionType-Continue" + } + ] + } + }, + "RoutePolicyConditionType": { + "type": "string", + "description": "Type of the condition used.", + "enum": [ + "Or", + "And" + ], + "x-ms-enum": { + "name": "RoutePolicyConditionType", + "modelAsString": true, + "values": [ + { + "name": "Or", + "value": "Or", + "description": "RoutePolicyConditionType-Or" + }, + { + "name": "And", + "value": "And", + "description": "RoutePolicyConditionType-And" + } + ] + } + }, + "RoutePolicyListResult": { + "type": "object", + "description": "The response of a RoutePolicy list operation.", + "properties": { + "value": { + "type": "array", + "description": "The RoutePolicy items on this page", + "items": { + "$ref": "#/definitions/RoutePolicy" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "RoutePolicyPatch": { + "type": "object", + "description": "The Route Policy patch resource definition.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/RoutePolicyPatchableProperties", + "description": "The RoutePolicy patchable properties." + } + } + }, + "RoutePolicyPatchableProperties": { + "type": "object", + "description": "Route Policy patchable properties.", + "properties": { + "defaultAction": { + "$ref": "#/definitions/CommunityActionTypes", + "description": "Default action that needs to be applied when no condition is matched. Example: Permit | Deny." + }, + "statements": { + "type": "array", + "description": "Route Policy statements.", + "items": { + "$ref": "#/definitions/RoutePolicyStatementPatchProperties" + }, + "x-ms-identifiers": [] + } + } + }, + "RoutePolicyProperties": { + "type": "object", + "description": "RoutePolicyProperties defines the resource properties.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "defaultAction": { + "type": "string", + "description": "Default action that needs to be applied when no condition is matched. Example: Permit | Deny.", + "default": "Deny", + "enum": [ + "Permit", + "Deny" + ], + "x-ms-enum": { + "name": "CommunityActionTypes", + "modelAsString": true, + "values": [ + { + "name": "Permit", + "value": "Permit", + "description": "Permit Community Action Types" + }, + { + "name": "Deny", + "value": "Deny", + "description": "Deny Community Action Types" + } + ] + } + }, + "statements": { + "type": "array", + "description": "Route Policy statements.", + "items": { + "$ref": "#/definitions/RoutePolicyStatementProperties" + }, + "x-ms-identifiers": [ + "sequenceNumber" + ] + }, + "networkFabricId": { + "type": "string", + "format": "arm-id", + "description": "Arm Resource ID of Network Fabric.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/networkFabrics" + } + ] + } + }, + "addressFamilyType": { + "type": "string", + "description": "AddressFamilyType. This parameter decides whether the given ipv4 or ipv6 route policy.", + "default": "IPv4", + "enum": [ + "IPv4", + "IPv6" + ], + "x-ms-enum": { + "name": "AddressFamilyType", + "modelAsString": true, + "values": [ + { + "name": "IPv4", + "value": "IPv4", + "description": "AddressType-IPv4" + }, + { + "name": "IPv6", + "value": "IPv6", + "description": "AddressType-IPv6" + } + ] + } + }, + "configurationState": { + "$ref": "#/definitions/ConfigurationState", + "description": "Configuration state of the resource.", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning state of the resource.", + "readOnly": true + }, + "administrativeState": { + "$ref": "#/definitions/AdministrativeState", + "description": "Administrative state of the resource.", + "readOnly": true + } + }, + "required": [ + "statements", + "networkFabricId" + ] + }, + "RoutePolicyStatementPatchProperties": { + "type": "object", + "description": "Route Policy Statement properties.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "sequenceNumber": { + "type": "integer", + "format": "int64", + "description": "Sequence to insert to/delete from existing route.", + "minimum": 1, + "maximum": 4294967295 + }, + "condition": { + "$ref": "#/definitions/StatementConditionPatchProperties", + "description": "Route policy condition properties." + }, + "action": { + "$ref": "#/definitions/StatementActionPatchProperties", + "description": "Route policy action properties." + } + }, + "required": [ + "sequenceNumber", + "condition", + "action" + ] + }, + "RoutePolicyStatementProperties": { + "type": "object", + "description": "Route Policy Statement properties.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "sequenceNumber": { + "type": "integer", + "format": "int64", + "description": "Sequence to insert to/delete from existing route.", + "minimum": 1, + "maximum": 4294967295 + }, + "condition": { + "$ref": "#/definitions/StatementConditionProperties", + "description": "Route policy condition properties." + }, + "action": { + "$ref": "#/definitions/StatementActionProperties", + "description": "Route policy action properties." + } + }, + "required": [ + "sequenceNumber", + "condition", + "action" + ] + }, + "RouteTargetInformation": { + "type": "object", + "description": "Route Target Configuration.", + "properties": { + "importIpv4RouteTargets": { + "type": "array", + "description": "Route Targets to be applied for incoming routes into CE.", + "items": { + "type": "string" + } + }, + "importIpv6RouteTargets": { + "type": "array", + "description": "Route Targets to be applied for incoming routes from CE.", + "items": { + "type": "string" + } + }, + "exportIpv4RouteTargets": { + "type": "array", + "description": "Route Targets to be applied for outgoing routes into CE.", + "items": { + "type": "string" + } + }, + "exportIpv6RouteTargets": { + "type": "array", + "description": "Route Targets to be applied for outgoing routes from CE.", + "items": { + "type": "string" + } + } + } + }, + "RouteTargetPatchInformation": { + "type": "object", + "description": "Route Target Configuration.", + "properties": { + "importIpv4RouteTargets": { + "type": "array", + "description": "Route Targets to be applied for incoming routes into CE.", + "items": { + "type": "string" + } + }, + "importIpv6RouteTargets": { + "type": "array", + "description": "Route Targets to be applied for incoming routes from CE.", + "items": { + "type": "string" + } + }, + "exportIpv4RouteTargets": { + "type": "array", + "description": "Route Targets to be applied for outgoing routes into CE.", + "items": { + "type": "string" + } + }, + "exportIpv6RouteTargets": { + "type": "array", + "description": "Route Targets to be applied for outgoing routes from CE.", + "items": { + "type": "string" + } + } + } + }, + "RuleProperties": { + "type": "object", + "description": "Rules for the InternetGateways", + "properties": { + "action": { + "$ref": "#/definitions/Action", + "description": "Specify action." + }, + "addressList": { + "type": "array", + "description": "List of Addresses to be allowed or denied.", + "items": { + "type": "string" + } + } + }, + "required": [ + "action", + "addressList" + ] + }, + "SourceDestinationType": { + "type": "string", + "description": "IP Address type that needs to be matched.", + "enum": [ + "SourceIP", + "DestinationIP" + ], + "x-ms-enum": { + "name": "SourceDestinationType", + "modelAsString": true, + "values": [ + { + "name": "SourceIP", + "value": "SourceIP", + "description": "SourceDestinationType SourceIP" + }, + { + "name": "DestinationIP", + "value": "DestinationIP", + "description": "SourceDestinationType DestinationIP" + } + ] + } + }, + "StatementActionPatchProperties": { + "type": "object", + "description": "Route policy action properties", + "properties": { + "localPreference": { + "type": "integer", + "format": "int64", + "description": "Local Preference of the route policy.", + "minimum": 0, + "maximum": 4294967295 + }, + "actionType": { + "$ref": "#/definitions/RoutePolicyActionType", + "description": "Action type. Example: Permit | Deny | Continue." + }, + "ipCommunityProperties": { + "$ref": "#/definitions/ActionIpCommunityPatchProperties", + "description": "IP Community Properties." + }, + "ipExtendedCommunityProperties": { + "$ref": "#/definitions/ActionIpExtendedCommunityPatchProperties", + "description": "IP Extended Community Properties." + } + }, + "required": [ + "actionType" + ] + }, + "StatementActionProperties": { + "type": "object", + "description": "Route policy action properties.", + "properties": { + "localPreference": { + "type": "integer", + "format": "int64", + "description": "Local Preference of the route policy.", + "minimum": 0, + "maximum": 4294967295 + }, + "actionType": { + "$ref": "#/definitions/RoutePolicyActionType", + "description": "Action type. Example: Permit | Deny | Continue." + }, + "ipCommunityProperties": { + "$ref": "#/definitions/ActionIpCommunityProperties", + "description": "IP Community Properties." + }, + "ipExtendedCommunityProperties": { + "$ref": "#/definitions/ActionIpExtendedCommunityProperties", + "description": "IP Extended Community Properties." + } + }, + "required": [ + "actionType" + ] + }, + "StatementConditionPatchProperties": { + "type": "object", + "description": "Route policy statement condition properties.", + "properties": { + "ipCommunityIds": { + "type": "array", + "description": "List of IP Community resource IDs.", + "items": { + "type": "string" + } + }, + "ipExtendedCommunityIds": { + "type": "array", + "description": "List of IP Extended Community resource IDs.", + "items": { + "type": "string" + } + }, + "type": { + "$ref": "#/definitions/RoutePolicyConditionType", + "description": "Type of the condition used." + }, + "ipPrefixId": { + "type": "string", + "description": "Arm Resource Id of IpPrefix." + } + } + }, + "StatementConditionProperties": { + "type": "object", + "description": "Route policy statement condition properties.", + "properties": { + "ipCommunityIds": { + "type": "array", + "description": "List of IP Community resource IDs.", + "items": { + "type": "string" + } + }, + "ipExtendedCommunityIds": { + "type": "array", + "description": "List of IP Extended Community resource IDs.", + "items": { + "type": "string" + } + }, + "type": { + "type": "string", + "description": "Type of the condition used.", + "default": "Or", + "enum": [ + "Or", + "And" + ], + "x-ms-enum": { + "name": "RoutePolicyConditionType", + "modelAsString": true, + "values": [ + { + "name": "Or", + "value": "Or", + "description": "RoutePolicyConditionType-Or" + }, + { + "name": "And", + "value": "And", + "description": "RoutePolicyConditionType-And" + } + ] + } + }, + "ipPrefixId": { + "type": "string", + "description": "Arm Resource Id of IpPrefix." + } + } + }, + "StaticRouteConfiguration": { + "type": "object", + "description": "Static Route Configuration properties.", + "properties": { + "bfdConfiguration": { + "$ref": "#/definitions/BfdConfiguration", + "description": "BFD configuration properties" + }, + "ipv4Routes": { + "type": "array", + "description": "List of IPv4 Routes.", + "items": { + "$ref": "#/definitions/StaticRouteProperties" + }, + "x-ms-identifiers": [ + "prefix" + ] + }, + "ipv6Routes": { + "type": "array", + "description": "List of IPv6 Routes.", + "items": { + "$ref": "#/definitions/StaticRouteProperties" + }, + "x-ms-identifiers": [ + "prefix" + ] + }, + "extension": { + "type": "string", + "description": "Extension. Example: NoExtension | NPB.", + "default": "NoExtension", + "enum": [ + "NoExtension", + "NPB" + ], + "x-ms-enum": { + "name": "Extension", + "modelAsString": true, + "values": [ + { + "name": "NoExtension", + "value": "NoExtension", + "description": "Extension-NoExtension" + }, + { + "name": "NPB", + "value": "NPB", + "description": "Extension-NPB" + } + ] + } + } + } + }, + "StaticRoutePatchConfiguration": { + "type": "object", + "description": "Static Route Configuration properties.", + "properties": { + "bfdConfiguration": { + "$ref": "#/definitions/BfdPatchConfiguration", + "description": "BFD configuration properties" + }, + "ipv4Routes": { + "type": "array", + "description": "List of IPv4 Routes.", + "items": { + "$ref": "#/definitions/StaticRoutePatchProperties" + }, + "x-ms-identifiers": [ + "prefix" + ] + }, + "ipv6Routes": { + "type": "array", + "description": "List of IPv6 Routes.", + "items": { + "$ref": "#/definitions/StaticRoutePatchProperties" + }, + "x-ms-identifiers": [ + "prefix" + ] + } + } + }, + "StaticRoutePatchProperties": { + "type": "object", + "description": "Route Properties.", + "properties": { + "prefix": { + "type": "string", + "description": "Prefix of the route.", + "minLength": 1 + }, + "nextHop": { + "type": "array", + "description": "List of next hop addresses.", + "minItems": 1, + "items": { + "type": "string" + } + } + }, + "required": [ + "prefix", + "nextHop" + ] + }, + "StaticRouteProperties": { + "type": "object", + "description": "Route Properties.", + "properties": { + "prefix": { + "type": "string", + "description": "Prefix of the route.", + "minLength": 1 + }, + "nextHop": { + "type": "array", + "description": "List of next hop addresses.", + "minItems": 1, + "items": { + "type": "string" + } + } + }, + "required": [ + "prefix", + "nextHop" + ] + }, + "SupportedConnectorProperties": { + "type": "object", + "description": "Supported connector properties.", + "properties": { + "connectorType": { + "type": "string", + "description": "Type of connector used. Example: Optical." + }, + "maxSpeedInMbps": { + "type": "integer", + "format": "int32", + "description": "Maximum speed of the connector in Mbps." + } + } + }, + "SupportedVersionProperties": { + "type": "object", + "description": "Supported version details of the network device.", + "properties": { + "version": { + "type": "string", + "description": "Operating system and firmware combined versions." + }, + "vendorOsVersion": { + "type": "string", + "description": "Operating system version." + }, + "vendorFirmwareVersion": { + "type": "string", + "description": "Firmware version." + }, + "isDefault": { + "$ref": "#/definitions/BooleanEnumProperty", + "description": "If true newly provisioned Fabric will use this device version by default to bootstrap the network devices for the first time." + } + } + }, + "TapRuleActionType": { + "type": "string", + "description": "Type of actions that can be performed.", + "enum": [ + "Drop", + "Count", + "Log", + "Replicate", + "Goto", + "Redirect", + "Mirror" + ], + "x-ms-enum": { + "name": "TapRuleActionType", + "modelAsString": true, + "values": [ + { + "name": "Drop", + "value": "Drop", + "description": "TapRuleActionType-Drop" + }, + { + "name": "Count", + "value": "Count", + "description": "TapRuleActionType-Count" + }, + { + "name": "Log", + "value": "Log", + "description": "TapRuleActionType-Log" + }, + { + "name": "Replicate", + "value": "Replicate", + "description": "TapRuleActionType-Replicate" + }, + { + "name": "Goto", + "value": "Goto", + "description": "TapRuleActionType-Goto" + }, + { + "name": "Redirect", + "value": "Redirect", + "description": "TapRuleActionType-Redirect" + }, + { + "name": "Mirror", + "value": "Mirror", + "description": "TapRuleActionType-Mirror" + } + ] + } + }, + "TerminalServerConfiguration": { + "type": "object", + "description": "Network and credentials configuration currently applied to terminal server.", + "properties": { + "username": { + "type": "string", + "description": "Username for the terminal server connection.", + "minLength": 1 + }, + "password": { + "type": "string", + "format": "password", + "description": "Password for the terminal server connection.", + "minLength": 1, + "x-ms-secret": true + }, + "serialNumber": { + "type": "string", + "description": "Serial Number of Terminal server.", + "minLength": 1 + }, + "primaryIpv4Prefix": { + "type": "string", + "description": "IPv4 Address Prefix." + }, + "primaryIpv6Prefix": { + "type": "string", + "description": "IPv6 Address Prefix." + }, + "secondaryIpv4Prefix": { + "type": "string", + "description": "Secondary IPv4 Address Prefix." + }, + "secondaryIpv6Prefix": { + "type": "string", + "description": "Secondary IPv6 Address Prefix." + }, + "networkDeviceId": { + "type": "string", + "description": "ARM Resource ID used for the NetworkDevice.", + "readOnly": true + } + }, + "required": [ + "username", + "password", + "primaryIpv4Prefix", + "secondaryIpv4Prefix" + ] + }, + "TerminalServerPatchConfiguration": { + "type": "object", + "description": "Network and credentials configuration already applied to terminal server.", + "properties": { + "username": { + "type": "string", + "description": "Username for the terminal server connection.", + "minLength": 1 + }, + "password": { + "type": "string", + "format": "password", + "description": "Password for the terminal server connection.", + "minLength": 1, + "x-ms-secret": true + }, + "serialNumber": { + "type": "string", + "description": "Serial Number of Terminal server.", + "minLength": 1 + }, + "primaryIpv4Prefix": { + "type": "string", + "description": "IPv4 Address Prefix." + }, + "primaryIpv6Prefix": { + "type": "string", + "description": "IPv6 Address Prefix." + }, + "secondaryIpv4Prefix": { + "type": "string", + "description": "Secondary IPv4 Address Prefix." + }, + "secondaryIpv6Prefix": { + "type": "string", + "description": "Secondary IPv6 Address Prefix." + } + } + }, + "UpdateAdministrativeState": { + "type": "object", + "description": "Update administrative state on list of resources.", + "properties": { + "resourceIds": { + "type": "array", + "description": "Network Fabrics or Network Rack resource Id.", + "items": { + "type": "string" + } + }, + "state": { + "$ref": "#/definitions/EnableDisableState", + "description": "Administrative state." + } + } + }, + "UpdateDeviceAdministrativeState": { + "type": "object", + "description": "Update the administrative state on list of resources.", + "properties": { + "resourceIds": { + "type": "array", + "description": "Network Fabrics or Network Rack resource Id.", + "items": { + "type": "string" + } + }, + "state": { + "$ref": "#/definitions/DeviceAdministrativeState", + "description": "Administrative state." + } + } + }, + "UpdateVersion": { + "type": "object", + "description": "Update version properties.", + "properties": { + "version": { + "type": "string", + "description": "Specify the version." + } + } + }, + "UpgradeNetworkFabricProperties": { + "type": "object", + "description": "Model used for Upgrade Network Fabric Properties", + "properties": { + "version": { + "type": "string", + "description": "Specify the version." + }, + "action": { + "$ref": "#/definitions/NetworkFabricUpgradeAction", + "description": "Action to be performed while upgrading the fabric." + } + } + }, + "ValidateAction": { + "type": "string", + "description": "Validate action that to be performed", + "enum": [ + "Cabling", + "Configuration", + "Connectivity" + ], + "x-ms-enum": { + "name": "ValidateAction", + "modelAsString": true, + "values": [ + { + "name": "Cabling", + "value": "Cabling", + "description": "ValidateAction-Cabling" + }, + { + "name": "Configuration", + "value": "Configuration", + "description": "ValidateAction-Configuration" + }, + { + "name": "Connectivity", + "value": "Connectivity", + "description": "ValidateAction-Connectivity" + } + ] + } + }, + "ValidateConfigurationProperties": { + "type": "object", + "description": "Validation configuration properties.", + "properties": { + "validateAction": { + "$ref": "#/definitions/ValidateAction", + "description": "Validate action that to be performed" + } + } + }, + "ValidateConfigurationResponse": { + "type": "object", + "description": "The response of the action validate configuration.", + "properties": { + "error": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorDetail", + "description": "The error object." + }, + "configurationState": { + "$ref": "#/definitions/ConfigurationState", + "description": "Gets the configuration state.", + "readOnly": true + }, + "url": { + "type": "string", + "description": "URL for the details of the response." + } + } + }, + "VlanGroupPatchProperties": { + "type": "object", + "description": "Vlan group properties.", + "properties": { + "name": { + "type": "string", + "description": "Vlan group name.", + "minLength": 1 + }, + "vlans": { + "type": "array", + "description": "List of vlans.", + "items": { + "type": "string" + } + } + } + }, + "VlanGroupProperties": { + "type": "object", + "description": "Vlan group properties.", + "properties": { + "name": { + "type": "string", + "description": "Vlan group name.", + "minLength": 1 + }, + "vlans": { + "type": "array", + "description": "List of vlans.", + "items": { + "type": "string" + } + } + } + }, + "VlanMatchCondition": { + "type": "object", + "description": "The vlan match conditions that need to be matched.", + "properties": { + "vlans": { + "type": "array", + "description": "List of vlans that need to be matched. Inputs can be single vlan or the range of vlans.", + "minItems": 1, + "items": { + "type": "string" + } + }, + "innerVlans": { + "type": "array", + "description": "List of inner vlans that need to be matched.Inputs can be single vlan or the range of vlans.", + "minItems": 1, + "items": { + "type": "string" + } + }, + "vlanGroupNames": { + "type": "array", + "description": "List of vlan group names that need to be matched.", + "minItems": 1, + "items": { + "type": "string" + } + } + } + }, + "VlanMatchConditionPatch": { + "type": "object", + "description": "The vlan match conditions that need to be matched.", + "properties": { + "vlans": { + "type": "array", + "description": "List of vlans that need to be matched. Inputs can be single vlan or the range of vlans.", + "minItems": 1, + "items": { + "type": "string" + } + }, + "innerVlans": { + "type": "array", + "description": "List of inner vlans that need to be matched.Inputs can be single vlan or the range of vlans.", + "minItems": 1, + "items": { + "type": "string" + } + }, + "vlanGroupNames": { + "type": "array", + "description": "List of vlan group names that need to be matched.", + "minItems": 1, + "items": { + "type": "string" + } + } + } + }, + "VpnConfigurationPatchableProperties": { + "type": "object", + "description": "Network and credential configuration currently applied on terminal server.", + "properties": { + "networkToNetworkInterconnectId": { + "type": "string", + "format": "arm-id", + "description": "ARM Resource ID of the Network To Network Interconnect.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/networkFabrics/networkToNetworkInterconnects" + } + ] + } + }, + "peeringOption": { + "$ref": "#/definitions/PeeringOption", + "description": "Peering option list." + }, + "optionBProperties": { + "$ref": "#/definitions/VpnOptionBPatchProperties", + "description": "option B properties" + }, + "optionAProperties": { + "$ref": "#/definitions/VpnOptionAPatchProperties", + "description": "option A properties" + } + } + }, + "VpnConfigurationProperties": { + "type": "object", + "description": "Network and credential configuration currently applied on terminal server.", + "properties": { + "networkToNetworkInterconnectId": { + "type": "string", + "format": "arm-id", + "description": "ARM Resource ID of the Network To Network Interconnect.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/networkFabrics/networkToNetworkInterconnects" + } + ] + } + }, + "administrativeState": { + "$ref": "#/definitions/AdministrativeState", + "description": "Administrative state of the resource.", + "readOnly": true + }, + "peeringOption": { + "$ref": "#/definitions/PeeringOption", + "description": "Peering option list." + }, + "optionBProperties": { + "$ref": "#/definitions/VpnOptionBProperties", + "description": "option B properties" + }, + "optionAProperties": { + "$ref": "#/definitions/VpnOptionAProperties", + "description": "option A properties" + } + }, + "required": [ + "peeringOption" + ] + }, + "VpnOptionAPatchProperties": { + "type": "object", + "description": "Peering optionA properties", + "properties": { + "mtu": { + "type": "integer", + "format": "int32", + "description": "MTU to use for option A peering.", + "minimum": 64, + "maximum": 9200 + }, + "vlanId": { + "type": "integer", + "format": "int32", + "description": "Vlan Id.Example : 501", + "minimum": 501, + "maximum": 4094 + }, + "peerASN": { + "type": "integer", + "format": "int64", + "description": "Peer ASN number.Example : 28", + "minimum": 1, + "maximum": 4294967295 + }, + "bfdConfiguration": { + "$ref": "#/definitions/BfdPatchConfiguration", + "description": "BFD Configuration properties." + }, + "primaryIpv4Prefix": { + "type": "string", + "description": "IPv4 Address Prefix." + }, + "primaryIpv6Prefix": { + "type": "string", + "description": "IPv6 Address Prefix." + }, + "secondaryIpv4Prefix": { + "type": "string", + "description": "Secondary IPv4 Address Prefix." + }, + "secondaryIpv6Prefix": { + "type": "string", + "description": "Secondary IPv6 Address Prefix." + } + } + }, + "VpnOptionAProperties": { + "type": "object", + "description": "option A properties", + "properties": { + "mtu": { + "type": "integer", + "format": "int32", + "description": "MTU to use for option A peering.", + "default": 1500, + "minimum": 64, + "maximum": 9200 + }, + "vlanId": { + "type": "integer", + "format": "int32", + "description": "Vlan Id.Example : 501", + "minimum": 501, + "maximum": 4094 + }, + "peerASN": { + "type": "integer", + "format": "int64", + "description": "Peer ASN number.Example : 28", + "minimum": 1, + "maximum": 4294967295 + }, + "bfdConfiguration": { + "$ref": "#/definitions/BfdConfiguration", + "description": "BFD Configuration properties." + }, + "primaryIpv4Prefix": { + "type": "string", + "description": "IPv4 Address Prefix." + }, + "primaryIpv6Prefix": { + "type": "string", + "description": "IPv6 Address Prefix." + }, + "secondaryIpv4Prefix": { + "type": "string", + "description": "Secondary IPv4 Address Prefix." + }, + "secondaryIpv6Prefix": { + "type": "string", + "description": "Secondary IPv6 Address Prefix." + } + }, + "required": [ + "vlanId", + "peerASN" + ] + }, + "VpnOptionBPatchProperties": { + "type": "object", + "description": "Option B configuration to be used for Management VPN.", + "properties": { + "importRouteTargets": { + "type": "array", + "description": "Route Targets to be applied for incoming routes into CE. This is for backward compatibility.", + "items": { + "type": "string" + } + }, + "exportRouteTargets": { + "type": "array", + "description": "Route Targets to be applied for outgoing routes from CE. This is for backward compatibility.", + "items": { + "type": "string" + } + }, + "routeTargets": { + "$ref": "#/definitions/RouteTargetPatchInformation", + "description": "Route Targets to be applied." + } + } + }, + "VpnOptionBProperties": { + "type": "object", + "description": "Option B configuration to be used for Management VPN.", + "properties": { + "importRouteTargets": { + "type": "array", + "description": "Route Targets to be applied for incoming routes into CE. This is for backward compatibility.", + "items": { + "type": "string" + } + }, + "exportRouteTargets": { + "type": "array", + "description": "Route Targets to be applied for outgoing routes from CE. This is for backward compatibility.", + "items": { + "type": "string" + } + }, + "routeTargets": { + "$ref": "#/definitions/RouteTargetInformation", + "description": "Route Targets to be applied." + } + } + }, + "WellKnownCommunities": { + "type": "string", + "description": "`Internet` - Advertise routes to internet community.\n`LocalAS` - Advertise routes to only localAS peers.\n`NoAdvertise` - Don't advertise routes to any peer.\n`NoExport` - Don't export to next AS.\n`GShut` - Graceful Shutdown (GSHUT) withdraw routes before terminating BGP connection.", + "enum": [ + "Internet", + "LocalAS", + "NoAdvertise", + "NoExport", + "GShut" + ], + "x-ms-enum": { + "name": "WellKnownCommunities", + "modelAsString": true, + "values": [ + { + "name": "Internet", + "value": "Internet", + "description": "WellKnownCommunities-Internet" + }, + { + "name": "LocalAS", + "value": "LocalAS", + "description": "WellKnownCommunities-LocalAS" + }, + { + "name": "NoAdvertise", + "value": "NoAdvertise", + "description": "WellKnownCommunities-NoAdvertise" + }, + { + "name": "NoExport", + "value": "NoExport", + "description": "WellKnownCommunities-NoExport" + }, + { + "name": "GShut", + "value": "GShut", + "description": "WellKnownCommunities-GShut" + } + ] + } + } + }, + "parameters": {} +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/AccessControlLists_Create.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/AccessControlLists_Create.json new file mode 100644 index 000000000000..0a1fffd3c3f9 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/AccessControlLists_Create.json @@ -0,0 +1,457 @@ +{ + "title": "AccessControlLists_Create_MaximumSet_Gen", + "operationId": "AccessControlLists_Create", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "accessControlListName": "example-acl", + "resource": { + "properties": { + "annotation": "annotation", + "configurationType": "File", + "aclsUrl": "https://ACL-Storage-URL", + "defaultAction": "Permit", + "matchConfigurations": [ + { + "matchConfigurationName": "example-match", + "sequenceNumber": 123, + "ipAddressType": "IPv4", + "matchConditions": [ + { + "protocolTypes": [ + "TCP" + ], + "vlanMatchCondition": { + "vlans": [ + "20-30" + ], + "innerVlans": [ + "30" + ], + "vlanGroupNames": [ + "example-vlanGroup" + ] + }, + "ipCondition": { + "type": "SourceIP", + "prefixType": "Prefix", + "ipPrefixValues": [ + "10.20.20.20/12" + ], + "ipGroupNames": [ + "example-ipGroup" + ] + }, + "etherTypes": [ + "0x1" + ], + "fragments": [ + "0xff00-0xffff" + ], + "ipLengths": [ + "4094-9214" + ], + "ttlValues": [ + "23" + ], + "dscpMarkings": [ + "32" + ], + "protocolNeighbors": [ + "example-neighbor" + ], + "portCondition": { + "portType": "SourcePort", + "layer4Protocol": "TCP", + "ports": [ + "1-20" + ], + "portGroupNames": [ + "example-portGroup" + ], + "flags": [ + "established" + ] + }, + "icmpConfiguration": { + "icmpTypes": [ + "echo" + ] + } + } + ], + "actions": [ + { + "type": "Count", + "counterName": "example-counter", + "remarkComment": "example-remark", + "policeRateConfiguration": { + "bitRate": { + "rate": 15, + "unit": "bps" + }, + "burstSize": { + "size": 2, + "unit": "Bytes" + } + } + } + ] + } + ], + "dynamicMatchConfigurations": [ + { + "ipGroups": [ + { + "name": "example-ipGroup", + "ipAddressType": "IPv4", + "ipPrefixes": [ + "10.20.3.1/20" + ] + } + ], + "vlanGroups": [ + { + "name": "example-vlanGroup", + "vlans": [ + "20-30" + ] + } + ], + "portGroups": [ + { + "name": "example-portGroup", + "ports": [ + "100-200" + ] + } + ] + } + ], + "aclType": "ControlPlaneTrafficPolicy", + "deviceRole": "CE", + "globalAccessControlListActions": { + "enableCount": "True" + } + }, + "tags": { + "keyID": "keyValue" + }, + "location": "eastUs" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "configurationType": "File", + "aclsUrl": "https://ACL-Storage-URL", + "defaultAction": "Permit", + "matchConfigurations": [ + { + "matchConfigurationName": "example-match", + "sequenceNumber": 123, + "ipAddressType": "IPv4", + "matchConditions": [ + { + "protocolTypes": [ + "TCP" + ], + "vlanMatchCondition": { + "vlans": [ + "20-30" + ], + "innerVlans": [ + "30" + ], + "vlanGroupNames": [ + "example-vlanGroup" + ] + }, + "ipCondition": { + "type": "SourceIP", + "prefixType": "Prefix", + "ipPrefixValues": [ + "10.20.20.20/12" + ], + "ipGroupNames": [ + "example-ipGroup" + ] + }, + "etherTypes": [ + "0x1" + ], + "fragments": [ + "0xff00-0xffff" + ], + "ipLengths": [ + "4094-9214" + ], + "ttlValues": [ + "23" + ], + "dscpMarkings": [ + "32" + ], + "protocolNeighbors": [ + "example-neighbor" + ], + "portCondition": { + "portType": "SourcePort", + "layer4Protocol": "TCP", + "ports": [ + "1-20" + ], + "portGroupNames": [ + "example-portGroup" + ], + "flags": [ + "established" + ] + }, + "icmpConfiguration": { + "icmpTypes": [ + "echo" + ] + } + } + ], + "actions": [ + { + "type": "Count", + "counterName": "example-counter", + "remarkComment": "example-remark", + "policeRateConfiguration": { + "bitRate": { + "rate": 15, + "unit": "bps" + }, + "burstSize": { + "size": 2, + "unit": "Bytes" + } + } + } + ] + } + ], + "dynamicMatchConfigurations": [ + { + "ipGroups": [ + { + "name": "example-ipGroup", + "ipAddressType": "IPv4", + "ipPrefixes": [ + "10.20.3.1/20" + ] + } + ], + "vlanGroups": [ + { + "name": "example-vlanGroup", + "vlans": [ + "20-30" + ] + } + ], + "portGroups": [ + { + "name": "example-portGroup", + "ports": [ + "100-200" + ] + } + ] + } + ], + "lastSyncedTime": "2023-06-17T08:56:23.203Z", + "aclType": "ControlPlaneTrafficPolicy", + "deviceRole": "CE", + "globalAccessControlListActions": { + "enableCount": "True" + }, + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "keyValue" + }, + "location": "eastUs", + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "name": "example-acl", + "type": "microsoft.managednetworkfabric/accessControlLists", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotation", + "configurationType": "File", + "aclsUrl": "https://ACL-Storage-URL", + "defaultAction": "Permit", + "matchConfigurations": [ + { + "matchConfigurationName": "example-match", + "sequenceNumber": 123, + "ipAddressType": "IPv4", + "matchConditions": [ + { + "protocolTypes": [ + "TCP" + ], + "vlanMatchCondition": { + "vlans": [ + "20-30" + ], + "innerVlans": [ + "30" + ], + "vlanGroupNames": [ + "example-vlanGroup" + ] + }, + "ipCondition": { + "type": "SourceIP", + "prefixType": "Prefix", + "ipPrefixValues": [ + "10.20.20.20/12" + ], + "ipGroupNames": [ + "example-ipGroup" + ] + }, + "etherTypes": [ + "0x1" + ], + "fragments": [ + "0xff00-0xffff" + ], + "ipLengths": [ + "4094-9214" + ], + "ttlValues": [ + "23" + ], + "dscpMarkings": [ + "32" + ], + "protocolNeighbors": [ + "example-neighbor" + ], + "portCondition": { + "portType": "SourcePort", + "layer4Protocol": "TCP", + "ports": [ + "1-20" + ], + "portGroupNames": [ + "example-portGroup" + ], + "flags": [ + "established" + ] + }, + "icmpConfiguration": { + "icmpTypes": [ + "echo" + ] + } + } + ], + "actions": [ + { + "type": "Count", + "counterName": "example-counter", + "remarkComment": "example-remark", + "policeRateConfiguration": { + "bitRate": { + "rate": 15, + "unit": "bps" + }, + "burstSize": { + "size": 2, + "unit": "Bytes" + } + } + } + ] + } + ], + "dynamicMatchConfigurations": [ + { + "ipGroups": [ + { + "name": "example-ipGroup", + "ipAddressType": "IPv4", + "ipPrefixes": [ + "10.20.3.1/20" + ] + } + ], + "vlanGroups": [ + { + "name": "example-vlanGroup", + "vlans": [ + "20-30" + ] + } + ], + "portGroups": [ + { + "name": "example-portGroup", + "ports": [ + "100-200" + ] + } + ] + } + ], + "lastSyncedTime": "2023-06-17T08:56:23.203Z", + "aclType": "ControlPlaneTrafficPolicy", + "deviceRole": "CE", + "globalAccessControlListActions": { + "enableCount": "True" + }, + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastUs", + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "name": "example-acl", + "type": "microsoft.managednetworkfabric/accessControlLists", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/AccessControlLists_Delete.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/AccessControlLists_Delete.json new file mode 100644 index 000000000000..3cefd65c2e0e --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/AccessControlLists_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "AccessControlLists_Delete_MaximumSet_Gen", + "operationId": "AccessControlLists_Delete", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "accessControlListName": "example-acl" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/AccessControlLists_Get.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/AccessControlLists_Get.json new file mode 100644 index 000000000000..e9d396a65713 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/AccessControlLists_Get.json @@ -0,0 +1,166 @@ +{ + "title": "AccessControlLists_Get_MaximumSet_Gen", + "operationId": "AccessControlLists_Get", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "accessControlListName": "example-acl" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "configurationType": "File", + "aclsUrl": "https://ACL-Storage-URL", + "defaultAction": "Permit", + "matchConfigurations": [ + { + "matchConfigurationName": "example-match", + "sequenceNumber": 123, + "ipAddressType": "IPv4", + "matchConditions": [ + { + "protocolTypes": [ + "TCP" + ], + "vlanMatchCondition": { + "vlans": [ + "20-30" + ], + "innerVlans": [ + "30" + ], + "vlanGroupNames": [ + "example-vlanGroup" + ] + }, + "ipCondition": { + "type": "SourceIP", + "prefixType": "Prefix", + "ipPrefixValues": [ + "10.20.20.20/12" + ], + "ipGroupNames": [ + "example-ipGroup" + ] + }, + "etherTypes": [ + "0x1" + ], + "fragments": [ + "0xff00-0xffff" + ], + "ipLengths": [ + "4094-9214" + ], + "ttlValues": [ + "23" + ], + "dscpMarkings": [ + "32" + ], + "protocolNeighbors": [ + "example-neighbor" + ], + "portCondition": { + "portType": "SourcePort", + "layer4Protocol": "TCP", + "ports": [ + "1-20" + ], + "portGroupNames": [ + "example-portGroup" + ], + "flags": [ + "established" + ] + }, + "icmpConfiguration": { + "icmpTypes": [ + "echo" + ] + } + } + ], + "actions": [ + { + "type": "Count", + "counterName": "example-counter", + "remarkComment": "example-remark", + "policeRateConfiguration": { + "bitRate": { + "rate": 15, + "unit": "bps" + }, + "burstSize": { + "size": 2, + "unit": "Bytes" + } + } + } + ] + } + ], + "dynamicMatchConfigurations": [ + { + "ipGroups": [ + { + "name": "example-ipGroup", + "ipAddressType": "IPv4", + "ipPrefixes": [ + "10.20.3.1/20" + ] + } + ], + "vlanGroups": [ + { + "name": "example-vlanGroup", + "vlans": [ + "20-30" + ] + } + ], + "portGroups": [ + { + "name": "example-portGroup", + "ports": [ + "100-200" + ] + } + ] + } + ], + "lastSyncedTime": "2023-06-17T08:56:23.203Z", + "aclType": "ControlPlaneTrafficPolicy", + "deviceRole": "CE", + "globalAccessControlListActions": { + "enableCount": "True" + }, + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "keyValue" + }, + "location": "eastUs", + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "name": "example-acl", + "type": "microsoft.managednetworkfabric/accessControlLists", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/AccessControlLists_ListByResourceGroup.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/AccessControlLists_ListByResourceGroup.json new file mode 100644 index 000000000000..cba54d8fba1e --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/AccessControlLists_ListByResourceGroup.json @@ -0,0 +1,170 @@ +{ + "title": "AccessControlLists_ListByResourceGroup_MaximumSet_Gen", + "operationId": "AccessControlLists_ListByResourceGroup", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "configurationType": "File", + "aclsUrl": "https://ACL-Storage-URL", + "defaultAction": "Permit", + "matchConfigurations": [ + { + "matchConfigurationName": "example-match", + "sequenceNumber": 123, + "ipAddressType": "IPv4", + "matchConditions": [ + { + "protocolTypes": [ + "TCP" + ], + "vlanMatchCondition": { + "vlans": [ + "20-30" + ], + "innerVlans": [ + "30" + ], + "vlanGroupNames": [ + "example-vlanGroup" + ] + }, + "ipCondition": { + "type": "SourceIP", + "prefixType": "Prefix", + "ipPrefixValues": [ + "10.20.20.20/12" + ], + "ipGroupNames": [ + "example-ipGroup" + ] + }, + "etherTypes": [ + "0x1" + ], + "fragments": [ + "0xff00-0xffff" + ], + "ipLengths": [ + "4094-9214" + ], + "ttlValues": [ + "23" + ], + "dscpMarkings": [ + "32" + ], + "protocolNeighbors": [ + "example-neighbor" + ], + "portCondition": { + "portType": "SourcePort", + "layer4Protocol": "TCP", + "ports": [ + "1-20" + ], + "portGroupNames": [ + "example-portGroup" + ], + "flags": [ + "established" + ] + }, + "icmpConfiguration": { + "icmpTypes": [ + "echo" + ] + } + } + ], + "actions": [ + { + "type": "Count", + "counterName": "example-counter", + "remarkComment": "example-remark", + "policeRateConfiguration": { + "bitRate": { + "rate": 15, + "unit": "bps" + }, + "burstSize": { + "size": 2, + "unit": "Bytes" + } + } + } + ] + } + ], + "dynamicMatchConfigurations": [ + { + "ipGroups": [ + { + "name": "example-ipGroup", + "ipAddressType": "IPv4", + "ipPrefixes": [ + "10.20.3.1/20" + ] + } + ], + "vlanGroups": [ + { + "name": "example-vlanGroup", + "vlans": [ + "20-30" + ] + } + ], + "portGroups": [ + { + "name": "example-portGroup", + "ports": [ + "100-200" + ] + } + ] + } + ], + "lastSyncedTime": "2023-06-17T08:56:23.203Z", + "aclType": "ControlPlaneTrafficPolicy", + "deviceRole": "CE", + "globalAccessControlListActions": { + "enableCount": "True" + }, + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "keyValue" + }, + "location": "eastUs", + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "name": "example-acl", + "type": "microsoft.managednetworkfabric/accessControlLists", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/AccessControlLists_ListBySubscription.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/AccessControlLists_ListBySubscription.json new file mode 100644 index 000000000000..123cae6f5ddd --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/AccessControlLists_ListBySubscription.json @@ -0,0 +1,169 @@ +{ + "title": "AccessControlLists_ListBySubscription_MaximumSet_Gen", + "operationId": "AccessControlLists_ListBySubscription", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "configurationType": "File", + "aclsUrl": "https://ACL-Storage-URL", + "defaultAction": "Permit", + "matchConfigurations": [ + { + "matchConfigurationName": "example-match", + "sequenceNumber": 123, + "ipAddressType": "IPv4", + "matchConditions": [ + { + "protocolTypes": [ + "TCP" + ], + "vlanMatchCondition": { + "vlans": [ + "20-30" + ], + "innerVlans": [ + "30" + ], + "vlanGroupNames": [ + "example-vlanGroup" + ] + }, + "ipCondition": { + "type": "SourceIP", + "prefixType": "Prefix", + "ipPrefixValues": [ + "10.20.20.20/12" + ], + "ipGroupNames": [ + "example-ipGroup" + ] + }, + "etherTypes": [ + "0x1" + ], + "fragments": [ + "0xff00-0xffff" + ], + "ipLengths": [ + "4094-9214" + ], + "ttlValues": [ + "23" + ], + "dscpMarkings": [ + "32" + ], + "protocolNeighbors": [ + "example-neighbor" + ], + "portCondition": { + "portType": "SourcePort", + "layer4Protocol": "TCP", + "ports": [ + "1-20" + ], + "portGroupNames": [ + "example-portGroup" + ], + "flags": [ + "established" + ] + }, + "icmpConfiguration": { + "icmpTypes": [ + "echo" + ] + } + } + ], + "actions": [ + { + "type": "Count", + "counterName": "example-counter", + "remarkComment": "example-remark", + "policeRateConfiguration": { + "bitRate": { + "rate": 15, + "unit": "bps" + }, + "burstSize": { + "size": 2, + "unit": "Bytes" + } + } + } + ] + } + ], + "dynamicMatchConfigurations": [ + { + "ipGroups": [ + { + "name": "example-ipGroup", + "ipAddressType": "IPv4", + "ipPrefixes": [ + "10.20.3.1/20" + ] + } + ], + "vlanGroups": [ + { + "name": "example-vlanGroup", + "vlans": [ + "20-30" + ] + } + ], + "portGroups": [ + { + "name": "example-portGroup", + "ports": [ + "100-200" + ] + } + ] + } + ], + "lastSyncedTime": "2023-06-17T08:56:23.203Z", + "aclType": "ControlPlaneTrafficPolicy", + "deviceRole": "CE", + "globalAccessControlListActions": { + "enableCount": "True" + }, + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "keyValue" + }, + "location": "eastUs", + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "name": "example-acl", + "type": "microsoft.managednetworkfabric/accessControlLists", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/AccessControlLists_Resync.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/AccessControlLists_Resync.json new file mode 100644 index 000000000000..01d3ca5bd192 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/AccessControlLists_Resync.json @@ -0,0 +1,34 @@ +{ + "title": "AccessControlLists_Resync_MaximumSet_Gen", + "operationId": "AccessControlLists_Resync", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "accessControlListName": "example-acl" + }, + "responses": { + "200": { + "body": { + "configurationState": "Succeeded", + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/AccessControlLists_Update.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/AccessControlLists_Update.json new file mode 100644 index 000000000000..d46cf9755223 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/AccessControlLists_Update.json @@ -0,0 +1,304 @@ +{ + "title": "AccessControlLists_Update_MaximumSet_Gen", + "operationId": "AccessControlLists_Update", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "accessControlListName": "example-acl", + "properties": { + "tags": { + "KeyId": "KeyValue" + }, + "properties": { + "configurationType": "File", + "aclsUrl": "https://microsoft.com/a", + "defaultAction": "Permit", + "matchConfigurations": [ + { + "matchConfigurationName": "example-match", + "sequenceNumber": 123, + "ipAddressType": "IPv4", + "matchConditions": [ + { + "protocolTypes": [ + "TCP" + ], + "vlanMatchCondition": { + "vlans": [ + "20-30" + ], + "innerVlans": [ + "30" + ], + "vlanGroupNames": [ + "example-vlanGroup" + ] + }, + "ipCondition": { + "type": "SourceIP", + "prefixType": "Prefix", + "ipPrefixValues": [ + "10.20.20.20/12" + ], + "ipGroupNames": [ + "example-ipGroup" + ] + }, + "etherTypes": [ + "0x1" + ], + "fragments": [ + "0xff00-0xffff" + ], + "ipLengths": [ + "4094-9214" + ], + "ttlValues": [ + "23" + ], + "dscpMarkings": [ + "32" + ], + "portCondition": { + "portType": "SourcePort", + "layer4Protocol": "TCP", + "ports": [ + "1-20" + ], + "portGroupNames": [ + "example-portGroup" + ], + "flags": [ + "established" + ] + }, + "protocolNeighbors": [ + "example-neighbor" + ], + "icmpConfiguration": { + "icmpTypes": [ + "echo" + ] + } + } + ], + "actions": [ + { + "type": "Count", + "counterName": "example-counter", + "remarkComment": "example-remark", + "policeRateConfiguration": { + "bitRate": { + "rate": 15, + "unit": "bps" + }, + "burstSize": { + "size": 2, + "unit": "Bytes" + } + } + } + ] + } + ], + "dynamicMatchConfigurations": [ + { + "ipGroups": [ + { + "name": "example-ipGroup", + "ipAddressType": "IPv4", + "ipPrefixes": [ + "10.20.3.1/20" + ] + } + ], + "vlanGroups": [ + { + "name": "example-vlanGroup", + "vlans": [ + "20-30" + ] + } + ], + "portGroups": [ + { + "name": "example-portGroup", + "ports": [ + "100-200" + ] + } + ] + } + ], + "aclType": "ControlPlaneTrafficPolicy", + "deviceRole": "CE", + "globalAccessControlListActions": { + "enableCount": "True" + }, + "annotation": "annotation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "configurationType": "File", + "aclsUrl": "https://ACL-Storage-URL", + "defaultAction": "Permit", + "matchConfigurations": [ + { + "matchConfigurationName": "example-match", + "sequenceNumber": 123, + "ipAddressType": "IPv4", + "matchConditions": [ + { + "protocolTypes": [ + "TCP" + ], + "vlanMatchCondition": { + "vlans": [ + "20-30" + ], + "innerVlans": [ + "30" + ], + "vlanGroupNames": [ + "example-vlanGroup" + ] + }, + "ipCondition": { + "type": "SourceIP", + "prefixType": "Prefix", + "ipPrefixValues": [ + "10.20.20.20/12" + ], + "ipGroupNames": [ + "example-ipGroup" + ] + }, + "etherTypes": [ + "0x1" + ], + "fragments": [ + "0xff00-0xffff" + ], + "ipLengths": [ + "4094-9214" + ], + "ttlValues": [ + "23" + ], + "dscpMarkings": [ + "32" + ], + "protocolNeighbors": [ + "example-neighbor" + ], + "portCondition": { + "portType": "SourcePort", + "layer4Protocol": "TCP", + "ports": [ + "1-20" + ], + "portGroupNames": [ + "example-portGroup" + ], + "flags": [ + "established" + ] + }, + "icmpConfiguration": { + "icmpTypes": [ + "echo" + ] + } + } + ], + "actions": [ + { + "type": "Count", + "counterName": "example-counter", + "remarkComment": "remark-comment", + "policeRateConfiguration": { + "bitRate": { + "rate": 15, + "unit": "bps" + }, + "burstSize": { + "size": 2, + "unit": "Bytes" + } + } + } + ] + } + ], + "dynamicMatchConfigurations": [ + { + "ipGroups": [ + { + "name": "example-ipGroup", + "ipAddressType": "IPv4", + "ipPrefixes": [ + "10.20.3.1/20" + ] + } + ], + "vlanGroups": [ + { + "name": "example-vlanGroup", + "vlans": [ + "20-30" + ] + } + ], + "portGroups": [ + { + "name": "example-portGroup", + "ports": [ + "100-200" + ] + } + ] + } + ], + "lastSyncedTime": "2023-06-17T08:56:23.203Z", + "aclType": "ControlPlaneTrafficPolicy", + "deviceRole": "CE", + "globalAccessControlListActions": { + "enableCount": "True" + }, + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "keyValue" + }, + "location": "eastUs", + "id": "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "name": "example-acl", + "type": "microsoft.managednetworkfabric/accessControlLists", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/AccessControlLists_UpdateAdministrativeState.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/AccessControlLists_UpdateAdministrativeState.json new file mode 100644 index 000000000000..a7b43bbb1a22 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/AccessControlLists_UpdateAdministrativeState.json @@ -0,0 +1,40 @@ +{ + "title": "AccessControlLists_UpdateAdministrativeState_MaximumSet_Gen", + "operationId": "AccessControlLists_UpdateAdministrativeState", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "accessControlListName": "example-acl", + "body": { + "resourceIds": [ + "" + ], + "state": "Enable" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/AccessControlLists_ValidateConfiguration.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/AccessControlLists_ValidateConfiguration.json new file mode 100644 index 000000000000..81b6a94e7b8f --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/AccessControlLists_ValidateConfiguration.json @@ -0,0 +1,35 @@ +{ + "title": "AccessControlLists_ValidateConfiguration_MaximumSet_Gen", + "operationId": "AccessControlLists_ValidateConfiguration", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "accessControlListName": "example-acl" + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded", + "url": "https://ActionDetails" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/ExternalNetworks_Create.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/ExternalNetworks_Create.json new file mode 100644 index 000000000000..70996a3338d7 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/ExternalNetworks_Create.json @@ -0,0 +1,351 @@ +{ + "title": "ExternalNetworks_Create_MaximumSet_Gen", + "operationId": "ExternalNetworks_Create", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-externalnetwork", + "externalNetworkName": "example-ext", + "resource": { + "properties": { + "annotation": "annotation", + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10039" + ], + "exportRouteTargets": [ + "65046:10039" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "primaryIpv4Prefix": "10.1.1.0/30", + "primaryIpv6Prefix": "3FFE:FFFF:0:CD30::a0/126", + "secondaryIpv4Prefix": "10.1.1.4/30", + "secondaryIpv6Prefix": "3FFE:FFFF:0:CD30::a4/126", + "mtu": 1500, + "vlanId": 1001, + "peerASN": 65047, + "bfdConfiguration": { + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "bmpConfiguration": { + "configurationState": "Enabled" + }, + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "v4OverV6BgpSession": "Enabled", + "v6OverV4BgpSession": "Enabled", + "nativeIpv4PrefixLimit": { + "prefixLimits": [ + { + "maximumRoutes": 14, + "threshold": 17, + "idleTimeExpiry": 7 + } + ] + }, + "nativeIpv6PrefixLimit": { + "prefixLimits": [ + { + "maximumRoutes": 14, + "threshold": 17, + "idleTimeExpiry": 7 + } + ] + } + }, + "staticRouteConfiguration": { + "bfdConfiguration": { + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "10.0.0.1/24", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "2fff::/64", + "nextHop": [ + "3ffe::1" + ] + } + ] + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10039" + ], + "exportRouteTargets": [ + "65046:10039" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "primaryIpv4Prefix": "10.1.1.0/30", + "primaryIpv6Prefix": "3FFE:FFFF:0:CD30::a0/126", + "secondaryIpv4Prefix": "10.1.1.4/30", + "secondaryIpv6Prefix": "3FFE:FFFF:0:CD30::a4/126", + "mtu": 1500, + "vlanId": 1001, + "fabricASN": 1234, + "peerASN": 65047, + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "bmpConfiguration": { + "configurationState": "Enabled" + }, + "v4OverV6BgpSession": "Enabled", + "v6OverV4BgpSession": "Enabled", + "nativeIpv4PrefixLimit": { + "prefixLimits": [ + { + "maximumRoutes": 14, + "threshold": 17, + "idleTimeExpiry": 7 + } + ] + }, + "nativeIpv6PrefixLimit": { + "prefixLimits": [ + { + "maximumRoutes": 14, + "threshold": 17, + "idleTimeExpiry": 7 + } + ] + } + }, + "staticRouteConfiguration": { + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "10.0.0.1/24", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "2fff::/64", + "nextHop": [ + "3ffe::1" + ] + } + ] + }, + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain/externalNetworks/example-externalnetwork", + "name": "example-externalnetwork", + "type": "microsoft.managednetworkfabric/l3IsolationDomains/externalnetworks", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotation", + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10039" + ], + "exportRouteTargets": [ + "65046:10039" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "primaryIpv4Prefix": "10.1.1.0/30", + "primaryIpv6Prefix": "3FFE:FFFF:0:CD30::a0/126", + "secondaryIpv4Prefix": "10.1.1.4/30", + "secondaryIpv6Prefix": "3FFE:FFFF:0:CD30::a4/126", + "mtu": 1500, + "vlanId": 1001, + "fabricASN": 1234, + "peerASN": 65047, + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "bmpConfiguration": { + "configurationState": "Enabled" + }, + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "v4OverV6BgpSession": "Enabled", + "v6OverV4BgpSession": "Enabled", + "nativeIpv4PrefixLimit": { + "prefixLimits": [ + { + "maximumRoutes": 14, + "threshold": 17, + "idleTimeExpiry": 7 + } + ] + }, + "nativeIpv6PrefixLimit": { + "prefixLimits": [ + { + "maximumRoutes": 14, + "threshold": 17, + "idleTimeExpiry": 7 + } + ] + } + }, + "staticRouteConfiguration": { + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "10.0.0.1/24", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "2fff::/64", + "nextHop": [ + "3ffe::1" + ] + } + ] + }, + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain/externalNetworks/example-externalnetwork", + "name": "example-externalnetwork", + "type": "microsoft.managednetworkfabric/l3IsolationDomains/externalnetworks", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/ExternalNetworks_Delete.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/ExternalNetworks_Delete.json new file mode 100644 index 000000000000..18cc361079eb --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/ExternalNetworks_Delete.json @@ -0,0 +1,19 @@ +{ + "title": "ExternalNetworks_Delete_MaximumSet_Gen", + "operationId": "ExternalNetworks_Delete", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-externalnetwork", + "externalNetworkName": "example-ext" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/ExternalNetworks_Get.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/ExternalNetworks_Get.json new file mode 100644 index 000000000000..998babe4aebc --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/ExternalNetworks_Get.json @@ -0,0 +1,132 @@ +{ + "title": "ExternalNetworks_Get_MaximumSet_Gen", + "operationId": "ExternalNetworks_Get", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-externalnetwork", + "externalNetworkName": "example-ext" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10039" + ], + "exportRouteTargets": [ + "65046:10039" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "primaryIpv4Prefix": "10.1.1.0/30", + "primaryIpv6Prefix": "3FFE:FFFF:0:CD30::a0/126", + "secondaryIpv4Prefix": "10.1.1.4/30", + "secondaryIpv6Prefix": "3FFE:FFFF:0:CD30::a4/126", + "mtu": 1500, + "vlanId": 1001, + "fabricASN": 1234, + "peerASN": 65047, + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "bmpConfiguration": { + "configurationState": "Enabled" + }, + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "v4OverV6BgpSession": "Enabled", + "v6OverV4BgpSession": "Enabled", + "nativeIpv4PrefixLimit": { + "prefixLimits": [ + { + "maximumRoutes": 14, + "threshold": 17, + "idleTimeExpiry": 7 + } + ] + }, + "nativeIpv6PrefixLimit": { + "prefixLimits": [ + { + "maximumRoutes": 14, + "threshold": 17, + "idleTimeExpiry": 7 + } + ] + } + }, + "staticRouteConfiguration": { + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "10.0.0.1/24", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "2fff::/64", + "nextHop": [ + "3ffe::1" + ] + } + ] + }, + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain/externalNetworks/example-externalnetwork", + "name": "example-externalnetwork", + "type": "microsoft.managednetworkfabric/l3IsolationDomains/externalnetworks", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/ExternalNetworks_ListByL3IsolationDomain.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/ExternalNetworks_ListByL3IsolationDomain.json new file mode 100644 index 000000000000..bec10c2d0cfe --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/ExternalNetworks_ListByL3IsolationDomain.json @@ -0,0 +1,136 @@ +{ + "title": "ExternalNetworks_ListByL3IsolationDomain_MaximumSet_Gen", + "operationId": "ExternalNetworks_ListByL3IsolationDomain", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-externalnetwork" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10039" + ], + "exportRouteTargets": [ + "65046:10039" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "primaryIpv4Prefix": "10.1.1.0/30", + "primaryIpv6Prefix": "3FFE:FFFF:0:CD30::a0/126", + "secondaryIpv4Prefix": "10.1.1.4/30", + "secondaryIpv6Prefix": "3FFE:FFFF:0:CD30::a4/126", + "mtu": 1500, + "vlanId": 1001, + "fabricASN": 1234, + "peerASN": 65047, + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "bmpConfiguration": { + "configurationState": "Enabled" + }, + "v4OverV6BgpSession": "Enabled", + "v6OverV4BgpSession": "Enabled", + "nativeIpv4PrefixLimit": { + "prefixLimits": [ + { + "maximumRoutes": 14, + "threshold": 17, + "idleTimeExpiry": 7 + } + ] + }, + "nativeIpv6PrefixLimit": { + "prefixLimits": [ + { + "maximumRoutes": 14, + "threshold": 17, + "idleTimeExpiry": 7 + } + ] + } + }, + "staticRouteConfiguration": { + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "10.0.0.1/14", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "2fff::/64", + "nextHop": [ + "3ffe::1" + ] + } + ] + }, + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain/externalNetworks/example-externalnetwork", + "name": "example-externalnetwork", + "type": "microsoft.managednetworkfabric/l3IsolationDomains/externalnetworks", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/ExternalNetworks_Update.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/ExternalNetworks_Update.json new file mode 100644 index 000000000000..44f02e6664ff --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/ExternalNetworks_Update.json @@ -0,0 +1,211 @@ +{ + "title": "ExternalNetworks_Update_MaximumSet_Gen", + "operationId": "ExternalNetworks_Update", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-externalnetwork", + "externalNetworkName": "example-ext", + "properties": { + "properties": { + "annotation": "annotation1", + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10039" + ], + "exportRouteTargets": [ + "65046:10039" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "primaryIpv4Prefix": "10.1.1.0/30", + "primaryIpv6Prefix": "3FFE:FFFF:0:CD30::a0/126", + "secondaryIpv4Prefix": "10.1.1.4/30", + "secondaryIpv6Prefix": "3FFE:FFFF:0:CD30::a4/126", + "mtu": 1500, + "vlanId": 1001, + "peerASN": 65047, + "bfdConfiguration": { + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "bmpConfiguration": { + "configurationState": "Enabled" + }, + "v4OverV6BgpSession": "Enabled", + "v6OverV4BgpSession": "Enabled", + "nativeIpv4PrefixLimit": { + "prefixLimits": [ + { + "maximumRoutes": 13, + "threshold": 24, + "idleTimeExpiry": 8 + } + ] + }, + "nativeIpv6PrefixLimit": { + "prefixLimits": [ + { + "maximumRoutes": 13, + "threshold": 24, + "idleTimeExpiry": 8 + } + ] + } + }, + "staticRouteConfiguration": { + "bfdConfiguration": { + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "10.0.0.1/14", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "2fff::/64", + "nextHop": [ + "3ffe::1" + ] + } + ] + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10039" + ], + "exportRouteTargets": [ + "65046:10039" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "primaryIpv4Prefix": "10.1.1.0/30", + "primaryIpv6Prefix": "3FFE:FFFF:0:CD30::a0/126", + "secondaryIpv4Prefix": "10.1.1.4/30", + "secondaryIpv6Prefix": "3FFE:FFFF:0:CD30::a4/126", + "mtu": 1500, + "vlanId": 1001, + "fabricASN": 1234, + "peerASN": 65047, + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "bmpConfiguration": { + "configurationState": "Enabled" + } + }, + "staticRouteConfiguration": { + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "10.0.0.1/24", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "2fff::/64", + "nextHop": [ + "3ffe::1" + ] + } + ] + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain/externalNetworks/example-externalnetwork", + "name": "example-externalnetwork", + "type": "microsoft.managednetworkfabric/l3IsolationDomains/externalnetworks", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/ExternalNetworks_UpdateAdministrativeState.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/ExternalNetworks_UpdateAdministrativeState.json new file mode 100644 index 000000000000..b99bfe2d77a5 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/ExternalNetworks_UpdateAdministrativeState.json @@ -0,0 +1,41 @@ +{ + "title": "ExternalNetworks_UpdateAdministrativeState_MaximumSet_Gen", + "operationId": "ExternalNetworks_UpdateAdministrativeState", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-externalnetwork", + "externalNetworkName": "example-ext", + "body": { + "resourceIds": [ + "" + ], + "state": "Enable" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/ExternalNetworks_UpdateBfdAdministrativeState.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/ExternalNetworks_UpdateBfdAdministrativeState.json new file mode 100644 index 000000000000..91034d0e614a --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/ExternalNetworks_UpdateBfdAdministrativeState.json @@ -0,0 +1,40 @@ +{ + "title": "ExternalNetworks_UpdateBfdAdministrativeState", + "operationId": "ExternalNetworks_UpdateBfdAdministrativeState", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-externalnetwork", + "externalNetworkName": "example-ext", + "body": { + "routeType": "Static", + "administrativeState": "Enable" + } + }, + "responses": { + "200": { + "body": { + "routeType": "Static", + "administrativeState": "Enable", + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/InternalNetworks_Create.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/InternalNetworks_Create.json new file mode 100644 index 000000000000..8aacf8f265c4 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/InternalNetworks_Create.json @@ -0,0 +1,397 @@ +{ + "title": "InternalNetworks_Create_MaximumSet_Gen", + "operationId": "InternalNetworks_Create", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-l3isd", + "internalNetworkName": "example-internalnetwork", + "resource": { + "properties": { + "annotation": "annotation", + "mtu": 1500, + "connectedIPv4Subnets": [ + { + "annotation": "annotation", + "prefix": "10.0.0.0/24" + } + ], + "connectedIPv6Subnets": [ + { + "annotation": "annotation", + "prefix": "3FFE:FFFF:0:CD30::a0/29" + } + ], + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "isMonitoringEnabled": "True", + "extension": "NoExtension", + "vlanId": 755, + "bgpConfiguration": { + "annotation": "annotation", + "bfdConfiguration": { + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "defaultRouteOriginate": "True", + "allowAS": 10, + "allowASOverride": "Enable", + "peerASN": 61234, + "ipv4ListenRangePrefixes": [ + "10.1.0.0/25" + ], + "ipv6ListenRangePrefixes": [ + "2fff::/66" + ], + "ipv4NeighborAddress": [ + { + "address": "10.1.0.0", + "bfdAdministrativeState": "Enable", + "bgpAdministrativeState": "Enable" + } + ], + "ipv6NeighborAddress": [ + { + "address": "2fff::", + "bfdAdministrativeState": "Enable", + "bgpAdministrativeState": "Enable" + } + ], + "bmpConfiguration": { + "neighborIpExclusions": [ + "10.0.0.1" + ], + "bmpConfigurationState": "Enabled" + }, + "v4OverV6BgpSession": "Enabled", + "v6OverV4BgpSession": "Enabled" + }, + "staticRouteConfiguration": { + "bfdConfiguration": { + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "10.0.0.1/24", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "2fff::/64", + "nextHop": [ + "3ffe::1" + ] + } + ], + "extension": "NoExtension" + }, + "nativeIpv4PrefixLimit": { + "prefixLimits": [ + { + "maximumRoutes": 23, + "threshold": 7, + "idleTimeExpiry": 28 + } + ] + }, + "nativeIpv6PrefixLimit": { + "prefixLimits": [ + { + "maximumRoutes": 23, + "threshold": 7, + "idleTimeExpiry": 28 + } + ] + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "mtu": 1500, + "connectedIPv4Subnets": [ + { + "prefix": "10.0.0.0/24", + "annotation": "annotation" + } + ], + "connectedIPv6Subnets": [ + { + "prefix": "3FFE:FFFF:0:CD30::a0/29", + "annotation": "annotation" + } + ], + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "isMonitoringEnabled": "True", + "extension": "NoExtension", + "vlanId": 755, + "bgpConfiguration": { + "annotation": "annotation", + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "defaultRouteOriginate": "True", + "allowAS": 10, + "allowASOverride": "Enable", + "fabricASN": 20, + "peerASN": 61234, + "ipv4ListenRangePrefixes": [ + "10.1.0.0/25" + ], + "ipv6ListenRangePrefixes": [ + "2fff::/66" + ], + "ipv4NeighborAddress": [ + { + "address": "10.1.0.0", + "bfdAdministrativeState": "Enable", + "bgpAdministrativeState": "Enable", + "configurationState": "Succeeded" + } + ], + "ipv6NeighborAddress": [ + { + "address": "2fff::", + "bfdAdministrativeState": "Enable", + "bgpAdministrativeState": "Enable", + "configurationState": "Succeeded" + } + ], + "bmpConfiguration": { + "neighborIpExclusions": [ + "10.0.0.1" + ], + "bmpConfigurationState": "Enabled" + }, + "v4OverV6BgpSession": "Enabled", + "v6OverV4BgpSession": "Enabled" + }, + "staticRouteConfiguration": { + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "10.0.0.1/24", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "2fff::/64", + "nextHop": [ + "3ffe::1" + ] + } + ], + "extension": "NoExtension" + }, + "nativeIpv4PrefixLimit": { + "prefixLimits": [ + { + "maximumRoutes": 23, + "threshold": 7, + "idleTimeExpiry": 28 + } + ] + }, + "nativeIpv6PrefixLimit": { + "prefixLimits": [ + { + "maximumRoutes": 23, + "threshold": 7, + "idleTimeExpiry": 28 + } + ] + }, + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain/internalNetworks/example-internalnetwork", + "name": "example-internalnetwork", + "type": "microsoft.managednetworkfabric/l3IsolationDomains/internalnetworks", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotation", + "mtu": 1500, + "connectedIPv4Subnets": [ + { + "prefix": "10.0.0.0/24", + "annotation": "annotation" + } + ], + "connectedIPv6Subnets": [ + { + "prefix": "3FFE:FFFF:0:CD30::a0/29", + "annotation": "annotation" + } + ], + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "isMonitoringEnabled": "True", + "extension": "NoExtension", + "vlanId": 755, + "bgpConfiguration": { + "annotation": "annotation", + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "defaultRouteOriginate": "True", + "allowAS": 10, + "allowASOverride": "Enable", + "fabricASN": 20, + "peerASN": 61234, + "ipv4ListenRangePrefixes": [ + "10.1.0.0/25" + ], + "ipv6ListenRangePrefixes": [ + "2fff::/66" + ], + "ipv4NeighborAddress": [ + { + "address": "10.1.0.0", + "bfdAdministrativeState": "Enable", + "bgpAdministrativeState": "Enable", + "configurationState": "Succeeded" + } + ], + "ipv6NeighborAddress": [ + { + "address": "2fff::", + "bfdAdministrativeState": "Enable", + "bgpAdministrativeState": "Enable", + "configurationState": "Succeeded" + } + ], + "bmpConfiguration": { + "neighborIpExclusions": [ + "10.0.0.1" + ], + "bmpConfigurationState": "Enabled" + }, + "v4OverV6BgpSession": "Enabled", + "v6OverV4BgpSession": "Enabled" + }, + "staticRouteConfiguration": { + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "10.0.0.1/24", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "2fff::/64", + "nextHop": [ + "3ffe::1" + ] + } + ], + "extension": "NoExtension" + }, + "nativeIpv4PrefixLimit": { + "prefixLimits": [ + { + "maximumRoutes": 23, + "threshold": 7, + "idleTimeExpiry": 28 + } + ] + }, + "nativeIpv6PrefixLimit": { + "prefixLimits": [ + { + "maximumRoutes": 23, + "threshold": 7, + "idleTimeExpiry": 28 + } + ] + }, + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain/internalNetworks/example-internalnetwork", + "name": "example-internalnetwork", + "type": "microsoft.managednetworkfabric/l3IsolationDomains/internalnetworks", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/InternalNetworks_Delete.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/InternalNetworks_Delete.json new file mode 100644 index 000000000000..5f00e70f4ee8 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/InternalNetworks_Delete.json @@ -0,0 +1,19 @@ +{ + "title": "InternalNetworks_Delete_MaximumSet_Gen", + "operationId": "InternalNetworks_Delete", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-l3isd", + "internalNetworkName": "example-internalnetwork" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/InternalNetworks_Get.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/InternalNetworks_Get.json new file mode 100644 index 000000000000..ccc0f105724f --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/InternalNetworks_Get.json @@ -0,0 +1,148 @@ +{ + "title": "InternalNetworks_Get_MaximumSet_Gen", + "operationId": "InternalNetworks_Get", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-l3isd", + "internalNetworkName": "example-internalnetwork" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "mtu": 1500, + "connectedIPv4Subnets": [ + { + "prefix": "10.0.0.0/24", + "annotation": "annotation" + } + ], + "connectedIPv6Subnets": [ + { + "prefix": "3FFE:FFFF:0:CD30::a0/29", + "annotation": "annotation" + } + ], + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "isMonitoringEnabled": "True", + "extension": "NoExtension", + "vlanId": 755, + "bgpConfiguration": { + "annotation": "annotation", + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "defaultRouteOriginate": "True", + "allowAS": 10, + "allowASOverride": "Enable", + "fabricASN": 20, + "peerASN": 61234, + "ipv4ListenRangePrefixes": [ + "10.1.0.0/25" + ], + "ipv6ListenRangePrefixes": [ + "2fff::/66" + ], + "ipv4NeighborAddress": [ + { + "address": "10.1.0.0", + "bfdAdministrativeState": "Enable", + "bgpAdministrativeState": "Enable", + "configurationState": "Succeeded" + } + ], + "ipv6NeighborAddress": [ + { + "address": "2fff::", + "bfdAdministrativeState": "Enable", + "bgpAdministrativeState": "Enable", + "configurationState": "Succeeded" + } + ], + "bmpConfiguration": { + "neighborIpExclusions": [ + "10.0.0.1/24" + ], + "bmpConfigurationState": "Enabled" + }, + "v4OverV6BgpSession": "Enabled", + "v6OverV4BgpSession": "Enabled" + }, + "staticRouteConfiguration": { + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "jffgck", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "2fff::/64", + "nextHop": [ + "3ffe::1" + ] + } + ], + "extension": "NoExtension" + }, + "nativeIpv4PrefixLimit": { + "prefixLimits": [ + { + "maximumRoutes": 23, + "threshold": 7, + "idleTimeExpiry": 28 + } + ] + }, + "nativeIpv6PrefixLimit": { + "prefixLimits": [ + { + "maximumRoutes": 23, + "threshold": 7, + "idleTimeExpiry": 28 + } + ] + }, + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain/internalNetworks/example-internalnetwork", + "name": "example-internalnetwork", + "type": "microsoft.managednetworkfabric/l3IsolationDomains/internalnetworks", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/InternalNetworks_ListByL3IsolationDomain.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/InternalNetworks_ListByL3IsolationDomain.json new file mode 100644 index 000000000000..226e7ae9b7c1 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/InternalNetworks_ListByL3IsolationDomain.json @@ -0,0 +1,152 @@ +{ + "title": "InternalNetworks_ListByL3IsolationDomain_MaximumSet_Gen", + "operationId": "InternalNetworks_ListByL3IsolationDomain", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-l3isd" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "mtu": 1500, + "connectedIPv4Subnets": [ + { + "prefix": "10.0.0.0/24", + "annotation": "annotation" + } + ], + "connectedIPv6Subnets": [ + { + "prefix": "3FFE:FFFF:0:CD30::a0/29", + "annotation": "annotation" + } + ], + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "isMonitoringEnabled": "True", + "extension": "NoExtension", + "vlanId": 755, + "bgpConfiguration": { + "annotation": "annotation", + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "defaultRouteOriginate": "True", + "allowAS": 10, + "allowASOverride": "Enable", + "fabricASN": 20, + "peerASN": 61234, + "ipv4ListenRangePrefixes": [ + "10.1.0.0/25" + ], + "ipv6ListenRangePrefixes": [ + "2fff::/66" + ], + "ipv4NeighborAddress": [ + { + "address": "10.1.0.0", + "bfdAdministrativeState": "Enable", + "bgpAdministrativeState": "Enable", + "configurationState": "Succeeded" + } + ], + "ipv6NeighborAddress": [ + { + "address": "2fff::", + "bfdAdministrativeState": "Enable", + "bgpAdministrativeState": "Enable", + "configurationState": "Succeeded" + } + ], + "bmpConfiguration": { + "neighborIpExclusions": [ + "10.0.0.1/24" + ], + "bmpConfigurationState": "Enabled" + }, + "v4OverV6BgpSession": "Enabled", + "v6OverV4BgpSession": "Enabled" + }, + "staticRouteConfiguration": { + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "jffgck", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "2fff::/64", + "nextHop": [ + "3ffe::1" + ] + } + ], + "extension": "NoExtension" + }, + "nativeIpv4PrefixLimit": { + "prefixLimits": [ + { + "maximumRoutes": 23, + "threshold": 7, + "idleTimeExpiry": 28 + } + ] + }, + "nativeIpv6PrefixLimit": { + "prefixLimits": [ + { + "maximumRoutes": 23, + "threshold": 7, + "idleTimeExpiry": 28 + } + ] + }, + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain/internalNetworks/example-internalnetwork", + "name": "example-internalnetwork", + "type": "microsoft.managednetworkfabric/l3IsolationDomains/internalnetworks", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/InternalNetworks_Update.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/InternalNetworks_Update.json new file mode 100644 index 000000000000..82745398d8ce --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/InternalNetworks_Update.json @@ -0,0 +1,258 @@ +{ + "title": "InternalNetworks_Update_MaximumSet_Gen", + "operationId": "InternalNetworks_Update", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-l3isd", + "internalNetworkName": "example-internalnetwork", + "properties": { + "properties": { + "annotation": "annotation", + "mtu": 1500, + "connectedIPv4Subnets": [ + { + "annotation": "annotation", + "prefix": "10.0.0.0/24" + } + ], + "connectedIPv6Subnets": [ + { + "annotation": "annotation", + "prefix": "10.0.0.0/24" + } + ], + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "isMonitoringEnabled": "True", + "bgpConfiguration": { + "annotation": "annotation", + "bfdConfiguration": { + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "defaultRouteOriginate": "True", + "allowAS": 10, + "allowASOverride": "Enable", + "peerASN": 61234, + "ipv4ListenRangePrefixes": [ + "10.1.0.0/25" + ], + "ipv6ListenRangePrefixes": [ + "2fff::/66" + ], + "ipv4NeighborAddress": [ + { + "address": "10.1.0.0", + "bfdAdministrativeState": "Enable", + "bgpAdministrativeState": "Enable" + } + ], + "ipv6NeighborAddress": [ + { + "address": "10.1.0.0", + "bfdAdministrativeState": "Enable", + "bgpAdministrativeState": "Enable" + } + ], + "bmpConfiguration": { + "neighborIpExclusions": [ + "10.0.0.10" + ], + "bmpConfigurationState": "Enabled" + }, + "v4OverV6BgpSession": "Enabled", + "v6OverV4BgpSession": "Enabled" + }, + "staticRouteConfiguration": { + "bfdConfiguration": { + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "jffgck", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "jffgck", + "nextHop": [ + "10.0.0.1" + ] + } + ] + }, + "nativeIpv4PrefixLimit": { + "prefixLimits": [ + { + "maximumRoutes": 24, + "threshold": 6, + "idleTimeExpiry": 20 + } + ] + }, + "nativeIpv6PrefixLimit": { + "prefixLimits": [ + { + "maximumRoutes": 24, + "threshold": 6, + "idleTimeExpiry": 20 + } + ] + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "mtu": 1500, + "connectedIPv4Subnets": [ + { + "prefix": "10.0.0.0/24", + "annotation": "annotation" + } + ], + "connectedIPv6Subnets": [ + { + "prefix": "3FFE:FFFF:0:CD30::a0/29", + "annotation": "annotation" + } + ], + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/routePolicyName" + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "isMonitoringEnabled": "True", + "extension": "NoExtension", + "vlanId": 755, + "bgpConfiguration": { + "annotation": "annotation", + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "defaultRouteOriginate": "True", + "allowAS": 10, + "allowASOverride": "Enable", + "fabricASN": 20, + "peerASN": 61234, + "ipv4ListenRangePrefixes": [ + "10.1.0.0/25" + ], + "ipv6ListenRangePrefixes": [ + "2fff::/66" + ], + "ipv4NeighborAddress": [ + { + "address": "10.1.0.0", + "bfdAdministrativeState": "Enable", + "bgpAdministrativeState": "Enable", + "configurationState": "Succeeded" + } + ], + "ipv6NeighborAddress": [ + { + "address": "2fff::", + "bfdAdministrativeState": "Enable", + "bgpAdministrativeState": "Enable", + "configurationState": "Succeeded" + } + ], + "bmpConfiguration": { + "neighborIpExclusions": [ + "10.0.0.1" + ], + "bmpConfigurationState": "Enabled" + }, + "v4OverV6BgpSession": "Enabled", + "v6OverV4BgpSession": "Enabled" + }, + "staticRouteConfiguration": { + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "jffgck", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "2fff::/64", + "nextHop": [ + "3ffe::1" + ] + } + ], + "extension": "NoExtension" + }, + "nativeIpv4PrefixLimit": { + "prefixLimits": [ + { + "maximumRoutes": 24, + "threshold": 7, + "idleTimeExpiry": 20 + } + ] + }, + "nativeIpv6PrefixLimit": { + "prefixLimits": [ + { + "maximumRoutes": 24, + "threshold": 7, + "idleTimeExpiry": 20 + } + ] + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain/internalNetworks/example-internalnetwork", + "name": "example-internalnetwork", + "type": "microsoft.managednetworkfabric/l3IsolationDomains/internalnetworks", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/InternalNetworks_UpdateAdministrativeState.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/InternalNetworks_UpdateAdministrativeState.json new file mode 100644 index 000000000000..e478dbdd8557 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/InternalNetworks_UpdateAdministrativeState.json @@ -0,0 +1,41 @@ +{ + "title": "InternalNetworks_UpdateAdministrativeState_MaximumSet_Gen", + "operationId": "InternalNetworks_UpdateAdministrativeState", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-l3isd", + "internalNetworkName": "example-internalnetwork", + "body": { + "resourceIds": [ + "" + ], + "state": "Enable" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/InternalNetworks_UpdateBfdAdministrativeState.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/InternalNetworks_UpdateBfdAdministrativeState.json new file mode 100644 index 000000000000..8a6aaf9a9d29 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/InternalNetworks_UpdateBfdAdministrativeState.json @@ -0,0 +1,46 @@ +{ + "title": "InternalNetworks_UpdateBfdAdministrativeState", + "operationId": "InternalNetworks_UpdateBfdAdministrativeState", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-l3isd", + "internalNetworkName": "example-internalnetwork", + "body": { + "routeType": "Static", + "neighborAddress": "10.10.1.10", + "administrativeState": "Enable" + } + }, + "responses": { + "200": { + "body": { + "neighborAddressAdministrativeStatus": [ + { + "neighborAddress": "10.10.1.10", + "administrativeState": "Enable", + "error": "" + } + ], + "error": { + "code": "bidbvvmy", + "message": "ekbarfd", + "target": "wpnbisaqlnidiilkhaadmu", + "details": [], + "additionalInfo": [ + { + "type": "qakayuauodscmplibrcmvrnvfnia", + "info": {} + } + ] + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/InternalNetworks_UpdateBgpAdministrativeState.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/InternalNetworks_UpdateBgpAdministrativeState.json new file mode 100644 index 000000000000..eb416992983f --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/InternalNetworks_UpdateBgpAdministrativeState.json @@ -0,0 +1,45 @@ +{ + "title": "InternalNetworks_UpdateBgpAdministrativeState_MaximumSet_Gen", + "operationId": "InternalNetworks_UpdateBgpAdministrativeState", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-l3isd", + "internalNetworkName": "example-internalnetwork", + "body": { + "neighborAddress": "10.10.10.10", + "administrativeState": "Enable" + } + }, + "responses": { + "200": { + "body": { + "neighborAddressAdministrativeStatus": [ + { + "neighborAddress": "10.10.10.10", + "administrativeState": "Enable", + "error": "" + } + ], + "error": { + "code": "bidbvvmy", + "message": "ekbarfd", + "target": "wpnbisaqlnidiilkhaadmu", + "details": [], + "additionalInfo": [ + { + "type": "qakayuauodscmplibrcmvrnvfnia", + "info": {} + } + ] + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/InternetGatewayRules_Create.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/InternetGatewayRules_Create.json new file mode 100644 index 000000000000..c8e8c74032d3 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/InternetGatewayRules_Create.json @@ -0,0 +1,139 @@ +{ + "title": "InternetGatewayRules_Create_MaximumSet_Gen", + "operationId": "InternetGatewayRules_Create", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "internetGatewayRuleName": "example-internetGatewayRule", + "resource": { + "properties": { + "annotation": "annotationValue", + "ruleProperties": { + "action": "Allow", + "addressList": [ + "10.10.10.10" + ], + "condition": "Or", + "destinationAddressList": [ + "11.11.10.11" + ], + "sourceAddressList": [ + "10.10.10.10" + ], + "headerAddressList": [ + { + "headerName": "abcHeader", + "addressList": [ + "10.10.10.10" + ] + } + ] + } + }, + "tags": { + "KeyID": "KeyValue" + }, + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotationValue", + "ruleProperties": { + "action": "Allow", + "addressList": [ + "10.10.10.10" + ], + "condition": "Or", + "destinationAddressList": [ + "11.11.10.11" + ], + "sourceAddressList": [ + "10.10.10.10" + ], + "headerAddressList": [ + { + "headerName": "abcHeader", + "addressList": [ + "10.10.10.10" + ] + } + ] + }, + "provisioningState": "Accepted", + "internetGatewayIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/internetGateways/example-internetGateway" + ] + }, + "tags": { + "KeyID": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/internetGatewayRules/example-InternetGatewayRule", + "name": "example-internetGatewayRule", + "type": "microsoft.managednetworkfabric/internetGatewayRules", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotationValue", + "ruleProperties": { + "action": "Allow", + "addressList": [ + "10.10.10.10" + ], + "condition": "Or", + "destinationAddressList": [ + "11.11.10.11" + ], + "sourceAddressList": [ + "10.10.10.10" + ], + "headerAddressList": [ + { + "headerName": "abcHeader", + "addressList": [ + "10.10.10.10" + ] + } + ] + }, + "provisioningState": "Accepted", + "internetGatewayIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/internetGateways/example-internetGateway" + ] + }, + "tags": { + "KeyID": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/internetGatewayRules/example-InternetGatewayRule", + "name": "example-internetGatewayRule", + "type": "microsoft.managednetworkfabric/internetGatewayRules", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/InternetGatewayRules_Delete.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/InternetGatewayRules_Delete.json new file mode 100644 index 000000000000..8906fb215958 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/InternetGatewayRules_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "InternetGatewayRules_Delete_MaximumSet_Gen", + "operationId": "InternetGatewayRules_Delete", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "internetGatewayRuleName": "example-internetGatewayRule" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/InternetGatewayRules_Get.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/InternetGatewayRules_Get.json new file mode 100644 index 000000000000..972a8004d9ca --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/InternetGatewayRules_Get.json @@ -0,0 +1,62 @@ +{ + "title": "InternetGatewayRules_Get_MaximumSet_Gen", + "operationId": "InternetGatewayRules_Get", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "internetGatewayRuleName": "example-internetGatewayRule" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotationValue", + "ruleProperties": { + "action": "Allow", + "addressList": [ + "10.10.10.10" + ], + "condition": "Or", + "destinationAddressList": [ + "11.11.10.11" + ], + "sourceAddressList": [ + "10.10.10.10" + ], + "headerAddressList": [ + { + "headerName": "abcHeader", + "addressList": [ + "10.10.10.10" + ] + } + ] + }, + "lastOperation": { + "details": "Succeeded" + }, + "provisioningState": "Accepted", + "internetGatewayIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/internetGateways/example-internetGateway" + ] + }, + "tags": { + "KeyID": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/internetGatewayRules/example-InternetGatewayRule", + "name": "example-internetGatewayRule", + "type": "microsoft.managednetworkfabric/internetGatewayRules", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/InternetGatewayRules_ListByResourceGroup.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/InternetGatewayRules_ListByResourceGroup.json new file mode 100644 index 000000000000..3ecabbd7f646 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/InternetGatewayRules_ListByResourceGroup.json @@ -0,0 +1,66 @@ +{ + "title": "InternetGatewayRules_ListByResourceGroup_MaximumSet_Gen", + "operationId": "InternetGatewayRules_ListByResourceGroup", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-internetGatewayRule" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotationValue", + "ruleProperties": { + "action": "Allow", + "addressList": [ + "10.10.10.10" + ], + "condition": "Or", + "destinationAddressList": [ + "11.11.10.11" + ], + "sourceAddressList": [ + "10.10.10.10" + ], + "headerAddressList": [ + { + "headerName": "abcHeader", + "addressList": [ + "10.10.10.10" + ] + } + ] + }, + "lastOperation": { + "details": "Succeeded" + }, + "provisioningState": "Accepted", + "internetGatewayIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/internetGateways/example-internetGateway" + ] + }, + "tags": { + "KeyID": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/internetGatewayRules/example-InternetGatewayRule", + "name": "example-internetGatewayRule", + "type": "microsoft.managednetworkfabric/internetGatewayRules", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/InternetGatewayRules_ListBySubscription.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/InternetGatewayRules_ListBySubscription.json new file mode 100644 index 000000000000..61659b5d2568 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/InternetGatewayRules_ListBySubscription.json @@ -0,0 +1,65 @@ +{ + "title": "InternetGatewayRules_ListBySubscription_MaximumSet_Gen", + "operationId": "InternetGatewayRules_ListBySubscription", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotationValue", + "ruleProperties": { + "action": "Allow", + "addressList": [ + "10.10.10.10" + ], + "condition": "Or", + "destinationAddressList": [ + "11.11.10.11" + ], + "sourceAddressList": [ + "10.10.10.10" + ], + "headerAddressList": [ + { + "headerName": "abcHeader", + "addressList": [ + "10.10.10.10" + ] + } + ] + }, + "lastOperation": { + "details": "Succeeded" + }, + "provisioningState": "Accepted", + "internetGatewayIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/internetGateways/example-internetGateway" + ] + }, + "tags": { + "KeyID": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/internetGatewayRules/example-InternetGatewayRule", + "name": "example-internetGatewayRule", + "type": "microsoft.managednetworkfabric/internetGatewayRules", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/InternetGatewayRules_Update.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/InternetGatewayRules_Update.json new file mode 100644 index 000000000000..ea5c146c2d38 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/InternetGatewayRules_Update.json @@ -0,0 +1,69 @@ +{ + "title": "InternetGatewayRules_Update_MaximumSet_Gen", + "operationId": "InternetGatewayRules_Update", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "internetGatewayRuleName": "example-internetGatewayRule", + "properties": { + "tags": { + "KeyID": "KeyValue1" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotationValue", + "ruleProperties": { + "action": "Allow", + "addressList": [ + "10.10.10.10" + ], + "condition": "Or", + "destinationAddressList": [ + "11.11.10.11" + ], + "sourceAddressList": [ + "10.10.10.10" + ], + "headerAddressList": [ + { + "headerName": "abcHeader", + "addressList": [ + "10.10.10.10" + ] + } + ] + }, + "provisioningState": "Accepted", + "internetGatewayIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/internetGateways/example-internetGateway" + ] + }, + "tags": { + "KeyID": "KeyValue1" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/internetGatewayRules/example-InternetGatewayRule", + "name": "example-internetGatewayRule", + "type": "microsoft.managednetworkfabric/internetGatewayRules", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/InternetGateways_Create.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/InternetGateways_Create.json new file mode 100644 index 000000000000..5fc7fc6436f7 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/InternetGateways_Create.json @@ -0,0 +1,86 @@ +{ + "title": "InternetGateways_Create_MaximumSet_Gen", + "operationId": "InternetGateways_Create", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "internetGatewayName": "example-internetGateway", + "resource": { + "properties": { + "annotation": "annotation", + "internetGatewayRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/providers/Microsoft.ManagedNetworkFabric/internetGatewayRules/example-internetGatewayRule", + "type": "Infrastructure", + "internetGatewayType": "Infrastructure", + "networkFabricControllerId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-networkFabricController" + }, + "tags": { + "keyId": "KeyValue" + }, + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "internetGatewayRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/providers/Microsoft.ManagedNetworkFabric/internetGatewayRules/example-internetGatewayRule", + "ipv4Address": "10.10.10.10", + "port": 25, + "type": "Infrastructure", + "internetGatewayType": "Infrastructure", + "networkFabricControllerId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-networkFabricController", + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/subscriptionId/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/internetGateways/example-internetGateway", + "name": "example-internetGateway", + "type": "microsoft.managednetworkfabric/internetGateways", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotation", + "internetGatewayRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/providers/Microsoft.ManagedNetworkFabric/internetGatewayRules/example-internetGatewayRule", + "ipv4Address": "10.10.10.10", + "port": 25, + "type": "Infrastructure", + "internetGatewayType": "Infrastructure", + "networkFabricControllerId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-networkFabricController", + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/subscriptionId/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/internetGateways/example-internetGateway", + "name": "example-internetGateway", + "type": "microsoft.managednetworkfabric/internetGateways", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/InternetGateways_Delete.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/InternetGateways_Delete.json new file mode 100644 index 000000000000..f67ab2d2ac1b --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/InternetGateways_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "InternetGateways_Delete_MaximumSet_Gen", + "operationId": "InternetGateways_Delete", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "internetGatewayName": "example-internetGateway" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/InternetGateways_Get.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/InternetGateways_Get.json new file mode 100644 index 000000000000..750ab3e8bd04 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/InternetGateways_Get.json @@ -0,0 +1,44 @@ +{ + "title": "InternetGateways_Get_MaximumSet_Gen", + "operationId": "InternetGateways_Get", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "internetGatewayName": "example-internetGateway" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "internetGatewayRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/providers/Microsoft.ManagedNetworkFabric/internetGatewayRules/example-internetGatewayRule", + "ipv4Address": "10.10.10.10", + "port": 25, + "type": "Infrastructure", + "internetGatewayType": "Infrastructure", + "networkFabricControllerId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-networkFabricController", + "lastOperation": { + "details": "Succeeded" + }, + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/subscriptionId/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/internetGateways/example-internetGateway", + "name": "example-internetGateway", + "type": "microsoft.managednetworkfabric/internetGateways", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/InternetGateways_ListByResourceGroup.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/InternetGateways_ListByResourceGroup.json new file mode 100644 index 000000000000..915937f220af --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/InternetGateways_ListByResourceGroup.json @@ -0,0 +1,48 @@ +{ + "title": "InternetGateways_ListByResourceGroup_MaximumSet_Gen", + "operationId": "InternetGateways_ListByResourceGroup", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "internetGatewayRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/providers/Microsoft.ManagedNetworkFabric/internetGatewayRules/example-internetGatewayRule", + "ipv4Address": "10.10.10.10", + "port": 25, + "type": "Infrastructure", + "internetGatewayType": "Infrastructure", + "networkFabricControllerId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-networkFabricController", + "lastOperation": { + "details": "Succeeded" + }, + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/subscriptionId/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/internetGateways/example-internetGateway", + "name": "example-internetGateway", + "type": "microsoft.managednetworkfabric/internetGateways", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/InternetGateways_ListBySubscription.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/InternetGateways_ListBySubscription.json new file mode 100644 index 000000000000..3c7ffd6d0975 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/InternetGateways_ListBySubscription.json @@ -0,0 +1,47 @@ +{ + "title": "InternetGateways_ListBySubscription_MaximumSet_Gen", + "operationId": "InternetGateways_ListBySubscription", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "internetGatewayRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/providers/Microsoft.ManagedNetworkFabric/internetGatewayRules/example-internetGatewayRule", + "ipv4Address": "10.10.10.10", + "port": 25, + "type": "Infrastructure", + "internetGatewayType": "Infrastructure", + "networkFabricControllerId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-networkFabricController", + "lastOperation": { + "details": "Succeeded" + }, + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/subscriptionId/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/internetGateways/example-internetGateway", + "name": "example-internetGateway", + "type": "microsoft.managednetworkfabric/internetGateways", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/InternetGateways_Update.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/InternetGateways_Update.json new file mode 100644 index 000000000000..f64b052f581d --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/InternetGateways_Update.json @@ -0,0 +1,54 @@ +{ + "title": "InternetGateways_Update_MaximumSet_Gen", + "operationId": "InternetGateways_Update", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "internetGatewayName": "example-internetGateway", + "properties": { + "tags": { + "keyId": "KeyValue" + }, + "properties": { + "internetGatewayRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/providers/Microsoft.ManagedNetworkFabric/internetGatewayRules/example-internetGatewayRule" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "internetGatewayRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/providers/Microsoft.ManagedNetworkFabric/internetGatewayRules/example-internetGatewayRule", + "ipv4Address": "10.10.10.10", + "port": 25, + "type": "Infrastructure", + "internetGatewayType": "Infrastructure", + "networkFabricControllerId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-networkFabricController", + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/subscriptionId/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/internetGateways/example-internetGateway", + "name": "example-internetGateway", + "type": "microsoft.managednetworkfabric/internetGateways", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/IpCommunities_Create.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/IpCommunities_Create.json new file mode 100644 index 000000000000..1f13a23728e0 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/IpCommunities_Create.json @@ -0,0 +1,113 @@ +{ + "title": "IpCommunities_Create_MaximumSet_Gen", + "operationId": "IpCommunities_Create", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "ipCommunityName": "example-ipcommunity", + "resource": { + "properties": { + "annotation": "annotation", + "ipCommunityRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "wellKnownCommunities": [ + "Internet" + ], + "communityMembers": [ + "1:1" + ] + } + ], + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "ipCommunityRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "wellKnownCommunities": [ + "Internet" + ], + "communityMembers": [ + "1:1" + ] + } + ], + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipcommunity", + "name": "example-ipcommunity", + "type": "microsoft.managednetworkfabric/ipcommunities", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotation", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "ipCommunityRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "wellKnownCommunities": [ + "Internet" + ], + "communityMembers": [ + "1:1" + ] + } + ], + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipcommunity", + "name": "example-ipcommunity", + "type": "microsoft.managednetworkfabric/ipcommunities", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/IpCommunities_Delete.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/IpCommunities_Delete.json new file mode 100644 index 000000000000..6ca7f53e4766 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/IpCommunities_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "IpCommunities_Delete_MaximumSet_Gen", + "operationId": "IpCommunities_Delete", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "ipCommunityName": "example-ipcommunity" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/IpCommunities_Get.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/IpCommunities_Get.json new file mode 100644 index 000000000000..1a0b5dcb42cf --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/IpCommunities_Get.json @@ -0,0 +1,53 @@ +{ + "title": "IpCommunities_Get_MaximumSet_Gen", + "operationId": "IpCommunities_Get", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "ipCommunityName": "example-ipcommunity" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "ipCommunityRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "wellKnownCommunities": [ + "Internet" + ], + "communityMembers": [ + "1:1" + ] + } + ], + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipcommunity", + "name": "example-ipcommunity", + "type": "microsoft.managednetworkfabric/ipcommunities", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/IpCommunities_ListByResourceGroup.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/IpCommunities_ListByResourceGroup.json new file mode 100644 index 000000000000..42e841dbeca8 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/IpCommunities_ListByResourceGroup.json @@ -0,0 +1,57 @@ +{ + "title": "IpCommunities_ListByResourceGroup_MaximumSet_Gen", + "operationId": "IpCommunities_ListByResourceGroup", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "ipCommunityRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "wellKnownCommunities": [ + "Internet" + ], + "communityMembers": [ + "1:1" + ] + } + ], + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipcommunity", + "name": "example-ipcommunity", + "type": "microsoft.managednetworkfabric/ipcommunities", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/IpCommunities_ListBySubscription.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/IpCommunities_ListBySubscription.json new file mode 100644 index 000000000000..25515ddc7a99 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/IpCommunities_ListBySubscription.json @@ -0,0 +1,56 @@ +{ + "title": "IpCommunities_ListBySubscription_MaximumSet_Gen", + "operationId": "IpCommunities_ListBySubscription", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "ipCommunityRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "wellKnownCommunities": [ + "Internet" + ], + "communityMembers": [ + "1:1" + ] + } + ], + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipcommunity", + "name": "example-ipcommunity", + "type": "microsoft.managednetworkfabric/ipcommunities", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/IpCommunities_Update.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/IpCommunities_Update.json new file mode 100644 index 000000000000..a5a082201433 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/IpCommunities_Update.json @@ -0,0 +1,74 @@ +{ + "title": "IpCommunities_Update_MaximumSet_Gen", + "operationId": "IpCommunities_Update", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "ipCommunityName": "example-ipcommunity", + "properties": { + "tags": { + "keyID": "KeyValue" + }, + "properties": { + "ipCommunityRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "wellKnownCommunities": [ + "Internet" + ], + "communityMembers": [ + "1:1" + ] + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "ipCommunityRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "wellKnownCommunities": [ + "Internet" + ], + "communityMembers": [ + "1:1" + ] + } + ], + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipcommunity", + "name": "example-ipcommunity", + "type": "microsoft.managednetworkfabric/ipcommunities", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/IpExtendedCommunities_Create.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/IpExtendedCommunities_Create.json new file mode 100644 index 000000000000..c390472a2cb5 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/IpExtendedCommunities_Create.json @@ -0,0 +1,104 @@ +{ + "title": "IpExtendedCommunities_Create_MaximumSet_Gen", + "operationId": "IpExtendedCommunities_Create", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "ipExtendedCommunityName": "example-ipExtendedCommunity", + "resource": { + "properties": { + "annotation": "annotation", + "ipExtendedCommunityRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "routeTargets": [ + "1234:2345" + ] + } + ], + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "ipExtendedCommunityRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "routeTargets": [ + "1234:2345" + ] + } + ], + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity", + "name": "example-ipExtendedCommunity", + "type": "microsoft.managednetworkfabric/ipExtendedCommunities", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotation", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "ipExtendedCommunityRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "routeTargets": [ + "1234:2345" + ] + } + ], + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity", + "name": "example-ipExtendedCommunity", + "type": "microsoft.managednetworkfabric/ipExtendedCommunities", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/IpExtendedCommunities_Delete.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/IpExtendedCommunities_Delete.json new file mode 100644 index 000000000000..24bc034f2b9b --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/IpExtendedCommunities_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "IpExtendedCommunities_Delete_MaximumSet_Gen", + "operationId": "IpExtendedCommunities_Delete", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "ipExtendedCommunityName": "example-ipExtendedCommunity" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/IpExtendedCommunities_Get.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/IpExtendedCommunities_Get.json new file mode 100644 index 000000000000..9d360eef9c5c --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/IpExtendedCommunities_Get.json @@ -0,0 +1,50 @@ +{ + "title": "IpExtendedCommunities_Get_MaximumSet_Gen", + "operationId": "IpExtendedCommunities_Get", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "ipExtendedCommunityName": "example-ipExtendedCommunity" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "ipExtendedCommunityRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "routeTargets": [ + "1234:2345" + ] + } + ], + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity", + "name": "example-ipExtendedCommunity", + "type": "microsoft.managednetworkfabric/ipExtendedCommunities", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/IpExtendedCommunities_ListByResourceGroup.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/IpExtendedCommunities_ListByResourceGroup.json new file mode 100644 index 000000000000..381c30d93453 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/IpExtendedCommunities_ListByResourceGroup.json @@ -0,0 +1,54 @@ +{ + "title": "IpExtendedCommunities_ListByResourceGroup_MaximumSet_Gen", + "operationId": "IpExtendedCommunities_ListByResourceGroup", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "ipExtendedCommunityRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "routeTargets": [ + "1234:2345" + ] + } + ], + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity", + "name": "example-ipExtendedCommunity", + "type": "microsoft.managednetworkfabric/ipExtendedCommunities", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/IpExtendedCommunities_ListBySubscription.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/IpExtendedCommunities_ListBySubscription.json new file mode 100644 index 000000000000..3c5017672ba1 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/IpExtendedCommunities_ListBySubscription.json @@ -0,0 +1,53 @@ +{ + "title": "IpExtendedCommunities_ListBySubscription_MaximumSet_Gen", + "operationId": "IpExtendedCommunities_ListBySubscription", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "ipExtendedCommunityRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "routeTargets": [ + "1234:2345" + ] + } + ], + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity", + "name": "example-ipExtendedCommunity", + "type": "microsoft.managednetworkfabric/ipExtendedCommunities", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/IpExtendedCommunities_Update.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/IpExtendedCommunities_Update.json new file mode 100644 index 000000000000..308496e4220c --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/IpExtendedCommunities_Update.json @@ -0,0 +1,69 @@ +{ + "title": "IpExtendedCommunities_Update_MaximumSet_Gen", + "operationId": "IpExtendedCommunities_Update", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "ipExtendedCommunityName": "example-ipExtendedCommunity", + "properties": { + "tags": { + "KeyId": "KeyValue" + }, + "properties": { + "ipExtendedCommunityRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "routeTargets": [ + "1234:2345" + ] + } + ], + "annotation": "annotation" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "ipExtendedCommunityRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "routeTargets": [ + "1234:2345" + ] + } + ], + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity", + "name": "example-ipExtendedCommunity", + "type": "microsoft.managednetworkfabric/ipExtendedCommunities", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/IpPrefixes_Create.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/IpPrefixes_Create.json new file mode 100644 index 000000000000..1b972143335c --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/IpPrefixes_Create.json @@ -0,0 +1,104 @@ +{ + "title": "IpPrefixes_Create_MaximumSet_Gen", + "operationId": "IpPrefixes_Create", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "ipPrefixName": "example-ipPrefix", + "resource": { + "properties": { + "annotation": "annotation", + "ipPrefixRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "networkPrefix": "10.10.10.10/30", + "condition": "GreaterThanOrEqualTo", + "subnetMaskLength": "10" + } + ], + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "ipPrefixRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "networkPrefix": "10.10.10.10/30", + "condition": "GreaterThanOrEqualTo", + "subnetMaskLength": "10" + } + ], + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix", + "name": "example-ipPrefix", + "type": "microsoft.managednetworkfabric/ipPrefixes", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotation", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "ipPrefixRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "networkPrefix": "10.10.10.10/30", + "condition": "GreaterThanOrEqualTo", + "subnetMaskLength": "10" + } + ], + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix", + "name": "example-ipPrefix", + "type": "microsoft.managednetworkfabric/ipPrefixes", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/IpPrefixes_Delete.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/IpPrefixes_Delete.json new file mode 100644 index 000000000000..a6378236bb64 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/IpPrefixes_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "IpPrefixes_Delete_MaximumSet_Gen", + "operationId": "IpPrefixes_Delete", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "ipPrefixName": "example-ipPrefix" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/IpPrefixes_Get.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/IpPrefixes_Get.json new file mode 100644 index 000000000000..4e994e543405 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/IpPrefixes_Get.json @@ -0,0 +1,50 @@ +{ + "title": "IpPrefixes_Get_MaximumSet_Gen", + "operationId": "IpPrefixes_Get", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "ipPrefixName": "example-ipPrefix" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "ipPrefixRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "networkPrefix": "10.10.10.10/30", + "condition": "GreaterThanOrEqualTo", + "subnetMaskLength": "10" + } + ], + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix", + "name": "example-ipPrefix", + "type": "microsoft.managednetworkfabric/ipPrefixes", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/IpPrefixes_ListByResourceGroup.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/IpPrefixes_ListByResourceGroup.json new file mode 100644 index 000000000000..e620afe892e5 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/IpPrefixes_ListByResourceGroup.json @@ -0,0 +1,54 @@ +{ + "title": "IpPrefixes_ListByResourceGroup_MaximumSet_Gen", + "operationId": "IpPrefixes_ListByResourceGroup", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "ipPrefixRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "networkPrefix": "10.10.10.10/30", + "condition": "GreaterThanOrEqualTo", + "subnetMaskLength": "10" + } + ], + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix", + "name": "example-ipPrefix", + "type": "microsoft.managednetworkfabric/ipPrefixes", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/IpPrefixes_ListBySubscription.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/IpPrefixes_ListBySubscription.json new file mode 100644 index 000000000000..0fc0d584aae1 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/IpPrefixes_ListBySubscription.json @@ -0,0 +1,53 @@ +{ + "title": "IpPrefixes_ListBySubscription_MaximumSet_Gen", + "operationId": "IpPrefixes_ListBySubscription", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "ipPrefixRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "networkPrefix": "10.10.10.10/30", + "condition": "GreaterThanOrEqualTo", + "subnetMaskLength": "10" + } + ], + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix", + "name": "example-ipPrefix", + "type": "microsoft.managednetworkfabric/ipPrefixes", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/IpPrefixes_Update.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/IpPrefixes_Update.json new file mode 100644 index 000000000000..5ae33efd32d1 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/IpPrefixes_Update.json @@ -0,0 +1,69 @@ +{ + "title": "IpPrefixes_Update_MaximumSet_Gen", + "operationId": "IpPrefixes_Update", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "ipPrefixName": "example-ipPrefix", + "properties": { + "tags": { + "KeyId": "KeyValue" + }, + "properties": { + "annotation": "annotation", + "ipPrefixRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "networkPrefix": "10.10.10.10/30", + "condition": "GreaterThanOrEqualTo", + "subnetMaskLength": "10" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "ipPrefixRules": [ + { + "action": "Permit", + "sequenceNumber": 4155123341, + "networkPrefix": "10.10.10.10/30", + "condition": "GreaterThanOrEqualTo", + "subnetMaskLength": "10" + } + ], + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix", + "name": "example-ipPrefix", + "type": "microsoft.managednetworkfabric/ipPrefixes", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/L2IsolationDomains_CommitConfiguration.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/L2IsolationDomains_CommitConfiguration.json new file mode 100644 index 000000000000..f627d7cdc9fb --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/L2IsolationDomains_CommitConfiguration.json @@ -0,0 +1,34 @@ +{ + "title": "L2IsolationDomains_CommitConfiguration_MaximumSet_Gen", + "operationId": "L2IsolationDomains_CommitConfiguration", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l2IsolationDomainName": "example-l2domain" + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/L2IsolationDomains_Create.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/L2IsolationDomains_Create.json new file mode 100644 index 000000000000..8d25ea059ffa --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/L2IsolationDomains_Create.json @@ -0,0 +1,96 @@ +{ + "title": "L2IsolationDomains_Create_MaximumSet_Gen", + "operationId": "L2IsolationDomains_Create", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l2IsolationDomainName": "example-l2domain", + "resource": { + "properties": { + "annotation": "annotation", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "vlanId": 501, + "mtu": 1500, + "extendedVlan": "Enabled", + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "vlanId": 501, + "mtu": 1500, + "extendedVlan": "Enabled", + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/example-l2domain", + "name": "example-l2domain", + "type": "microsoft.managednetworkfabric/l2IsolationDomains", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotation", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "vlanId": 501, + "mtu": 1500, + "extendedVlan": "Enabled", + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/example-l2domain", + "name": "example-l2domain", + "type": "microsoft.managednetworkfabric/l2IsolationDomains", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/L2IsolationDomains_Delete.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/L2IsolationDomains_Delete.json new file mode 100644 index 000000000000..fd833e932122 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/L2IsolationDomains_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "L2IsolationDomains_Delete_MaximumSet_Gen", + "operationId": "L2IsolationDomains_Delete", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l2IsolationDomainName": "example-l2domain" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/L2IsolationDomains_Get.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/L2IsolationDomains_Get.json new file mode 100644 index 000000000000..30a92bf1bb91 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/L2IsolationDomains_Get.json @@ -0,0 +1,45 @@ +{ + "title": "L2IsolationDomains_Get_MaximumSet_Gen", + "operationId": "L2IsolationDomains_Get", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l2IsolationDomainName": "example-l2domain" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "vlanId": 501, + "mtu": 1500, + "extendedVlan": "Enabled", + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/example-l2domain", + "name": "example-l2domain", + "type": "microsoft.managednetworkfabric/l2IsolationDomains", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/L2IsolationDomains_ListByResourceGroup.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/L2IsolationDomains_ListByResourceGroup.json new file mode 100644 index 000000000000..e231b5e86d53 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/L2IsolationDomains_ListByResourceGroup.json @@ -0,0 +1,49 @@ +{ + "title": "L2IsolationDomains_ListByResourceGroup_MaximumSet_Gen", + "operationId": "L2IsolationDomains_ListByResourceGroup", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "vlanId": 501, + "mtu": 1500, + "extendedVlan": "Enabled", + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/example-l2domain", + "name": "example-l2domain", + "type": "microsoft.managednetworkfabric/l2IsolationDomains", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/L2IsolationDomains_ListBySubscription.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/L2IsolationDomains_ListBySubscription.json new file mode 100644 index 000000000000..ec76a873fd3d --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/L2IsolationDomains_ListBySubscription.json @@ -0,0 +1,48 @@ +{ + "title": "L2IsolationDomains_ListBySubscription_MaximumSet_Gen", + "operationId": "L2IsolationDomains_ListBySubscription", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "vlanId": 501, + "mtu": 1500, + "extendedVlan": "Enabled", + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/example-l2domain", + "name": "example-l2domain", + "type": "microsoft.managednetworkfabric/l2IsolationDomains", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/L2IsolationDomains_Update.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/L2IsolationDomains_Update.json new file mode 100644 index 000000000000..c6ac3ffd60d1 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/L2IsolationDomains_Update.json @@ -0,0 +1,57 @@ +{ + "title": "L2IsolationDomains_Update_MaximumSet_Gen", + "operationId": "L2IsolationDomains_Update", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l2IsolationDomainName": "example-l2domain", + "properties": { + "tags": { + "KeyId": "KeyValue" + }, + "properties": { + "annotation": "annotation1", + "mtu": 6000, + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "vlanId": 501, + "mtu": 1500, + "extendedVlan": "Enabled", + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/example-l2domain", + "name": "example-l2domain", + "type": "microsoft.managednetworkfabric/l2IsolationDomains", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/L2IsolationDomains_UpdateAdministrativeState.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/L2IsolationDomains_UpdateAdministrativeState.json new file mode 100644 index 000000000000..8eafd68370a0 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/L2IsolationDomains_UpdateAdministrativeState.json @@ -0,0 +1,46 @@ +{ + "title": "L2IsolationDomains_UpdateAdministrativeState_MaximumSet_Gen", + "operationId": "L2IsolationDomains_UpdateAdministrativeState", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l2IsolationDomainName": "example-l2domain", + "body": { + "resourceIds": [ + "" + ], + "state": "Enable" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded", + "successfulDevices": [ + "" + ], + "failedDevices": [ + "" + ] + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/L2IsolationDomains_ValidateConfiguration.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/L2IsolationDomains_ValidateConfiguration.json new file mode 100644 index 000000000000..5a5cc173f414 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/L2IsolationDomains_ValidateConfiguration.json @@ -0,0 +1,35 @@ +{ + "title": "L2IsolationDomains_ValidateConfiguration_MaximumSet_Gen", + "operationId": "L2IsolationDomains_ValidateConfiguration", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l2IsolationDomainName": "example-l2domain" + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded", + "url": "https://ActionDetails" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/L3IsolationDomains_CommitConfiguration.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/L3IsolationDomains_CommitConfiguration.json new file mode 100644 index 000000000000..3c74f41369bc --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/L3IsolationDomains_CommitConfiguration.json @@ -0,0 +1,34 @@ +{ + "title": "L3IsolationDomains_CommitConfiguration_MaximumSet_Gen", + "operationId": "L3IsolationDomains_CommitConfiguration", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-l3domain" + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/L3IsolationDomains_Create.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/L3IsolationDomains_Create.json new file mode 100644 index 000000000000..349799982cc8 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/L3IsolationDomains_Create.json @@ -0,0 +1,179 @@ +{ + "title": "L3IsolationDomains_Create_MaximumSet_Gen", + "operationId": "L3IsolationDomains_Create", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-l3domain", + "resource": { + "properties": { + "annotation": "annotation", + "redistributeConnectedSubnets": "True", + "redistributeStaticRoutes": "True", + "aggregateRouteConfiguration": { + "ipv4Routes": [ + { + "prefix": "10.0.0.0/24" + } + ], + "ipv6Routes": [ + { + "prefix": "3FFE:FFFF:0:CD30::a0/29" + } + ] + }, + "connectedSubnetRoutePolicy": { + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + } + }, + "staticRouteRoutePolicy": { + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + } + }, + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "uniqueRdConfiguration": {}, + "routePrefixLimit": { + "hardLimit": 1, + "threshold": 90 + }, + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "redistributeConnectedSubnets": "True", + "redistributeStaticRoutes": "True", + "aggregateRouteConfiguration": { + "ipv4Routes": [ + { + "prefix": "10.0.0.0/24" + } + ], + "ipv6Routes": [ + { + "prefix": "3FFE:FFFF:0:CD30::a0/29" + } + ] + }, + "connectedSubnetRoutePolicy": { + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + } + }, + "staticRouteRoutePolicy": { + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + } + }, + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "uniqueRdConfiguration": { + "uniqueRds": [ + "uniquerd-1" + ] + }, + "routePrefixLimit": { + "hardLimit": 1, + "threshold": 90 + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain", + "name": "example-l3domain", + "type": "microsoft.managednetworkfabric/l3isolationdomains", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotation", + "redistributeConnectedSubnets": "True", + "redistributeStaticRoutes": "True", + "aggregateRouteConfiguration": { + "ipv4Routes": [ + { + "prefix": "10.0.0.0/24" + } + ], + "ipv6Routes": [ + { + "prefix": "3FFE:FFFF:0:CD30::a0/29" + } + ] + }, + "connectedSubnetRoutePolicy": { + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + } + }, + "staticRouteRoutePolicy": { + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + } + }, + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "uniqueRdConfiguration": { + "uniqueRds": [ + "uniquerd-1" + ] + }, + "routePrefixLimit": { + "hardLimit": 1, + "threshold": 90 + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain", + "name": "example-l3domain", + "type": "microsoft.managednetworkfabric/l3isolationdomains", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/L3IsolationDomains_Delete.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/L3IsolationDomains_Delete.json new file mode 100644 index 000000000000..dff9f7a7d2fc --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/L3IsolationDomains_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "L3IsolationDomains_Delete_MaximumSet_Gen", + "operationId": "L3IsolationDomains_Delete", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-l3domain" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/L3IsolationDomains_Get.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/L3IsolationDomains_Get.json new file mode 100644 index 000000000000..95c165f91309 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/L3IsolationDomains_Get.json @@ -0,0 +1,76 @@ +{ + "title": "L3IsolationDomains_Get_MaximumSet_Gen", + "operationId": "L3IsolationDomains_Get", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-l3domain" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "redistributeConnectedSubnets": "True", + "redistributeStaticRoutes": "True", + "aggregateRouteConfiguration": { + "ipv4Routes": [ + { + "prefix": "10.0.0.0/24" + } + ], + "ipv6Routes": [ + { + "prefix": "3FFE:FFFF:0:CD30::a0/29" + } + ] + }, + "connectedSubnetRoutePolicy": { + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + } + }, + "staticRouteRoutePolicy": { + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + } + }, + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "uniqueRdConfiguration": { + "uniqueRds": [ + "uniquerd-1" + ] + }, + "routePrefixLimit": { + "hardLimit": 1, + "threshold": 10 + }, + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain", + "name": "example-l3domain", + "type": "microsoft.managednetworkfabric/l3isolationdomains", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/L3IsolationDomains_ListByResourceGroup.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/L3IsolationDomains_ListByResourceGroup.json new file mode 100644 index 000000000000..18a923d41a46 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/L3IsolationDomains_ListByResourceGroup.json @@ -0,0 +1,80 @@ +{ + "title": "L3IsolationDomains_ListByResourceGroup_MaximumSet_Gen", + "operationId": "L3IsolationDomains_ListByResourceGroup", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "redistributeConnectedSubnets": "True", + "redistributeStaticRoutes": "True", + "aggregateRouteConfiguration": { + "ipv4Routes": [ + { + "prefix": "10.0.0.0/24" + } + ], + "ipv6Routes": [ + { + "prefix": "3FFE:FFFF:0:CD30::a0/29" + } + ] + }, + "connectedSubnetRoutePolicy": { + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + } + }, + "staticRouteRoutePolicy": { + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + } + }, + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "uniqueRdConfiguration": { + "uniqueRds": [ + "uniquerd-1" + ] + }, + "routePrefixLimit": { + "hardLimit": 1, + "threshold": 50 + }, + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain", + "name": "example-l3domain", + "type": "microsoft.managednetworkfabric/l3isolationdomains", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/L3IsolationDomains_ListBySubscription.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/L3IsolationDomains_ListBySubscription.json new file mode 100644 index 000000000000..8d4ea4e199fd --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/L3IsolationDomains_ListBySubscription.json @@ -0,0 +1,79 @@ +{ + "title": "L3IsolationDomains_ListBySubscription_MaximumSet_Gen", + "operationId": "L3IsolationDomains_ListBySubscription", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "redistributeConnectedSubnets": "True", + "redistributeStaticRoutes": "True", + "aggregateRouteConfiguration": { + "ipv4Routes": [ + { + "prefix": "10.0.0.0/24" + } + ], + "ipv6Routes": [ + { + "prefix": "3FFE:FFFF:0:CD30::a0/29" + } + ] + }, + "connectedSubnetRoutePolicy": { + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + } + }, + "staticRouteRoutePolicy": { + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + } + }, + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "uniqueRdConfiguration": { + "uniqueRds": [ + "uniquerd-1" + ] + }, + "routePrefixLimit": { + "hardLimit": 1, + "threshold": 50 + }, + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain", + "name": "example-l3domain", + "type": "microsoft.managednetworkfabric/l3isolationdomains", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/L3IsolationDomains_Update.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/L3IsolationDomains_Update.json new file mode 100644 index 000000000000..28ad79dcd17c --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/L3IsolationDomains_Update.json @@ -0,0 +1,116 @@ +{ + "title": "L3IsolationDomains_Update_MaximumSet_Gen", + "operationId": "L3IsolationDomains_Update", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-l3domain", + "properties": { + "tags": { + "KeyId": "KeyValue" + }, + "properties": { + "annotation": "annotation1", + "redistributeConnectedSubnets": "True", + "redistributeStaticRoutes": "True", + "aggregateRouteConfiguration": { + "ipv4Routes": [ + { + "prefix": "10.0.0.0/24" + } + ], + "ipv6Routes": [ + { + "prefix": "3FFE:FFFF:0:CD30::a0/29" + } + ] + }, + "connectedSubnetRoutePolicy": { + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + } + }, + "staticRouteRoutePolicy": { + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + } + }, + "routePrefixLimit": { + "hardLimit": 28, + "threshold": 50 + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "redistributeConnectedSubnets": "True", + "redistributeStaticRoutes": "True", + "aggregateRouteConfiguration": { + "ipv4Routes": [ + { + "prefix": "10.0.0.0/24" + } + ], + "ipv6Routes": [ + { + "prefix": "3FFE:FFFF:0:CD30::a0/29" + } + ] + }, + "connectedSubnetRoutePolicy": { + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + } + }, + "staticRouteRoutePolicy": { + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + } + }, + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "uniqueRdConfiguration": { + "uniqueRds": [ + "uniquerd-1" + ] + }, + "routePrefixLimit": { + "hardLimit": 28, + "threshold": 90 + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain", + "name": "example-l3domain", + "type": "microsoft.managednetworkfabric/l3isolationdomains", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/L3IsolationDomains_UpdateAdministrativeState.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/L3IsolationDomains_UpdateAdministrativeState.json new file mode 100644 index 000000000000..0d79600c31e0 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/L3IsolationDomains_UpdateAdministrativeState.json @@ -0,0 +1,46 @@ +{ + "title": "L3IsolationDomains_UpdateAdministrativeState_MaximumSet_Gen", + "operationId": "L3IsolationDomains_UpdateAdministrativeState", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-l3domain", + "body": { + "resourceIds": [ + "" + ], + "state": "Enable" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded", + "successfulDevices": [ + "" + ], + "failedDevices": [ + "" + ] + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/L3IsolationDomains_ValidateConfiguration.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/L3IsolationDomains_ValidateConfiguration.json new file mode 100644 index 000000000000..e8c10f5f9645 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/L3IsolationDomains_ValidateConfiguration.json @@ -0,0 +1,35 @@ +{ + "title": "L3IsolationDomains_ValidateConfiguration_MaximumSet_Gen", + "operationId": "L3IsolationDomains_ValidateConfiguration", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "l3IsolationDomainName": "example-l3domain" + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded", + "url": "mg" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NeighborGroups_Create.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NeighborGroups_Create.json new file mode 100644 index 000000000000..e6549c7ac906 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NeighborGroups_Create.json @@ -0,0 +1,130 @@ +{ + "title": "NeighborGroups_Create_MaximumSet_Gen", + "operationId": "NeighborGroups_Create", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "neighborGroupName": "example-neighborGroup", + "resource": { + "properties": { + "annotation": "annotation", + "destination": { + "ipv4Addresses": [ + "10.10.10.10", + "20.10.10.10", + "30.10.10.10", + "40.10.10.10", + "50.10.10.10", + "60.10.10.10", + "70.10.10.10", + "80.10.10.10", + "90.10.10.10" + ], + "ipv6Addresses": [ + "2F::/100" + ] + } + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "destination": { + "ipv4Addresses": [ + "10.10.10.10", + "20.10.10.10", + "30.10.10.10", + "40.10.10.10", + "50.10.10.10", + "60.10.10.10", + "70.10.10.10", + "80.10.10.10", + "90.10.10.10" + ], + "ipv6Addresses": [ + "2F::/100" + ] + }, + "networkTapIds": [ + "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-networkTap" + ], + "networkTapRuleIds": [ + "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-networkTapRule" + ], + "provisioningState": "Accepted" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/subscriptionId/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup", + "name": "example-neighborGroup", + "type": "microsoft.managednetworkfabric/neighborGroups", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotation", + "destination": { + "ipv4Addresses": [ + "10.10.10.10", + "20.10.10.10", + "30.10.10.10", + "40.10.10.10", + "50.10.10.10", + "60.10.10.10", + "70.10.10.10", + "80.10.10.10", + "90.10.10.10" + ], + "ipv6Addresses": [ + "2F::/100" + ] + }, + "networkTapIds": [ + "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-networkTap" + ], + "networkTapRuleIds": [ + "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-networkTapRule" + ], + "provisioningState": "Accepted" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/subscriptionId/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup", + "name": "example-neighborGroup", + "type": "microsoft.managednetworkfabric/neighborGroups", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NeighborGroups_Delete.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NeighborGroups_Delete.json new file mode 100644 index 000000000000..10585dc47608 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NeighborGroups_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "NeighborGroups_Delete_MaximumSet_Gen", + "operationId": "NeighborGroups_Delete", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "neighborGroupName": "example-neighborGroup" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NeighborGroups_Get.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NeighborGroups_Get.json new file mode 100644 index 000000000000..0b6fbece5896 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NeighborGroups_Get.json @@ -0,0 +1,60 @@ +{ + "title": "NeighborGroups_Get_MaximumSet_Gen", + "operationId": "NeighborGroups_Get", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "neighborGroupName": "example-neighborGroup" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "destination": { + "ipv4Addresses": [ + "10.10.10.10", + "20.10.10.10", + "30.10.10.10", + "40.10.10.10", + "50.10.10.10", + "60.10.10.10", + "70.10.10.10", + "80.10.10.10", + "90.10.10.10" + ], + "ipv6Addresses": [ + "2F::/100" + ] + }, + "networkTapIds": [ + "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-networkTap" + ], + "networkTapRuleIds": [ + "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-networkTapRule" + ], + "lastOperation": { + "details": "Succeeded" + }, + "provisioningState": "Accepted" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/subscriptionId/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup", + "name": "example-neighborGroup", + "type": "microsoft.managednetworkfabric/neighborGroups", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NeighborGroups_ListByResourceGroup.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NeighborGroups_ListByResourceGroup.json new file mode 100644 index 000000000000..9dc246eda890 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NeighborGroups_ListByResourceGroup.json @@ -0,0 +1,64 @@ +{ + "title": "NeighborGroups_ListByResourceGroup_MaximumSet_Gen", + "operationId": "NeighborGroups_ListByResourceGroup", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "destination": { + "ipv4Addresses": [ + "10.10.10.10", + "20.10.10.10", + "30.10.10.10", + "40.10.10.10", + "50.10.10.10", + "60.10.10.10", + "70.10.10.10", + "80.10.10.10", + "90.10.10.10" + ], + "ipv6Addresses": [ + "2F::/100" + ] + }, + "networkTapIds": [ + "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-networkTap" + ], + "networkTapRuleIds": [ + "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-networkTapRule" + ], + "lastOperation": { + "details": "Succeeded" + }, + "provisioningState": "Accepted" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/subscriptionId/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup", + "name": "example-neighborGroup", + "type": "microsoft.managednetworkfabric/neighborGroups", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NeighborGroups_ListBySubscription.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NeighborGroups_ListBySubscription.json new file mode 100644 index 000000000000..0746e509467e --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NeighborGroups_ListBySubscription.json @@ -0,0 +1,63 @@ +{ + "title": "NeighborGroups_ListBySubscription_MaximumSet_Gen", + "operationId": "NeighborGroups_ListBySubscription", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "destination": { + "ipv4Addresses": [ + "10.10.10.10", + "20.10.10.10", + "30.10.10.10", + "40.10.10.10", + "50.10.10.10", + "60.10.10.10", + "70.10.10.10", + "80.10.10.10", + "90.10.10.10" + ], + "ipv6Addresses": [ + "2F::/100" + ] + }, + "networkTapIds": [ + "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-networkTap" + ], + "networkTapRuleIds": [ + "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-networkTapRule" + ], + "lastOperation": { + "details": "Succeeded" + }, + "provisioningState": "Accepted" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/subscriptionId/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup", + "name": "example-neighborGroup", + "type": "microsoft.managednetworkfabric/neighborGroups", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NeighborGroups_Update.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NeighborGroups_Update.json new file mode 100644 index 000000000000..52ea00af47f9 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NeighborGroups_Update.json @@ -0,0 +1,86 @@ +{ + "title": "NeighborGroups_Update_MaximumSet_Gen", + "operationId": "NeighborGroups_Update", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "neighborGroupName": "example-neighborGroup", + "properties": { + "tags": { + "KeyId": "KeyValue" + }, + "properties": { + "annotation": "Updating", + "destination": { + "ipv4Addresses": [ + "10.10.10.10", + "20.10.10.10", + "30.10.10.10", + "40.10.10.10", + "50.10.10.10", + "60.10.10.10", + "70.10.10.10", + "80.10.10.10", + "90.10.10.10" + ], + "ipv6Addresses": [ + "2F::/100" + ] + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "destination": { + "ipv4Addresses": [ + "10.10.10.10", + "20.10.10.10", + "30.10.10.10", + "40.10.10.10", + "50.10.10.10", + "60.10.10.10", + "70.10.10.10", + "80.10.10.10", + "90.10.10.10" + ], + "ipv6Addresses": [ + "2F::/100" + ] + }, + "networkTapIds": [ + "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-networkTap" + ], + "networkTapRuleIds": [ + "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-networkTapRule" + ], + "provisioningState": "Accepted" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/subscriptionId/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup", + "name": "example-neighborGroup", + "type": "microsoft.managednetworkfabric/neighborGroups", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkDeviceSkus_Get.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkDeviceSkus_Get.json new file mode 100644 index 000000000000..860961e62917 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkDeviceSkus_Get.json @@ -0,0 +1,54 @@ +{ + "title": "NetworkDeviceSkus_Get_MaximumSet_Gen", + "operationId": "NetworkDeviceSkus_Get", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "networkDeviceSkuName": "example-deviceSku" + }, + "responses": { + "200": { + "body": { + "properties": { + "model": "model1", + "manufacturer": "Arista", + "supportedVersions": [ + { + "version": "1.0.0", + "vendorOsVersion": "2.0", + "vendorFirmwareVersion": "11.2", + "isDefault": "True" + } + ], + "supportedRoleTypes": [ + "CE" + ], + "interfaces": [ + { + "identifier": "HundredGigE0/0", + "interfaceType": "type1", + "supportedConnectorTypes": [ + { + "connectorType": "Optical", + "maxSpeedInMbps": 100 + } + ] + } + ], + "provisioningState": "Accepted" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/providers/Microsoft.ManagedNetworkFabric/networkDeviceSkus/example-deviceSku", + "name": "example-deviceSku", + "type": "microsoft.managednetworkfabric/networkDeviceSkus", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkDeviceSkus_ListBySubscription.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkDeviceSkus_ListBySubscription.json new file mode 100644 index 000000000000..56d43e0b6721 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkDeviceSkus_ListBySubscription.json @@ -0,0 +1,58 @@ +{ + "title": "NetworkDeviceSkus_ListBySubscription_MaximumSet_Gen", + "operationId": "NetworkDeviceSkus_ListBySubscription", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "model": "model1", + "manufacturer": "Arista", + "supportedVersions": [ + { + "version": "1.0.0", + "vendorOsVersion": "2.0", + "vendorFirmwareVersion": "11.2", + "isDefault": "True" + } + ], + "supportedRoleTypes": [ + "CE" + ], + "interfaces": [ + { + "identifier": "HundredGigE0/0", + "interfaceType": "type1", + "supportedConnectorTypes": [ + { + "connectorType": "Optical", + "maxSpeedInMbps": 100 + } + ] + } + ], + "provisioningState": "Accepted" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/providers/Microsoft.ManagedNetworkFabric/networkDeviceSkus/example-deviceSku", + "name": "example-deviceSku", + "type": "microsoft.managednetworkfabric/networkDeviceSkus", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkDevices_Create.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkDevices_Create.json new file mode 100644 index 000000000000..0eb2249de53c --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkDevices_Create.json @@ -0,0 +1,97 @@ +{ + "title": "NetworkDevices_Create_MaximumSet_Gen", + "operationId": "NetworkDevices_Create", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkDeviceName": "example-device", + "resource": { + "properties": { + "annotation": "annotation", + "hostName": "NFA-Device", + "serialNumber": "Vendor;DCS-7280XXX-24;12.05;JPE2111XXXX", + "networkDeviceSku": "DeviceSku", + "networkDeviceRole": "CE", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastuseuap" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "hostName": "NFA-Device", + "serialNumber": "Vendor;DCS-7280XXX-24;12.05;JPE2111XXXX", + "version": "1.0", + "networkDeviceSku": "DeviceSku", + "networkDeviceRole": "CE", + "networkRackId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-rack", + "managementIpv4Address": "10.10.10.10", + "managementIpv6Address": "2F::1/100", + "rwDeviceConfig": "hostname access-switch1\n enable secret somestrongpass", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-device", + "name": "example-device", + "type": "microsoft.managednetworkfabric/networkdevices", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotation", + "hostName": "NFA-Device", + "serialNumber": "Vendor;DCS-7280XXX-24;12.05;JPE2111XXXX", + "version": "1.0", + "networkDeviceSku": "DeviceSku", + "networkDeviceRole": "CE", + "networkRackId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-rack", + "managementIpv4Address": "10.10.10.10", + "managementIpv6Address": "2F::1/100", + "rwDeviceConfig": "hostname access-switch1\n enable secret somestrongpass", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-device", + "name": "example-device", + "type": "microsoft.managednetworkfabric/networkdevices", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkDevices_Delete.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkDevices_Delete.json new file mode 100644 index 000000000000..b83e96dc47f0 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkDevices_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "NetworkDevices_Delete_MaximumSet_Gen", + "operationId": "NetworkDevices_Delete", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkDeviceName": "example-device" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkDevices_Get.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkDevices_Get.json new file mode 100644 index 000000000000..e4433c2309af --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkDevices_Get.json @@ -0,0 +1,49 @@ +{ + "title": "NetworkDevices_Get_MaximumSet_Gen", + "operationId": "NetworkDevices_Get", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkDeviceName": "example-device" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "hostName": "NFA-Device", + "serialNumber": "Vendor;DCS-7280XXX-24;12.05;JPE2111XXXX", + "version": "1.0", + "networkDeviceSku": "DeviceSku", + "networkDeviceRole": "CE", + "networkRackId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-rack", + "managementIpv4Address": "10.10.10.10", + "managementIpv6Address": "2F::1/100", + "rwDeviceConfig": "hostname access-switch1\n enable secret somestrongpass", + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-device", + "name": "example-device", + "type": "microsoft.managednetworkfabric/networkdevices", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkDevices_ListByResourceGroup.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkDevices_ListByResourceGroup.json new file mode 100644 index 000000000000..6a442d1ea8c5 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkDevices_ListByResourceGroup.json @@ -0,0 +1,53 @@ +{ + "title": "NetworkDevices_ListByResourceGroup_MaximumSet_Gen", + "operationId": "NetworkDevices_ListByResourceGroup", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "hostName": "NFA-Device", + "serialNumber": "Vendor;DCS-7280XXX-24;12.05;JPE2111XXXX", + "version": "1.0", + "networkDeviceSku": "DeviceSku", + "networkDeviceRole": "CE", + "networkRackId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-rack", + "managementIpv4Address": "10.10.10.10", + "managementIpv6Address": "2F::1/100", + "rwDeviceConfig": "hostname access-switch1\n enable secret somestrongpass", + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-device", + "name": "example-device", + "type": "microsoft.managednetworkfabric/networkdevices", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkDevices_ListBySubscription.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkDevices_ListBySubscription.json new file mode 100644 index 000000000000..95b6a9bf82f1 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkDevices_ListBySubscription.json @@ -0,0 +1,52 @@ +{ + "title": "NetworkDevices_ListBySubscription_MaximumSet_Gen", + "operationId": "NetworkDevices_ListBySubscription", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "hostName": "NFA-Device", + "serialNumber": "Vendor;DCS-7280XXX-24;12.05;JPE2111XXXX", + "version": "1.0", + "networkDeviceSku": "DeviceSku", + "networkDeviceRole": "CE", + "networkRackId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-rack", + "managementIpv4Address": "10.10.10.10", + "managementIpv6Address": "2F::1/100", + "rwDeviceConfig": "hostname access-switch1\n enable secret somestrongpass", + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-device", + "name": "example-device", + "type": "microsoft.managednetworkfabric/networkdevices", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkDevices_Reboot.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkDevices_Reboot.json new file mode 100644 index 000000000000..5fac4569baab --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkDevices_Reboot.json @@ -0,0 +1,37 @@ +{ + "title": "NetworkDevices_Reboot_MaximumSet_Gen", + "operationId": "NetworkDevices_Reboot", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkDeviceName": "example-device", + "body": { + "rebootType": "GracefulRebootWithZTP" + } + }, + "responses": { + "200": { + "body": { + "configurationState": "Succeeded", + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkDevices_RefreshConfiguration.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkDevices_RefreshConfiguration.json new file mode 100644 index 000000000000..956946244584 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkDevices_RefreshConfiguration.json @@ -0,0 +1,34 @@ +{ + "title": "NetworkDevices_RefreshConfiguration_MaximumSet_Gen", + "operationId": "NetworkDevices_RefreshConfiguration", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkDeviceName": "example-device" + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkDevices_RunRoCommand.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkDevices_RunRoCommand.json new file mode 100644 index 000000000000..220b6f637bd1 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkDevices_RunRoCommand.json @@ -0,0 +1,47 @@ +{ + "title": "NetworkDevices_RunRoCommand_MaximumSet_Gen", + "operationId": "NetworkDevices_RunRoCommand", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "1234ABCD-0A1B-1234-5678-123456ABCDEF", + "resourceGroupName": "example-rg", + "networkDeviceName": "example-device", + "body": { + "command": "show version" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "zuwgsrizc", + "message": "v", + "target": "elwgfga", + "details": [], + "additionalInfo": [ + { + "type": "modrphiaxpggwxenqcitxvbeevku", + "info": {} + } + ] + }, + "endTime": "2025-04-25T08:06:00.912Z", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/providers/Microsoft.ManagedNetworkFabric/locations/UKSOUTH/operationStatuses/b7c3d8f2-56e4-4a9b-8c7d-123456789ABC*1234567890ABCDEF1234567890ABCDEF1234567890ABCDEF1234567890ABCDEF", + "name": "b7c3d8f2-56e4-4a9b-8c7d-123456789ABC*1234567890ABCDEF1234567890ABCDEF1234567890ABCDEF1234567890ABCDEF", + "properties": { + "configurationState": "Succeeded", + "outputUrl": "https://testsast1.blob.core.windows.net/container1", + "deviceConfigurationPreview": "{\n \"architecture\": \"arm64\",\n \"bootupTimestamp\": 1745279999.1234567,\n \"configMacAddress\": \"11:22:33:44:55:66\",\n \"hardwareRevision\": \"RevB\",\n \"hwMacAddress\": \"66:55:44:33:22:11\",\n \"imageFormatVersion\": \"2.0\",\n \"imageOptimization\": \"High\",\n \"internalBuildId\": \"a123b456-c789-0123-d456-7890e123f456\",\n \"internalVersion\": \"5.12.1FX-NX-12345678.5121FXNX\",\n \"isIntlVersion\": true,\n \"kernelVersion\": \"6.0.0-1.cm3\",\n \"memFree\": 209715200,\n \"memTotal\": 262144000,\n \"mfgName\": \"Cisco\",\n \"modelName\": \"vEOS\",\n \"serialNumber\": \"1234567890ABCDEF1234567890ABCDEF\",\n \"systemMacAddress\": \"aa:bb:cc:dd:ee:ff\",\n \"uptime\": 123456.78901234567,\n \"version\": \"5.12.1FX-NX-12345678.5121FXNX (release build)\"\n}" + }, + "resourceId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-device", + "startTime": "2025-04-25T08:06:00.912Z", + "status": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkDevices_RunRwCommand.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkDevices_RunRwCommand.json new file mode 100644 index 000000000000..354d7785cc4e --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkDevices_RunRwCommand.json @@ -0,0 +1,38 @@ +{ + "title": "NetworkDevices_RunRwCommand_MaximumSet_Gen", + "operationId": "NetworkDevices_RunRwCommand", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkDeviceName": "example-device", + "body": { + "command": "yzuabghycngqmqtfacvoh" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "svvzwijqaghjlelhr", + "message": "kgttomemzowwdiqvbtqlrd", + "target": "txdqddgrezjihhhrmdovikhm", + "details": [], + "additionalInfo": [ + { + "type": "vcaekwfqlkfzcjompti", + "info": {} + } + ] + }, + "configurationState": "Succeeded", + "outputUrl": "hypjtiwzhevuc" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkDevices_Update.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkDevices_Update.json new file mode 100644 index 000000000000..dfc91b4d8b01 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkDevices_Update.json @@ -0,0 +1,61 @@ +{ + "title": "NetworkDevices_Update_MaximumSet_Gen", + "operationId": "NetworkDevices_Update", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkDeviceName": "example-device", + "properties": { + "tags": { + "KeyId": "KeyValue" + }, + "properties": { + "annotation": "annotation", + "hostName": "NFA-Device", + "serialNumber": "Vendor;DCS-7280XXX-24;12.05;JPE2111XXXX" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "hostName": "NFA-Device", + "serialNumber": "Vendor;DCS-7280XXX-24;12.05;JPE2111XXXX", + "version": "1.0", + "networkDeviceSku": "DeviceSku", + "networkDeviceRole": "CE", + "networkRackId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-rack", + "managementIpv4Address": "10.10.10.10", + "managementIpv6Address": "2F::1/100", + "rwDeviceConfig": "hostname access-switch1\n enable secret somestrongpass", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "KeyId": "KeyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-device", + "name": "example-device", + "type": "microsoft.managednetworkfabric/networkdevices", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkDevices_UpdateAdministrativeState.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkDevices_UpdateAdministrativeState.json new file mode 100644 index 000000000000..e20ace6660bc --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkDevices_UpdateAdministrativeState.json @@ -0,0 +1,40 @@ +{ + "title": "NetworkDevices_UpdateAdministrativeState_MaximumSet_Gen", + "operationId": "NetworkDevices_UpdateAdministrativeState", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkDeviceName": "example-device", + "body": { + "resourceIds": [ + "" + ], + "state": "RMA" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkDevices_Upgrade.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkDevices_Upgrade.json new file mode 100644 index 000000000000..9ae32f7195e8 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkDevices_Upgrade.json @@ -0,0 +1,37 @@ +{ + "title": "NetworkDevices_Upgrade_MaximumSet_Gen", + "operationId": "NetworkDevices_Upgrade", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkDeviceName": "example-device", + "body": { + "version": "1.0.0" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabricControllers_Create.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabricControllers_Create.json new file mode 100644 index 000000000000..cfb75f7bdf0c --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabricControllers_Create.json @@ -0,0 +1,174 @@ +{ + "title": "NetworkFabricControllers_Create_MaximumSet_Gen", + "operationId": "NetworkFabricControllers_Create", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricControllerName": "example-networkController", + "resource": { + "properties": { + "annotation": "annotation", + "infrastructureExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName", + "expressRouteAuthorizationKey": "xxx-xxx-xxx" + } + ], + "workloadExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName", + "expressRouteAuthorizationKey": "xxx-xxx-xxx" + } + ], + "infrastructureServices": { + "ipv4AddressSpaces": [ + "172.253.0.0/19" + ], + "ipv6AddressSpaces": [] + }, + "workloadServices": { + "ipv4AddressSpaces": [ + "172.253.28.0/22" + ], + "ipv6AddressSpaces": [] + }, + "managedResourceGroupConfiguration": { + "name": "managedResourceGroupName", + "location": "eastus" + }, + "isWorkloadManagementNetworkEnabled": "True", + "ipv4AddressSpace": "172.253.0.0/19", + "ipv6AddressSpace": "::/60", + "nfcSku": "Standard" + }, + "tags": { + "keyId": "KeyValue" + }, + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "infrastructureExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName" + } + ], + "workloadExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName" + } + ], + "infrastructureServices": { + "ipv4AddressSpaces": [ + "172.253.0.0/19" + ], + "ipv6AddressSpaces": [] + }, + "workloadServices": { + "ipv4AddressSpaces": [ + "172.253.28.0/22" + ], + "ipv6AddressSpaces": [] + }, + "managedResourceGroupConfiguration": { + "name": "managedResourceGroupName", + "location": "eastus" + }, + "networkFabricIds": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/eaxmple-fabric" + ], + "isWorkloadManagementNetworkEnabled": "True", + "tenantInternetGatewayIds": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/internetGateways/example-internetGateway" + ], + "ipv4AddressSpace": "172.253.0.0/19", + "ipv6AddressSpace": "::/60", + "nfcSku": "Standard", + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-networkController", + "name": "example-networkController", + "type": "microsoft.managednetworkfabric/networkfabriccontrollers", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotation", + "infrastructureExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName" + } + ], + "workloadExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName" + } + ], + "infrastructureServices": { + "ipv4AddressSpaces": [ + "172.253.0.0/19" + ], + "ipv6AddressSpaces": [] + }, + "workloadServices": { + "ipv4AddressSpaces": [ + "172.253.28.0/22" + ], + "ipv6AddressSpaces": [] + }, + "managedResourceGroupConfiguration": { + "name": "managedResourceGroupName", + "location": "eastus" + }, + "networkFabricIds": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/eaxmple-fabric" + ], + "isWorkloadManagementNetworkEnabled": "True", + "tenantInternetGatewayIds": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/internetGateways/example-internetGateway" + ], + "ipv4AddressSpace": "172.253.0.0/19", + "ipv6AddressSpace": "::/60", + "nfcSku": "Standard", + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-networkController", + "name": "example-networkController", + "type": "microsoft.managednetworkfabric/networkfabriccontrollers", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabricControllers_Delete.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabricControllers_Delete.json new file mode 100644 index 000000000000..66bc2de3e8b7 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabricControllers_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "NetworkFabricControllers_Delete_MaximumSet_Gen", + "operationId": "NetworkFabricControllers_Delete", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricControllerName": "example-networkController" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabricControllers_Get.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabricControllers_Get.json new file mode 100644 index 000000000000..7ff43178add7 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabricControllers_Get.json @@ -0,0 +1,74 @@ +{ + "title": "NetworkFabricControllers_Get_MaximumSet_Gen", + "operationId": "NetworkFabricControllers_Get", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricControllerName": "example-networkController" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "infrastructureExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName" + } + ], + "workloadExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName" + } + ], + "infrastructureServices": { + "ipv4AddressSpaces": [ + "172.253.0.0/19" + ], + "ipv6AddressSpaces": [] + }, + "workloadServices": { + "ipv4AddressSpaces": [ + "172.253.28.0/22" + ], + "ipv6AddressSpaces": [] + }, + "managedResourceGroupConfiguration": { + "name": "managedResourceGroupName", + "location": "eastus" + }, + "networkFabricIds": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/eaxmple-fabric" + ], + "isWorkloadManagementNetworkEnabled": "True", + "tenantInternetGatewayIds": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/internetGateways/example-internetGateway" + ], + "ipv4AddressSpace": "172.253.0.0/19", + "ipv6AddressSpace": "::/60", + "nfcSku": "Standard", + "lastOperation": { + "details": "Succeeded" + }, + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-networkController", + "name": "example-networkController", + "type": "microsoft.managednetworkfabric/networkfabriccontrollers", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabricControllers_ListByResourceGroup.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabricControllers_ListByResourceGroup.json new file mode 100644 index 000000000000..8258f44a82bd --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabricControllers_ListByResourceGroup.json @@ -0,0 +1,78 @@ +{ + "title": "NetworkFabricControllers_ListByResourceGroup_MaximumSet_Gen", + "operationId": "NetworkFabricControllers_ListByResourceGroup", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "infrastructureExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName" + } + ], + "workloadExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName" + } + ], + "infrastructureServices": { + "ipv4AddressSpaces": [ + "172.253.0.0/19" + ], + "ipv6AddressSpaces": [] + }, + "workloadServices": { + "ipv4AddressSpaces": [ + "172.253.28.0/22" + ], + "ipv6AddressSpaces": [] + }, + "managedResourceGroupConfiguration": { + "name": "managedResourceGroupName", + "location": "eastus" + }, + "networkFabricIds": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/eaxmple-fabric" + ], + "isWorkloadManagementNetworkEnabled": "True", + "tenantInternetGatewayIds": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/internetGateways/example-internetGateway" + ], + "ipv4AddressSpace": "172.253.0.0/19", + "ipv6AddressSpace": "::/60", + "nfcSku": "Standard", + "lastOperation": { + "details": "Succeeded" + }, + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-networkController", + "name": "example-networkController", + "type": "microsoft.managednetworkfabric/networkfabriccontrollers", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabricControllers_ListBySubscription.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabricControllers_ListBySubscription.json new file mode 100644 index 000000000000..9fec9104010c --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabricControllers_ListBySubscription.json @@ -0,0 +1,77 @@ +{ + "title": "NetworkFabricControllers_ListBySubscription_MaximumSet_Gen", + "operationId": "NetworkFabricControllers_ListBySubscription", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "infrastructureExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName" + } + ], + "workloadExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName" + } + ], + "infrastructureServices": { + "ipv4AddressSpaces": [ + "172.253.0.0/19" + ], + "ipv6AddressSpaces": [] + }, + "workloadServices": { + "ipv4AddressSpaces": [ + "172.253.28.0/22" + ], + "ipv6AddressSpaces": [] + }, + "managedResourceGroupConfiguration": { + "name": "managedResourceGroupName", + "location": "eastus" + }, + "networkFabricIds": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/eaxmple-fabric" + ], + "isWorkloadManagementNetworkEnabled": "True", + "tenantInternetGatewayIds": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/internetGateways/example-internetGateway" + ], + "ipv4AddressSpace": "172.253.0.0/19", + "ipv6AddressSpace": "::/60", + "nfcSku": "Standard", + "lastOperation": { + "details": "Succeeded" + }, + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-networkController", + "name": "example-networkController", + "type": "microsoft.managednetworkfabric/networkfabriccontrollers", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabricControllers_Update.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabricControllers_Update.json new file mode 100644 index 000000000000..32956e2232fb --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabricControllers_Update.json @@ -0,0 +1,95 @@ +{ + "title": "NetworkFabricControllers_Update_MaximumSet_Gen", + "operationId": "NetworkFabricControllers_Update", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricControllerName": "example-networkController", + "properties": { + "tags": { + "keyId": "KeyValue" + }, + "properties": { + "infrastructureExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName", + "expressRouteAuthorizationKey": "xxx-xxx-xxx" + } + ], + "workloadExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName", + "expressRouteAuthorizationKey": "xxx-xxx-xxx" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "infrastructureExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName" + } + ], + "workloadExpressRouteConnections": [ + { + "expressRouteCircuitId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuitName" + } + ], + "infrastructureServices": { + "ipv4AddressSpaces": [ + "172.253.0.0/19" + ], + "ipv6AddressSpaces": [] + }, + "workloadServices": { + "ipv4AddressSpaces": [ + "172.253.28.0/22" + ], + "ipv6AddressSpaces": [] + }, + "managedResourceGroupConfiguration": { + "name": "managedResourceGroupName", + "location": "eastus" + }, + "networkFabricIds": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/networkFabrics/eaxmple-fabric" + ], + "isWorkloadManagementNetworkEnabled": "True", + "tenantInternetGatewayIds": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/internetGateways/example-internetGateway" + ], + "ipv4AddressSpace": "172.253.0.0/19", + "ipv6AddressSpace": "::/60", + "nfcSku": "Standard", + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "KeyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-networkController", + "name": "example-networkController", + "type": "microsoft.managednetworkfabric/networkfabriccontrollers", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabricSkus_Get.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabricSkus_Get.json new file mode 100644 index 000000000000..28ee19f69744 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabricSkus_Get.json @@ -0,0 +1,36 @@ +{ + "title": "NetworkFabricSkus_Get_MaximumSet_Gen", + "operationId": "NetworkFabricSkus_Get", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "networkFabricSkuName": "wxample-fabricsku" + }, + "responses": { + "200": { + "body": { + "properties": { + "type": "SingleRack", + "maxComputeRacks": 4, + "maximumServerCount": 9, + "supportedVersions": [ + "1.0.0" + ], + "details": "https://azure/fabricskuDetails", + "provisioningState": "Accepted" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/providers/Microsoft.ManagedNetworkFabric/networkFabricSkus/example-fabricsku", + "name": "example-fabricsku", + "type": "microsoft.managednetworkfabric/networkFabricSkus", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabricSkus_ListBySubscription.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabricSkus_ListBySubscription.json new file mode 100644 index 000000000000..40c53fb72bb0 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabricSkus_ListBySubscription.json @@ -0,0 +1,40 @@ +{ + "title": "NetworkFabricSkus_ListBySubscription_MaximumSet_Gen", + "operationId": "NetworkFabricSkus_ListBySubscription", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "type": "SingleRack", + "maxComputeRacks": 4, + "maximumServerCount": 9, + "supportedVersions": [ + "1.0.0" + ], + "details": "https://azure/fabricskuDetails", + "provisioningState": "Accepted" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/providers/Microsoft.ManagedNetworkFabric/networkFabricSkus/example-fabricsku", + "name": "example-fabricsku", + "type": "microsoft.managednetworkfabric/networkFabricSkus", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabrics_ArmConfigurationDiff.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabrics_ArmConfigurationDiff.json new file mode 100644 index 000000000000..6e028fc88a2b --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabrics_ArmConfigurationDiff.json @@ -0,0 +1,34 @@ +{ + "title": "NetworkFabrics_ArmConfigurationDiff_MaximumSet", + "operationId": "NetworkFabrics_ArmConfigurationDiff", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-fabric" + }, + "responses": { + "200": { + "body": { + "configurationDiffUrl": "", + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "seonvum", + "info": {} + } + ] + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabrics_CommitBatchStatus.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabrics_CommitBatchStatus.json new file mode 100644 index 000000000000..d0cc282b3d93 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabrics_CommitBatchStatus.json @@ -0,0 +1,43 @@ +{ + "title": "NetworkFabrics_CommitBatchStatus_MaximumSet", + "operationId": "NetworkFabrics_CommitBatchStatus", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-fabric", + "body": { + "commitBatchId": "batch-id" + } + }, + "responses": { + "200": { + "body": { + "commitBatchId": "batch-id", + "commitBatchState": "Processing", + "commitBatchDetails": { + "failedDevices": [ + "device-id-1" + ] + }, + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabrics_CommitConfiguration.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabrics_CommitConfiguration.json new file mode 100644 index 000000000000..78eb70b012d1 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabrics_CommitConfiguration.json @@ -0,0 +1,34 @@ +{ + "title": "NetworkFabrics_CommitConfiguration_MaximumSet_Gen", + "operationId": "NetworkFabrics_CommitConfiguration", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-networkFabric" + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabrics_Create.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabrics_Create.json new file mode 100644 index 000000000000..39708defaebd --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabrics_Create.json @@ -0,0 +1,518 @@ +{ + "title": "NetworkFabrics_Create_MaximumSet_Gen", + "operationId": "NetworkFabrics_Create", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-fabric", + "resource": { + "properties": { + "annotation": "annotation", + "networkFabricSku": "M4-A400-A100-C16-aa", + "fabricVersion": "version1", + "storageAccountConfiguration": { + "storageAccountId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Storage/storageAccounts/nfStorage", + "storageAccountIdentity": { + "identityType": "UserAssignedIdentity", + "userAssignedIdentityResourceId": "/subscriptions/12345678-1234-1234-1234-123456789abc/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/my-id" + } + }, + "networkFabricControllerId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-fabricController", + "rackCount": 4, + "serverCountPerRack": 8, + "storageArrayCount": 1, + "ipv4Prefix": "10.18.0.0/19", + "ipv6Prefix": "3FFE:FFFF:0:CD40::/59", + "fabricASN": 29249, + "terminalServerConfiguration": { + "username": "username", + "password": "xxx-xx-xx", + "serialNumber": "123456", + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "40.0.0.14/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127" + }, + "managementNetworkConfiguration": { + "infrastructureVpnConfiguration": { + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10050" + ], + "exportRouteTargets": [ + "65046:10050" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "mtu": 1501, + "vlanId": 3001, + "peerASN": 1235, + "bfdConfiguration": { + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "20.0.0.13/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127" + } + }, + "workloadVpnConfiguration": { + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10050" + ], + "exportRouteTargets": [ + "65046:10050" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "mtu": 1500, + "vlanId": 3000, + "peerASN": 61234, + "bfdConfiguration": { + "intervalInMilliSeconds": 300, + "multiplier": 5 + }, + "primaryIpv4Prefix": "10.0.0.14/30", + "primaryIpv6Prefix": "2FFE:FFFF:0:CD30::a7/126", + "secondaryIpv4Prefix": "10.0.0.15/30", + "secondaryIpv6Prefix": "2FFE:FFFF:0:CD30::ac/126" + } + } + }, + "hardwareAlertThreshold": 74, + "controlPlaneAcls": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl" + ], + "trustedIpPrefixes": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-prefix" + ], + "uniqueRdConfiguration": { + "uniqueRdConfigurationState": "Enabled", + "nniDerivedUniqueRdConfigurationState": "Enabled" + } + }, + "identity": { + "type": "None", + "userAssignedIdentities": { + "key872": {} + } + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkFabricSku": "M4-A400-A100-C16-aa", + "fabricVersion": "version1", + "routerIds": [ + "routerId" + ], + "storageAccountConfiguration": { + "storageAccountId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Storage/storageAccounts/nfStorage", + "storageAccountIdentity": { + "identityType": "UserAssignedIdentity", + "userAssignedIdentityResourceId": "/subscriptions/12345678-1234-1234-1234-123456789abc/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/my-id" + } + }, + "fabricLocks": [ + { + "lockState": "Enabled", + "lockType": "Configuration" + } + ], + "networkFabricControllerId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-fabricController", + "rackCount": 4, + "serverCountPerRack": 8, + "storageArrayCount": 1, + "ipv4Prefix": "10.18.0.0/19", + "ipv6Prefix": "3FFE:FFFF:0:CD40::/59", + "fabricASN": 29249, + "terminalServerConfiguration": { + "username": "username", + "serialNumber": "123456", + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "40.0.0.14/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127", + "networkDeviceId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice" + }, + "managementNetworkConfiguration": { + "infrastructureVpnConfiguration": { + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "administrativeState": "Enabled", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10050" + ], + "exportRouteTargets": [ + "65046:10050" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "mtu": 1501, + "vlanId": 3001, + "peerASN": 1235, + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "20.0.0.13/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127" + } + }, + "workloadVpnConfiguration": { + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "administrativeState": "Enabled", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10050" + ], + "exportRouteTargets": [ + "65046:10050" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "mtu": 1500, + "vlanId": 3000, + "peerASN": 61234, + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 5 + }, + "primaryIpv4Prefix": "10.0.0.14/30", + "primaryIpv6Prefix": "2FFE:FFFF:0:CD30::a7/126", + "secondaryIpv4Prefix": "10.0.0.15/30", + "secondaryIpv6Prefix": "2FFE:FFFF:0:CD30::ac/126" + } + } + }, + "racks": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-networkRack" + ], + "l2IsolationDomains": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/example-l2Domain" + ], + "l3IsolationDomains": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3Domain" + ], + "hardwareAlertThreshold": 74, + "controlPlaneAcls": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl" + ], + "featureFlags": [ + { + "featureFlagName": "uniqueRdConfiguration", + "featureFlagValue": "Enabled" + } + ], + "trustedIpPrefixes": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-prefix" + ], + "uniqueRdConfiguration": { + "uniqueRdConfigurationState": "Enabled", + "uniqueRds": [ + "unique-rd-1" + ], + "nniDerivedUniqueRdConfigurationState": "Enabled" + }, + "activeCommitBatches": [ + "batch-id" + ], + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "identity": { + "principalId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "tenantId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "type": "None", + "userAssignedIdentities": { + "key872": { + "principalId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "clientId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + } + } + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "name": "example-fabric", + "type": "Microsoft.ManagedNetworkFabric/networkFabrics", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotation", + "networkFabricSku": "M4-A400-A100-C16-aa", + "fabricVersion": "version1", + "routerIds": [ + "routerId" + ], + "storageAccountConfiguration": { + "storageAccountId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Storage/storageAccounts/nfStorage", + "storageAccountIdentity": { + "identityType": "UserAssignedIdentity", + "userAssignedIdentityResourceId": "/subscriptions/12345678-1234-1234-1234-123456789abc/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/my-id" + } + }, + "fabricLocks": [ + { + "lockState": "Enabled", + "lockType": "Configuration" + } + ], + "networkFabricControllerId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-fabricController", + "rackCount": 4, + "serverCountPerRack": 8, + "storageArrayCount": 1, + "ipv4Prefix": "10.18.0.0/19", + "ipv6Prefix": "3FFE:FFFF:0:CD40::/59", + "fabricASN": 29249, + "terminalServerConfiguration": { + "username": "username", + "serialNumber": "123456", + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "40.0.0.14/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127", + "networkDeviceId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice" + }, + "managementNetworkConfiguration": { + "infrastructureVpnConfiguration": { + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "administrativeState": "Enabled", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10050" + ], + "exportRouteTargets": [ + "65046:10050" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "mtu": 1501, + "vlanId": 3001, + "peerASN": 1235, + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "20.0.0.13/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127" + } + }, + "workloadVpnConfiguration": { + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "administrativeState": "Enabled", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10050" + ], + "exportRouteTargets": [ + "65046:10050" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "mtu": 1500, + "vlanId": 3000, + "peerASN": 61234, + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 5 + }, + "primaryIpv4Prefix": "10.0.0.14/30", + "primaryIpv6Prefix": "2FFE:FFFF:0:CD30::a7/126", + "secondaryIpv4Prefix": "10.0.0.15/30", + "secondaryIpv6Prefix": "2FFE:FFFF:0:CD30::ac/126" + } + } + }, + "racks": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-networkRack" + ], + "l2IsolationDomains": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/example-l2Domain" + ], + "l3IsolationDomains": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3Domain" + ], + "hardwareAlertThreshold": 74, + "controlPlaneAcls": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl" + ], + "featureFlags": [ + { + "featureFlagName": "uniqueRdConfiguration", + "featureFlagValue": "Enabled" + } + ], + "trustedIpPrefixes": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-prefix" + ], + "uniqueRdConfiguration": { + "uniqueRdConfigurationState": "Enabled", + "uniqueRds": [ + "unique-rd-1" + ], + "nniDerivedUniqueRdConfigurationState": "Enabled" + }, + "activeCommitBatches": [ + "batch-id" + ], + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "identity": { + "principalId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "tenantId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "type": "None", + "userAssignedIdentities": { + "key872": { + "principalId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "clientId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + } + } + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "name": "example-fabric", + "type": "Microsoft.ManagedNetworkFabric/networkFabrics", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabrics_Delete.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabrics_Delete.json new file mode 100644 index 000000000000..26e029aae8fa --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabrics_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "NetworkFabrics_Delete_MaximumSet_Gen", + "operationId": "NetworkFabrics_Delete", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-fabric" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabrics_Deprovision.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabrics_Deprovision.json new file mode 100644 index 000000000000..06522aeadab8 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabrics_Deprovision.json @@ -0,0 +1,40 @@ +{ + "title": "NetworkFabrics_Deprovision_MaximumSet_Gen", + "operationId": "NetworkFabrics_Deprovision", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-fabric" + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded", + "successfulDevices": [ + "" + ], + "failedDevices": [ + "" + ] + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabrics_DiscardCommitBatch.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabrics_DiscardCommitBatch.json new file mode 100644 index 000000000000..a2cfb81b741e --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabrics_DiscardCommitBatch.json @@ -0,0 +1,37 @@ +{ + "title": "NetworkFabrics_DiscardCommitBatch", + "operationId": "NetworkFabrics_DiscardCommitBatch", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-fabric", + "body": { + "commitBatchId": "batchId1" + } + }, + "responses": { + "200": { + "body": { + "commitBatchId": "batchId1", + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabrics_Get.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabrics_Get.json new file mode 100644 index 000000000000..17e4b37c5091 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabrics_Get.json @@ -0,0 +1,201 @@ +{ + "title": "NetworkFabrics_Get_MaximumSet_Gen", + "operationId": "NetworkFabrics_Get", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-fabric" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkFabricSku": "M4-A400-A100-C16-aa", + "fabricVersion": "version1", + "routerIds": [ + "routerId" + ], + "storageAccountConfiguration": { + "storageAccountId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Storage/storageAccounts/nfStorage", + "storageAccountIdentity": { + "identityType": "UserAssignedIdentity", + "userAssignedIdentityResourceId": "/subscriptions/12345678-1234-1234-1234-123456789abc/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/my-id" + } + }, + "fabricLocks": [ + { + "lockState": "Enabled", + "lockType": "Configuration" + } + ], + "networkFabricControllerId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-fabricController", + "rackCount": 4, + "serverCountPerRack": 8, + "storageArrayCount": 1, + "ipv4Prefix": "10.18.0.0/19", + "ipv6Prefix": "3FFE:FFFF:0:CD40::/59", + "fabricASN": 29249, + "terminalServerConfiguration": { + "username": "username", + "serialNumber": "123456", + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "40.0.0.14/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127", + "networkDeviceId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice" + }, + "managementNetworkConfiguration": { + "infrastructureVpnConfiguration": { + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "administrativeState": "Enabled", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10050" + ], + "exportRouteTargets": [ + "65046:10050" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "mtu": 1501, + "vlanId": 3001, + "peerASN": 1235, + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "20.0.0.13/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127" + } + }, + "workloadVpnConfiguration": { + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "administrativeState": "Enabled", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10050" + ], + "exportRouteTargets": [ + "65046:10050" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "mtu": 1500, + "vlanId": 3000, + "peerASN": 61234, + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 5 + }, + "primaryIpv4Prefix": "10.0.0.14/30", + "primaryIpv6Prefix": "2FFE:FFFF:0:CD30::a7/126", + "secondaryIpv4Prefix": "10.0.0.15/30", + "secondaryIpv6Prefix": "2FFE:FFFF:0:CD30::ac/126" + } + } + }, + "racks": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-networkRack" + ], + "l2IsolationDomains": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/example-l2Domain" + ], + "l3IsolationDomains": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3Domain" + ], + "hardwareAlertThreshold": 74, + "controlPlaneAcls": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl" + ], + "featureFlags": [ + { + "featureFlagName": "uniqueRdConfiguration", + "featureFlagValue": "Enabled" + } + ], + "trustedIpPrefixes": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-prefix" + ], + "uniqueRdConfiguration": { + "uniqueRdConfigurationState": "Enabled", + "uniqueRds": [ + "unique-rd-1" + ], + "nniDerivedUniqueRdConfigurationState": "Enabled" + }, + "activeCommitBatches": [ + "batch-id-1" + ], + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "identity": { + "principalId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "tenantId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "type": "None", + "userAssignedIdentities": { + "key872": { + "principalId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "clientId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + } + } + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "name": "example-fabric", + "type": "Microsoft.ManagedNetworkFabric/networkFabrics", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabrics_GetTopology.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabrics_GetTopology.json new file mode 100644 index 000000000000..90b85549addd --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabrics_GetTopology.json @@ -0,0 +1,35 @@ +{ + "title": "NetworkFabrics_GetTopology_MaximumSet_Gen", + "operationId": "NetworkFabrics_GetTopology", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-fabric" + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded", + "url": "https://ActionDetails" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabrics_ListByResourceGroup.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabrics_ListByResourceGroup.json new file mode 100644 index 000000000000..fe690a8b9062 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabrics_ListByResourceGroup.json @@ -0,0 +1,205 @@ +{ + "title": "NetworkFabrics_ListByResourceGroup_MaximumSet_Gen", + "operationId": "NetworkFabrics_ListByResourceGroup", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "networkFabricSku": "M4-A400-A100-C16-aa", + "fabricVersion": "version1", + "routerIds": [ + "routerId" + ], + "storageAccountConfiguration": { + "storageAccountId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Storage/storageAccounts/nfStorage", + "storageAccountIdentity": { + "identityType": "UserAssignedIdentity", + "userAssignedIdentityResourceId": "/subscriptions/12345678-1234-1234-1234-123456789abc/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/my-id" + } + }, + "fabricLocks": [ + { + "lockState": "Enabled", + "lockType": "Configuration" + } + ], + "networkFabricControllerId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-fabricController", + "rackCount": 4, + "serverCountPerRack": 8, + "storageArrayCount": 1, + "ipv4Prefix": "10.18.0.0/19", + "ipv6Prefix": "3FFE:FFFF:0:CD40::/59", + "fabricASN": 29249, + "terminalServerConfiguration": { + "username": "username", + "serialNumber": "123456", + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "40.0.0.14/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127", + "networkDeviceId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice" + }, + "managementNetworkConfiguration": { + "infrastructureVpnConfiguration": { + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "administrativeState": "Enabled", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10050" + ], + "exportRouteTargets": [ + "65046:10050" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "mtu": 1501, + "vlanId": 3001, + "peerASN": 1235, + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "20.0.0.13/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127" + } + }, + "workloadVpnConfiguration": { + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "administrativeState": "Enabled", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10050" + ], + "exportRouteTargets": [ + "65046:10050" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "mtu": 1500, + "vlanId": 3000, + "peerASN": 61234, + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 5 + }, + "primaryIpv4Prefix": "10.0.0.14/30", + "primaryIpv6Prefix": "2FFE:FFFF:0:CD30::a7/126", + "secondaryIpv4Prefix": "10.0.0.15/30", + "secondaryIpv6Prefix": "2FFE:FFFF:0:CD30::ac/126" + } + } + }, + "racks": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-networkRack" + ], + "l2IsolationDomains": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/example-l2Domain" + ], + "l3IsolationDomains": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3Domain" + ], + "hardwareAlertThreshold": 74, + "controlPlaneAcls": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl" + ], + "featureFlags": [ + { + "featureFlagName": "uniqueRdConfiguration", + "featureFlagValue": "Enabled" + } + ], + "trustedIpPrefixes": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-prefix" + ], + "uniqueRdConfiguration": { + "uniqueRdConfigurationState": "Enabled", + "uniqueRds": [ + "uniqueRd" + ], + "nniDerivedUniqueRdConfigurationState": "Enabled" + }, + "activeCommitBatches": [ + "batchId" + ], + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "identity": { + "principalId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "tenantId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "type": "None", + "userAssignedIdentities": { + "key872": { + "principalId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "clientId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + } + } + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "name": "example-fabric", + "type": "Microsoft.ManagedNetworkFabric/networkFabrics", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabrics_ListBySubscription.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabrics_ListBySubscription.json new file mode 100644 index 000000000000..4df91f0dfefa --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabrics_ListBySubscription.json @@ -0,0 +1,204 @@ +{ + "title": "NetworkFabrics_ListBySubscription_MaximumSet_Gen", + "operationId": "NetworkFabrics_ListBySubscription", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "networkFabricSku": "M4-A400-A100-C16-aa", + "fabricVersion": "version1", + "routerIds": [ + "routerId" + ], + "storageAccountConfiguration": { + "storageAccountId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Storage/storageAccounts/nfStorage", + "storageAccountIdentity": { + "identityType": "UserAssignedIdentity", + "userAssignedIdentityResourceId": "/subscriptions/12345678-1234-1234-1234-123456789abc/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/my-id" + } + }, + "fabricLocks": [ + { + "lockState": "Enabled", + "lockType": "Configuration" + } + ], + "networkFabricControllerId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-fabricController", + "rackCount": 4, + "serverCountPerRack": 8, + "storageArrayCount": 1, + "ipv4Prefix": "10.18.0.0/19", + "ipv6Prefix": "3FFE:FFFF:0:CD40::/59", + "fabricASN": 29249, + "terminalServerConfiguration": { + "username": "username", + "serialNumber": "123456", + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "40.0.0.14/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127", + "networkDeviceId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice" + }, + "managementNetworkConfiguration": { + "infrastructureVpnConfiguration": { + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "administrativeState": "Enabled", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10050" + ], + "exportRouteTargets": [ + "65046:10050" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "mtu": 1501, + "vlanId": 3001, + "peerASN": 1235, + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "20.0.0.13/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127" + } + }, + "workloadVpnConfiguration": { + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "administrativeState": "Enabled", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10050" + ], + "exportRouteTargets": [ + "65046:10050" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "mtu": 1500, + "vlanId": 3000, + "peerASN": 61234, + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 5 + }, + "primaryIpv4Prefix": "10.0.0.14/30", + "primaryIpv6Prefix": "2FFE:FFFF:0:CD30::a7/126", + "secondaryIpv4Prefix": "10.0.0.15/30", + "secondaryIpv6Prefix": "2FFE:FFFF:0:CD30::ac/126" + } + } + }, + "racks": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-networkRack" + ], + "l2IsolationDomains": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/example-l2Domain" + ], + "l3IsolationDomains": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3Domain" + ], + "hardwareAlertThreshold": 74, + "controlPlaneAcls": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl" + ], + "featureFlags": [ + { + "featureFlagName": "uniqueRdConfiguration", + "featureFlagValue": "Enabled" + } + ], + "trustedIpPrefixes": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-prefix" + ], + "uniqueRdConfiguration": { + "uniqueRdConfigurationState": "Enabled", + "uniqueRds": [ + "unique-rd-1" + ], + "nniDerivedUniqueRdConfigurationState": "Enabled" + }, + "activeCommitBatches": [ + "batch-id-1" + ], + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "identity": { + "principalId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "tenantId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "type": "None", + "userAssignedIdentities": { + "key872": { + "principalId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "clientId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + } + } + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "name": "example-fabric", + "type": "Microsoft.ManagedNetworkFabric/networkFabrics", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabrics_LockFabric.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabrics_LockFabric.json new file mode 100644 index 000000000000..6e147e97dbfd --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabrics_LockFabric.json @@ -0,0 +1,38 @@ +{ + "title": "NetworkFabrics_LockFabric_MaximumSet", + "operationId": "NetworkFabrics_LockFabric", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-networkFabric", + "body": { + "lockType": "Administrative", + "action": "Lock" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabrics_Provision.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabrics_Provision.json new file mode 100644 index 000000000000..f8b57a7e5b55 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabrics_Provision.json @@ -0,0 +1,40 @@ +{ + "title": "NetworkFabrics_Provision_MaximumSet_Gen", + "operationId": "NetworkFabrics_Provision", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-fabric" + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded", + "successfulDevices": [ + "" + ], + "failedDevices": [ + "" + ] + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabrics_RefreshConfiguration.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabrics_RefreshConfiguration.json new file mode 100644 index 000000000000..38d53759231f --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabrics_RefreshConfiguration.json @@ -0,0 +1,34 @@ +{ + "title": "NetworkFabrics_RefreshConfiguration_MaximumSet_Gen", + "operationId": "NetworkFabrics_RefreshConfiguration", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-fabric" + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabrics_Update.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabrics_Update.json new file mode 100644 index 000000000000..c713cf9eede5 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabrics_Update.json @@ -0,0 +1,329 @@ +{ + "title": "NetworkFabrics_Update_MaximumSet_Gen", + "operationId": "NetworkFabrics_Update", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-fabric", + "properties": { + "tags": { + "keyId": "keyValue" + }, + "identity": { + "type": "None", + "userAssignedIdentities": { + "key872": {} + } + }, + "properties": { + "annotation": "annotation1", + "rackCount": 6, + "serverCountPerRack": 10, + "ipv4Prefix": "10.18.0.0/17", + "ipv6Prefix": "3FFE:FFFF:0:CD40::/60", + "fabricASN": 12345, + "storageAccountConfiguration": { + "storageAccountId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Storage/storageAccounts/nfStorage", + "storageAccountIdentity": { + "identityType": "UserAssignedIdentity", + "userAssignedIdentityResourceId": "/subscriptions/12345678-1234-1234-1234-123456789abc/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/my-id" + } + }, + "terminalServerConfiguration": { + "username": "username1", + "password": "xxxxxxxx", + "serialNumber": "1234567", + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "40.0.0.14/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127" + }, + "managementNetworkConfiguration": { + "infrastructureVpnConfiguration": { + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10050" + ], + "exportRouteTargets": [ + "65046:10050" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "mtu": 1501, + "vlanId": 3001, + "peerASN": 1235, + "bfdConfiguration": { + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "20.0.0.13/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127" + } + }, + "workloadVpnConfiguration": { + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10050" + ], + "exportRouteTargets": [ + "65046:10050" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "mtu": 1500, + "vlanId": 3000, + "peerASN": 61234, + "bfdConfiguration": { + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "primaryIpv4Prefix": "10.0.0.14/30", + "primaryIpv6Prefix": "2FFE:FFFF:0:CD30::a7/126", + "secondaryIpv4Prefix": "10.0.0.15/30", + "secondaryIpv6Prefix": "2FFE:FFFF:0:CD30::ac/126" + } + } + }, + "hardwareAlertThreshold": 43, + "controlPlaneAcls": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl" + ], + "trustedIpPrefixes": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-prefix" + ], + "uniqueRdConfiguration": { + "uniqueRdConfigurationState": "Enabled", + "nniDerivedUniqueRdConfigurationState": "Enabled" + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkFabricSku": "M4-A400-A100-C16-aa", + "fabricVersion": "version1", + "routerIds": [ + "routerId" + ], + "storageAccountConfiguration": { + "storageAccountId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.Storage/storageAccounts/nfStorage", + "storageAccountIdentity": { + "identityType": "UserAssignedIdentity", + "userAssignedIdentityResourceId": "/subscriptions/12345678-1234-1234-1234-123456789abc/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/my-id" + } + }, + "fabricLocks": [ + { + "lockState": "Enabled", + "lockType": "Configuration" + } + ], + "networkFabricControllerId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/example-fabricController", + "rackCount": 4, + "serverCountPerRack": 8, + "storageArrayCount": 1, + "ipv4Prefix": "10.18.0.0/19", + "ipv6Prefix": "3FFE:FFFF:0:CD40::/59", + "fabricASN": 29249, + "terminalServerConfiguration": { + "username": "username", + "serialNumber": "123456", + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "40.0.0.14/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127", + "networkDeviceId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice" + }, + "managementNetworkConfiguration": { + "infrastructureVpnConfiguration": { + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "administrativeState": "Enabled", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10050" + ], + "exportRouteTargets": [ + "65046:10050" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "mtu": 1501, + "vlanId": 3001, + "peerASN": 1235, + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "20.0.0.13/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127" + } + }, + "workloadVpnConfiguration": { + "networkToNetworkInterconnectId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "administrativeState": "Enabled", + "peeringOption": "OptionA", + "optionBProperties": { + "importRouteTargets": [ + "65046:10050" + ], + "exportRouteTargets": [ + "65046:10050" + ], + "routeTargets": { + "importIpv4RouteTargets": [ + "65046:10050" + ], + "importIpv6RouteTargets": [ + "65046:10050" + ], + "exportIpv4RouteTargets": [ + "65046:10050" + ], + "exportIpv6RouteTargets": [ + "65046:10050" + ] + } + }, + "optionAProperties": { + "mtu": 1500, + "vlanId": 3000, + "peerASN": 61234, + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 5 + }, + "primaryIpv4Prefix": "10.0.0.14/30", + "primaryIpv6Prefix": "2FFE:FFFF:0:CD30::a7/126", + "secondaryIpv4Prefix": "10.0.0.15/30", + "secondaryIpv6Prefix": "2FFE:FFFF:0:CD30::ac/126" + } + } + }, + "racks": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-networkRack" + ], + "l2IsolationDomains": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/example-l2Domain" + ], + "l3IsolationDomains": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3Domain" + ], + "hardwareAlertThreshold": 74, + "controlPlaneAcls": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl" + ], + "featureFlags": [ + { + "featureFlagName": "uniqueRdConfiguration", + "featureFlagValue": "Enabled" + } + ], + "trustedIpPrefixes": [ + "/subscriptions/xxxxxx/resourceGroups/resourcegroupname/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-prefix" + ], + "uniqueRdConfiguration": { + "uniqueRdConfigurationState": "Enabled", + "uniqueRds": [ + "apogd" + ], + "nniDerivedUniqueRdConfigurationState": "Enabled" + }, + "activeCommitBatches": [ + "izc" + ], + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "identity": { + "principalId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "tenantId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "type": "None", + "userAssignedIdentities": { + "key872": { + "principalId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "clientId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + } + } + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "name": "example-fabric", + "type": "Microsoft.ManagedNetworkFabric/networkFabrics", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabrics_UpdateInfraManagementBfdConfiguration.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabrics_UpdateInfraManagementBfdConfiguration.json new file mode 100644 index 000000000000..c07cdeabf20a --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabrics_UpdateInfraManagementBfdConfiguration.json @@ -0,0 +1,40 @@ +{ + "title": "NetworkFabrics_UpdateInfraManagementBfdConfiguration_MaximumSet_Gen", + "operationId": "NetworkFabrics_UpdateInfraManagementBfdConfiguration", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-fabric", + "body": { + "resourceIds": [ + "" + ], + "state": "Enable" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabrics_UpdateWorkloadManagementBfdConfiguration.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabrics_UpdateWorkloadManagementBfdConfiguration.json new file mode 100644 index 000000000000..105e23cc2afb --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabrics_UpdateWorkloadManagementBfdConfiguration.json @@ -0,0 +1,40 @@ +{ + "title": "NetworkFabrics_UpdateWorkloadManagementBfdConfiguration_MaximumSet_Gen", + "operationId": "NetworkFabrics_UpdateWorkloadManagementBfdConfiguration", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-fabric", + "body": { + "resourceIds": [ + "" + ], + "state": "Enable" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabrics_Upgrade.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabrics_Upgrade.json new file mode 100644 index 000000000000..b1edde5b59b8 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabrics_Upgrade.json @@ -0,0 +1,38 @@ +{ + "title": "NetworkFabrics_Upgrade_MaximumSet_Gen", + "operationId": "NetworkFabrics_Upgrade", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-fabric", + "body": { + "version": "3.x.x", + "action": "Start" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabrics_ValidateConfiguration.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabrics_ValidateConfiguration.json new file mode 100644 index 000000000000..3b31f6a7b82d --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabrics_ValidateConfiguration.json @@ -0,0 +1,38 @@ +{ + "title": "NetworkFabrics_ValidateConfiguration_MaximumSet_Gen", + "operationId": "NetworkFabrics_ValidateConfiguration", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-fabric", + "body": { + "validateAction": "Cabling" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded", + "url": "https://ActionDetails" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabrics_ViewDeviceConfiguration.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabrics_ViewDeviceConfiguration.json new file mode 100644 index 000000000000..afdcf67cd3b0 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkFabrics_ViewDeviceConfiguration.json @@ -0,0 +1,34 @@ +{ + "title": "NetworkFabrics_ViewDeviceConfiguration_MaximumSet", + "operationId": "NetworkFabrics_ViewDeviceConfiguration", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-fabric" + }, + "responses": { + "200": { + "body": { + "deviceConfigurationUrl": "", + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkInterfaces_Create.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkInterfaces_Create.json new file mode 100644 index 000000000000..d34d17961a1a --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkInterfaces_Create.json @@ -0,0 +1,78 @@ +{ + "title": "NetworkInterfaces_Create_MaximumSet_Gen", + "operationId": "NetworkInterfaces_Create", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkDeviceName": "example-device", + "networkInterfaceName": "example-interface", + "resource": { + "properties": { + "annotation": "annotation", + "interfaceType": "Management", + "description": "device 1", + "additionalDescription": "device 1" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "physicalIdentifier": "Id", + "connectedTo": "external-interface", + "interfaceType": "Management", + "ipv4Address": "10.2.2.8", + "ipv6Address": "10:2:0:0::", + "description": "device 1", + "additionalDescription": "device 1", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-device/networkInterfaces/example-interface", + "name": "example-interface", + "type": "microsoft.managednetworkfabric/networkdevices/networkinterfaces", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotation", + "physicalIdentifier": "Id", + "connectedTo": "external-interface", + "description": "device 1", + "additionalDescription": "device 1", + "interfaceType": "Management", + "ipv4Address": "10.2.2.8", + "ipv6Address": "10:2:0:0::", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-device/networkInterfaces/example-interface", + "name": "example-interface", + "type": "microsoft.managednetworkfabric/networkdevices/networkinterfaces", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkInterfaces_Delete.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkInterfaces_Delete.json new file mode 100644 index 000000000000..535994e86cbd --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkInterfaces_Delete.json @@ -0,0 +1,19 @@ +{ + "title": "NetworkInterfaces_Delete_MaximumSet_Gen", + "operationId": "NetworkInterfaces_Delete", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkDeviceName": "example-device", + "networkInterfaceName": "example-interface" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkInterfaces_Get.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkInterfaces_Get.json new file mode 100644 index 000000000000..d8014747725a --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkInterfaces_Get.json @@ -0,0 +1,43 @@ +{ + "title": "NetworkInterfaces_Get_MaximumSet_Gen", + "operationId": "NetworkInterfaces_Get", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkDeviceName": "example-device", + "networkInterfaceName": "example-interface" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "physicalIdentifier": "Id", + "connectedTo": "external-interface", + "interfaceType": "Management", + "ipv4Address": "10.2.2.8", + "ipv6Address": "10:2:0:0::", + "description": "device 1", + "lastOperation": { + "details": "Succeeded" + }, + "additionalDescription": "device 1", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-device/networkInterfaces/example-interface", + "name": "example-interface", + "type": "microsoft.managednetworkfabric/networkdevices/networkinterfaces", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkInterfaces_ListByNetworkDevice.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkInterfaces_ListByNetworkDevice.json new file mode 100644 index 000000000000..c68452138776 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkInterfaces_ListByNetworkDevice.json @@ -0,0 +1,47 @@ +{ + "title": "NetworkInterfaces_ListByNetworkDevice_MaximumSet_Gen", + "operationId": "NetworkInterfaces_ListByNetworkDevice", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkDeviceName": "example-device" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "physicalIdentifier": "Id", + "connectedTo": "external-interface", + "interfaceType": "Management", + "ipv4Address": "10.2.2.8", + "ipv6Address": "10:2:0:0::", + "description": "device 1", + "lastOperation": { + "details": "Succeeded" + }, + "additionalDescription": "device 1", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-device/networkInterfaces/example-interface", + "name": "example-interface", + "type": "microsoft.managednetworkfabric/networkdevices/networkinterfaces", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkInterfaces_Update.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkInterfaces_Update.json new file mode 100644 index 000000000000..d6505e490166 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkInterfaces_Update.json @@ -0,0 +1,52 @@ +{ + "title": "NetworkInterfaces_Update_MaximumSet_Gen", + "operationId": "NetworkInterfaces_Update", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkDeviceName": "example-device", + "networkInterfaceName": "example-interface", + "properties": { + "properties": { + "annotation": "annotation", + "description": "device 1", + "additionalDescription": "device 1" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "physicalIdentifier": "Id", + "connectedTo": "external-interface", + "interfaceType": "Management", + "ipv4Address": "10.2.2.8", + "ipv6Address": "10:2:0:0::", + "description": "device 1", + "additionalDescription": "device 1", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-device/networkInterfaces/example-interface", + "name": "example-interface", + "type": "microsoft.managednetworkfabric/networkdevices/networkinterfaces", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkInterfaces_UpdateAdministrativeState.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkInterfaces_UpdateAdministrativeState.json new file mode 100644 index 000000000000..0e680a9823c6 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkInterfaces_UpdateAdministrativeState.json @@ -0,0 +1,41 @@ +{ + "title": "NetworkInterfaces_UpdateAdministrativeState_MaximumSet_Gen", + "operationId": "NetworkInterfaces_UpdateAdministrativeState", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkDeviceName": "example-device", + "networkInterfaceName": "example-interface", + "body": { + "resourceIds": [ + "" + ], + "state": "Enable" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkMonitors_Create.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkMonitors_Create.json new file mode 100644 index 000000000000..6e293f323e9a --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkMonitors_Create.json @@ -0,0 +1,138 @@ +{ + "title": "NetworkMonitors_Create", + "operationId": "NetworkMonitors_Create", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "1234ABCD-0A1B-1234-5678-123456ABCDEF", + "resourceGroupName": "example-rg", + "networkMonitorName": "example-monitor", + "resource": { + "properties": { + "annotation": "annotation", + "bmpConfiguration": { + "stationConfigurationState": "Enabled", + "scopeResourceId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "stationName": "name", + "stationIp": "10.0.0.1", + "stationPort": 62695, + "stationConnectionMode": "Active", + "stationConnectionProperties": { + "keepaliveIdleTime": 49, + "probeInterval": 3558, + "probeCount": 43 + }, + "stationNetwork": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain/internalNetworks/example-internalnetwork", + "monitoredNetworks": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain" + ], + "exportPolicy": "Pre-Policy", + "monitoredAddressFamilies": [ + "ipv4Unicast" + ] + }, + "administrativeState": "Enabled" + }, + "tags": { + "key": "value" + }, + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "bmpConfiguration": { + "scopeResourceId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "stationConfigurationState": "Enabled", + "stationName": "name", + "stationIp": "10.0.0.1", + "stationPort": 62695, + "stationConnectionMode": "Active", + "stationConnectionProperties": { + "keepaliveIdleTime": 49, + "probeInterval": 3558, + "probeCount": 43 + }, + "stationNetwork": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain/internalNetworks/example-internalnetwork", + "monitoredNetworks": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain" + ], + "exportPolicy": "Pre-Policy", + "monitoredAddressFamilies": [ + "ipv4Unicast" + ] + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "key": "value" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkMonitors/example-monitor", + "name": "example-monitor", + "type": "microsoft.managednetworkfabric/networkmonitors", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotation", + "bmpConfiguration": { + "scopeResourceId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "stationConfigurationState": "Enabled", + "stationName": "er", + "stationIp": "cno", + "stationPort": 62695, + "stationConnectionMode": "Active", + "stationConnectionProperties": { + "keepaliveIdleTime": 49, + "probeInterval": 3558, + "probeCount": 43 + }, + "stationNetwork": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain/internalNetworks/example-internalnetwork", + "monitoredNetworks": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain" + ], + "exportPolicy": "Pre-Policy", + "monitoredAddressFamilies": [ + "ipv4Unicast" + ] + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "key": "value" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkMonitors/example-monitor", + "name": "example-monitor", + "type": "microsoft.managednetworkfabric/networkmonitors", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkMonitors_Delete.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkMonitors_Delete.json new file mode 100644 index 000000000000..096e7f681d6d --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkMonitors_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "NetworkMonitors_Delete_MaximumSet", + "operationId": "NetworkMonitors_Delete", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "rgmanagednetworkfabric", + "networkMonitorName": "example-monitor" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkMonitors_Get.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkMonitors_Get.json new file mode 100644 index 000000000000..7112ade85ede --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkMonitors_Get.json @@ -0,0 +1,61 @@ +{ + "title": "NetworkMonitors_Get_MaximumSet", + "operationId": "NetworkMonitors_Get", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "1234ABCD-0A1B-1234-5678-123456ABCDEF", + "resourceGroupName": "example-rg", + "networkMonitorName": "example-monitor" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "bmpConfiguration": { + "scopeResourceId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "stationConfigurationState": "Enabled", + "stationName": "name", + "stationIp": "10.0.0.1", + "stationPort": 62695, + "stationConnectionMode": "Active", + "stationConnectionProperties": { + "keepaliveIdleTime": 49, + "probeInterval": 3558, + "probeCount": 43 + }, + "stationNetwork": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain/internalNetworks/example-internalnetwork", + "monitoredNetworks": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain" + ], + "exportPolicy": "Pre-Policy", + "monitoredAddressFamilies": [ + "ipv4Unicast" + ] + }, + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "key": "value" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkMonitors/example-monitor", + "name": "example-monitor", + "type": "microsoft.managednetworkfabric/networkmonitors", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkMonitors_ListByResourceGroup.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkMonitors_ListByResourceGroup.json new file mode 100644 index 000000000000..bd0fb34185b4 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkMonitors_ListByResourceGroup.json @@ -0,0 +1,65 @@ +{ + "title": "NetworkMonitors_ListByResourceGroup", + "operationId": "NetworkMonitors_ListByResourceGroup", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "1234ABCD-0A1B-1234-5678-123456ABCDEF", + "resourceGroupName": "example-rg" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "bmpConfiguration": { + "scopeResourceId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "stationConfigurationState": "Enabled", + "stationName": "name", + "stationIp": "10.0.0.1", + "stationPort": 62695, + "stationConnectionMode": "Active", + "stationConnectionProperties": { + "keepaliveIdleTime": 49, + "probeInterval": 3558, + "probeCount": 43 + }, + "stationNetwork": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain/internalNetworks/example-internalnetwork", + "monitoredNetworks": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain" + ], + "exportPolicy": "Pre-Policy", + "monitoredAddressFamilies": [ + "ipv4Unicast" + ] + }, + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "key5330": "whychexhqeakupefimkszcdqsnibx" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkMonitors/example-monitor", + "name": "example-monitor", + "type": "microsoft.managednetworkfabric/networkmonitors", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkMonitors_ListBySubscription.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkMonitors_ListBySubscription.json new file mode 100644 index 000000000000..b10062fd48a7 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkMonitors_ListBySubscription.json @@ -0,0 +1,64 @@ +{ + "title": "NetworkMonitors_ListBySubscription", + "operationId": "NetworkMonitors_ListBySubscription", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "1234ABCD-0A1B-1234-5678-123456ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "bmpConfiguration": { + "scopeResourceId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "stationConfigurationState": "Enabled", + "stationName": "station-name", + "stationIp": "10.0.0.1", + "stationPort": 38846, + "stationConnectionMode": "Active", + "stationConnectionProperties": { + "keepaliveIdleTime": 489, + "probeInterval": 2854, + "probeCount": 64 + }, + "stationNetwork": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain/internalNetworks/example-internalnetwork", + "monitoredNetworks": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain" + ], + "exportPolicy": "Pre-Policy", + "monitoredAddressFamilies": [ + "ipv4Unicast" + ] + }, + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "key2555": "pv" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkMonitors/example-monitor", + "name": "example-monitor", + "type": "microsoft.managednetworkfabric/networkmonitors", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkMonitors_Update.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkMonitors_Update.json new file mode 100644 index 000000000000..8f279e52b096 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkMonitors_Update.json @@ -0,0 +1,91 @@ +{ + "title": "NetworkMonitors_Update", + "operationId": "NetworkMonitors_Update", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "1234ABCD-0A1B-1234-5678-123456ABCDEF", + "resourceGroupName": "example-rg", + "networkMonitorName": "example-monitor", + "properties": { + "tags": { + "key": "value" + }, + "properties": { + "bmpConfiguration": { + "scopeResourceId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "stationConfigurationState": "Enabled", + "stationName": "name", + "stationIp": "10.0.0.1", + "stationPort": 64685, + "stationConnectionMode": "Active", + "stationConnectionProperties": { + "keepaliveIdleTime": 49, + "probeInterval": 3558, + "probeCount": 43 + }, + "stationNetwork": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain/internalNetworks/example-internalnetwork", + "monitoredNetworks": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain" + ], + "exportPolicy": "Pre-Policy", + "monitoredAddressFamilies": [ + "ipv4Unicast" + ] + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "bmpConfiguration": { + "scopeResourceId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "stationConfigurationState": "Enabled", + "stationName": "name", + "stationIp": "10.0.0.1", + "stationPort": 64685, + "stationConnectionMode": "Active", + "stationConnectionProperties": { + "keepaliveIdleTime": 49, + "probeInterval": 3558, + "probeCount": 43 + }, + "stationNetwork": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain/internalNetworks/example-internalnetwork", + "monitoredNetworks": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/example-l3domain" + ], + "exportPolicy": "Pre-Policy", + "monitoredAddressFamilies": [ + "ipv4Unicast" + ] + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "key": "value" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkMonitors/example-monitor", + "name": "example-monitor", + "type": "microsoft.managednetworkfabric/networkmonitors", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkMonitors_UpdateAdministrativeState.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkMonitors_UpdateAdministrativeState.json new file mode 100644 index 000000000000..df7fc4b69715 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkMonitors_UpdateAdministrativeState.json @@ -0,0 +1,46 @@ +{ + "title": "NetworkMonitors_UpdateAdministrativeState", + "operationId": "NetworkMonitors_UpdateAdministrativeState", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "1234ABCD-0A1B-1234-5678-123456ABCDEF", + "resourceGroupName": "example-rg", + "networkMonitorName": "example-monitor", + "body": { + "resourceIds": [ + "" + ], + "state": "Enable" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded", + "successfulDevices": [ + "" + ], + "failedDevices": [ + "" + ] + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkPacketBrokers_Create.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkPacketBrokers_Create.json new file mode 100644 index 000000000000..a1f5f170cc52 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkPacketBrokers_Create.json @@ -0,0 +1,94 @@ +{ + "title": "NetworkPacketBrokers_Create_MaximumSet_Gen", + "operationId": "NetworkPacketBrokers_Create", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkPacketBrokerName": "example-networkPacketBroker", + "resource": { + "properties": { + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-networkFabric" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-networkFabric", + "networkDeviceIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice" + ], + "sourceInterfaceIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice/networkInterfaces/example-networkInterface" + ], + "networkTapIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-networkTap" + ], + "neighborGroupIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup" + ], + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkPacketBrokers/example-networkPacketBroker", + "name": "example-networkPacketBroker", + "type": "microsoft.managednetworkfabric/networkPacketBrokers", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-networkFabric", + "networkDeviceIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice" + ], + "sourceInterfaceIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice/networkInterfaces/example-networkInterface" + ], + "networkTapIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-networkTap" + ], + "neighborGroupIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup" + ], + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkPacketBrokers/example-networkPacketBroker", + "name": "example-networkPacketBroker", + "type": "microsoft.managednetworkfabric/networkPacketBrokers", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkPacketBrokers_Delete.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkPacketBrokers_Delete.json new file mode 100644 index 000000000000..4cc741f24af3 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkPacketBrokers_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "NetworkPacketBrokers_Delete_MaximumSet_Gen", + "operationId": "NetworkPacketBrokers_Delete", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkPacketBrokerName": "example-networkPacketBroker" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkPacketBrokers_Get.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkPacketBrokers_Get.json new file mode 100644 index 000000000000..f92e2b771830 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkPacketBrokers_Get.json @@ -0,0 +1,50 @@ +{ + "title": "NetworkPacketBrokers_Get_MaximumSet_Gen", + "operationId": "NetworkPacketBrokers_Get", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkPacketBrokerName": "example-networkPacketBroker" + }, + "responses": { + "200": { + "body": { + "properties": { + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-networkFabric", + "networkDeviceIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice" + ], + "sourceInterfaceIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice/networkInterfaces/example-networkInterface" + ], + "networkTapIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-networkTap" + ], + "neighborGroupIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup" + ], + "lastOperation": { + "details": "Succeeded" + }, + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkPacketBrokers/example-networkPacketBroker", + "name": "example-networkPacketBroker", + "type": "microsoft.managednetworkfabric/networkPacketBrokers", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkPacketBrokers_ListByResourceGroup.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkPacketBrokers_ListByResourceGroup.json new file mode 100644 index 000000000000..6d7cf3b9cb55 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkPacketBrokers_ListByResourceGroup.json @@ -0,0 +1,54 @@ +{ + "title": "NetworkPacketBrokers_ListByResourceGroup_MaximumSet_Gen", + "operationId": "NetworkPacketBrokers_ListByResourceGroup", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-networkFabric", + "networkDeviceIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice" + ], + "sourceInterfaceIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice/networkInterfaces/example-networkInterface" + ], + "networkTapIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-networkTap" + ], + "neighborGroupIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup" + ], + "lastOperation": { + "details": "Succeeded" + }, + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkPacketBrokers/example-networkPacketBroker", + "name": "example-networkPacketBroker", + "type": "microsoft.managednetworkfabric/networkPacketBrokers", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkPacketBrokers_ListBySubscription.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkPacketBrokers_ListBySubscription.json new file mode 100644 index 000000000000..98f3fcdeb382 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkPacketBrokers_ListBySubscription.json @@ -0,0 +1,53 @@ +{ + "title": "NetworkPacketBrokers_ListBySubscription_MaximumSet_Gen", + "operationId": "NetworkPacketBrokers_ListBySubscription", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-networkFabric", + "networkDeviceIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice" + ], + "sourceInterfaceIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice/networkInterfaces/example-networkInterface" + ], + "networkTapIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-networkTap" + ], + "neighborGroupIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup" + ], + "lastOperation": { + "details": "Succeeded" + }, + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkPacketBrokers/example-networkPacketBroker", + "name": "example-networkPacketBroker", + "type": "microsoft.managednetworkfabric/networkPacketBrokers", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkPacketBrokers_Update.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkPacketBrokers_Update.json new file mode 100644 index 000000000000..c4819c43c398 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkPacketBrokers_Update.json @@ -0,0 +1,57 @@ +{ + "title": "NetworkPacketBrokers_Update_MaximumSet_Gen", + "operationId": "NetworkPacketBrokers_Update", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkPacketBrokerName": "example-networkPacketBroker", + "properties": { + "tags": { + "keyId": "keyValue" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-networkFabric", + "networkDeviceIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice" + ], + "sourceInterfaceIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice/networkInterfaces/example-networkInterface" + ], + "networkTapIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-networkTap" + ], + "neighborGroupIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup" + ], + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkPacketBrokers/example-networkPacketBroker", + "name": "example-networkPacketBroker", + "type": "microsoft.managednetworkfabric/networkPacketBrokers", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkRacks_Create.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkRacks_Create.json new file mode 100644 index 000000000000..e837921b25d6 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkRacks_Create.json @@ -0,0 +1,82 @@ +{ + "title": "NetworkRacks_Create_MaximumSet_Gen", + "operationId": "NetworkRacks_Create", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkRackName": "example-rack", + "resource": { + "properties": { + "annotation": "annotation", + "networkRackType": "Aggregate", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-networkFabric" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkRackType": "Aggregate", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-networkFabric", + "networkDevices": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice" + ], + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-rack", + "name": "example-rack", + "type": "microsoft.managednetworkfabric/networkRacks", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotation", + "networkRackType": "Aggregate", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-networkFabric", + "networkDevices": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice" + ], + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-rack", + "name": "example-rack", + "type": "microsoft.managednetworkfabric/networkRacks", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkRacks_Delete.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkRacks_Delete.json new file mode 100644 index 000000000000..4638074fe2f8 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkRacks_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "NetworkRacks_Delete_MaximumSet_Gen", + "operationId": "NetworkRacks_Delete", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkRackName": "example-rack" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkRacks_Get.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkRacks_Get.json new file mode 100644 index 000000000000..ff06e8c4abbb --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkRacks_Get.json @@ -0,0 +1,43 @@ +{ + "title": "NetworkRacks_Get_MaximumSet_Gen", + "operationId": "NetworkRacks_Get", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkRackName": "example-rack" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkRackType": "Aggregate", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-networkFabric", + "networkDevices": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice" + ], + "lastOperation": { + "details": "Succeeded" + }, + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-rack", + "name": "example-rack", + "type": "microsoft.managednetworkfabric/networkRacks", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkRacks_ListByResourceGroup.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkRacks_ListByResourceGroup.json new file mode 100644 index 000000000000..55de114df8c3 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkRacks_ListByResourceGroup.json @@ -0,0 +1,47 @@ +{ + "title": "NetworkRacks_ListByResourceGroup_MaximumSet_Gen", + "operationId": "NetworkRacks_ListByResourceGroup", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "networkRackType": "Aggregate", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-networkFabric", + "networkDevices": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice" + ], + "lastOperation": { + "details": "Succeeded" + }, + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-rack", + "name": "example-rack", + "type": "microsoft.managednetworkfabric/networkRacks", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkRacks_ListBySubscription.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkRacks_ListBySubscription.json new file mode 100644 index 000000000000..77c149b0222e --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkRacks_ListBySubscription.json @@ -0,0 +1,46 @@ +{ + "title": "NetworkRacks_ListBySubscription_MaximumSet_Gen", + "operationId": "NetworkRacks_ListBySubscription", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "networkRackType": "Aggregate", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-networkFabric", + "networkDevices": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice" + ], + "lastOperation": { + "details": "Succeeded" + }, + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-rack", + "name": "example-rack", + "type": "microsoft.managednetworkfabric/networkRacks", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkRacks_Update.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkRacks_Update.json new file mode 100644 index 000000000000..cd3298918823 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkRacks_Update.json @@ -0,0 +1,50 @@ +{ + "title": "NetworkRacks_Update_MaximumSet_Gen", + "operationId": "NetworkRacks_Update", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkRackName": "example-rack", + "properties": { + "tags": { + "keyId": "keyValue" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkRackType": "Aggregate", + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-networkFabric", + "networkDevices": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice" + ], + "provisioningState": "Accepted" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkRacks/example-rack", + "name": "example-rack", + "type": "microsoft.managednetworkfabric/networkRacks", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkTapRules_Create.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkTapRules_Create.json new file mode 100644 index 000000000000..287b071c9efa --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkTapRules_Create.json @@ -0,0 +1,352 @@ +{ + "title": "NetworkTapRules_Create_MaximumSet_Gen", + "operationId": "NetworkTapRules_Create", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkTapRuleName": "example-tapRule", + "resource": { + "properties": { + "annotation": "annotation", + "configurationType": "File", + "tapRulesUrl": "https://microsoft.com/a", + "matchConfigurations": [ + { + "matchConfigurationName": "config1", + "sequenceNumber": 10, + "ipAddressType": "IPv4", + "matchConditions": [ + { + "protocolTypes": [ + "TCP" + ], + "vlanMatchCondition": { + "vlans": [ + "20-30" + ], + "innerVlans": [ + "30" + ], + "vlanGroupNames": [ + "example-vlanGroup" + ] + }, + "ipCondition": { + "type": "SourceIP", + "prefixType": "Prefix", + "ipPrefixValues": [ + "10.20.20.20/12" + ], + "ipGroupNames": [ + "example-ipGroup" + ] + }, + "encapsulationType": "None", + "portCondition": { + "portType": "SourcePort", + "layer4Protocol": "TCP", + "ports": [ + "100" + ], + "portGroupNames": [ + "example-portGroup1" + ] + } + } + ], + "actions": [ + { + "type": "Drop", + "truncate": "100", + "isTimestampEnabled": "True", + "destinationId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup", + "matchConfigurationName": "match1" + } + ] + } + ], + "dynamicMatchConfigurations": [ + { + "ipGroups": [ + { + "name": "example-ipGroup", + "ipAddressType": "IPv4", + "ipPrefixes": [ + "10.20.3.1/20" + ] + } + ], + "vlanGroups": [ + { + "name": "example-vlanGroup", + "vlans": [ + "20-30" + ] + } + ], + "portGroups": [ + { + "name": "example-portGroup", + "ports": [ + "100-200" + ] + } + ] + } + ], + "pollingIntervalInSeconds": 30, + "globalNetworkTapRuleActions": { + "enableCount": "True", + "truncate": "truncate-name" + }, + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "configurationType": "File", + "tapRulesUrl": "https://microsoft.com/a", + "matchConfigurations": [ + { + "matchConfigurationName": "config1", + "sequenceNumber": 10, + "ipAddressType": "IPv4", + "matchConditions": [ + { + "protocolTypes": [ + "TCP" + ], + "vlanMatchCondition": { + "vlans": [ + "20-30" + ], + "innerVlans": [ + "30" + ], + "vlanGroupNames": [ + "example-vlanGroup" + ] + }, + "ipCondition": { + "type": "SourceIP", + "prefixType": "Prefix", + "ipPrefixValues": [ + "10.20.20.20/12" + ], + "ipGroupNames": [ + "example-ipGroup" + ] + }, + "encapsulationType": "None", + "portCondition": { + "portType": "SourcePort", + "layer4Protocol": "TCP", + "ports": [ + "100" + ], + "portGroupNames": [ + "example-portGroup1" + ] + } + } + ], + "actions": [ + { + "type": "Drop", + "truncate": "100", + "isTimestampEnabled": "True", + "destinationId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup", + "matchConfigurationName": "match1" + } + ] + } + ], + "dynamicMatchConfigurations": [ + { + "ipGroups": [ + { + "name": "example-ipGroup", + "ipAddressType": "IPv4", + "ipPrefixes": [ + "10.20.3.1/20" + ] + } + ], + "vlanGroups": [ + { + "name": "example-vlanGroup", + "vlans": [ + "20-30" + ] + } + ], + "portGroups": [ + { + "name": "example-portGroup", + "ports": [ + "100-200" + ] + } + ] + } + ], + "networkTapId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-tap", + "pollingIntervalInSeconds": 30, + "lastSyncedTime": "2023-06-12T07:11:22.485Z", + "globalNetworkTapRuleActions": { + "enableCount": "True", + "truncate": "truncate-name" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-tapRule", + "name": "example-tapRule", + "type": "microsoft.managednetworkfabric/networkTapRules", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "location": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotation", + "configurationType": "File", + "tapRulesUrl": "https://microsoft.com/a", + "matchConfigurations": [ + { + "matchConfigurationName": "config1", + "sequenceNumber": 10, + "ipAddressType": "IPv4", + "matchConditions": [ + { + "protocolTypes": [ + "TCP" + ], + "vlanMatchCondition": { + "vlans": [ + "20-30" + ], + "innerVlans": [ + "30" + ], + "vlanGroupNames": [ + "example-vlanGroup" + ] + }, + "ipCondition": { + "type": "SourceIP", + "prefixType": "Prefix", + "ipPrefixValues": [ + "10.20.20.20/12" + ], + "ipGroupNames": [ + "example-ipGroup" + ] + }, + "encapsulationType": "None", + "portCondition": { + "portType": "SourcePort", + "layer4Protocol": "TCP", + "ports": [ + "100" + ], + "portGroupNames": [ + "example-portGroup1" + ] + } + } + ], + "actions": [ + { + "type": "Drop", + "truncate": "100", + "isTimestampEnabled": "True", + "destinationId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup", + "matchConfigurationName": "match1" + } + ] + } + ], + "dynamicMatchConfigurations": [ + { + "ipGroups": [ + { + "name": "example-ipGroup", + "ipAddressType": "IPv4", + "ipPrefixes": [ + "10.20.3.1/20" + ] + } + ], + "vlanGroups": [ + { + "name": "example-vlanGroup", + "vlans": [ + "20-30" + ] + } + ], + "portGroups": [ + { + "name": "example-portGroup", + "ports": [ + "100-200" + ] + } + ] + } + ], + "networkTapId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-tap", + "pollingIntervalInSeconds": 30, + "lastSyncedTime": "2023-06-12T07:11:22.485Z", + "globalNetworkTapRuleActions": { + "enableCount": "True", + "truncate": "truncate-name" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-tapRule", + "name": "example-tapRule", + "type": "microsoft.managednetworkfabric/networkTapRules", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkTapRules_Delete.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkTapRules_Delete.json new file mode 100644 index 000000000000..5955fadcaea9 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkTapRules_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "NetworkTapRules_Delete_MaximumSet_Gen", + "operationId": "NetworkTapRules_Delete", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkTapRuleName": "example-tapRule" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkTapRules_Get.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkTapRules_Get.json new file mode 100644 index 000000000000..85d34428e545 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkTapRules_Get.json @@ -0,0 +1,133 @@ +{ + "title": "NetworkTapRules_Get_MaximumSet_Gen", + "operationId": "NetworkTapRules_Get", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkTapRuleName": "example-tapRule" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "configurationType": "File", + "tapRulesUrl": "https://microsoft.com/a", + "matchConfigurations": [ + { + "matchConfigurationName": "config1", + "sequenceNumber": 10, + "ipAddressType": "IPv4", + "matchConditions": [ + { + "protocolTypes": [ + "TCP" + ], + "vlanMatchCondition": { + "vlans": [ + "20-30" + ], + "innerVlans": [ + "30" + ], + "vlanGroupNames": [ + "example-vlanGroup" + ] + }, + "ipCondition": { + "type": "SourceIP", + "prefixType": "Prefix", + "ipPrefixValues": [ + "10.20.20.20/12" + ], + "ipGroupNames": [ + "example-ipGroup" + ] + }, + "encapsulationType": "None", + "portCondition": { + "portType": "SourcePort", + "layer4Protocol": "TCP", + "ports": [ + "100" + ], + "portGroupNames": [ + "example-portGroup1" + ] + } + } + ], + "actions": [ + { + "type": "Drop", + "truncate": "100", + "isTimestampEnabled": "True", + "destinationId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup", + "matchConfigurationName": "match1" + } + ] + } + ], + "dynamicMatchConfigurations": [ + { + "ipGroups": [ + { + "name": "example-ipGroup", + "ipAddressType": "IPv4", + "ipPrefixes": [ + "10.20.3.1/20" + ] + } + ], + "vlanGroups": [ + { + "name": "example-vlanGroup", + "vlans": [ + "20-30" + ] + } + ], + "portGroups": [ + { + "name": "example-portGroup", + "ports": [ + "100-200" + ] + } + ] + } + ], + "networkTapId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-tap", + "pollingIntervalInSeconds": 30, + "lastSyncedTime": "2023-06-12T07:11:22.485Z", + "globalNetworkTapRuleActions": { + "enableCount": "True", + "truncate": "truncate-name" + }, + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-tapRule", + "name": "example-tapRule", + "type": "microsoft.managednetworkfabric/networkTapRules", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkTapRules_ListByResourceGroup.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkTapRules_ListByResourceGroup.json new file mode 100644 index 000000000000..77e8555ff65c --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkTapRules_ListByResourceGroup.json @@ -0,0 +1,137 @@ +{ + "title": "NetworkTapRules_ListByResourceGroup_MaximumSet_Gen", + "operationId": "NetworkTapRules_ListByResourceGroup", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "configurationType": "File", + "tapRulesUrl": "https://microsoft.com/a", + "matchConfigurations": [ + { + "matchConfigurationName": "config1", + "sequenceNumber": 10, + "ipAddressType": "IPv4", + "matchConditions": [ + { + "protocolTypes": [ + "TCP" + ], + "vlanMatchCondition": { + "vlans": [ + "20-30" + ], + "innerVlans": [ + "30" + ], + "vlanGroupNames": [ + "example-vlanGroup" + ] + }, + "ipCondition": { + "type": "SourceIP", + "prefixType": "Prefix", + "ipPrefixValues": [ + "10.20.20.20/12" + ], + "ipGroupNames": [ + "example-ipGroup" + ] + }, + "encapsulationType": "None", + "portCondition": { + "portType": "SourcePort", + "layer4Protocol": "TCP", + "ports": [ + "100" + ], + "portGroupNames": [ + "example-portGroup1" + ] + } + } + ], + "actions": [ + { + "type": "Drop", + "truncate": "100", + "isTimestampEnabled": "True", + "destinationId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup", + "matchConfigurationName": "match1" + } + ] + } + ], + "dynamicMatchConfigurations": [ + { + "ipGroups": [ + { + "name": "example-ipGroup", + "ipAddressType": "IPv4", + "ipPrefixes": [ + "10.20.3.1/20" + ] + } + ], + "vlanGroups": [ + { + "name": "example-vlanGroup", + "vlans": [ + "20-30" + ] + } + ], + "portGroups": [ + { + "name": "example-portGroup", + "ports": [ + "100-200" + ] + } + ] + } + ], + "networkTapId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-tap", + "pollingIntervalInSeconds": 30, + "lastSyncedTime": "2023-06-12T07:11:22.485Z", + "globalNetworkTapRuleActions": { + "enableCount": "True", + "truncate": "truncate-name" + }, + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-tapRule", + "name": "example-tapRule", + "type": "microsoft.managednetworkfabric/networkTapRules", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkTapRules_ListBySubscription.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkTapRules_ListBySubscription.json new file mode 100644 index 000000000000..4905845157ec --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkTapRules_ListBySubscription.json @@ -0,0 +1,136 @@ +{ + "title": "NetworkTapRules_ListBySubscription_MaximumSet_Gen", + "operationId": "NetworkTapRules_ListBySubscription", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "configurationType": "File", + "tapRulesUrl": "https://microsoft.com/a", + "matchConfigurations": [ + { + "matchConfigurationName": "config1", + "sequenceNumber": 10, + "ipAddressType": "IPv4", + "matchConditions": [ + { + "protocolTypes": [ + "TCP" + ], + "vlanMatchCondition": { + "vlans": [ + "20-30" + ], + "innerVlans": [ + "30" + ], + "vlanGroupNames": [ + "example-vlanGroup" + ] + }, + "ipCondition": { + "type": "SourceIP", + "prefixType": "Prefix", + "ipPrefixValues": [ + "10.20.20.20/12" + ], + "ipGroupNames": [ + "example-ipGroup" + ] + }, + "encapsulationType": "None", + "portCondition": { + "portType": "SourcePort", + "layer4Protocol": "TCP", + "ports": [ + "100" + ], + "portGroupNames": [ + "example-portGroup1" + ] + } + } + ], + "actions": [ + { + "type": "Drop", + "truncate": "100", + "isTimestampEnabled": "True", + "destinationId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup", + "matchConfigurationName": "match1" + } + ] + } + ], + "dynamicMatchConfigurations": [ + { + "ipGroups": [ + { + "name": "example-ipGroup", + "ipAddressType": "IPv4", + "ipPrefixes": [ + "10.20.3.1/20" + ] + } + ], + "vlanGroups": [ + { + "name": "example-vlanGroup", + "vlans": [ + "20-30" + ] + } + ], + "portGroups": [ + { + "name": "example-portGroup", + "ports": [ + "100-200" + ] + } + ] + } + ], + "networkTapId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-tap", + "pollingIntervalInSeconds": 30, + "lastSyncedTime": "2023-06-12T07:11:22.485Z", + "globalNetworkTapRuleActions": { + "enableCount": "True", + "truncate": "truncate-name" + }, + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-tapRule", + "name": "example-tapRule", + "type": "microsoft.managednetworkfabric/networkTapRules", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkTapRules_Resync.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkTapRules_Resync.json new file mode 100644 index 000000000000..e6f8b090dab2 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkTapRules_Resync.json @@ -0,0 +1,34 @@ +{ + "title": "NetworkTapRules_Resync_MaximumSet_Gen", + "operationId": "NetworkTapRules_Resync", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkTapRuleName": "example-tapRule" + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkTapRules_Update.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkTapRules_Update.json new file mode 100644 index 000000000000..836771675e4a --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkTapRules_Update.json @@ -0,0 +1,233 @@ +{ + "title": "NetworkTapRules_Update_MaximumSet_Gen", + "operationId": "NetworkTapRules_Update", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkTapRuleName": "example-tapRule", + "properties": { + "tags": { + "keyId": "keyValue" + }, + "properties": { + "annotation": "annotation", + "configurationType": "File", + "tapRulesUrl": "https://microsoft.com/amdsdx", + "globalNetworkTapRuleActions": { + "enableCount": "True", + "truncate": "truncate-name" + }, + "matchConfigurations": [ + { + "matchConfigurationName": "config1", + "sequenceNumber": 10, + "ipAddressType": "IPv4", + "matchConditions": [ + { + "protocolTypes": [ + "TCP" + ], + "vlanMatchCondition": { + "vlans": [ + "20-30" + ], + "innerVlans": [ + "30" + ], + "vlanGroupNames": [ + "example-vlanGroup" + ] + }, + "ipCondition": { + "type": "SourceIP", + "prefixType": "Prefix", + "ipPrefixValues": [ + "10.20.20.20/12" + ], + "ipGroupNames": [ + "example-ipGroup" + ] + }, + "encapsulationType": "None", + "portCondition": { + "portType": "SourcePort", + "layer4Protocol": "TCP", + "ports": [ + "100" + ], + "portGroupNames": [ + "example-portGroup1" + ] + } + } + ], + "actions": [ + { + "type": "Drop", + "truncate": "100", + "isTimestampEnabled": "True", + "destinationId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup", + "matchConfigurationName": "match1" + } + ] + } + ], + "dynamicMatchConfigurations": [ + { + "ipGroups": [ + { + "name": "example-ipGroup", + "ipAddressType": "IPv4", + "ipPrefixes": [ + "10.20.3.1/20" + ] + } + ], + "vlanGroups": [ + { + "name": "example-vlanGroup", + "vlans": [ + "20-30" + ] + } + ], + "portGroups": [ + { + "name": "example-portGroup", + "ports": [ + "100-200" + ] + } + ] + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "configurationType": "File", + "tapRulesUrl": "https://microsoft.com/a", + "matchConfigurations": [ + { + "matchConfigurationName": "config1", + "sequenceNumber": 10, + "ipAddressType": "IPv4", + "matchConditions": [ + { + "protocolTypes": [ + "TCP" + ], + "vlanMatchCondition": { + "vlans": [ + "20-30" + ], + "innerVlans": [ + "30" + ], + "vlanGroupNames": [ + "example-vlanGroup" + ] + }, + "ipCondition": { + "type": "SourceIP", + "prefixType": "Prefix", + "ipPrefixValues": [ + "10.20.20.20/12" + ], + "ipGroupNames": [ + "example-ipGroup" + ] + }, + "encapsulationType": "None", + "portCondition": { + "portType": "SourcePort", + "layer4Protocol": "TCP", + "ports": [ + "100" + ], + "portGroupNames": [ + "example-portGroup1" + ] + } + } + ], + "actions": [ + { + "type": "Drop", + "truncate": "100", + "isTimestampEnabled": "True", + "destinationId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup", + "matchConfigurationName": "match1" + } + ] + } + ], + "dynamicMatchConfigurations": [ + { + "ipGroups": [ + { + "name": "example-ipGroup", + "ipAddressType": "IPv4", + "ipPrefixes": [ + "10.20.3.1/20" + ] + } + ], + "vlanGroups": [ + { + "name": "example-vlanGroup", + "vlans": [ + "20-30" + ] + } + ], + "portGroups": [ + { + "name": "example-portGroup", + "ports": [ + "100-200" + ] + } + ] + } + ], + "networkTapId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-tap", + "pollingIntervalInSeconds": 30, + "lastSyncedTime": "2023-06-12T07:11:22.485Z", + "globalNetworkTapRuleActions": { + "enableCount": "True", + "truncate": "truncate-name" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-tapRule", + "name": "example-tapRule", + "type": "microsoft.managednetworkfabric/networkTapRules", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkTapRules_UpdateAdministrativeState.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkTapRules_UpdateAdministrativeState.json new file mode 100644 index 000000000000..96938eeaf2ba --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkTapRules_UpdateAdministrativeState.json @@ -0,0 +1,40 @@ +{ + "title": "NetworkTapRules_UpdateAdministrativeState_MaximumSet_Gen", + "operationId": "NetworkTapRules_UpdateAdministrativeState", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkTapRuleName": "example-tapRule", + "body": { + "resourceIds": [ + "" + ], + "state": "Enable" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkTapRules_ValidateConfiguration.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkTapRules_ValidateConfiguration.json new file mode 100644 index 000000000000..ef9cb94452da --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkTapRules_ValidateConfiguration.json @@ -0,0 +1,35 @@ +{ + "title": "NetworkTapRules_ValidateConfiguration_MaximumSet_Gen", + "operationId": "NetworkTapRules_ValidateConfiguration", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkTapRuleName": "example-tapRule" + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded", + "url": "https://ActionDetails" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkTaps_Create.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkTaps_Create.json new file mode 100644 index 000000000000..fb22cba01135 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkTaps_Create.json @@ -0,0 +1,125 @@ +{ + "title": "NetworkTaps_Create_MaximumSet_Gen", + "operationId": "NetworkTaps_Create", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkTapName": "example-networkTap", + "resource": { + "properties": { + "annotation": "annotation", + "networkPacketBrokerId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkPacketBrokers/example-networkPacketBroker", + "destinations": [ + { + "name": "example-destinaionName", + "destinationType": "IsolationDomain", + "destinationId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsloationDomains/example-l3Domain/internalNetworks/example-internalNetwork", + "isolationDomainProperties": { + "encapsulation": "None", + "neighborGroupIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup" + ] + }, + "destinationTapRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-destinationTapRule" + } + ], + "pollingType": "Pull", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkPacketBrokerId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkPacketBrokers/example-networkPacketBroker", + "sourceTapRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-sourceTapRule", + "destinations": [ + { + "name": "example-destinaionName", + "destinationType": "IsolationDomain", + "destinationId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsloationDomains/example-l3Domain/internalNetworks/example-internalNetwork", + "isolationDomainProperties": { + "encapsulation": "None", + "neighborGroupIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup" + ] + }, + "destinationTapRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-destinationTapRule" + } + ], + "pollingType": "Pull", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-networkTap", + "name": "example-networkTap", + "type": "microsoft.managednetworkfabric/networkTaps", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotation", + "networkPacketBrokerId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkPacketBrokers/example-networkPacketBroker", + "sourceTapRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-sourceTapRule", + "destinations": [ + { + "name": "example-destinaionName", + "destinationType": "IsolationDomain", + "destinationId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsloationDomains/example-l3Domain/internalNetworks/example-internalNetwork", + "isolationDomainProperties": { + "encapsulation": "None", + "neighborGroupIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup" + ] + }, + "destinationTapRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-destinationTapRule" + } + ], + "pollingType": "Pull", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-networkTap", + "name": "example-networkTap", + "type": "microsoft.managednetworkfabric/networkTaps", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkTaps_Delete.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkTaps_Delete.json new file mode 100644 index 000000000000..8e7737bd334a --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkTaps_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "NetworkTaps_Delete_MaximumSet_Gen", + "operationId": "NetworkTaps_Delete", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkTapName": "example-networkTap" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkTaps_Get.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkTaps_Get.json new file mode 100644 index 000000000000..1f6ba4b71b3d --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkTaps_Get.json @@ -0,0 +1,57 @@ +{ + "title": "NetworkTaps_Get_MaximumSet_Gen", + "operationId": "NetworkTaps_Get", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkTapName": "example-networkTap" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkPacketBrokerId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkPacketBrokers/example-networkPacketBroker", + "sourceTapRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-sourceTapRule", + "destinations": [ + { + "name": "example-destinaionName", + "destinationType": "IsolationDomain", + "destinationId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsloationDomains/example-l3Domain/internalNetworks/example-internalNetwork", + "isolationDomainProperties": { + "encapsulation": "None", + "neighborGroupIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup" + ] + }, + "destinationTapRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-destinationTapRule" + } + ], + "pollingType": "Pull", + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-networkTap", + "name": "example-networkTap", + "type": "microsoft.managednetworkfabric/networkTaps", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkTaps_ListByResourceGroup.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkTaps_ListByResourceGroup.json new file mode 100644 index 000000000000..d2651e5d89a9 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkTaps_ListByResourceGroup.json @@ -0,0 +1,61 @@ +{ + "title": "NetworkTaps_ListByResourceGroup_MaximumSet_Gen", + "operationId": "NetworkTaps_ListByResourceGroup", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "networkPacketBrokerId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkPacketBrokers/example-networkPacketBroker", + "sourceTapRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-sourceTapRule", + "destinations": [ + { + "name": "example-destinaionName", + "destinationType": "IsolationDomain", + "destinationId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsloationDomains/example-l3Domain/internalNetworks/example-internalNetwork", + "isolationDomainProperties": { + "encapsulation": "None", + "neighborGroupIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup" + ] + }, + "destinationTapRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-destinationTapRule" + } + ], + "pollingType": "Pull", + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-networkTap", + "name": "example-networkTap", + "type": "microsoft.managednetworkfabric/networkTaps", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkTaps_ListBySubscription.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkTaps_ListBySubscription.json new file mode 100644 index 000000000000..91891b276b61 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkTaps_ListBySubscription.json @@ -0,0 +1,60 @@ +{ + "title": "NetworkTaps_ListBySubscription_MaximumSet_Gen", + "operationId": "NetworkTaps_ListBySubscription", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "networkPacketBrokerId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkPacketBrokers/example-networkPacketBroker", + "sourceTapRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-sourceTapRule", + "destinations": [ + { + "name": "example-destinaionName", + "destinationType": "IsolationDomain", + "destinationId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsloationDomains/example-l3Domain/internalNetworks/example-internalNetwork", + "isolationDomainProperties": { + "encapsulation": "None", + "neighborGroupIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup" + ] + }, + "destinationTapRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-destinationTapRule" + } + ], + "pollingType": "Pull", + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-networkTap", + "name": "example-networkTap", + "type": "microsoft.managednetworkfabric/networkTaps", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkTaps_Resync.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkTaps_Resync.json new file mode 100644 index 000000000000..744e6c31f0fc --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkTaps_Resync.json @@ -0,0 +1,34 @@ +{ + "title": "NetworkTaps_Resync_MaximumSet_Gen", + "operationId": "NetworkTaps_Resync", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkTapName": "example-networkTap" + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkTaps_Update.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkTaps_Update.json new file mode 100644 index 000000000000..a8937f1b4593 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkTaps_Update.json @@ -0,0 +1,82 @@ +{ + "title": "NetworkTaps_Update_MaximumSet_Gen", + "operationId": "NetworkTaps_Update", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkTapName": "example-networkTap", + "properties": { + "tags": { + "keyId": "keyValue" + }, + "properties": { + "annotation": "annotation1", + "pollingType": "Pull", + "destinations": [ + { + "name": "example-destinaionName", + "destinationType": "IsolationDomain", + "destinationId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsloationDomains/example-l3Domain/internalNetworks/example-internalNetwork", + "isolationDomainProperties": { + "encapsulation": "None", + "neighborGroupIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup" + ] + }, + "destinationTapRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-destinationTapRule" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "networkPacketBrokerId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkPacketBrokers/example-networkPacketBroker", + "sourceTapRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-sourceTapRule", + "destinations": [ + { + "name": "example-destinaionName", + "destinationType": "IsolationDomain", + "destinationId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/l3IsloationDomains/example-l3Domain/internalNetworks/example-internalNetwork", + "isolationDomainProperties": { + "encapsulation": "None", + "neighborGroupIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup" + ] + }, + "destinationTapRuleId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTapRules/example-destinationTapRule" + } + ], + "pollingType": "Pull", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastuseuap", + "id": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkTaps/example-networkTap", + "name": "example-networkTap", + "type": "microsoft.managednetworkfabric/networkTaps", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkTaps_UpdateAdministrativeState.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkTaps_UpdateAdministrativeState.json new file mode 100644 index 000000000000..f4d3284e8f5e --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkTaps_UpdateAdministrativeState.json @@ -0,0 +1,46 @@ +{ + "title": "NetworkTaps_UpdateAdministrativeState_MaximumSet_Gen", + "operationId": "NetworkTaps_UpdateAdministrativeState", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkTapName": "example-networkTap", + "body": { + "resourceIds": [ + "" + ], + "state": "Enable" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded", + "successfulDevices": [ + "" + ], + "failedDevices": [ + "" + ] + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkToNetworkInterconnects_Create.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkToNetworkInterconnects_Create.json new file mode 100644 index 000000000000..a9063c128375 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkToNetworkInterconnects_Create.json @@ -0,0 +1,375 @@ +{ + "title": "NetworkToNetworkInterconnects_Create_MaximumSet_Gen", + "operationId": "NetworkToNetworkInterconnects_Create", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-nf", + "networkToNetworkInterconnectName": "example-nni", + "resource": { + "properties": { + "nniType": "CE", + "isManagementType": "True", + "useOptionB": "True", + "layer2Configuration": { + "mtu": 1500, + "interfaces": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice/networkInterfaces/example-networkInterface" + ] + }, + "optionBLayer3Configuration": { + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "40.0.0.14/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127", + "peerASN": 61234, + "vlanId": 1234, + "peLoopbackIpAddress": [ + "10.0.0.1" + ], + "bmpConfiguration": { + "configurationState": "Enabled" + }, + "prefixLimits": [ + { + "maximumRoutes": 24 + } + ] + }, + "npbStaticRouteConfiguration": { + "bfdConfiguration": { + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "jffgck", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "jffgck", + "nextHop": [ + "10.0.0.1" + ] + } + ] + }, + "staticRouteConfiguration": { + "bfdConfiguration": { + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "jffgck", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "2fff::/64", + "nextHop": [ + "3ffe::1" + ] + } + ] + }, + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "microBfdState": "Enabled", + "conditionalDefaultRouteConfiguration": { + "ipv4Routes": [ + { + "prefix": "10.0.0.1/24", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "fe08:00/64", + "nextHop": [ + "fe01::1" + ] + } + ] + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "nniType": "CE", + "isManagementType": "True", + "useOptionB": "True", + "layer2Configuration": { + "mtu": 1500, + "interfaces": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice/networkInterfaces/example-networkInterface" + ] + }, + "optionBLayer3Configuration": { + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "40.0.0.14/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127", + "peerASN": 61234, + "vlanId": 1234, + "fabricASN": 17, + "peLoopbackIpAddress": [ + "10.0.0.1" + ], + "bmpConfiguration": { + "configurationState": "Enabled" + }, + "prefixLimits": [ + { + "maximumRoutes": 24 + } + ] + }, + "npbStaticRouteConfiguration": { + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "10.0.0.1/24", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "fe08:00/64", + "nextHop": [ + "10.0.0.1" + ] + } + ] + }, + "staticRouteConfiguration": { + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "10.0.0.1/24", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "2fff::/64", + "nextHop": [ + "3ffe::1" + ] + } + ] + }, + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "microBfdState": "Enabled", + "conditionalDefaultRouteConfiguration": { + "ipv4Routes": [ + { + "prefix": "10.0.0.1/24", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "fe08:00/64", + "nextHop": [ + "fe01::1" + ] + } + ] + }, + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "name": "example-nni", + "type": "microsoft.managedNetworkFabric/networkFabrics/networkToNetworkInterconnects", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "nniType": "CE", + "isManagementType": "True", + "useOptionB": "True", + "layer2Configuration": { + "mtu": 1500, + "interfaces": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice/networkInterfaces/example-networkInterface" + ] + }, + "optionBLayer3Configuration": { + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "40.0.0.14/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127", + "peerASN": 61234, + "vlanId": 1234, + "fabricASN": 17, + "peLoopbackIpAddress": [ + "10.0.0.1" + ], + "bmpConfiguration": { + "configurationState": "Enabled" + }, + "prefixLimits": [ + { + "maximumRoutes": 24 + } + ] + }, + "npbStaticRouteConfiguration": { + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "jffgck", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "2fff::/64", + "nextHop": [ + "10.0.0.1" + ] + } + ] + }, + "staticRouteConfiguration": { + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "10.0.0.1/24", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "2fff::/64", + "nextHop": [ + "3ffe::1" + ] + } + ] + }, + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "microBfdState": "Enabled", + "conditionalDefaultRouteConfiguration": { + "ipv4Routes": [ + { + "prefix": "10.0.0.1/24", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "2fff::/64", + "nextHop": [ + "3ffe::1" + ] + } + ] + }, + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "name": "example-nni", + "type": "microsoft.managedNetworkFabric/networkFabrics/networkToNetworkInterconnects", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkToNetworkInterconnects_Delete.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkToNetworkInterconnects_Delete.json new file mode 100644 index 000000000000..8ffaca408c77 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkToNetworkInterconnects_Delete.json @@ -0,0 +1,19 @@ +{ + "title": "NetworkToNetworkInterconnects_Delete_MaximumSet_Gen", + "operationId": "NetworkToNetworkInterconnects_Delete", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-nf", + "networkToNetworkInterconnectName": "example-nni" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkToNetworkInterconnects_Get.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkToNetworkInterconnects_Get.json new file mode 100644 index 000000000000..ce02392130ca --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkToNetworkInterconnects_Get.json @@ -0,0 +1,140 @@ +{ + "title": "NetworkToNetworkInterconnects_Get_MaximumSet_Gen", + "operationId": "NetworkToNetworkInterconnects_Get", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-nf", + "networkToNetworkInterconnectName": "example-nni" + }, + "responses": { + "200": { + "body": { + "properties": { + "nniType": "CE", + "isManagementType": "True", + "useOptionB": "True", + "layer2Configuration": { + "mtu": 1500, + "interfaces": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice/networkInterfaces/example-networkInterface" + ] + }, + "optionBLayer3Configuration": { + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "40.0.0.14/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127", + "peerASN": 61234, + "vlanId": 1234, + "fabricASN": 17, + "peLoopbackIpAddress": [ + "10.0.0.1" + ], + "bmpConfiguration": { + "configurationState": "Enabled" + }, + "prefixLimits": [ + { + "maximumRoutes": 24 + } + ] + }, + "npbStaticRouteConfiguration": { + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "10.0.0.1/24", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "fe80::/64", + "nextHop": [ + "10.0.0.1" + ] + } + ] + }, + "staticRouteConfiguration": { + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "10.0.0.1/24", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "2fff::/64", + "nextHop": [ + "3ffe::1" + ] + } + ] + }, + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "microBfdState": "Enabled", + "conditionalDefaultRouteConfiguration": { + "ipv4Routes": [ + { + "prefix": "10.0.0.1/24", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "fe80::/64", + "nextHop": [ + "fe80::1" + ] + } + ] + }, + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "name": "example-nni", + "type": "microsoft.managedNetworkFabric/networkFabrics/networkToNetworkInterconnects", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkToNetworkInterconnects_ListByNetworkFabric.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkToNetworkInterconnects_ListByNetworkFabric.json new file mode 100644 index 000000000000..3c963f1a5fb6 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkToNetworkInterconnects_ListByNetworkFabric.json @@ -0,0 +1,144 @@ +{ + "title": "NetworkToNetworkInterconnects_ListByNetworkFabric_MaximumSet_Gen", + "operationId": "NetworkToNetworkInterconnects_ListByNetworkFabric", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-nf" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "nniType": "CE", + "isManagementType": "True", + "useOptionB": "True", + "layer2Configuration": { + "mtu": 1500, + "interfaces": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice/networkInterfaces/example-networkInterface" + ] + }, + "optionBLayer3Configuration": { + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "40.0.0.14/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127", + "peerASN": 61234, + "vlanId": 1234, + "fabricASN": 17, + "peLoopbackIpAddress": [ + "10.0.0.1" + ], + "bmpConfiguration": { + "configurationState": "Enabled" + }, + "prefixLimits": [ + { + "maximumRoutes": 24 + } + ] + }, + "npbStaticRouteConfiguration": { + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "jffgck", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "jffgck", + "nextHop": [ + "10.0.0.1" + ] + } + ] + }, + "staticRouteConfiguration": { + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "jffgck", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "2fff::/64", + "nextHop": [ + "3ffe::1" + ] + } + ] + }, + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "microBfdState": "Enabled", + "conditionalDefaultRouteConfiguration": { + "ipv4Routes": [ + { + "prefix": "10.0.0.1/24", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "fe80::/64", + "nextHop": [ + "fe80::1" + ] + } + ] + }, + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "name": "example-nni", + "type": "microsoft.managedNetworkFabric/networkFabrics/networkToNetworkInterconnects", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkToNetworkInterconnects_Update.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkToNetworkInterconnects_Update.json new file mode 100644 index 000000000000..d7e80f204413 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkToNetworkInterconnects_Update.json @@ -0,0 +1,221 @@ +{ + "title": "NetworkToNetworkInterconnects_Update_MaximumSet_Gen", + "operationId": "NetworkToNetworkInterconnects_Update", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-nf", + "networkToNetworkInterconnectName": "example-nni", + "properties": { + "properties": { + "layer2Configuration": { + "mtu": 1500, + "interfaces": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice/networkInterfaces/example-networkInterface" + ] + }, + "optionBLayer3Configuration": { + "primaryIpv4Prefix": "20.0.0.12/29", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "20.0.0.14/29", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127", + "peerASN": 2345, + "vlanId": 1235, + "peLoopbackIpAddress": [ + "10.0.0.1" + ], + "bmpConfiguration": { + "configurationState": "Enabled" + }, + "prefixLimits": [ + { + "maximumRoutes": 1 + } + ] + }, + "npbStaticRouteConfiguration": { + "bfdConfiguration": { + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "10.0.0.1/24", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "fe80::/64", + "nextHop": [ + "fe80::1" + ] + } + ] + }, + "staticRouteConfiguration": { + "bfdConfiguration": { + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "10.0.0.1", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "2fff::/64", + "nextHop": [ + "3ffe::1" + ] + } + ] + }, + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "microBfdState": "Enabled" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "nniType": "CE", + "isManagementType": "True", + "useOptionB": "True", + "layer2Configuration": { + "mtu": 1500, + "interfaces": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice/networkInterfaces/example-networkInterface" + ] + }, + "optionBLayer3Configuration": { + "primaryIpv4Prefix": "10.0.0.12/30", + "primaryIpv6Prefix": "4FFE:FFFF:0:CD30::a8/127", + "secondaryIpv4Prefix": "40.0.0.14/30", + "secondaryIpv6Prefix": "6FFE:FFFF:0:CD30::ac/127", + "peerASN": 61234, + "vlanId": 1234, + "fabricASN": 17, + "peLoopbackIpAddress": [ + "10.0.0.1" + ], + "bmpConfiguration": { + "configurationState": "Enabled" + } + }, + "npbStaticRouteConfiguration": { + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "10.0.0.1/24", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "fe80::/64", + "nextHop": [ + "fe80::1" + ] + } + ] + }, + "staticRouteConfiguration": { + "bfdConfiguration": { + "administrativeState": "Enabled", + "intervalInMilliSeconds": 300, + "multiplier": 10 + }, + "ipv4Routes": [ + { + "prefix": "10.0.0.1/24", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "2fff::/64", + "nextHop": [ + "3ffe::1" + ] + } + ] + }, + "importRoutePolicy": { + "importIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "importIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + }, + "exportRoutePolicy": { + "exportIpv4RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "exportIpv6RoutePolicyId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy" + }, + "ingressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "egressAclId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accessControlLists/example-acl", + "microBfdState": "Enabled", + "conditionalDefaultRouteConfiguration": { + "ipv4Routes": [ + { + "prefix": "10.0.0.1/24", + "nextHop": [ + "10.0.0.1" + ] + } + ], + "ipv6Routes": [ + { + "prefix": "fe80::/64", + "nextHop": [ + "fe80::1" + ] + } + ] + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni", + "name": "example-nni", + "type": "microsoft.managedNetworkFabric/networkFabrics/networkToNetworkInterconnects", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkToNetworkInterconnects_UpdateAdministrativeState.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkToNetworkInterconnects_UpdateAdministrativeState.json new file mode 100644 index 000000000000..b1a19d24ef13 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkToNetworkInterconnects_UpdateAdministrativeState.json @@ -0,0 +1,41 @@ +{ + "title": "NetworkToNetworkInterconnects_UpdateAdministrativeState_MaximumSet_Gen", + "operationId": "NetworkToNetworkInterconnects_UpdateAdministrativeState", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-nf", + "networkToNetworkInterconnectName": "example-nni", + "body": { + "resourceIds": [ + "" + ], + "state": "Enable" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkToNetworkInterconnects_UpdateBfdAdministrativeState.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkToNetworkInterconnects_UpdateBfdAdministrativeState.json new file mode 100644 index 000000000000..4c3b88979a6e --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/NetworkToNetworkInterconnects_UpdateBfdAdministrativeState.json @@ -0,0 +1,40 @@ +{ + "title": "NetworkToNetworkInterconnects_UpdateBfdAdministrativeState", + "operationId": "NetworkToNetworkInterconnects_UpdateBfdAdministrativeState", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "networkFabricName": "example-nf", + "networkToNetworkInterconnectName": "example-nni", + "body": { + "routeType": "Static", + "administrativeState": "Enable" + } + }, + "responses": { + "200": { + "body": { + "routeType": "Static", + "administrativeState": "Enable", + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/Operations_List.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/Operations_List.json new file mode 100644 index 000000000000..ee880e549cf7 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/Operations_List.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "api-version": "2024-06-15-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.ManagedNetworkFabric/NetworkFabricControllers/Read", + "actionType": "Internal", + "isDataAction": true, + "origin": "user,system", + "display": { + "provider": "Microsoft.ManagedNetworkFabric resource provider", + "resource": "NetworkFabricControllers", + "operation": "Gets/List NetworkFabricController resources.", + "description": "Gets/List the NetworkFabricController resource data." + } + }, + { + "name": "Microsoft.ManagedNetworkFabric/NetworkFabricControllers/Write", + "actionType": "Internal", + "isDataAction": true, + "origin": "user,system", + "display": { + "provider": "Microsoft.ManagedNetworkFabric resource provider", + "resource": "NetworkFabricControllers", + "operation": "Create or Update NetworkFabricController resource.", + "description": "Create or Update NetworkFabricController resource data." + } + }, + { + "name": "Microsoft.ManagedNetworkFabric/NetworkFabricControllers/Delete", + "actionType": "Internal", + "isDataAction": true, + "origin": "user,system", + "display": { + "provider": "Microsoft.ManagedNetworkFabric resource provider", + "resource": "NetworkFabricControllers", + "operation": "Deletes the NetworkFabricController resource.", + "description": "Deletes the NetworkFabricController resource." + } + } + ] + } + } + }, + "operationId": "Operations_List", + "title": "Operations_List_MaximumSet_Gen" +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/RoutePolicies_CommitConfiguration.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/RoutePolicies_CommitConfiguration.json new file mode 100644 index 000000000000..92978a9f1ce7 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/RoutePolicies_CommitConfiguration.json @@ -0,0 +1,34 @@ +{ + "title": "RoutePolicies_CommitConfiguration_MaximumSet_Gen", + "operationId": "RoutePolicies_CommitConfiguration", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "routePolicyName": "example-routePolicy" + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/RoutePolicies_Create.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/RoutePolicies_Create.json new file mode 100644 index 000000000000..b8da269af835 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/RoutePolicies_Create.json @@ -0,0 +1,246 @@ +{ + "title": "RoutePolicies_Create_MaximumSet_Gen", + "operationId": "RoutePolicies_Create", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "routePolicyName": "example-routePolicy", + "resource": { + "properties": { + "annotation": "annotation", + "defaultAction": "Permit", + "statements": [ + { + "annotation": "annotation", + "sequenceNumber": 7, + "condition": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ], + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ], + "type": "Or", + "ipPrefixId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix" + }, + "action": { + "localPreference": 20, + "actionType": "Permit", + "ipCommunityProperties": { + "add": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + }, + "delete": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + }, + "set": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + } + }, + "ipExtendedCommunityProperties": { + "add": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + }, + "delete": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + }, + "set": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + } + } + } + } + ], + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "addressFamilyType": "IPv4", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "defaultAction": "Permit", + "statements": [ + { + "annotation": "annotation", + "sequenceNumber": 7, + "condition": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ], + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ], + "type": "Or", + "ipPrefixId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix" + }, + "action": { + "localPreference": 20, + "actionType": "Permit", + "ipCommunityProperties": { + "add": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + }, + "delete": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + }, + "set": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + } + }, + "ipExtendedCommunityProperties": { + "add": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + }, + "delete": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + }, + "set": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + } + } + } + } + ], + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "addressFamilyType": "IPv4", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "name": "example-routePolicy", + "type": "microsoft.managednetworkfabric/routePolicies", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "annotation": "annotation", + "defaultAction": "Permit", + "statements": [ + { + "annotation": "annotation", + "sequenceNumber": 7, + "condition": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ], + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ], + "type": "Or", + "ipPrefixId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix" + }, + "action": { + "localPreference": 20, + "actionType": "Permit", + "ipCommunityProperties": { + "add": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + }, + "delete": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + }, + "set": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + } + }, + "ipExtendedCommunityProperties": { + "add": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + }, + "delete": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + }, + "set": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + } + } + } + } + ], + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "addressFamilyType": "IPv4", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "name": "example-routePolicy", + "type": "microsoft.managednetworkfabric/routePolicies", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/RoutePolicies_Delete.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/RoutePolicies_Delete.json new file mode 100644 index 000000000000..8c96019d672e --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/RoutePolicies_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "RoutePolicies_Delete_MaximumSet_Gen", + "operationId": "RoutePolicies_Delete", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "routePolicyName": "example-routePolicy" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/RoutePolicies_Get.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/RoutePolicies_Get.json new file mode 100644 index 000000000000..fd186a114f19 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/RoutePolicies_Get.json @@ -0,0 +1,97 @@ +{ + "title": "RoutePolicies_Get_MaximumSet_Gen", + "operationId": "RoutePolicies_Get", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "routePolicyName": "example-routePolicy" + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "defaultAction": "Permit", + "statements": [ + { + "annotation": "annotation", + "sequenceNumber": 7, + "condition": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ], + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ], + "type": "Or", + "ipPrefixId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix" + }, + "action": { + "localPreference": 20, + "actionType": "Permit", + "ipCommunityProperties": { + "add": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + }, + "delete": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + }, + "set": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + } + }, + "ipExtendedCommunityProperties": { + "add": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + }, + "delete": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + }, + "set": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + } + } + } + } + ], + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "addressFamilyType": "IPv4", + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "name": "example-routePolicy", + "type": "microsoft.managednetworkfabric/routePolicies", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/RoutePolicies_ListByResourceGroup.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/RoutePolicies_ListByResourceGroup.json new file mode 100644 index 000000000000..651167a21c50 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/RoutePolicies_ListByResourceGroup.json @@ -0,0 +1,101 @@ +{ + "title": "RoutePolicies_ListByResourceGroup_MaximumSet_Gen", + "operationId": "RoutePolicies_ListByResourceGroup", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "defaultAction": "Permit", + "statements": [ + { + "annotation": "annotation", + "sequenceNumber": 7, + "condition": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ], + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ], + "type": "Or", + "ipPrefixId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix" + }, + "action": { + "localPreference": 20, + "actionType": "Permit", + "ipCommunityProperties": { + "add": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + }, + "delete": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + }, + "set": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + } + }, + "ipExtendedCommunityProperties": { + "add": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + }, + "delete": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + }, + "set": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + } + } + } + } + ], + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "addressFamilyType": "IPv4", + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "name": "example-routePolicy", + "type": "microsoft.managednetworkfabric/routePolicies", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/RoutePolicies_ListBySubscription.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/RoutePolicies_ListBySubscription.json new file mode 100644 index 000000000000..3c5ae1360ab6 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/RoutePolicies_ListBySubscription.json @@ -0,0 +1,100 @@ +{ + "title": "RoutePolicies_ListBySubscription_MaximumSet_Gen", + "operationId": "RoutePolicies_ListBySubscription", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "annotation": "annotation", + "defaultAction": "Permit", + "statements": [ + { + "annotation": "annotation", + "sequenceNumber": 7, + "condition": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ], + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ], + "type": "Or", + "ipPrefixId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix" + }, + "action": { + "localPreference": 20, + "actionType": "Permit", + "ipCommunityProperties": { + "add": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + }, + "delete": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + }, + "set": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + } + }, + "ipExtendedCommunityProperties": { + "add": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + }, + "delete": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + }, + "set": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + } + } + } + } + ], + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "addressFamilyType": "IPv4", + "lastOperation": { + "details": "Succeeded" + }, + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "name": "example-routePolicy", + "type": "microsoft.managednetworkfabric/routePolicies", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + ], + "nextLink": "https://microsoft.com/aukskqxh" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/RoutePolicies_Update.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/RoutePolicies_Update.json new file mode 100644 index 000000000000..dda045ae4900 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/RoutePolicies_Update.json @@ -0,0 +1,161 @@ +{ + "title": "RoutePolicies_Update_MaximumSet_Gen", + "operationId": "RoutePolicies_Update", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "routePolicyName": "example-routePolicy", + "properties": { + "tags": { + "keyId": "keyValue" + }, + "properties": { + "defaultAction": "Permit", + "statements": [ + { + "annotation": "annotation", + "sequenceNumber": 7, + "condition": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ], + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ], + "type": "Or", + "ipPrefixId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix" + }, + "action": { + "localPreference": 20, + "actionType": "Permit", + "ipCommunityProperties": { + "add": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + }, + "delete": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + }, + "set": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + } + }, + "ipExtendedCommunityProperties": { + "add": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + }, + "delete": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + }, + "set": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + } + } + } + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "annotation": "annotation", + "defaultAction": "Permit", + "statements": [ + { + "annotation": "annotation", + "sequenceNumber": 7, + "condition": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ], + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ], + "type": "Or", + "ipPrefixId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/example-ipPrefix" + }, + "action": { + "localPreference": 20, + "actionType": "Permit", + "ipCommunityProperties": { + "add": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + }, + "delete": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + }, + "set": { + "ipCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipCommunities/example-ipCommunity" + ] + } + }, + "ipExtendedCommunityProperties": { + "add": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + }, + "delete": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + }, + "set": { + "ipExtendedCommunityIds": [ + "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/example-ipExtendedCommunity" + ] + } + } + } + } + ], + "networkFabricId": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric", + "addressFamilyType": "IPv4", + "configurationState": "Succeeded", + "provisioningState": "Accepted", + "administrativeState": "Enabled" + }, + "tags": { + "keyId": "keyValue" + }, + "location": "eastus", + "id": "/subscriptions/1234ABCD-0A1B-1234-5678-123456ABCDEF/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/routePolicies/example-routePolicy", + "name": "example-routePolicy", + "type": "microsoft.managednetworkfabric/routePolicies", + "systemData": { + "createdBy": "email@address.com", + "createdByType": "User", + "createdAt": "2023-06-09T04:51:41.251Z", + "lastModifiedBy": "UserId", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-06-09T04:51:41.251Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/RoutePolicies_UpdateAdministrativeState.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/RoutePolicies_UpdateAdministrativeState.json new file mode 100644 index 000000000000..3d94686a91b9 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/RoutePolicies_UpdateAdministrativeState.json @@ -0,0 +1,46 @@ +{ + "title": "RoutePolicies_UpdateAdministrativeState_MaximumSet_Gen", + "operationId": "RoutePolicies_UpdateAdministrativeState", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "routePolicyName": "example-routePolicy", + "body": { + "resourceIds": [ + "" + ], + "state": "Enable" + } + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded", + "successfulDevices": [ + "" + ], + "failedDevices": [ + "" + ] + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/RoutePolicies_ValidateConfiguration.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/RoutePolicies_ValidateConfiguration.json new file mode 100644 index 000000000000..c4cf028c87e2 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/examples/RoutePolicies_ValidateConfiguration.json @@ -0,0 +1,35 @@ +{ + "title": "RoutePolicies_ValidateConfiguration_MaximumSet_Gen", + "operationId": "RoutePolicies_ValidateConfiguration", + "parameters": { + "api-version": "2024-06-15-preview", + "subscriptionId": "0000ABCD-0A0B-0000-0000-000000ABCDEF", + "resourceGroupName": "example-rg", + "routePolicyName": "example-routePolicy" + }, + "responses": { + "200": { + "body": { + "error": { + "code": "", + "message": "", + "target": "", + "details": [], + "additionalInfo": [ + { + "type": "", + "info": {} + } + ] + }, + "configurationState": "Succeeded", + "url": "https://ActionDetails" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/managednetworkfabric.json b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/managednetworkfabric.json new file mode 100644 index 000000000000..a7f6f3c60e40 --- /dev/null +++ b/specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/managednetworkfabric.json @@ -0,0 +1,22227 @@ +{ + "swagger": "2.0", + "info": { + "title": "Azure Network Fabric Management Service API", + "version": "2024-06-15-preview", + "description": "Self service experience for Azure Network Fabric API.", + "x-typespec-generated": [ + { + "emitter": "@azure-tools/typespec-autorest" + } + ] + }, + "schemes": [ + "https" + ], + "host": "management.azure.com", + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow.", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "tags": [ + { + "name": "Operations" + }, + { + "name": "AccessControlLists" + }, + { + "name": "InternetGatewayRules" + }, + { + "name": "InternetGateways" + }, + { + "name": "IpCommunities" + }, + { + "name": "IpExtendedCommunities" + }, + { + "name": "IpPrefixes" + }, + { + "name": "L2IsolationDomains" + }, + { + "name": "L3IsolationDomains" + }, + { + "name": "InternalNetworks" + }, + { + "name": "ExternalNetworks" + }, + { + "name": "NeighborGroups" + }, + { + "name": "NetworkDeviceSkus" + }, + { + "name": "NetworkDevices" + }, + { + "name": "NetworkInterfaces" + }, + { + "name": "NetworkFabricControllers" + }, + { + "name": "NetworkFabricSkus" + }, + { + "name": "NetworkFabrics" + }, + { + "name": "NetworkToNetworkInterconnects" + }, + { + "name": "NetworkPacketBrokers" + }, + { + "name": "NetworkRacks" + }, + { + "name": "NetworkTapRules" + }, + { + "name": "NetworkTaps" + }, + { + "name": "RoutePolicies" + }, + { + "name": "NetworkMonitors" + } + ], + "paths": { + "/providers/Microsoft.ManagedNetworkFabric/operations": { + "get": { + "operationId": "Operations_List", + "tags": [ + "Operations" + ], + "description": "List the operations for the provider", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Operations_List_MaximumSet_Gen": { + "$ref": "./examples/Operations_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/accessControlLists": { + "get": { + "operationId": "AccessControlLists_ListBySubscription", + "tags": [ + "AccessControlLists" + ], + "description": "Implements AccessControlLists list by subscription GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/AccessControlListListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "AccessControlLists_ListBySubscription_MaximumSet_Gen": { + "$ref": "./examples/AccessControlLists_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/internetGatewayRules": { + "get": { + "operationId": "InternetGatewayRules_ListBySubscription", + "tags": [ + "InternetGatewayRules" + ], + "description": "List all Internet Gateway rules in the given subscription.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InternetGatewayRuleListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternetGatewayRules_ListBySubscription_MaximumSet_Gen": { + "$ref": "./examples/InternetGatewayRules_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/internetGateways": { + "get": { + "operationId": "InternetGateways_ListBySubscription", + "tags": [ + "InternetGateways" + ], + "description": "Displays Internet Gateways list by subscription GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InternetGatewayListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternetGateways_ListBySubscription_MaximumSet_Gen": { + "$ref": "./examples/InternetGateways_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/ipCommunities": { + "get": { + "operationId": "IpCommunities_ListBySubscription", + "tags": [ + "IpCommunities" + ], + "description": "Implements IP Communities list by subscription GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/IpCommunityListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "IpCommunities_ListBySubscription_MaximumSet_Gen": { + "$ref": "./examples/IpCommunities_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities": { + "get": { + "operationId": "IpExtendedCommunities_ListBySubscription", + "tags": [ + "IpExtendedCommunities" + ], + "description": "Implements IpExtendedCommunities list by subscription GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/IpExtendedCommunityListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "IpExtendedCommunities_ListBySubscription_MaximumSet_Gen": { + "$ref": "./examples/IpExtendedCommunities_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/ipPrefixes": { + "get": { + "operationId": "IpPrefixes_ListBySubscription", + "tags": [ + "IpPrefixes" + ], + "description": "Implements IpPrefixes list by subscription GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/IpPrefixListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "IpPrefixes_ListBySubscription_MaximumSet_Gen": { + "$ref": "./examples/IpPrefixes_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains": { + "get": { + "operationId": "L2IsolationDomains_ListBySubscription", + "tags": [ + "L2IsolationDomains" + ], + "description": "Displays L2IsolationDomains list by subscription GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/L2IsolationDomainListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "L2IsolationDomains_ListBySubscription_MaximumSet_Gen": { + "$ref": "./examples/L2IsolationDomains_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains": { + "get": { + "operationId": "L3IsolationDomains_ListBySubscription", + "tags": [ + "L3IsolationDomains" + ], + "description": "Displays L3IsolationDomains list by subscription GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/L3IsolationDomainListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "L3IsolationDomains_ListBySubscription_MaximumSet_Gen": { + "$ref": "./examples/L3IsolationDomains_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/neighborGroups": { + "get": { + "operationId": "NeighborGroups_ListBySubscription", + "tags": [ + "NeighborGroups" + ], + "description": "Displays NeighborGroups list by subscription GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NeighborGroupListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NeighborGroups_ListBySubscription_MaximumSet_Gen": { + "$ref": "./examples/NeighborGroups_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/networkDeviceSkus": { + "get": { + "operationId": "NetworkDeviceSkus_ListBySubscription", + "tags": [ + "NetworkDeviceSkus" + ], + "description": "List Network Device SKUs for the given subscription.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkDeviceSkuListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkDeviceSkus_ListBySubscription_MaximumSet_Gen": { + "$ref": "./examples/NetworkDeviceSkus_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/networkDeviceSkus/{networkDeviceSkuName}": { + "get": { + "operationId": "NetworkDeviceSkus_Get", + "tags": [ + "NetworkDeviceSkus" + ], + "description": "Get a Network Device SKU details.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "networkDeviceSkuName", + "in": "path", + "description": "Name of the Network Device SKU.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkDeviceSku" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkDeviceSkus_Get_MaximumSet_Gen": { + "$ref": "./examples/NetworkDeviceSkus_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/networkDevices": { + "get": { + "operationId": "NetworkDevices_ListBySubscription", + "tags": [ + "NetworkDevices" + ], + "description": "List all the Network Device resources in a given subscription.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkDeviceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkDevices_ListBySubscription_MaximumSet_Gen": { + "$ref": "./examples/NetworkDevices_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers": { + "get": { + "operationId": "NetworkFabricControllers_ListBySubscription", + "tags": [ + "NetworkFabricControllers" + ], + "description": "Lists all the NetworkFabricControllers by subscription.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkFabricControllerListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkFabricControllers_ListBySubscription_MaximumSet_Gen": { + "$ref": "./examples/NetworkFabricControllers_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/networkFabricSkus": { + "get": { + "operationId": "NetworkFabricSkus_ListBySubscription", + "tags": [ + "NetworkFabricSkus" + ], + "description": "Implements Network Fabric SKUs list by subscription GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkFabricSkuListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkFabricSkus_ListBySubscription_MaximumSet_Gen": { + "$ref": "./examples/NetworkFabricSkus_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/networkFabricSkus/{networkFabricSkuName}": { + "get": { + "operationId": "NetworkFabricSkus_Get", + "tags": [ + "NetworkFabricSkus" + ], + "description": "Implements Network Fabric SKU GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "networkFabricSkuName", + "in": "path", + "description": "Name of the Network Fabric SKU.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkFabricSku" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkFabricSkus_Get_MaximumSet_Gen": { + "$ref": "./examples/NetworkFabricSkus_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/networkFabrics": { + "get": { + "operationId": "NetworkFabrics_ListBySubscription", + "tags": [ + "NetworkFabrics" + ], + "description": "List all the Network Fabric resources in the given subscription.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkFabricListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkFabrics_ListBySubscription_MaximumSet_Gen": { + "$ref": "./examples/NetworkFabrics_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/networkMonitors": { + "get": { + "operationId": "NetworkMonitors_ListBySubscription", + "tags": [ + "NetworkMonitors" + ], + "description": "Displays NetworkMonitors list by subscription GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkMonitorListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkMonitors_ListBySubscription": { + "$ref": "./examples/NetworkMonitors_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/networkPacketBrokers": { + "get": { + "operationId": "NetworkPacketBrokers_ListBySubscription", + "tags": [ + "NetworkPacketBrokers" + ], + "description": "Displays Network Packet Brokers list by subscription GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkPacketBrokerListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkPacketBrokers_ListBySubscription_MaximumSet_Gen": { + "$ref": "./examples/NetworkPacketBrokers_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/networkRacks": { + "get": { + "operationId": "NetworkRacks_ListBySubscription", + "tags": [ + "NetworkRacks" + ], + "description": "List all Network Rack resources in the given subscription", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkRackListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkRacks_ListBySubscription_MaximumSet_Gen": { + "$ref": "./examples/NetworkRacks_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/networkTapRules": { + "get": { + "operationId": "NetworkTapRules_ListBySubscription", + "tags": [ + "NetworkTapRules" + ], + "description": "List all the Network Tap Rule resources in the given subscription.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkTapRuleListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkTapRules_ListBySubscription_MaximumSet_Gen": { + "$ref": "./examples/NetworkTapRules_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/networkTaps": { + "get": { + "operationId": "NetworkTaps_ListBySubscription", + "tags": [ + "NetworkTaps" + ], + "description": "Displays Network Taps list by subscription GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkTapListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkTaps_ListBySubscription_MaximumSet_Gen": { + "$ref": "./examples/NetworkTaps_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/routePolicies": { + "get": { + "operationId": "RoutePolicies_ListBySubscription", + "tags": [ + "RoutePolicies" + ], + "description": "Implements RoutePolicies list by subscription GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/RoutePolicyListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "RoutePolicies_ListBySubscription_MaximumSet_Gen": { + "$ref": "./examples/RoutePolicies_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/accessControlLists": { + "get": { + "operationId": "AccessControlLists_ListByResourceGroup", + "tags": [ + "AccessControlLists" + ], + "description": "Implements AccessControlLists list by resource group GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/AccessControlListListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "AccessControlLists_ListByResourceGroup_MaximumSet_Gen": { + "$ref": "./examples/AccessControlLists_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/accessControlLists/{accessControlListName}": { + "get": { + "operationId": "AccessControlLists_Get", + "tags": [ + "AccessControlLists" + ], + "description": "Implements Access Control List GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accessControlListName", + "in": "path", + "description": "Name of the Access Control List.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/AccessControlList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "AccessControlLists_Get_MaximumSet_Gen": { + "$ref": "./examples/AccessControlLists_Get.json" + } + } + }, + "put": { + "operationId": "AccessControlLists_Create", + "tags": [ + "AccessControlLists" + ], + "description": "Implements Access Control List PUT method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accessControlListName", + "in": "path", + "description": "Name of the Access Control List.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "resource", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/AccessControlList" + } + } + ], + "responses": { + "200": { + "description": "Resource 'AccessControlList' update operation succeeded", + "schema": { + "$ref": "#/definitions/AccessControlList" + } + }, + "201": { + "description": "Resource 'AccessControlList' create operation succeeded", + "schema": { + "$ref": "#/definitions/AccessControlList" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "AccessControlLists_Create_MaximumSet_Gen": { + "$ref": "./examples/AccessControlLists_Create.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "AccessControlLists_Update", + "tags": [ + "AccessControlLists" + ], + "description": "API to update certain properties of the Access Control List resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accessControlListName", + "in": "path", + "description": "Name of the Access Control List.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "properties", + "in": "body", + "description": "Access Control List properties to update.", + "required": true, + "schema": { + "$ref": "#/definitions/AccessControlListPatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/AccessControlList" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "AccessControlLists_Update_MaximumSet_Gen": { + "$ref": "./examples/AccessControlLists_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "AccessControlLists_Delete", + "tags": [ + "AccessControlLists" + ], + "description": "Implements Access Control List DELETE method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accessControlListName", + "in": "path", + "description": "Name of the Access Control List.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "AccessControlLists_Delete_MaximumSet_Gen": { + "$ref": "./examples/AccessControlLists_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/accessControlLists/{accessControlListName}/resync": { + "post": { + "operationId": "AccessControlLists_Resync", + "tags": [ + "AccessControlLists" + ], + "description": "Implements the operation to the underlying resources.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accessControlListName", + "in": "path", + "description": "Name of the Access Control List.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommonPostActionResponseForStateUpdate" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "AccessControlLists_Resync_MaximumSet_Gen": { + "$ref": "./examples/AccessControlLists_Resync.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/accessControlLists/{accessControlListName}/updateAdministrativeState": { + "post": { + "operationId": "AccessControlLists_UpdateAdministrativeState", + "tags": [ + "AccessControlLists" + ], + "description": "Implements the operation to the underlying resources.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accessControlListName", + "in": "path", + "description": "Name of the Access Control List.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "body", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateAdministrativeState" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommonPostActionResponseForStateUpdate" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "AccessControlLists_UpdateAdministrativeState_MaximumSet_Gen": { + "$ref": "./examples/AccessControlLists_UpdateAdministrativeState.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/accessControlLists/{accessControlListName}/validateConfiguration": { + "post": { + "operationId": "AccessControlLists_ValidateConfiguration", + "tags": [ + "AccessControlLists" + ], + "description": "Implements the operation to the underlying resources.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accessControlListName", + "in": "path", + "description": "Name of the Access Control List.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ValidateConfigurationResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "AccessControlLists_ValidateConfiguration_MaximumSet_Gen": { + "$ref": "./examples/AccessControlLists_ValidateConfiguration.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/internetGatewayRules": { + "get": { + "operationId": "InternetGatewayRules_ListByResourceGroup", + "tags": [ + "InternetGatewayRules" + ], + "description": "Implements Internet Gateway Rules list by resource group GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InternetGatewayRuleListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternetGatewayRules_ListByResourceGroup_MaximumSet_Gen": { + "$ref": "./examples/InternetGatewayRules_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/internetGatewayRules/{internetGatewayRuleName}": { + "get": { + "operationId": "InternetGatewayRules_Get", + "tags": [ + "InternetGatewayRules" + ], + "description": "Gets an Internet Gateway Rule resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "internetGatewayRuleName", + "in": "path", + "description": "Name of the Internet Gateway rule.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InternetGatewayRule" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternetGatewayRules_Get_MaximumSet_Gen": { + "$ref": "./examples/InternetGatewayRules_Get.json" + } + } + }, + "put": { + "operationId": "InternetGatewayRules_Create", + "tags": [ + "InternetGatewayRules" + ], + "description": "Creates an Internet Gateway rule resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "internetGatewayRuleName", + "in": "path", + "description": "Name of the Internet Gateway rule.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "resource", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/InternetGatewayRule" + } + } + ], + "responses": { + "200": { + "description": "Resource 'InternetGatewayRule' update operation succeeded", + "schema": { + "$ref": "#/definitions/InternetGatewayRule" + } + }, + "201": { + "description": "Resource 'InternetGatewayRule' create operation succeeded", + "schema": { + "$ref": "#/definitions/InternetGatewayRule" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternetGatewayRules_Create_MaximumSet_Gen": { + "$ref": "./examples/InternetGatewayRules_Create.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "InternetGatewayRules_Update", + "tags": [ + "InternetGatewayRules" + ], + "description": "API to update certain properties of the Internet Gateway Rule resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "internetGatewayRuleName", + "in": "path", + "description": "Name of the Internet Gateway rule.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "properties", + "in": "body", + "description": "Internet Gateway Rule properties to update.", + "required": true, + "schema": { + "$ref": "#/definitions/InternetGatewayRulePatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InternetGatewayRule" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternetGatewayRules_Update_MaximumSet_Gen": { + "$ref": "./examples/InternetGatewayRules_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "InternetGatewayRules_Delete", + "tags": [ + "InternetGatewayRules" + ], + "description": "Implements Internet Gateway Rules DELETE method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "internetGatewayRuleName", + "in": "path", + "description": "Name of the Internet Gateway rule.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternetGatewayRules_Delete_MaximumSet_Gen": { + "$ref": "./examples/InternetGatewayRules_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/internetGateways": { + "get": { + "operationId": "InternetGateways_ListByResourceGroup", + "tags": [ + "InternetGateways" + ], + "description": "Displays Internet Gateways list by resource group GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InternetGatewayListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternetGateways_ListByResourceGroup_MaximumSet_Gen": { + "$ref": "./examples/InternetGateways_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/internetGateways/{internetGatewayName}": { + "get": { + "operationId": "InternetGateways_Get", + "tags": [ + "InternetGateways" + ], + "description": "Implements Gateway GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "internetGatewayName", + "in": "path", + "description": "Name of the Internet Gateway.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InternetGateway" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternetGateways_Get_MaximumSet_Gen": { + "$ref": "./examples/InternetGateways_Get.json" + } + } + }, + "put": { + "operationId": "InternetGateways_Create", + "tags": [ + "InternetGateways" + ], + "description": "Creates a Network Fabric Service Internet Gateway resource instance.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "internetGatewayName", + "in": "path", + "description": "Name of the Internet Gateway.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "resource", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/InternetGateway" + } + } + ], + "responses": { + "200": { + "description": "Resource 'InternetGateway' update operation succeeded", + "schema": { + "$ref": "#/definitions/InternetGateway" + } + }, + "201": { + "description": "Resource 'InternetGateway' create operation succeeded", + "schema": { + "$ref": "#/definitions/InternetGateway" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternetGateways_Create_MaximumSet_Gen": { + "$ref": "./examples/InternetGateways_Create.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "InternetGateways_Update", + "tags": [ + "InternetGateways" + ], + "description": "Execute patch on Network Fabric Service Internet Gateway.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "internetGatewayName", + "in": "path", + "description": "Name of the Internet Gateway.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "properties", + "in": "body", + "description": "API to update certain properties of the InternetGateway resource..", + "required": true, + "schema": { + "$ref": "#/definitions/InternetGatewayPatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InternetGateway" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternetGateways_Update_MaximumSet_Gen": { + "$ref": "./examples/InternetGateways_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "InternetGateways_Delete", + "tags": [ + "InternetGateways" + ], + "description": "Execute a delete on Network Fabric Service Internet Gateway.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "internetGatewayName", + "in": "path", + "description": "Name of the Internet Gateway.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternetGateways_Delete_MaximumSet_Gen": { + "$ref": "./examples/InternetGateways_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/ipCommunities": { + "get": { + "operationId": "IpCommunities_ListByResourceGroup", + "tags": [ + "IpCommunities" + ], + "description": "Implements IP Communities list by resource group GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/IpCommunityListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "IpCommunities_ListByResourceGroup_MaximumSet_Gen": { + "$ref": "./examples/IpCommunities_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/ipCommunities/{ipCommunityName}": { + "get": { + "operationId": "IpCommunities_Get", + "tags": [ + "IpCommunities" + ], + "description": "Implements an IP Community GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "ipCommunityName", + "in": "path", + "description": "Name of the IP Community.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/IpCommunity" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "IpCommunities_Get_MaximumSet_Gen": { + "$ref": "./examples/IpCommunities_Get.json" + } + } + }, + "put": { + "operationId": "IpCommunities_Create", + "tags": [ + "IpCommunities" + ], + "description": "Implements an IP Community PUT method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "ipCommunityName", + "in": "path", + "description": "Name of the IP Community.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "resource", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/IpCommunity" + } + } + ], + "responses": { + "200": { + "description": "Resource 'IpCommunity' update operation succeeded", + "schema": { + "$ref": "#/definitions/IpCommunity" + } + }, + "201": { + "description": "Resource 'IpCommunity' create operation succeeded", + "schema": { + "$ref": "#/definitions/IpCommunity" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "IpCommunities_Create_MaximumSet_Gen": { + "$ref": "./examples/IpCommunities_Create.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "IpCommunities_Update", + "tags": [ + "IpCommunities" + ], + "description": "API to update certain properties of the IP Community resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "ipCommunityName", + "in": "path", + "description": "Name of the IP Community.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "properties", + "in": "body", + "description": "IP Community properties to update.", + "required": true, + "schema": { + "$ref": "#/definitions/IpCommunityPatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/IpCommunity" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "IpCommunities_Update_MaximumSet_Gen": { + "$ref": "./examples/IpCommunities_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "IpCommunities_Delete", + "tags": [ + "IpCommunities" + ], + "description": "Implements IP Community DELETE method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "ipCommunityName", + "in": "path", + "description": "Name of the IP Community.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "IpCommunities_Delete_MaximumSet_Gen": { + "$ref": "./examples/IpCommunities_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities": { + "get": { + "operationId": "IpExtendedCommunities_ListByResourceGroup", + "tags": [ + "IpExtendedCommunities" + ], + "description": "Implements IpExtendedCommunities list by resource group GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/IpExtendedCommunityListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "IpExtendedCommunities_ListByResourceGroup_MaximumSet_Gen": { + "$ref": "./examples/IpExtendedCommunities_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/ipExtendedCommunities/{ipExtendedCommunityName}": { + "get": { + "operationId": "IpExtendedCommunities_Get", + "tags": [ + "IpExtendedCommunities" + ], + "description": "Implements IP Extended Community GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "ipExtendedCommunityName", + "in": "path", + "description": "Name of the IP Extended Community.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/IpExtendedCommunity" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "IpExtendedCommunities_Get_MaximumSet_Gen": { + "$ref": "./examples/IpExtendedCommunities_Get.json" + } + } + }, + "put": { + "operationId": "IpExtendedCommunities_Create", + "tags": [ + "IpExtendedCommunities" + ], + "description": "Implements IP Extended Community PUT method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "ipExtendedCommunityName", + "in": "path", + "description": "Name of the IP Extended Community.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "resource", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/IpExtendedCommunity" + } + } + ], + "responses": { + "200": { + "description": "Resource 'IpExtendedCommunity' update operation succeeded", + "schema": { + "$ref": "#/definitions/IpExtendedCommunity" + } + }, + "201": { + "description": "Resource 'IpExtendedCommunity' create operation succeeded", + "schema": { + "$ref": "#/definitions/IpExtendedCommunity" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "IpExtendedCommunities_Create_MaximumSet_Gen": { + "$ref": "./examples/IpExtendedCommunities_Create.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "IpExtendedCommunities_Update", + "tags": [ + "IpExtendedCommunities" + ], + "description": "API to update certain properties of the IP Extended Community resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "ipExtendedCommunityName", + "in": "path", + "description": "Name of the IP Extended Community.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "properties", + "in": "body", + "description": "IP Extended Community properties to update.", + "required": true, + "schema": { + "$ref": "#/definitions/IpExtendedCommunityPatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/IpExtendedCommunity" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "IpExtendedCommunities_Update_MaximumSet_Gen": { + "$ref": "./examples/IpExtendedCommunities_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "IpExtendedCommunities_Delete", + "tags": [ + "IpExtendedCommunities" + ], + "description": "Implements IP Extended Community DELETE method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "ipExtendedCommunityName", + "in": "path", + "description": "Name of the IP Extended Community.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "IpExtendedCommunities_Delete_MaximumSet_Gen": { + "$ref": "./examples/IpExtendedCommunities_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/ipPrefixes": { + "get": { + "operationId": "IpPrefixes_ListByResourceGroup", + "tags": [ + "IpPrefixes" + ], + "description": "Implements IpPrefixes list by resource group GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/IpPrefixListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "IpPrefixes_ListByResourceGroup_MaximumSet_Gen": { + "$ref": "./examples/IpPrefixes_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/ipPrefixes/{ipPrefixName}": { + "get": { + "operationId": "IpPrefixes_Get", + "tags": [ + "IpPrefixes" + ], + "description": "Implements IP Prefix GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "ipPrefixName", + "in": "path", + "description": "Name of the IP Prefix.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/IpPrefix" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "IpPrefixes_Get_MaximumSet_Gen": { + "$ref": "./examples/IpPrefixes_Get.json" + } + } + }, + "put": { + "operationId": "IpPrefixes_Create", + "tags": [ + "IpPrefixes" + ], + "description": "Implements IP Prefix PUT method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "ipPrefixName", + "in": "path", + "description": "Name of the IP Prefix.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "resource", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/IpPrefix" + } + } + ], + "responses": { + "200": { + "description": "Resource 'IpPrefix' update operation succeeded", + "schema": { + "$ref": "#/definitions/IpPrefix" + } + }, + "201": { + "description": "Resource 'IpPrefix' create operation succeeded", + "schema": { + "$ref": "#/definitions/IpPrefix" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "IpPrefixes_Create_MaximumSet_Gen": { + "$ref": "./examples/IpPrefixes_Create.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "IpPrefixes_Update", + "tags": [ + "IpPrefixes" + ], + "description": "API to update certain properties of the IP Prefix resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "ipPrefixName", + "in": "path", + "description": "Name of the IP Prefix.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "properties", + "in": "body", + "description": "IP Prefix properties to update.", + "required": true, + "schema": { + "$ref": "#/definitions/IpPrefixPatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/IpPrefix" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "IpPrefixes_Update_MaximumSet_Gen": { + "$ref": "./examples/IpPrefixes_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "IpPrefixes_Delete", + "tags": [ + "IpPrefixes" + ], + "description": "Implements IP Prefix DELETE method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "ipPrefixName", + "in": "path", + "description": "Name of the IP Prefix.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "IpPrefixes_Delete_MaximumSet_Gen": { + "$ref": "./examples/IpPrefixes_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains": { + "get": { + "operationId": "L2IsolationDomains_ListByResourceGroup", + "tags": [ + "L2IsolationDomains" + ], + "description": "Displays L2IsolationDomains list by resource group GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/L2IsolationDomainListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "L2IsolationDomains_ListByResourceGroup_MaximumSet_Gen": { + "$ref": "./examples/L2IsolationDomains_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/{l2IsolationDomainName}": { + "get": { + "operationId": "L2IsolationDomains_Get", + "tags": [ + "L2IsolationDomains" + ], + "description": "Implements L2 Isolation Domain GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "l2IsolationDomainName", + "in": "path", + "description": "Name of the L2 Isolation Domain.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/L2IsolationDomain" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "L2IsolationDomains_Get_MaximumSet_Gen": { + "$ref": "./examples/L2IsolationDomains_Get.json" + } + } + }, + "put": { + "operationId": "L2IsolationDomains_Create", + "tags": [ + "L2IsolationDomains" + ], + "description": "Creates layer 2 network connectivity between compute nodes within a rack and across racks.The configuration is applied on the devices only after the isolation domain is enabled.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "l2IsolationDomainName", + "in": "path", + "description": "Name of the L2 Isolation Domain.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "resource", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/L2IsolationDomain" + } + } + ], + "responses": { + "200": { + "description": "Resource 'L2IsolationDomain' update operation succeeded", + "schema": { + "$ref": "#/definitions/L2IsolationDomain" + } + }, + "201": { + "description": "Resource 'L2IsolationDomain' create operation succeeded", + "schema": { + "$ref": "#/definitions/L2IsolationDomain" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "L2IsolationDomains_Create_MaximumSet_Gen": { + "$ref": "./examples/L2IsolationDomains_Create.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "L2IsolationDomains_Update", + "tags": [ + "L2IsolationDomains" + ], + "description": "API to update certain properties of the L2 Isolation Domain resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "l2IsolationDomainName", + "in": "path", + "description": "Name of the L2 Isolation Domain.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "properties", + "in": "body", + "description": "API to update certain properties of the L2 Isolation Domain resource..", + "required": true, + "schema": { + "$ref": "#/definitions/L2IsolationDomainPatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/L2IsolationDomain" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "L2IsolationDomains_Update_MaximumSet_Gen": { + "$ref": "./examples/L2IsolationDomains_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "L2IsolationDomains_Delete", + "tags": [ + "L2IsolationDomains" + ], + "description": "Deletes layer 2 connectivity between compute nodes by managed by named L2 Isolation name.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "l2IsolationDomainName", + "in": "path", + "description": "Name of the L2 Isolation Domain.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "L2IsolationDomains_Delete_MaximumSet_Gen": { + "$ref": "./examples/L2IsolationDomains_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/{l2IsolationDomainName}/commitConfiguration": { + "post": { + "operationId": "L2IsolationDomains_CommitConfiguration", + "tags": [ + "L2IsolationDomains" + ], + "description": "Commits the configuration of the given resources.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "l2IsolationDomainName", + "in": "path", + "description": "Name of the L2 Isolation Domain.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommonPostActionResponseForStateUpdate" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "L2IsolationDomains_CommitConfiguration_MaximumSet_Gen": { + "$ref": "./examples/L2IsolationDomains_CommitConfiguration.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/{l2IsolationDomainName}/updateAdministrativeState": { + "post": { + "operationId": "L2IsolationDomains_UpdateAdministrativeState", + "tags": [ + "L2IsolationDomains" + ], + "description": "Enables isolation domain across the fabric or on specified racks.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "l2IsolationDomainName", + "in": "path", + "description": "Name of the L2 Isolation Domain.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "body", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateAdministrativeState" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommonPostActionResponseForDeviceUpdate" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "L2IsolationDomains_UpdateAdministrativeState_MaximumSet_Gen": { + "$ref": "./examples/L2IsolationDomains_UpdateAdministrativeState.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/{l2IsolationDomainName}/validateConfiguration": { + "post": { + "operationId": "L2IsolationDomains_ValidateConfiguration", + "tags": [ + "L2IsolationDomains" + ], + "description": "Validates the configuration of the resources.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "l2IsolationDomainName", + "in": "path", + "description": "Name of the L2 Isolation Domain.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ValidateConfigurationResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "L2IsolationDomains_ValidateConfiguration_MaximumSet_Gen": { + "$ref": "./examples/L2IsolationDomains_ValidateConfiguration.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains": { + "get": { + "operationId": "L3IsolationDomains_ListByResourceGroup", + "tags": [ + "L3IsolationDomains" + ], + "description": "Displays L3IsolationDomains list by resource group GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/L3IsolationDomainListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "L3IsolationDomains_ListByResourceGroup_MaximumSet_Gen": { + "$ref": "./examples/L3IsolationDomains_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/{l3IsolationDomainName}": { + "get": { + "operationId": "L3IsolationDomains_Get", + "tags": [ + "L3IsolationDomains" + ], + "description": "Retrieves details of this L3 Isolation Domain.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "l3IsolationDomainName", + "in": "path", + "description": "Name of the L3 Isolation Domain.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/L3IsolationDomain" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "L3IsolationDomains_Get_MaximumSet_Gen": { + "$ref": "./examples/L3IsolationDomains_Get.json" + } + } + }, + "put": { + "operationId": "L3IsolationDomains_Create", + "tags": [ + "L3IsolationDomains" + ], + "description": "Create isolation domain resources for layer 3 connectivity between compute nodes and for communication with external services .This configuration is applied on the devices only after the creation of networks is completed and isolation domain is enabled.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "l3IsolationDomainName", + "in": "path", + "description": "Name of the L3 Isolation Domain.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "resource", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/L3IsolationDomain" + } + } + ], + "responses": { + "200": { + "description": "Resource 'L3IsolationDomain' update operation succeeded", + "schema": { + "$ref": "#/definitions/L3IsolationDomain" + } + }, + "201": { + "description": "Resource 'L3IsolationDomain' create operation succeeded", + "schema": { + "$ref": "#/definitions/L3IsolationDomain" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "L3IsolationDomains_Create_MaximumSet_Gen": { + "$ref": "./examples/L3IsolationDomains_Create.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "L3IsolationDomains_Update", + "tags": [ + "L3IsolationDomains" + ], + "description": "API to update certain properties of the L3 Isolation Domain resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "l3IsolationDomainName", + "in": "path", + "description": "Name of the L3 Isolation Domain.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "properties", + "in": "body", + "description": "API to update certain properties of the L3 Isolation Domain resource.", + "required": true, + "schema": { + "$ref": "#/definitions/L3IsolationDomainPatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/L3IsolationDomain" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "L3IsolationDomains_Update_MaximumSet_Gen": { + "$ref": "./examples/L3IsolationDomains_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "L3IsolationDomains_Delete", + "tags": [ + "L3IsolationDomains" + ], + "description": "Deletes layer 3 connectivity between compute nodes by managed by named L3 Isolation name.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "l3IsolationDomainName", + "in": "path", + "description": "Name of the L3 Isolation Domain.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "L3IsolationDomains_Delete_MaximumSet_Gen": { + "$ref": "./examples/L3IsolationDomains_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/{l3IsolationDomainName}/commitConfiguration": { + "post": { + "operationId": "L3IsolationDomains_CommitConfiguration", + "tags": [ + "L3IsolationDomains" + ], + "description": "Commits the configuration of the given resources.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "l3IsolationDomainName", + "in": "path", + "description": "Name of the L3 Isolation Domain.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommonPostActionResponseForStateUpdate" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "L3IsolationDomains_CommitConfiguration_MaximumSet_Gen": { + "$ref": "./examples/L3IsolationDomains_CommitConfiguration.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/{l3IsolationDomainName}/externalNetworks": { + "get": { + "operationId": "ExternalNetworks_ListByL3IsolationDomain", + "tags": [ + "ExternalNetworks" + ], + "description": "Implements External Networks list by resource group GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "l3IsolationDomainName", + "in": "path", + "description": "Name of the L3 Isolation Domain.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExternalNetworkListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalNetworks_ListByL3IsolationDomain_MaximumSet_Gen": { + "$ref": "./examples/ExternalNetworks_ListByL3IsolationDomain.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/{l3IsolationDomainName}/externalNetworks/{externalNetworkName}": { + "get": { + "operationId": "ExternalNetworks_Get", + "tags": [ + "ExternalNetworks" + ], + "description": "Implements ExternalNetworks GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "l3IsolationDomainName", + "in": "path", + "description": "Name of the L3 Isolation Domain.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "externalNetworkName", + "in": "path", + "description": "Name of the External Network.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExternalNetwork" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalNetworks_Get_MaximumSet_Gen": { + "$ref": "./examples/ExternalNetworks_Get.json" + } + } + }, + "put": { + "operationId": "ExternalNetworks_Create", + "tags": [ + "ExternalNetworks" + ], + "description": "Creates ExternalNetwork PUT method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "l3IsolationDomainName", + "in": "path", + "description": "Name of the L3 Isolation Domain.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "externalNetworkName", + "in": "path", + "description": "Name of the External Network.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "resource", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/ExternalNetwork" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ExternalNetwork' update operation succeeded", + "schema": { + "$ref": "#/definitions/ExternalNetwork" + } + }, + "201": { + "description": "Resource 'ExternalNetwork' create operation succeeded", + "schema": { + "$ref": "#/definitions/ExternalNetwork" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalNetworks_Create_MaximumSet_Gen": { + "$ref": "./examples/ExternalNetworks_Create.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "ExternalNetworks_Update", + "tags": [ + "ExternalNetworks" + ], + "description": "API to update certain properties of the ExternalNetworks resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "l3IsolationDomainName", + "in": "path", + "description": "Name of the L3 Isolation Domain.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "externalNetworkName", + "in": "path", + "description": "Name of the External Network.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "properties", + "in": "body", + "description": "ExternalNetwork properties to update. Only annotations are supported.", + "required": true, + "schema": { + "$ref": "#/definitions/ExternalNetworkPatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExternalNetwork" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalNetworks_Update_MaximumSet_Gen": { + "$ref": "./examples/ExternalNetworks_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "ExternalNetworks_Delete", + "tags": [ + "ExternalNetworks" + ], + "description": "Implements ExternalNetworks DELETE method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "l3IsolationDomainName", + "in": "path", + "description": "Name of the L3 Isolation Domain.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "externalNetworkName", + "in": "path", + "description": "Name of the External Network.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalNetworks_Delete_MaximumSet_Gen": { + "$ref": "./examples/ExternalNetworks_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/{l3IsolationDomainName}/externalNetworks/{externalNetworkName}/updateAdministrativeState": { + "post": { + "operationId": "ExternalNetworks_UpdateAdministrativeState", + "tags": [ + "ExternalNetworks" + ], + "description": "Executes update operation to enable or disable administrative State for externalNetwork.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "l3IsolationDomainName", + "in": "path", + "description": "Name of the L3 Isolation Domain.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "externalNetworkName", + "in": "path", + "description": "Name of the External Network.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "body", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateAdministrativeState" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommonPostActionResponseForStateUpdate" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalNetworks_UpdateAdministrativeState_MaximumSet_Gen": { + "$ref": "./examples/ExternalNetworks_UpdateAdministrativeState.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/{l3IsolationDomainName}/externalNetworks/{externalNetworkName}/updateBfdAdministrativeState": { + "post": { + "operationId": "ExternalNetworks_UpdateBfdAdministrativeState", + "tags": [ + "ExternalNetworks" + ], + "description": "BFD administrative state for either static or bgp for internalNetwork.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "l3IsolationDomainName", + "in": "path", + "description": "Name of the L3 Isolation Domain.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "externalNetworkName", + "in": "path", + "description": "Name of the External Network.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "body", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/ExternalNetworkBfdAdministrativeStateRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExternalNetworkBfdAdministrativeStateResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalNetworks_UpdateBfdAdministrativeState": { + "$ref": "./examples/ExternalNetworks_UpdateBfdAdministrativeState.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/{l3IsolationDomainName}/internalNetworks": { + "get": { + "operationId": "InternalNetworks_ListByL3IsolationDomain", + "tags": [ + "InternalNetworks" + ], + "description": "Displays InternalNetworks list by resource group GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "l3IsolationDomainName", + "in": "path", + "description": "Name of the L3 Isolation Domain.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InternalNetworkListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalNetworks_ListByL3IsolationDomain_MaximumSet_Gen": { + "$ref": "./examples/InternalNetworks_ListByL3IsolationDomain.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/{l3IsolationDomainName}/internalNetworks/{internalNetworkName}": { + "get": { + "operationId": "InternalNetworks_Get", + "tags": [ + "InternalNetworks" + ], + "description": "Gets a InternalNetworks.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "l3IsolationDomainName", + "in": "path", + "description": "Name of the L3 Isolation Domain.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "internalNetworkName", + "in": "path", + "description": "Name of the Internal Network.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InternalNetwork" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalNetworks_Get_MaximumSet_Gen": { + "$ref": "./examples/InternalNetworks_Get.json" + } + } + }, + "put": { + "operationId": "InternalNetworks_Create", + "tags": [ + "InternalNetworks" + ], + "description": "Creates InternalNetwork PUT method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "l3IsolationDomainName", + "in": "path", + "description": "Name of the L3 Isolation Domain.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "internalNetworkName", + "in": "path", + "description": "Name of the Internal Network.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "resource", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/InternalNetwork" + } + } + ], + "responses": { + "200": { + "description": "Resource 'InternalNetwork' update operation succeeded", + "schema": { + "$ref": "#/definitions/InternalNetwork" + } + }, + "201": { + "description": "Resource 'InternalNetwork' create operation succeeded", + "schema": { + "$ref": "#/definitions/InternalNetwork" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalNetworks_Create_MaximumSet_Gen": { + "$ref": "./examples/InternalNetworks_Create.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "InternalNetworks_Update", + "tags": [ + "InternalNetworks" + ], + "description": "Updates a InternalNetworks.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "l3IsolationDomainName", + "in": "path", + "description": "Name of the L3 Isolation Domain.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "internalNetworkName", + "in": "path", + "description": "Name of the Internal Network.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "properties", + "in": "body", + "description": "InternalNetwork properties to update. Only annotations are supported.", + "required": true, + "schema": { + "$ref": "#/definitions/InternalNetworkPatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InternalNetwork" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalNetworks_Update_MaximumSet_Gen": { + "$ref": "./examples/InternalNetworks_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "InternalNetworks_Delete", + "tags": [ + "InternalNetworks" + ], + "description": "Implements InternalNetworks DELETE method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "l3IsolationDomainName", + "in": "path", + "description": "Name of the L3 Isolation Domain.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "internalNetworkName", + "in": "path", + "description": "Name of the Internal Network.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalNetworks_Delete_MaximumSet_Gen": { + "$ref": "./examples/InternalNetworks_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/{l3IsolationDomainName}/internalNetworks/{internalNetworkName}/updateAdministrativeState": { + "post": { + "operationId": "InternalNetworks_UpdateAdministrativeState", + "tags": [ + "InternalNetworks" + ], + "description": "Update Administrative state of InternalNetworks on resources referred by their resource ids.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "l3IsolationDomainName", + "in": "path", + "description": "Name of the L3 Isolation Domain.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "internalNetworkName", + "in": "path", + "description": "Name of the Internal Network.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "body", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateAdministrativeState" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommonPostActionResponseForStateUpdate" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalNetworks_UpdateAdministrativeState_MaximumSet_Gen": { + "$ref": "./examples/InternalNetworks_UpdateAdministrativeState.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/{l3IsolationDomainName}/internalNetworks/{internalNetworkName}/updateBfdAdministrativeState": { + "post": { + "operationId": "InternalNetworks_UpdateBfdAdministrativeState", + "tags": [ + "InternalNetworks" + ], + "description": "BFD administrative state for either static or bgp for internalNetwork.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "l3IsolationDomainName", + "in": "path", + "description": "Name of the L3 Isolation Domain.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "internalNetworkName", + "in": "path", + "description": "Name of the Internal Network.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "body", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/InternalNetworkBfdAdministrativeStateRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InternalNetworkBfdAdministrativeStateResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalNetworks_UpdateBfdAdministrativeState": { + "$ref": "./examples/InternalNetworks_UpdateBfdAdministrativeState.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/{l3IsolationDomainName}/internalNetworks/{internalNetworkName}/updateBgpAdministrativeState": { + "post": { + "operationId": "InternalNetworks_UpdateBgpAdministrativeState", + "tags": [ + "InternalNetworks" + ], + "description": "Update BGP state for internalNetwork. Allowed only on edge devices.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "l3IsolationDomainName", + "in": "path", + "description": "Name of the L3 Isolation Domain.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "internalNetworkName", + "in": "path", + "description": "Name of the Internal Network.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "body", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/InternalNetworkBgpAdministrativeStateRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InternalNetworkBgpAdministrativeStateResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalNetworks_UpdateBgpAdministrativeState_MaximumSet_Gen": { + "$ref": "./examples/InternalNetworks_UpdateBgpAdministrativeState.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/{l3IsolationDomainName}/updateAdministrativeState": { + "post": { + "operationId": "L3IsolationDomains_UpdateAdministrativeState", + "tags": [ + "L3IsolationDomains" + ], + "description": "Enables racks for this Isolation Domain.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "l3IsolationDomainName", + "in": "path", + "description": "Name of the L3 Isolation Domain.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "body", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateAdministrativeState" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommonPostActionResponseForDeviceUpdate" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "L3IsolationDomains_UpdateAdministrativeState_MaximumSet_Gen": { + "$ref": "./examples/L3IsolationDomains_UpdateAdministrativeState.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/{l3IsolationDomainName}/validateConfiguration": { + "post": { + "operationId": "L3IsolationDomains_ValidateConfiguration", + "tags": [ + "L3IsolationDomains" + ], + "description": "Validates the configuration of the resources.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "l3IsolationDomainName", + "in": "path", + "description": "Name of the L3 Isolation Domain.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ValidateConfigurationResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "L3IsolationDomains_ValidateConfiguration_MaximumSet_Gen": { + "$ref": "./examples/L3IsolationDomains_ValidateConfiguration.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/neighborGroups": { + "get": { + "operationId": "NeighborGroups_ListByResourceGroup", + "tags": [ + "NeighborGroups" + ], + "description": "Displays NeighborGroups list by resource group GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NeighborGroupListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NeighborGroups_ListByResourceGroup_MaximumSet_Gen": { + "$ref": "./examples/NeighborGroups_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/neighborGroups/{neighborGroupName}": { + "get": { + "operationId": "NeighborGroups_Get", + "tags": [ + "NeighborGroups" + ], + "description": "Gets the Neighbor Group.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "neighborGroupName", + "in": "path", + "description": "Name of the Neighbor Group.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NeighborGroup" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NeighborGroups_Get_MaximumSet_Gen": { + "$ref": "./examples/NeighborGroups_Get.json" + } + } + }, + "put": { + "operationId": "NeighborGroups_Create", + "tags": [ + "NeighborGroups" + ], + "description": "Implements the Neighbor Group PUT method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "neighborGroupName", + "in": "path", + "description": "Name of the Neighbor Group.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "resource", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/NeighborGroup" + } + } + ], + "responses": { + "200": { + "description": "Resource 'NeighborGroup' update operation succeeded", + "schema": { + "$ref": "#/definitions/NeighborGroup" + } + }, + "201": { + "description": "Resource 'NeighborGroup' create operation succeeded", + "schema": { + "$ref": "#/definitions/NeighborGroup" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NeighborGroups_Create_MaximumSet_Gen": { + "$ref": "./examples/NeighborGroups_Create.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "NeighborGroups_Update", + "tags": [ + "NeighborGroups" + ], + "description": "Updates the Neighbor Group.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "neighborGroupName", + "in": "path", + "description": "Name of the Neighbor Group.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "properties", + "in": "body", + "description": "Neighbor Group properties to update. Only annotations are supported.", + "required": true, + "schema": { + "$ref": "#/definitions/NeighborGroupPatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NeighborGroup" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NeighborGroups_Update_MaximumSet_Gen": { + "$ref": "./examples/NeighborGroups_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "NeighborGroups_Delete", + "tags": [ + "NeighborGroups" + ], + "description": "Implements Neighbor Group DELETE method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "neighborGroupName", + "in": "path", + "description": "Name of the Neighbor Group.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NeighborGroups_Delete_MaximumSet_Gen": { + "$ref": "./examples/NeighborGroups_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkDevices": { + "get": { + "operationId": "NetworkDevices_ListByResourceGroup", + "tags": [ + "NetworkDevices" + ], + "description": "List all the Network Device resources in a given resource group.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkDeviceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkDevices_ListByResourceGroup_MaximumSet_Gen": { + "$ref": "./examples/NetworkDevices_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkDevices/{networkDeviceName}": { + "get": { + "operationId": "NetworkDevices_Get", + "tags": [ + "NetworkDevices" + ], + "description": "Gets the Network Device resource details.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkDeviceName", + "in": "path", + "description": "Name of the Network Device.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkDevice" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkDevices_Get_MaximumSet_Gen": { + "$ref": "./examples/NetworkDevices_Get.json" + } + } + }, + "put": { + "operationId": "NetworkDevices_Create", + "tags": [ + "NetworkDevices" + ], + "description": "Create a Network Device resource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkDeviceName", + "in": "path", + "description": "Name of the Network Device.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "resource", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkDevice" + } + } + ], + "responses": { + "200": { + "description": "Resource 'NetworkDevice' update operation succeeded", + "schema": { + "$ref": "#/definitions/NetworkDevice" + } + }, + "201": { + "description": "Resource 'NetworkDevice' create operation succeeded", + "schema": { + "$ref": "#/definitions/NetworkDevice" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkDevices_Create_MaximumSet_Gen": { + "$ref": "./examples/NetworkDevices_Create.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "NetworkDevices_Update", + "tags": [ + "NetworkDevices" + ], + "description": "Update certain properties of the Network Device resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkDeviceName", + "in": "path", + "description": "Name of the Network Device.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "properties", + "in": "body", + "description": "Network Device properties to update.", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkDevicePatchParameters" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkDevice" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkDevices_Update_MaximumSet_Gen": { + "$ref": "./examples/NetworkDevices_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "NetworkDevices_Delete", + "tags": [ + "NetworkDevices" + ], + "description": "Delete the Network Device resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkDeviceName", + "in": "path", + "description": "Name of the Network Device.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkDevices_Delete_MaximumSet_Gen": { + "$ref": "./examples/NetworkDevices_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkDevices/{networkDeviceName}/networkInterfaces": { + "get": { + "operationId": "NetworkInterfaces_ListByNetworkDevice", + "tags": [ + "NetworkInterfaces" + ], + "description": "List all the Network Interface resources in a given resource group.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkDeviceName", + "in": "path", + "description": "Name of the Network Device.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkInterfaceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkInterfaces_ListByNetworkDevice_MaximumSet_Gen": { + "$ref": "./examples/NetworkInterfaces_ListByNetworkDevice.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkDevices/{networkDeviceName}/networkInterfaces/{networkInterfaceName}": { + "get": { + "operationId": "NetworkInterfaces_Get", + "tags": [ + "NetworkInterfaces" + ], + "description": "Get the Network Interface resource details.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkDeviceName", + "in": "path", + "description": "Name of the Network Device.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "networkInterfaceName", + "in": "path", + "description": "Name of the Network Interface.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkInterface" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkInterfaces_Get_MaximumSet_Gen": { + "$ref": "./examples/NetworkInterfaces_Get.json" + } + } + }, + "put": { + "operationId": "NetworkInterfaces_Create", + "tags": [ + "NetworkInterfaces" + ], + "description": "Create a Network Interface resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkDeviceName", + "in": "path", + "description": "Name of the Network Device.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "networkInterfaceName", + "in": "path", + "description": "Name of the Network Interface.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "resource", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkInterface" + } + } + ], + "responses": { + "200": { + "description": "Resource 'NetworkInterface' update operation succeeded", + "schema": { + "$ref": "#/definitions/NetworkInterface" + } + }, + "201": { + "description": "Resource 'NetworkInterface' create operation succeeded", + "schema": { + "$ref": "#/definitions/NetworkInterface" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkInterfaces_Create_MaximumSet_Gen": { + "$ref": "./examples/NetworkInterfaces_Create.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "NetworkInterfaces_Update", + "tags": [ + "NetworkInterfaces" + ], + "description": "Update certain properties of the Network Interface resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkDeviceName", + "in": "path", + "description": "Name of the Network Device.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "networkInterfaceName", + "in": "path", + "description": "Name of the Network Interface.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "properties", + "in": "body", + "description": "NetworkInterface properties to update. Only tags are supported.", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkInterfacePatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkInterface" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkInterfaces_Update_MaximumSet_Gen": { + "$ref": "./examples/NetworkInterfaces_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "NetworkInterfaces_Delete", + "tags": [ + "NetworkInterfaces" + ], + "description": "Delete the Network Interface resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkDeviceName", + "in": "path", + "description": "Name of the Network Device.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "networkInterfaceName", + "in": "path", + "description": "Name of the Network Interface.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkInterfaces_Delete_MaximumSet_Gen": { + "$ref": "./examples/NetworkInterfaces_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkDevices/{networkDeviceName}/networkInterfaces/{networkInterfaceName}/updateAdministrativeState": { + "post": { + "operationId": "NetworkInterfaces_UpdateAdministrativeState", + "tags": [ + "NetworkInterfaces" + ], + "description": "Update the admin state of the Network Interface.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkDeviceName", + "in": "path", + "description": "Name of the Network Device.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "networkInterfaceName", + "in": "path", + "description": "Name of the Network Interface.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "body", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateAdministrativeState" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommonPostActionResponseForStateUpdate" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkInterfaces_UpdateAdministrativeState_MaximumSet_Gen": { + "$ref": "./examples/NetworkInterfaces_UpdateAdministrativeState.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkDevices/{networkDeviceName}/reboot": { + "post": { + "operationId": "NetworkDevices_Reboot", + "tags": [ + "NetworkDevices" + ], + "description": "Reboot the Network Device.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkDeviceName", + "in": "path", + "description": "Name of the Network Device.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "body", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/RebootProperties" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommonPostActionResponseForStateUpdate" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkDevices_Reboot_MaximumSet_Gen": { + "$ref": "./examples/NetworkDevices_Reboot.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkDevices/{networkDeviceName}/refreshConfiguration": { + "post": { + "operationId": "NetworkDevices_RefreshConfiguration", + "tags": [ + "NetworkDevices" + ], + "description": "Refreshes the configuration the Network Device.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkDeviceName", + "in": "path", + "description": "Name of the Network Device.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommonPostActionResponseForStateUpdate" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkDevices_RefreshConfiguration_MaximumSet_Gen": { + "$ref": "./examples/NetworkDevices_RefreshConfiguration.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkDevices/{networkDeviceName}/runRoCommand": { + "post": { + "operationId": "NetworkDevices_RunRoCommand", + "tags": [ + "NetworkDevices" + ], + "description": "Run the RO Command on the Network Device.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkDeviceName", + "in": "path", + "description": "Name of the Network Device.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "body", + "in": "body", + "description": "Request the command.", + "required": true, + "schema": { + "$ref": "#/definitions/DeviceRoCommand" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommonPostActionResponseForDeviceROCommandsOperationStatusResult" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkDevices_RunRoCommand_MaximumSet_Gen": { + "$ref": "./examples/NetworkDevices_RunRoCommand.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkDevices/{networkDeviceName}/runRwCommand": { + "post": { + "operationId": "NetworkDevices_RunRwCommand", + "tags": [ + "NetworkDevices" + ], + "description": "Run the RW Command on the Network Device.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkDeviceName", + "in": "path", + "description": "Name of the Network Device.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "body", + "in": "body", + "description": "Request the command.", + "required": true, + "schema": { + "$ref": "#/definitions/DeviceRwCommand" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommonPostActionResponseForDeviceRWCommands" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkDevices_RunRwCommand_MaximumSet_Gen": { + "$ref": "./examples/NetworkDevices_RunRwCommand.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkDevices/{networkDeviceName}/updateAdministrativeState": { + "post": { + "operationId": "NetworkDevices_UpdateAdministrativeState", + "tags": [ + "NetworkDevices" + ], + "description": "Updates the Administrative state of the Network Device.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkDeviceName", + "in": "path", + "description": "Name of the Network Device.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "body", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateDeviceAdministrativeState" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommonPostActionResponseForStateUpdate" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkDevices_UpdateAdministrativeState_MaximumSet_Gen": { + "$ref": "./examples/NetworkDevices_UpdateAdministrativeState.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkDevices/{networkDeviceName}/upgrade": { + "post": { + "operationId": "NetworkDevices_Upgrade", + "tags": [ + "NetworkDevices" + ], + "description": "Upgrades the version of the Network Device.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkDeviceName", + "in": "path", + "description": "Name of the Network Device.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "body", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateVersion" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommonPostActionResponseForStateUpdate" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkDevices_Upgrade_MaximumSet_Gen": { + "$ref": "./examples/NetworkDevices_Upgrade.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers": { + "get": { + "operationId": "NetworkFabricControllers_ListByResourceGroup", + "tags": [ + "NetworkFabricControllers" + ], + "description": "Lists all the NetworkFabricControllers thats available in the resource group.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkFabricControllerListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkFabricControllers_ListByResourceGroup_MaximumSet_Gen": { + "$ref": "./examples/NetworkFabricControllers_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/{networkFabricControllerName}": { + "get": { + "operationId": "NetworkFabricControllers_Get", + "tags": [ + "NetworkFabricControllers" + ], + "description": "Shows the provisioning status of Network Fabric Controller.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkFabricControllerName", + "in": "path", + "description": "Name of the Network Fabric Controller.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkFabricController" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkFabricControllers_Get_MaximumSet_Gen": { + "$ref": "./examples/NetworkFabricControllers_Get.json" + } + } + }, + "put": { + "operationId": "NetworkFabricControllers_Create", + "tags": [ + "NetworkFabricControllers" + ], + "description": "Creates a Network Fabric Controller.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkFabricControllerName", + "in": "path", + "description": "Name of the Network Fabric Controller.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "resource", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkFabricController" + } + } + ], + "responses": { + "200": { + "description": "Resource 'NetworkFabricController' update operation succeeded", + "schema": { + "$ref": "#/definitions/NetworkFabricController" + } + }, + "201": { + "description": "Resource 'NetworkFabricController' create operation succeeded", + "schema": { + "$ref": "#/definitions/NetworkFabricController" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkFabricControllers_Create_MaximumSet_Gen": { + "$ref": "./examples/NetworkFabricControllers_Create.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "NetworkFabricControllers_Update", + "tags": [ + "NetworkFabricControllers" + ], + "description": "Updates are currently not supported for the Network Fabric Controller resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkFabricControllerName", + "in": "path", + "description": "Name of the Network Fabric Controller.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "properties", + "in": "body", + "description": "Network Fabric Controller properties to update.", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkFabricControllerPatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkFabricController" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkFabricControllers_Update_MaximumSet_Gen": { + "$ref": "./examples/NetworkFabricControllers_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "NetworkFabricControllers_Delete", + "tags": [ + "NetworkFabricControllers" + ], + "description": "Deletes the Network Fabric Controller resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkFabricControllerName", + "in": "path", + "description": "Name of the Network Fabric Controller.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkFabricControllers_Delete_MaximumSet_Gen": { + "$ref": "./examples/NetworkFabricControllers_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics": { + "get": { + "operationId": "NetworkFabrics_ListByResourceGroup", + "tags": [ + "NetworkFabrics" + ], + "description": "List all the Network Fabric resources in the given resource group.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkFabricListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkFabrics_ListByResourceGroup_MaximumSet_Gen": { + "$ref": "./examples/NetworkFabrics_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics/{networkFabricName}": { + "get": { + "operationId": "NetworkFabrics_Get", + "tags": [ + "NetworkFabrics" + ], + "description": "Get Network Fabric resource details.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkFabricName", + "in": "path", + "description": "Name of the Network Fabric.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkFabric" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkFabrics_Get_MaximumSet_Gen": { + "$ref": "./examples/NetworkFabrics_Get.json" + } + } + }, + "put": { + "operationId": "NetworkFabrics_Create", + "tags": [ + "NetworkFabrics" + ], + "description": "Create Network Fabric resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkFabricName", + "in": "path", + "description": "Name of the Network Fabric.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "resource", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkFabric" + } + } + ], + "responses": { + "200": { + "description": "Resource 'NetworkFabric' update operation succeeded", + "schema": { + "$ref": "#/definitions/NetworkFabric" + } + }, + "201": { + "description": "Resource 'NetworkFabric' create operation succeeded", + "schema": { + "$ref": "#/definitions/NetworkFabric" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkFabrics_Create_MaximumSet_Gen": { + "$ref": "./examples/NetworkFabrics_Create.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "NetworkFabrics_Update", + "tags": [ + "NetworkFabrics" + ], + "description": "Update certain properties of the Network Fabric resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkFabricName", + "in": "path", + "description": "Name of the Network Fabric.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "properties", + "in": "body", + "description": "Network Fabric properties to update.", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkFabricPatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkFabric" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkFabrics_Update_MaximumSet_Gen": { + "$ref": "./examples/NetworkFabrics_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "NetworkFabrics_Delete", + "tags": [ + "NetworkFabrics" + ], + "description": "Delete Network Fabric resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkFabricName", + "in": "path", + "description": "Name of the Network Fabric.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkFabrics_Delete_MaximumSet_Gen": { + "$ref": "./examples/NetworkFabrics_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics/{networkFabricName}/armConfigurationDiff": { + "post": { + "operationId": "NetworkFabrics_ArmConfigurationDiff", + "tags": [ + "NetworkFabrics" + ], + "description": "Post action: Triggers diff of NetworkFabric ARM Configuration.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkFabricName", + "in": "path", + "description": "Name of the Network Fabric.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ArmConfigurationDiffResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkFabrics_ArmConfigurationDiff_MaximumSet": { + "$ref": "./examples/NetworkFabrics_ArmConfigurationDiff.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics/{networkFabricName}/commitBatchStatus": { + "post": { + "operationId": "NetworkFabrics_CommitBatchStatus", + "tags": [ + "NetworkFabrics" + ], + "description": "Post action: Returns a status of commit batch operation.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkFabricName", + "in": "path", + "description": "Name of the Network Fabric.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "body", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/CommitBatchStatusRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommitBatchStatusResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkFabrics_CommitBatchStatus_MaximumSet": { + "$ref": "./examples/NetworkFabrics_CommitBatchStatus.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics/{networkFabricName}/commitConfiguration": { + "post": { + "operationId": "NetworkFabrics_CommitConfiguration", + "tags": [ + "NetworkFabrics" + ], + "description": "Atomic update of the given Network Fabric instance. Sync update of NFA resources at Fabric level.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkFabricName", + "in": "path", + "description": "Name of the Network Fabric.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommonPostActionResponseForStateUpdate" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkFabrics_CommitConfiguration_MaximumSet_Gen": { + "$ref": "./examples/NetworkFabrics_CommitConfiguration.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics/{networkFabricName}/deprovision": { + "post": { + "operationId": "NetworkFabrics_Deprovision", + "tags": [ + "NetworkFabrics" + ], + "description": "Deprovisions the underlying resources in the given Network Fabric instance.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkFabricName", + "in": "path", + "description": "Name of the Network Fabric.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommonPostActionResponseForDeviceUpdate" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkFabrics_Deprovision_MaximumSet_Gen": { + "$ref": "./examples/NetworkFabrics_Deprovision.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics/{networkFabricName}/discardCommitBatch": { + "post": { + "operationId": "NetworkFabrics_DiscardCommitBatch", + "tags": [ + "NetworkFabrics" + ], + "description": "Post action: Discards a Batch operation in progress.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkFabricName", + "in": "path", + "description": "Name of the Network Fabric.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "body", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/DiscardCommitBatchRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DiscardCommitBatchResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkFabrics_DiscardCommitBatch": { + "$ref": "./examples/NetworkFabrics_DiscardCommitBatch.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics/{networkFabricName}/getTopology": { + "post": { + "operationId": "NetworkFabrics_GetTopology", + "tags": [ + "NetworkFabrics" + ], + "description": "Gets Topology of the underlying resources in the given Network Fabric instance.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkFabricName", + "in": "path", + "description": "Name of the Network Fabric.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ValidateConfigurationResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkFabrics_GetTopology_MaximumSet_Gen": { + "$ref": "./examples/NetworkFabrics_GetTopology.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics/{networkFabricName}/lockFabric": { + "post": { + "operationId": "NetworkFabrics_LockFabric", + "tags": [ + "NetworkFabrics" + ], + "description": "Post action: Triggers network fabric lock operation.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkFabricName", + "in": "path", + "description": "Name of the Network Fabric.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "body", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkFabricLockRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommonPostActionResponseForStateUpdate" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkFabrics_LockFabric_MaximumSet": { + "$ref": "./examples/NetworkFabrics_LockFabric.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics/{networkFabricName}/networkToNetworkInterconnects": { + "get": { + "operationId": "NetworkToNetworkInterconnects_ListByNetworkFabric", + "tags": [ + "NetworkToNetworkInterconnects" + ], + "description": "Implements Network To Network Interconnects list by Network Fabric GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkFabricName", + "in": "path", + "description": "Name of the Network Fabric.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkToNetworkInterconnectListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkToNetworkInterconnects_ListByNetworkFabric_MaximumSet_Gen": { + "$ref": "./examples/NetworkToNetworkInterconnects_ListByNetworkFabric.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics/{networkFabricName}/networkToNetworkInterconnects/{networkToNetworkInterconnectName}": { + "get": { + "operationId": "NetworkToNetworkInterconnects_Get", + "tags": [ + "NetworkToNetworkInterconnects" + ], + "description": "Implements NetworkToNetworkInterconnects GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkFabricName", + "in": "path", + "description": "Name of the Network Fabric.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "networkToNetworkInterconnectName", + "in": "path", + "description": "Name of the Network to Network Interconnect.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkToNetworkInterconnect" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkToNetworkInterconnects_Get_MaximumSet_Gen": { + "$ref": "./examples/NetworkToNetworkInterconnects_Get.json" + } + } + }, + "put": { + "operationId": "NetworkToNetworkInterconnects_Create", + "tags": [ + "NetworkToNetworkInterconnects" + ], + "description": "Configuration used to setup CE-PE connectivity PUT Method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkFabricName", + "in": "path", + "description": "Name of the Network Fabric.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "networkToNetworkInterconnectName", + "in": "path", + "description": "Name of the Network to Network Interconnect.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "resource", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkToNetworkInterconnect" + } + } + ], + "responses": { + "200": { + "description": "Resource 'NetworkToNetworkInterconnect' update operation succeeded", + "schema": { + "$ref": "#/definitions/NetworkToNetworkInterconnect" + } + }, + "201": { + "description": "Resource 'NetworkToNetworkInterconnect' create operation succeeded", + "schema": { + "$ref": "#/definitions/NetworkToNetworkInterconnect" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkToNetworkInterconnects_Create_MaximumSet_Gen": { + "$ref": "./examples/NetworkToNetworkInterconnects_Create.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "NetworkToNetworkInterconnects_Update", + "tags": [ + "NetworkToNetworkInterconnects" + ], + "description": "Update certain properties of the Network To NetworkInterconnects resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkFabricName", + "in": "path", + "description": "Name of the Network Fabric.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "networkToNetworkInterconnectName", + "in": "path", + "description": "Name of the Network to Network Interconnect.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "properties", + "in": "body", + "description": "Network to Network Interconnect properties to update.", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkToNetworkInterconnectPatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkToNetworkInterconnect" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkToNetworkInterconnects_Update_MaximumSet_Gen": { + "$ref": "./examples/NetworkToNetworkInterconnects_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "NetworkToNetworkInterconnects_Delete", + "tags": [ + "NetworkToNetworkInterconnects" + ], + "description": "Implements NetworkToNetworkInterconnects DELETE method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkFabricName", + "in": "path", + "description": "Name of the Network Fabric.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "networkToNetworkInterconnectName", + "in": "path", + "description": "Name of the Network to Network Interconnect.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkToNetworkInterconnects_Delete_MaximumSet_Gen": { + "$ref": "./examples/NetworkToNetworkInterconnects_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics/{networkFabricName}/networkToNetworkInterconnects/{networkToNetworkInterconnectName}/updateAdministrativeState": { + "post": { + "operationId": "NetworkToNetworkInterconnects_UpdateAdministrativeState", + "tags": [ + "NetworkToNetworkInterconnects" + ], + "description": "Updates the Admin State.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkFabricName", + "in": "path", + "description": "Name of the Network Fabric.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "networkToNetworkInterconnectName", + "in": "path", + "description": "Name of the Network to Network Interconnect.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "body", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateAdministrativeState" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommonPostActionResponseForStateUpdate" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkToNetworkInterconnects_UpdateAdministrativeState_MaximumSet_Gen": { + "$ref": "./examples/NetworkToNetworkInterconnects_UpdateAdministrativeState.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics/{networkFabricName}/networkToNetworkInterconnects/{networkToNetworkInterconnectName}/updateBfdAdministrativeState": { + "post": { + "operationId": "NetworkToNetworkInterconnects_UpdateBfdAdministrativeState", + "tags": [ + "NetworkToNetworkInterconnects" + ], + "description": "Updates the Admin State.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkFabricName", + "in": "path", + "description": "Name of the Network Fabric.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "networkToNetworkInterconnectName", + "in": "path", + "description": "Name of the Network to Network Interconnect.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "body", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/NniBfdAdministrativeStateRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NniBfdAdministrativeStateResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkToNetworkInterconnects_UpdateBfdAdministrativeState": { + "$ref": "./examples/NetworkToNetworkInterconnects_UpdateBfdAdministrativeState.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics/{networkFabricName}/provision": { + "post": { + "operationId": "NetworkFabrics_Provision", + "tags": [ + "NetworkFabrics" + ], + "description": "Provisions the underlying resources in the given Network Fabric instance.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkFabricName", + "in": "path", + "description": "Name of the Network Fabric.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommonPostActionResponseForDeviceUpdate" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkFabrics_Provision_MaximumSet_Gen": { + "$ref": "./examples/NetworkFabrics_Provision.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics/{networkFabricName}/refreshConfiguration": { + "post": { + "operationId": "NetworkFabrics_RefreshConfiguration", + "tags": [ + "NetworkFabrics" + ], + "description": "Refreshes the configuration of the underlying resources in the given Network Fabric instance.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkFabricName", + "in": "path", + "description": "Name of the Network Fabric.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommonPostActionResponseForStateUpdate" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkFabrics_RefreshConfiguration_MaximumSet_Gen": { + "$ref": "./examples/NetworkFabrics_RefreshConfiguration.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics/{networkFabricName}/updateInfraManagementBfdConfiguration": { + "post": { + "operationId": "NetworkFabrics_UpdateInfraManagementBfdConfiguration", + "tags": [ + "NetworkFabrics" + ], + "description": "Updates the Infra Management BFD Configuration of the underlying resources in the given Network Fabric instance.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkFabricName", + "in": "path", + "description": "Name of the Network Fabric.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "body", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateAdministrativeState" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommonPostActionResponseForStateUpdate" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkFabrics_UpdateInfraManagementBfdConfiguration_MaximumSet_Gen": { + "$ref": "./examples/NetworkFabrics_UpdateInfraManagementBfdConfiguration.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics/{networkFabricName}/updateWorkloadManagementBfdConfiguration": { + "post": { + "operationId": "NetworkFabrics_UpdateWorkloadManagementBfdConfiguration", + "tags": [ + "NetworkFabrics" + ], + "description": "Updates the Workload Management BFD Configuration of the underlying resources in the given Network Fabric instance.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkFabricName", + "in": "path", + "description": "Name of the Network Fabric.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "body", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateAdministrativeState" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommonPostActionResponseForStateUpdate" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkFabrics_UpdateWorkloadManagementBfdConfiguration_MaximumSet_Gen": { + "$ref": "./examples/NetworkFabrics_UpdateWorkloadManagementBfdConfiguration.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics/{networkFabricName}/upgrade": { + "post": { + "operationId": "NetworkFabrics_Upgrade", + "tags": [ + "NetworkFabrics" + ], + "description": "Upgrades the version of the underlying resources in the given Network Fabric instance.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkFabricName", + "in": "path", + "description": "Name of the Network Fabric.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "body", + "in": "body", + "description": "Network Fabric properties to update.", + "required": true, + "schema": { + "$ref": "#/definitions/UpgradeNetworkFabricProperties" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommonPostActionResponseForStateUpdate" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkFabrics_Upgrade_MaximumSet_Gen": { + "$ref": "./examples/NetworkFabrics_Upgrade.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics/{networkFabricName}/validateConfiguration": { + "post": { + "operationId": "NetworkFabrics_ValidateConfiguration", + "tags": [ + "NetworkFabrics" + ], + "description": "Validates the configuration of the underlying resources in the given Network Fabric instance.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkFabricName", + "in": "path", + "description": "Name of the Network Fabric.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "body", + "in": "body", + "description": "Validate configuration properties.", + "required": true, + "schema": { + "$ref": "#/definitions/ValidateConfigurationProperties" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ValidateConfigurationResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkFabrics_ValidateConfiguration_MaximumSet_Gen": { + "$ref": "./examples/NetworkFabrics_ValidateConfiguration.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics/{networkFabricName}/viewDeviceConfiguration": { + "post": { + "operationId": "NetworkFabrics_ViewDeviceConfiguration", + "tags": [ + "NetworkFabrics" + ], + "description": "Post action: Triggers view of network fabric configuration.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkFabricName", + "in": "path", + "description": "Name of the Network Fabric.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ViewDeviceConfigurationResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkFabrics_ViewDeviceConfiguration_MaximumSet": { + "$ref": "./examples/NetworkFabrics_ViewDeviceConfiguration.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkMonitors": { + "get": { + "operationId": "NetworkMonitors_ListByResourceGroup", + "tags": [ + "NetworkMonitors" + ], + "description": "Displays NetworkMonitors list by resource group GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkMonitorListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkMonitors_ListByResourceGroup": { + "$ref": "./examples/NetworkMonitors_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkMonitors/{networkMonitorName}": { + "get": { + "operationId": "NetworkMonitors_Get", + "tags": [ + "NetworkMonitors" + ], + "description": "Implements NetworkMonitor GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkMonitorName", + "in": "path", + "description": "Name of the Network Monitor.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkMonitor" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkMonitors_Get_MaximumSet": { + "$ref": "./examples/NetworkMonitors_Get.json" + } + } + }, + "put": { + "operationId": "NetworkMonitors_Create", + "tags": [ + "NetworkMonitors" + ], + "description": "Creates NetworkMonitor resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkMonitorName", + "in": "path", + "description": "Name of the Network Monitor.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkMonitor" + } + } + ], + "responses": { + "200": { + "description": "Resource 'NetworkMonitor' update operation succeeded", + "schema": { + "$ref": "#/definitions/NetworkMonitor" + } + }, + "201": { + "description": "Resource 'NetworkMonitor' create operation succeeded", + "schema": { + "$ref": "#/definitions/NetworkMonitor" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkMonitors_Create": { + "$ref": "./examples/NetworkMonitors_Create.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "NetworkMonitors_Update", + "tags": [ + "NetworkMonitors" + ], + "description": "API to update certain properties of the NetworkMonitor resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkMonitorName", + "in": "path", + "description": "Name of the Network Monitor.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkMonitorPatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkMonitor" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkMonitors_Update": { + "$ref": "./examples/NetworkMonitors_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "NetworkMonitors_Delete", + "tags": [ + "NetworkMonitors" + ], + "description": "Deletes layer 2 connectivity between compute nodes by managed by named NetworkMonitor name.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkMonitorName", + "in": "path", + "description": "Name of the Network Monitor.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkMonitors_Delete_MaximumSet": { + "$ref": "./examples/NetworkMonitors_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkMonitors/{networkMonitorName}/updateAdministrativeState": { + "post": { + "operationId": "NetworkMonitors_UpdateAdministrativeState", + "tags": [ + "NetworkMonitors" + ], + "description": "Enables isolation domain across the fabric or on specified racks.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkMonitorName", + "in": "path", + "description": "Name of the Network Monitor.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "body", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateAdministrativeState" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommonPostActionResponseForDeviceUpdate" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkMonitors_UpdateAdministrativeState": { + "$ref": "./examples/NetworkMonitors_UpdateAdministrativeState.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkPacketBrokers": { + "get": { + "operationId": "NetworkPacketBrokers_ListByResourceGroup", + "tags": [ + "NetworkPacketBrokers" + ], + "description": "Displays NetworkPacketBrokers list by resource group GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkPacketBrokerListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkPacketBrokers_ListByResourceGroup_MaximumSet_Gen": { + "$ref": "./examples/NetworkPacketBrokers_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkPacketBrokers/{networkPacketBrokerName}": { + "get": { + "operationId": "NetworkPacketBrokers_Get", + "tags": [ + "NetworkPacketBrokers" + ], + "description": "Retrieves details of this Network Packet Broker.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkPacketBrokerName", + "in": "path", + "description": "Name of the Network Packet Broker.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkPacketBroker" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkPacketBrokers_Get_MaximumSet_Gen": { + "$ref": "./examples/NetworkPacketBrokers_Get.json" + } + } + }, + "put": { + "operationId": "NetworkPacketBrokers_Create", + "tags": [ + "NetworkPacketBrokers" + ], + "description": "Creates a Network Packet Broker.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkPacketBrokerName", + "in": "path", + "description": "Name of the Network Packet Broker.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "resource", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkPacketBroker" + } + } + ], + "responses": { + "200": { + "description": "Resource 'NetworkPacketBroker' update operation succeeded", + "schema": { + "$ref": "#/definitions/NetworkPacketBroker" + } + }, + "201": { + "description": "Resource 'NetworkPacketBroker' create operation succeeded", + "schema": { + "$ref": "#/definitions/NetworkPacketBroker" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkPacketBrokers_Create_MaximumSet_Gen": { + "$ref": "./examples/NetworkPacketBrokers_Create.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "NetworkPacketBrokers_Update", + "tags": [ + "NetworkPacketBrokers" + ], + "description": "API to update certain properties of the Network Packet Broker resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkPacketBrokerName", + "in": "path", + "description": "Name of the Network Packet Broker.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "properties", + "in": "body", + "description": "Network Packet Broker properties to update.", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkPacketBrokerPatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkPacketBroker" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkPacketBrokers_Update_MaximumSet_Gen": { + "$ref": "./examples/NetworkPacketBrokers_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "NetworkPacketBrokers_Delete", + "tags": [ + "NetworkPacketBrokers" + ], + "description": "Deletes Network Packet Broker.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkPacketBrokerName", + "in": "path", + "description": "Name of the Network Packet Broker.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkPacketBrokers_Delete_MaximumSet_Gen": { + "$ref": "./examples/NetworkPacketBrokers_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkRacks": { + "get": { + "operationId": "NetworkRacks_ListByResourceGroup", + "tags": [ + "NetworkRacks" + ], + "description": "List all Network Rack resources in the given resource group.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkRackListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkRacks_ListByResourceGroup_MaximumSet_Gen": { + "$ref": "./examples/NetworkRacks_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkRacks/{networkRackName}": { + "get": { + "operationId": "NetworkRacks_Get", + "tags": [ + "NetworkRacks" + ], + "description": "Get Network Rack resource details.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkRackName", + "in": "path", + "description": "Name of the Network Rack.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkRack" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkRacks_Get_MaximumSet_Gen": { + "$ref": "./examples/NetworkRacks_Get.json" + } + } + }, + "put": { + "operationId": "NetworkRacks_Create", + "tags": [ + "NetworkRacks" + ], + "description": "Create Network Rack resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkRackName", + "in": "path", + "description": "Name of the Network Rack.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "resource", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkRack" + } + } + ], + "responses": { + "200": { + "description": "Resource 'NetworkRack' update operation succeeded", + "schema": { + "$ref": "#/definitions/NetworkRack" + } + }, + "201": { + "description": "Resource 'NetworkRack' create operation succeeded", + "schema": { + "$ref": "#/definitions/NetworkRack" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkRacks_Create_MaximumSet_Gen": { + "$ref": "./examples/NetworkRacks_Create.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "NetworkRacks_Update", + "tags": [ + "NetworkRacks" + ], + "description": "Update certain properties of the Network Rack resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkRackName", + "in": "path", + "description": "Name of the Network Rack.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "properties", + "in": "body", + "description": "Network Rack properties to update.", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkRackPatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkRack" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkRacks_Update_MaximumSet_Gen": { + "$ref": "./examples/NetworkRacks_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "NetworkRacks_Delete", + "tags": [ + "NetworkRacks" + ], + "description": "Delete Network Rack resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkRackName", + "in": "path", + "description": "Name of the Network Rack.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkRacks_Delete_MaximumSet_Gen": { + "$ref": "./examples/NetworkRacks_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkTapRules": { + "get": { + "operationId": "NetworkTapRules_ListByResourceGroup", + "tags": [ + "NetworkTapRules" + ], + "description": "List all the Network Tap Rule resources in the given resource group.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkTapRuleListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkTapRules_ListByResourceGroup_MaximumSet_Gen": { + "$ref": "./examples/NetworkTapRules_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkTapRules/{networkTapRuleName}": { + "get": { + "operationId": "NetworkTapRules_Get", + "tags": [ + "NetworkTapRules" + ], + "description": "Get Network Tap Rule resource details.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkTapRuleName", + "in": "path", + "description": "Name of the Network Tap Rule.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkTapRule" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkTapRules_Get_MaximumSet_Gen": { + "$ref": "./examples/NetworkTapRules_Get.json" + } + } + }, + "put": { + "operationId": "NetworkTapRules_Create", + "tags": [ + "NetworkTapRules" + ], + "description": "Create Network Tap Rule resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkTapRuleName", + "in": "path", + "description": "Name of the Network Tap Rule.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "resource", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkTapRule" + } + } + ], + "responses": { + "200": { + "description": "Resource 'NetworkTapRule' update operation succeeded", + "schema": { + "$ref": "#/definitions/NetworkTapRule" + } + }, + "201": { + "description": "Resource 'NetworkTapRule' create operation succeeded", + "schema": { + "$ref": "#/definitions/NetworkTapRule" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkTapRules_Create_MaximumSet_Gen": { + "$ref": "./examples/NetworkTapRules_Create.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "NetworkTapRules_Update", + "tags": [ + "NetworkTapRules" + ], + "description": "Update certain properties of the Network Tap Rule resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkTapRuleName", + "in": "path", + "description": "Name of the Network Tap Rule.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "properties", + "in": "body", + "description": "Network Tap Rule properties to update.", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkTapRulePatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkTapRule" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkTapRules_Update_MaximumSet_Gen": { + "$ref": "./examples/NetworkTapRules_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "NetworkTapRules_Delete", + "tags": [ + "NetworkTapRules" + ], + "description": "Delete Network Tap Rule resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkTapRuleName", + "in": "path", + "description": "Name of the Network Tap Rule.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkTapRules_Delete_MaximumSet_Gen": { + "$ref": "./examples/NetworkTapRules_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkTapRules/{networkTapRuleName}/resync": { + "post": { + "operationId": "NetworkTapRules_Resync", + "tags": [ + "NetworkTapRules" + ], + "description": "Implements the operation to the underlying resources.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkTapRuleName", + "in": "path", + "description": "Name of the Network Tap Rule.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommonPostActionResponseForStateUpdate" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkTapRules_Resync_MaximumSet_Gen": { + "$ref": "./examples/NetworkTapRules_Resync.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkTapRules/{networkTapRuleName}/updateAdministrativeState": { + "post": { + "operationId": "NetworkTapRules_UpdateAdministrativeState", + "tags": [ + "NetworkTapRules" + ], + "description": "Implements the operation to the underlying resources.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkTapRuleName", + "in": "path", + "description": "Name of the Network Tap Rule.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "body", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateAdministrativeState" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommonPostActionResponseForStateUpdate" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkTapRules_UpdateAdministrativeState_MaximumSet_Gen": { + "$ref": "./examples/NetworkTapRules_UpdateAdministrativeState.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkTapRules/{networkTapRuleName}/validateConfiguration": { + "post": { + "operationId": "NetworkTapRules_ValidateConfiguration", + "tags": [ + "NetworkTapRules" + ], + "description": "Implements the operation to the underlying resources.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkTapRuleName", + "in": "path", + "description": "Name of the Network Tap Rule.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ValidateConfigurationResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkTapRules_ValidateConfiguration_MaximumSet_Gen": { + "$ref": "./examples/NetworkTapRules_ValidateConfiguration.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkTaps": { + "get": { + "operationId": "NetworkTaps_ListByResourceGroup", + "tags": [ + "NetworkTaps" + ], + "description": "Displays Network Taps list by resource group GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkTapListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkTaps_ListByResourceGroup_MaximumSet_Gen": { + "$ref": "./examples/NetworkTaps_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkTaps/{networkTapName}": { + "get": { + "operationId": "NetworkTaps_Get", + "tags": [ + "NetworkTaps" + ], + "description": "Retrieves details of this Network Tap.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkTapName", + "in": "path", + "description": "Name of the Network Tap.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkTap" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkTaps_Get_MaximumSet_Gen": { + "$ref": "./examples/NetworkTaps_Get.json" + } + } + }, + "put": { + "operationId": "NetworkTaps_Create", + "tags": [ + "NetworkTaps" + ], + "description": "Creates a Network Tap.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkTapName", + "in": "path", + "description": "Name of the Network Tap.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "resource", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkTap" + } + } + ], + "responses": { + "200": { + "description": "Resource 'NetworkTap' update operation succeeded", + "schema": { + "$ref": "#/definitions/NetworkTap" + } + }, + "201": { + "description": "Resource 'NetworkTap' create operation succeeded", + "schema": { + "$ref": "#/definitions/NetworkTap" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkTaps_Create_MaximumSet_Gen": { + "$ref": "./examples/NetworkTaps_Create.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "NetworkTaps_Update", + "tags": [ + "NetworkTaps" + ], + "description": "API to update certain properties of the Network Tap resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkTapName", + "in": "path", + "description": "Name of the Network Tap.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "properties", + "in": "body", + "description": "Network Tap properties to update.", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkTapPatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkTap" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkTaps_Update_MaximumSet_Gen": { + "$ref": "./examples/NetworkTaps_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "NetworkTaps_Delete", + "tags": [ + "NetworkTaps" + ], + "description": "Deletes Network Tap.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkTapName", + "in": "path", + "description": "Name of the Network Tap.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkTaps_Delete_MaximumSet_Gen": { + "$ref": "./examples/NetworkTaps_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkTaps/{networkTapName}/resync": { + "post": { + "operationId": "NetworkTaps_Resync", + "tags": [ + "NetworkTaps" + ], + "description": "Implements the operation to the underlying resources.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkTapName", + "in": "path", + "description": "Name of the Network Tap.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommonPostActionResponseForStateUpdate" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkTaps_Resync_MaximumSet_Gen": { + "$ref": "./examples/NetworkTaps_Resync.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkTaps/{networkTapName}/updateAdministrativeState": { + "post": { + "operationId": "NetworkTaps_UpdateAdministrativeState", + "tags": [ + "NetworkTaps" + ], + "description": "Implements the operation to the underlying resources.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "networkTapName", + "in": "path", + "description": "Name of the Network Tap.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "body", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateAdministrativeState" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommonPostActionResponseForDeviceUpdate" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkTaps_UpdateAdministrativeState_MaximumSet_Gen": { + "$ref": "./examples/NetworkTaps_UpdateAdministrativeState.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/routePolicies": { + "get": { + "operationId": "RoutePolicies_ListByResourceGroup", + "tags": [ + "RoutePolicies" + ], + "description": "Implements RoutePolicies list by resource group GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/RoutePolicyListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "RoutePolicies_ListByResourceGroup_MaximumSet_Gen": { + "$ref": "./examples/RoutePolicies_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/routePolicies/{routePolicyName}": { + "get": { + "operationId": "RoutePolicies_Get", + "tags": [ + "RoutePolicies" + ], + "description": "Implements Route Policy GET method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "routePolicyName", + "in": "path", + "description": "Name of the Route Policy.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/RoutePolicy" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "RoutePolicies_Get_MaximumSet_Gen": { + "$ref": "./examples/RoutePolicies_Get.json" + } + } + }, + "put": { + "operationId": "RoutePolicies_Create", + "tags": [ + "RoutePolicies" + ], + "description": "Implements Route Policy PUT method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "routePolicyName", + "in": "path", + "description": "Name of the Route Policy.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "resource", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/RoutePolicy" + } + } + ], + "responses": { + "200": { + "description": "Resource 'RoutePolicy' update operation succeeded", + "schema": { + "$ref": "#/definitions/RoutePolicy" + } + }, + "201": { + "description": "Resource 'RoutePolicy' create operation succeeded", + "schema": { + "$ref": "#/definitions/RoutePolicy" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "RoutePolicies_Create_MaximumSet_Gen": { + "$ref": "./examples/RoutePolicies_Create.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "RoutePolicies_Update", + "tags": [ + "RoutePolicies" + ], + "description": "API to update certain properties of the Route Policy resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "routePolicyName", + "in": "path", + "description": "Name of the Route Policy.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "properties", + "in": "body", + "description": "Route Policy properties to update.", + "required": true, + "schema": { + "$ref": "#/definitions/RoutePolicyPatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/RoutePolicy" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "RoutePolicies_Update_MaximumSet_Gen": { + "$ref": "./examples/RoutePolicies_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "RoutePolicies_Delete", + "tags": [ + "RoutePolicies" + ], + "description": "Implements Route Policy DELETE method.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "routePolicyName", + "in": "path", + "description": "Name of the Route Policy.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "RoutePolicies_Delete_MaximumSet_Gen": { + "$ref": "./examples/RoutePolicies_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/routePolicies/{routePolicyName}/commitConfiguration": { + "post": { + "operationId": "RoutePolicies_CommitConfiguration", + "tags": [ + "RoutePolicies" + ], + "description": "Commits the configuration of the given resources.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "routePolicyName", + "in": "path", + "description": "Name of the Route Policy.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommonPostActionResponseForStateUpdate" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "RoutePolicies_CommitConfiguration_MaximumSet_Gen": { + "$ref": "./examples/RoutePolicies_CommitConfiguration.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/routePolicies/{routePolicyName}/updateAdministrativeState": { + "post": { + "operationId": "RoutePolicies_UpdateAdministrativeState", + "tags": [ + "RoutePolicies" + ], + "description": "Updated the admin state for this Route Policy.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "routePolicyName", + "in": "path", + "description": "Name of the Route Policy.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + }, + { + "name": "body", + "in": "body", + "description": "Request payload.", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateAdministrativeState" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommonPostActionResponseForDeviceUpdate" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "RoutePolicies_UpdateAdministrativeState_MaximumSet_Gen": { + "$ref": "./examples/RoutePolicies_UpdateAdministrativeState.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/routePolicies/{routePolicyName}/validateConfiguration": { + "post": { + "operationId": "RoutePolicies_ValidateConfiguration", + "tags": [ + "RoutePolicies" + ], + "description": "Validates the configuration of the resources.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "routePolicyName", + "in": "path", + "description": "Name of the Route Policy.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ValidateConfigurationResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "RoutePolicies_ValidateConfiguration_MaximumSet_Gen": { + "$ref": "./examples/RoutePolicies_ValidateConfiguration.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + } + }, + "definitions": { + "AccessControlList": { + "type": "object", + "description": "The Access Control List resource definition.", + "properties": { + "properties": { + "$ref": "#/definitions/AccessControlListProperties", + "description": "The Access ControlList properties" + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "AccessControlListAction": { + "type": "object", + "description": "Action that need to performed.", + "properties": { + "type": { + "$ref": "#/definitions/AclActionType", + "description": "Type of actions that can be performed." + }, + "counterName": { + "type": "string", + "description": "Name of the counter block to get match count information.", + "minLength": 1 + }, + "remarkComment": { + "type": "string", + "description": "Remark comment" + }, + "policeRateConfiguration": { + "$ref": "#/definitions/PoliceRateConfigurationProperties", + "description": "Police rate configuration" + } + } + }, + "AccessControlListActionPatch": { + "type": "object", + "description": "Action that need to be performed", + "properties": { + "type": { + "$ref": "#/definitions/AclActionType", + "description": "Type of actions that can be performed." + }, + "counterName": { + "type": "string", + "description": "Name of the counter block to get match count information.", + "minLength": 1 + }, + "remarkComment": { + "type": "string", + "description": "Remark comment" + }, + "policeRateConfiguration": { + "$ref": "#/definitions/PoliceRateConfigurationProperties", + "description": "Police rate configuration" + } + } + }, + "AccessControlListListResult": { + "type": "object", + "description": "The response of a AccessControlList list operation.", + "properties": { + "value": { + "type": "array", + "description": "The AccessControlList items on this page", + "items": { + "$ref": "#/definitions/AccessControlList" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "AccessControlListMatchCondition": { + "type": "object", + "description": "Defines the match condition that is supported to filter the traffic.", + "properties": { + "protocolTypes": { + "type": "array", + "description": "List of the protocols that need to be matched.", + "minItems": 1, + "items": { + "type": "string" + } + }, + "vlanMatchCondition": { + "$ref": "#/definitions/VlanMatchCondition", + "description": "Vlan match condition that needs to be matched." + }, + "ipCondition": { + "$ref": "#/definitions/IpMatchCondition", + "description": "IP condition that needs to be matched." + }, + "etherTypes": { + "type": "array", + "description": "List of ether type values that need to be matched.", + "minItems": 1, + "items": { + "type": "string" + } + }, + "fragments": { + "type": "array", + "description": "List of IP fragment packets that need to be matched.", + "minItems": 1, + "items": { + "type": "string" + } + }, + "ipLengths": { + "type": "array", + "description": "List of IP Lengths that need to be matched.", + "minItems": 1, + "items": { + "type": "string" + } + }, + "ttlValues": { + "type": "array", + "description": "List of TTL [Time To Live] values that need to be matched.", + "minItems": 1, + "items": { + "type": "string" + } + }, + "dscpMarkings": { + "type": "array", + "description": "List of DSCP Markings that need to be matched.", + "minItems": 1, + "items": { + "type": "string" + } + }, + "protocolNeighbors": { + "type": "array", + "description": "Protocol neighbors that need to be matched.", + "items": { + "type": "string" + } + }, + "portCondition": { + "$ref": "#/definitions/AccessControlListPortCondition", + "description": "Defines the port condition that needs to be matched." + }, + "icmpConfiguration": { + "$ref": "#/definitions/IcmpConfigurationProperties", + "description": "Internet Control Message Protocol (ICMP) configuration" + } + } + }, + "AccessControlListMatchConditionPatch": { + "type": "object", + "description": "Defines the match condition that is supported to filter the traffic.", + "properties": { + "protocolTypes": { + "type": "array", + "description": "List of the protocols that need to be matched.", + "minItems": 1, + "items": { + "type": "string" + } + }, + "vlanMatchCondition": { + "$ref": "#/definitions/VlanMatchConditionPatch", + "description": "Vlan match condition that needs to be matched." + }, + "ipCondition": { + "$ref": "#/definitions/IpMatchConditionPatch", + "description": "IP condition that needs to be matched." + }, + "etherTypes": { + "type": "array", + "description": "List of ether type values that need to be matched.", + "minItems": 1, + "items": { + "type": "string" + } + }, + "fragments": { + "type": "array", + "description": "List of IP fragment packets that need to be matched.", + "minItems": 1, + "items": { + "type": "string" + } + }, + "ipLengths": { + "type": "array", + "description": "List of IP Lengths that need to be matched.", + "minItems": 1, + "items": { + "type": "string" + } + }, + "ttlValues": { + "type": "array", + "description": "List of TTL [Time To Live] values that need to be matched.", + "minItems": 1, + "items": { + "type": "string" + } + }, + "dscpMarkings": { + "type": "array", + "description": "List of DSCP Markings that need to be matched.", + "minItems": 1, + "items": { + "type": "string" + } + }, + "portCondition": { + "$ref": "#/definitions/AccessControlListPortConditionPatch", + "description": "Defines the port condition that needs to be matched." + }, + "protocolNeighbors": { + "type": "array", + "description": "Protocol neighbors that need to be matched.", + "items": { + "type": "string" + } + }, + "icmpConfiguration": { + "$ref": "#/definitions/IcmpConfigurationPatchProperties", + "description": "Internet Control Message Protocol (ICMP) configuration" + } + } + }, + "AccessControlListMatchConfiguration": { + "type": "object", + "description": "Defines the match configuration that are supported to filter the traffic.", + "properties": { + "matchConfigurationName": { + "type": "string", + "description": "The name of the match configuration.", + "minLength": 1 + }, + "sequenceNumber": { + "type": "integer", + "format": "int64", + "description": "Sequence Number of the match configuration.", + "minimum": 1, + "maximum": 4294967295 + }, + "ipAddressType": { + "$ref": "#/definitions/IPAddressType", + "description": "Type of IP Address. IPv4 or IPv6" + }, + "matchConditions": { + "type": "array", + "description": "List of the match conditions.", + "minItems": 1, + "items": { + "$ref": "#/definitions/AccessControlListMatchCondition" + }, + "x-ms-identifiers": [] + }, + "actions": { + "type": "array", + "description": "List of actions that need to be performed for the matched conditions.", + "minItems": 1, + "items": { + "$ref": "#/definitions/AccessControlListAction" + }, + "x-ms-identifiers": [] + } + } + }, + "AccessControlListMatchConfigurationPatch": { + "type": "object", + "description": "Defines the match configuration that are supported to filter the traffic.", + "properties": { + "matchConfigurationName": { + "type": "string", + "description": "The name of the match configuration.", + "minLength": 1 + }, + "sequenceNumber": { + "type": "integer", + "format": "int64", + "description": "Sequence Number of the match configuration.", + "minimum": 1, + "maximum": 4294967295 + }, + "ipAddressType": { + "$ref": "#/definitions/IPAddressType", + "description": "Type of IP Address. IPv4 or IPv6" + }, + "matchConditions": { + "type": "array", + "description": "List of the match conditions.", + "minItems": 1, + "items": { + "$ref": "#/definitions/AccessControlListMatchConditionPatch" + }, + "x-ms-identifiers": [] + }, + "actions": { + "type": "array", + "description": "List of actions that need to be performed for the matched conditions.", + "minItems": 1, + "items": { + "$ref": "#/definitions/AccessControlListActionPatch" + }, + "x-ms-identifiers": [] + } + } + }, + "AccessControlListPatch": { + "type": "object", + "description": "The Access Control Lists patch resource definition.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/AccessControlListPatchProperties", + "description": "Access Control Lists patch properties." + } + } + }, + "AccessControlListPatchProperties": { + "type": "object", + "description": "Access Control Lists patch properties.", + "properties": { + "configurationType": { + "$ref": "#/definitions/ConfigurationType", + "description": "Input method to configure Access Control List." + }, + "aclsUrl": { + "type": "string", + "format": "uri", + "description": "Access Control List file URL." + }, + "defaultAction": { + "$ref": "#/definitions/CommunityActionTypes", + "description": "Default action that needs to be applied when no condition is matched. Example: Permit | Deny." + }, + "matchConfigurations": { + "type": "array", + "description": "List of match configurations.", + "minItems": 1, + "items": { + "$ref": "#/definitions/AccessControlListMatchConfigurationPatch" + }, + "x-ms-identifiers": [] + }, + "dynamicMatchConfigurations": { + "type": "array", + "description": "List of dynamic match configurations.", + "minItems": 1, + "items": { + "$ref": "#/definitions/CommonDynamicMatchConfigurationPatch" + }, + "x-ms-identifiers": [] + }, + "aclType": { + "$ref": "#/definitions/AclType", + "description": "Access Control List (ACL) Type" + }, + "deviceRole": { + "$ref": "#/definitions/DeviceRole", + "description": "Device Role" + }, + "globalAccessControlListActions": { + "$ref": "#/definitions/GlobalAccessControlListActionPatchProperties", + "description": "Global Access Control List (ACL) actions" + }, + "annotation": { + "type": "string", + "description": "Switch configuration description." + } + } + }, + "AccessControlListPortCondition": { + "type": "object", + "description": "Defines the port condition that needs to be matched.", + "properties": { + "portType": { + "$ref": "#/definitions/PortType", + "description": "Port type that needs to be matched." + }, + "layer4Protocol": { + "$ref": "#/definitions/Layer4Protocol", + "description": "Layer4 protocol type that needs to be matched." + }, + "ports": { + "type": "array", + "description": "List of the Ports that need to be matched.", + "items": { + "type": "string" + } + }, + "portGroupNames": { + "type": "array", + "description": "List of the port Group Names that need to be matched.", + "items": { + "type": "string" + } + }, + "flags": { + "type": "array", + "description": "List of protocol flags that need to be matched. Example: established | initial | . List of eligible TCP Flags are ack, fin, not-ack, not-fin, not-psh, not-rst, not-syn, not-urg, psh, rst, syn, urg", + "items": { + "type": "string" + } + } + }, + "required": [ + "layer4Protocol" + ] + }, + "AccessControlListPortConditionPatch": { + "type": "object", + "description": "Defines the port condition that needs to be matched.", + "properties": { + "portType": { + "$ref": "#/definitions/PortType", + "description": "Port type that needs to be matched." + }, + "layer4Protocol": { + "$ref": "#/definitions/Layer4Protocol", + "description": "Layer4 protocol type that needs to be matched." + }, + "ports": { + "type": "array", + "description": "List of the Ports that need to be matched.", + "items": { + "type": "string" + } + }, + "portGroupNames": { + "type": "array", + "description": "List of the port Group Names that need to be matched.", + "items": { + "type": "string" + } + }, + "flags": { + "type": "array", + "description": "List of protocol flags that need to be matched. Example: established | initial | . List of eligible TCP Flags are ack, fin, not-ack, not-fin, not-psh, not-rst, not-syn, not-urg, psh, rst, syn, urg", + "items": { + "type": "string" + } + } + } + }, + "AccessControlListProperties": { + "type": "object", + "description": "Access Control List Properties defines the resource properties.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "configurationType": { + "$ref": "#/definitions/ConfigurationType", + "description": "Input method to configure Access Control List." + }, + "aclsUrl": { + "type": "string", + "format": "uri", + "description": "Access Control List file URL." + }, + "defaultAction": { + "type": "string", + "description": "Default action that needs to be applied when no condition is matched. Example: Permit | Deny.", + "default": "Permit", + "enum": [ + "Permit", + "Deny" + ], + "x-ms-enum": { + "name": "CommunityActionTypes", + "modelAsString": true, + "values": [ + { + "name": "Permit", + "value": "Permit", + "description": "Permit Community Action Types" + }, + { + "name": "Deny", + "value": "Deny", + "description": "Deny Community Action Types" + } + ] + } + }, + "matchConfigurations": { + "type": "array", + "description": "List of match configurations.", + "minItems": 1, + "items": { + "$ref": "#/definitions/AccessControlListMatchConfiguration" + }, + "x-ms-identifiers": [] + }, + "dynamicMatchConfigurations": { + "type": "array", + "description": "List of dynamic match configurations.", + "minItems": 1, + "items": { + "$ref": "#/definitions/CommonDynamicMatchConfiguration" + }, + "x-ms-identifiers": [] + }, + "lastSyncedTime": { + "type": "string", + "format": "date-time", + "description": "The last synced timestamp.", + "readOnly": true + }, + "aclType": { + "$ref": "#/definitions/AclType", + "description": "Access Control List (ACL) Type" + }, + "deviceRole": { + "$ref": "#/definitions/DeviceRole", + "description": "Device Role" + }, + "globalAccessControlListActions": { + "$ref": "#/definitions/GlobalAccessControlListActionProperties", + "description": "Global Access Control List (ACL) actions" + }, + "lastOperation": { + "$ref": "#/definitions/LastOperationProperties", + "description": "Details of the last operation performed on the resource", + "readOnly": true + }, + "configurationState": { + "$ref": "#/definitions/ConfigurationState", + "description": "Configuration state of the resource.", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning state of the resource.", + "readOnly": true + }, + "administrativeState": { + "$ref": "#/definitions/AdministrativeState", + "description": "Administrative state of the resource.", + "readOnly": true + } + }, + "required": [ + "configurationType" + ] + }, + "AclActionType": { + "type": "string", + "description": "Type of actions that can be performed.", + "enum": [ + "Drop", + "Count", + "Log", + "Remark", + "PoliceRate" + ], + "x-ms-enum": { + "name": "AclActionType", + "modelAsString": true, + "values": [ + { + "name": "Drop", + "value": "Drop", + "description": "AclActionType Drop" + }, + { + "name": "Count", + "value": "Count", + "description": "AclActionType Count" + }, + { + "name": "Log", + "value": "Log", + "description": "AclActionType Log" + }, + { + "name": "Remark", + "value": "Remark", + "description": "AclActionType Remark" + }, + { + "name": "PoliceRate", + "value": "PoliceRate", + "description": "AclActionType PoliceRate" + } + ] + } + }, + "AclType": { + "type": "string", + "description": "Access Control List (ACL) Type", + "enum": [ + "ControlPlaneTrafficPolicy", + "Tenant", + "Management" + ], + "x-ms-enum": { + "name": "AclType", + "modelAsString": true, + "values": [ + { + "name": "Cp", + "value": "ControlPlaneTrafficPolicy", + "description": "AclType Control Plane Traffic Policy" + }, + { + "name": "Tenant", + "value": "Tenant", + "description": "AclType Tenant" + }, + { + "name": "Management", + "value": "Management", + "description": "AclType Management" + } + ] + } + }, + "Action": { + "type": "string", + "description": "Specify action.", + "enum": [ + "Allow", + "Deny" + ], + "x-ms-enum": { + "name": "Action", + "modelAsString": true, + "values": [ + { + "name": "Allow", + "value": "Allow", + "description": "Action Allow" + }, + { + "name": "Deny", + "value": "Deny", + "description": "Action Deny" + } + ] + } + }, + "ActionIpCommunityPatchProperties": { + "type": "object", + "description": "IP Community Properties.", + "properties": { + "add": { + "$ref": "#/definitions/IpCommunityIdList", + "description": "List of IP Community IDs." + }, + "delete": { + "$ref": "#/definitions/IpCommunityIdList", + "description": "List of IP Community IDs." + }, + "set": { + "$ref": "#/definitions/IpCommunityIdList", + "description": "List of IP Community IDs." + } + } + }, + "ActionIpCommunityProperties": { + "type": "object", + "description": "IP Community Properties.", + "properties": { + "add": { + "$ref": "#/definitions/IpCommunityIdList", + "description": "List of IP Community IDs." + }, + "delete": { + "$ref": "#/definitions/IpCommunityIdList", + "description": "List of IP Community IDs." + }, + "set": { + "$ref": "#/definitions/IpCommunityIdList", + "description": "List of IP Community IDs." + } + } + }, + "ActionIpExtendedCommunityPatchProperties": { + "type": "object", + "description": "IP Extended Community Properties.", + "properties": { + "add": { + "$ref": "#/definitions/IpExtendedCommunityIdList", + "description": "List of IP Extended Community IDs." + }, + "delete": { + "$ref": "#/definitions/IpExtendedCommunityIdList", + "description": "List of IP Extended Community IDs." + }, + "set": { + "$ref": "#/definitions/IpExtendedCommunityIdList", + "description": "List of IP Extended Community IDs." + } + } + }, + "ActionIpExtendedCommunityProperties": { + "type": "object", + "description": "IP Extended Community Properties.", + "properties": { + "add": { + "$ref": "#/definitions/IpExtendedCommunityIdList", + "description": "List of IP Extended Community IDs." + }, + "delete": { + "$ref": "#/definitions/IpExtendedCommunityIdList", + "description": "List of IP Extended Community IDs." + }, + "set": { + "$ref": "#/definitions/IpExtendedCommunityIdList", + "description": "List of IP Extended Community IDs." + } + } + }, + "AdministrativeState": { + "type": "string", + "description": "State defined to represent administrative actions or post actions on a particular resource.", + "enum": [ + "Enabled", + "Disabled", + "MAT", + "RMA", + "UnderMaintenance" + ], + "x-ms-enum": { + "name": "AdministrativeState", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "Enabled Administrative State" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "Disabled Administrative State" + }, + { + "name": "MAT", + "value": "MAT", + "description": "MAT(Manual Action Taken) Administrative State" + }, + { + "name": "RMA", + "value": "RMA", + "description": "RMA(Return Material Authorization) Administrative State" + }, + { + "name": "UnderMaintenance", + "value": "UnderMaintenance", + "description": "UnderMaintenance Administrative State" + } + ] + } + }, + "AggregateRoute": { + "type": "object", + "description": "aggregateIpv4Route model.", + "properties": { + "prefix": { + "type": "string", + "description": "IPv4 Prefix of the aggregate Ipv4Route.", + "minLength": 1 + } + }, + "required": [ + "prefix" + ] + }, + "AggregateRouteConfiguration": { + "type": "object", + "description": "List of IPv4 and IPv6 aggregate routes.", + "properties": { + "ipv4Routes": { + "type": "array", + "description": "List of IPv4 Route prefixes.", + "minItems": 1, + "items": { + "$ref": "#/definitions/AggregateRoute" + }, + "x-ms-identifiers": [ + "prefix" + ] + }, + "ipv6Routes": { + "type": "array", + "description": "List of Ipv6Routes prefixes.", + "minItems": 1, + "items": { + "$ref": "#/definitions/AggregateRoute" + }, + "x-ms-identifiers": [ + "prefix" + ] + } + } + }, + "AggregateRoutePatchConfiguration": { + "type": "object", + "description": "List of IPv4 and IPv6 aggregate routes.", + "properties": { + "ipv4Routes": { + "type": "array", + "description": "List of IPv4 Route prefixes.", + "minItems": 1, + "items": { + "$ref": "#/definitions/AggregateRoute" + }, + "x-ms-identifiers": [ + "prefix" + ] + }, + "ipv6Routes": { + "type": "array", + "description": "List of Ipv6Routes prefixes.", + "minItems": 1, + "items": { + "$ref": "#/definitions/AggregateRoute" + }, + "x-ms-identifiers": [ + "prefix" + ] + } + } + }, + "AllowASOverride": { + "type": "string", + "description": "Enable Or Disable state.", + "enum": [ + "Enable", + "Disable" + ], + "x-ms-enum": { + "name": "AllowASOverride", + "modelAsString": true, + "values": [ + { + "name": "Enable", + "value": "Enable", + "description": "AllowASOverride-Enable" + }, + { + "name": "Disable", + "value": "Disable", + "description": "AllowASOverride-Disable" + } + ] + } + }, + "ArmConfigurationDiffResponse": { + "type": "object", + "description": "Arm Configuration Diff Response.", + "properties": { + "configurationDiffUrl": { + "type": "string", + "description": "Storage URL to the diff file." + }, + "error": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorDetail", + "description": "The error object." + } + } + }, + "BfdAdministrativeState": { + "type": "string", + "description": "Administrative state of the BfdConfiguration. Example: Enabled | Disabled.", + "enum": [ + "Enabled", + "Disabled", + "MAT", + "RMA" + ], + "x-ms-enum": { + "name": "BfdAdministrativeState", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "Represents the enabled state of BFD administrative state." + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "Represents the disabled state of BFD administrative state." + }, + { + "name": "MAT", + "value": "MAT", + "description": "Represents the MAT(Manual Action Taken) state of BFD administrative state." + }, + { + "name": "RMA", + "value": "RMA", + "description": "Represents the RMA(Return Material Authorization) state of BFD administrative state." + } + ] + } + }, + "BfdConfiguration": { + "type": "object", + "description": "BFD configuration properties", + "properties": { + "administrativeState": { + "type": "string", + "description": "Administrative state of the BfdConfiguration. Example: Enabled | Disabled.", + "default": "Disabled", + "enum": [ + "Enabled", + "Disabled", + "MAT", + "RMA" + ], + "x-ms-enum": { + "name": "BfdAdministrativeState", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "Represents the enabled state of BFD administrative state." + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "Represents the disabled state of BFD administrative state." + }, + { + "name": "MAT", + "value": "MAT", + "description": "Represents the MAT(Manual Action Taken) state of BFD administrative state." + }, + { + "name": "RMA", + "value": "RMA", + "description": "Represents the RMA(Return Material Authorization) state of BFD administrative state." + } + ] + }, + "readOnly": true + }, + "intervalInMilliSeconds": { + "type": "integer", + "format": "int32", + "description": "Interval in milliseconds. Example: 300.", + "default": 300 + }, + "multiplier": { + "type": "integer", + "format": "int32", + "description": "Multiplier for the Bfd Configuration. Example: 5.", + "default": 5 + } + } + }, + "BfdPatchConfiguration": { + "type": "object", + "description": "BFD configuration properties", + "properties": { + "administrativeState": { + "$ref": "#/definitions/BfdAdministrativeState", + "description": "Administrative state of the BfdConfiguration. Example: Enabled | Disabled.", + "readOnly": true + }, + "intervalInMilliSeconds": { + "type": "integer", + "format": "int32", + "description": "Interval in milliseconds. Example: 300." + }, + "multiplier": { + "type": "integer", + "format": "int32", + "description": "Multiplier for the Bfd Configuration. Example: 5." + } + } + }, + "BgpAdministrativeState": { + "type": "string", + "description": "Border Gateway Protocol (BGP) Administrative State values", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "BgpAdministrativeState", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "BgpAdministrativeState-Enabled" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "BgpAdministrativeState-Disabled" + } + ] + } + }, + "BgpConfiguration": { + "type": "object", + "description": "BGP configuration properties", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "bfdConfiguration": { + "$ref": "#/definitions/BfdConfiguration", + "description": "BFD configuration properties" + }, + "defaultRouteOriginate": { + "$ref": "#/definitions/BooleanEnumProperty", + "description": "Originate a defaultRoute. Ex: \"True\" | \"False\"." + }, + "allowAS": { + "type": "integer", + "format": "int32", + "description": "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.", + "default": 2, + "minimum": 0, + "maximum": 10 + }, + "allowASOverride": { + "$ref": "#/definitions/AllowASOverride", + "description": "Enable Or Disable state." + }, + "fabricASN": { + "type": "integer", + "format": "int64", + "description": "ASN of Network Fabric. Example: 65048.", + "readOnly": true + }, + "peerASN": { + "type": "integer", + "format": "int64", + "description": "Peer ASN. Example: 65047.", + "minimum": 1, + "maximum": 4294967295 + }, + "ipv4ListenRangePrefixes": { + "type": "array", + "description": "List of BGP IPv4 Listen Range prefixes.", + "items": { + "type": "string" + } + }, + "ipv6ListenRangePrefixes": { + "type": "array", + "description": "List of BGP IPv6 Listen Ranges prefixes.", + "items": { + "type": "string" + } + }, + "ipv4NeighborAddress": { + "type": "array", + "description": "List with stringified IPv4 Neighbor Addresses.", + "items": { + "$ref": "#/definitions/NeighborAddress" + }, + "x-ms-identifiers": [ + "address" + ] + }, + "ipv6NeighborAddress": { + "type": "array", + "description": "List with stringified IPv6 Neighbor Address.", + "items": { + "$ref": "#/definitions/NeighborAddress" + }, + "x-ms-identifiers": [ + "address" + ] + }, + "bmpConfiguration": { + "$ref": "#/definitions/InternalNetworkBmpProperties", + "description": "InternalNetwork BMP Configuration" + }, + "v4OverV6BgpSession": { + "type": "string", + "description": "V4 over V6 bgp session.", + "default": "Disabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "V4OverV6BgpSessionState", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "V4OverV6BgpSessionState-Enabled" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "V4OverV6BgpSessionState-Disabled" + } + ] + } + }, + "v6OverV4BgpSession": { + "type": "string", + "description": "v6 over v4 bgp session.", + "default": "Disabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "V6OverV4BgpSessionState", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "V6OverV4BgpSessionState-Enabled" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "V6OverV4BgpSessionState-Disabled" + } + ] + } + } + }, + "required": [ + "peerASN" + ] + }, + "BgpPatchConfiguration": { + "type": "object", + "description": "BGP configuration properties.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "bfdConfiguration": { + "$ref": "#/definitions/BfdPatchConfiguration", + "description": "BFD configuration properties" + }, + "defaultRouteOriginate": { + "$ref": "#/definitions/BooleanEnumProperty", + "description": "Originate a defaultRoute. Ex: \"True\" | \"False\"." + }, + "allowAS": { + "type": "integer", + "format": "int32", + "description": "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.", + "minimum": 0, + "maximum": 10 + }, + "allowASOverride": { + "$ref": "#/definitions/AllowASOverride", + "description": "Enable Or Disable state." + }, + "fabricASN": { + "type": "integer", + "format": "int64", + "description": "ASN of Network Fabric. Example: 65048.", + "readOnly": true + }, + "peerASN": { + "type": "integer", + "format": "int64", + "description": "Peer ASN. Example: 65047.", + "minimum": 1, + "maximum": 4294967295 + }, + "ipv4ListenRangePrefixes": { + "type": "array", + "description": "List of BGP IPv4 Listen Range prefixes.", + "items": { + "type": "string" + } + }, + "ipv6ListenRangePrefixes": { + "type": "array", + "description": "List of BGP IPv6 Listen Ranges prefixes.", + "items": { + "type": "string" + } + }, + "ipv4NeighborAddress": { + "type": "array", + "description": "List with stringified IPv4 Neighbor Addresses.", + "items": { + "$ref": "#/definitions/NeighborAddressPatch" + }, + "x-ms-identifiers": [ + "address" + ] + }, + "ipv6NeighborAddress": { + "type": "array", + "description": "List with stringified IPv6 Neighbor Address.", + "items": { + "$ref": "#/definitions/NeighborAddressPatch" + }, + "x-ms-identifiers": [ + "address" + ] + }, + "bmpConfiguration": { + "$ref": "#/definitions/InternalNetworkBmpPatchProperties", + "description": "InternalNetwork BMP Configuration" + }, + "v4OverV6BgpSession": { + "$ref": "#/definitions/V4OverV6BgpSessionState", + "description": "V4 over V6 bgp session." + }, + "v6OverV4BgpSession": { + "$ref": "#/definitions/V6OverV4BgpSessionState", + "description": "v6 over v4 bgp session." + } + } + }, + "BitRate": { + "type": "object", + "description": "Bit rate in bits per second.", + "properties": { + "rate": { + "type": "integer", + "format": "int64", + "description": "Bitrate." + }, + "unit": { + "$ref": "#/definitions/BitRateUnit", + "description": "Bitrate unit." + } + } + }, + "BitRateUnit": { + "type": "string", + "description": "Bit rate unit.", + "enum": [ + "bps", + "Kbps", + "Mbps", + "Gbps" + ], + "x-ms-enum": { + "name": "BitRateUnit", + "modelAsString": true, + "values": [ + { + "name": "bps", + "value": "bps", + "description": "Bit rate unit in bits per second." + }, + { + "name": "Kbps", + "value": "Kbps", + "description": "Bit rate unit in kilobits per second." + }, + { + "name": "Mbps", + "value": "Mbps", + "description": "Bit rate unit in megabits per second." + }, + { + "name": "Gbps", + "value": "Gbps", + "description": "Bit rate unit in gigabits per second." + } + ] + } + }, + "BmpConfigurationPatchProperties": { + "type": "object", + "description": "BMP Configuration patch properties.", + "properties": { + "stationConfigurationState": { + "$ref": "#/definitions/StationConfigurationState", + "description": "Enabling a station. Either True/False." + }, + "scopeResourceId": { + "type": "string", + "format": "arm-id", + "description": "Scope resource ARM Identifier.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/networkFabrics" + } + ] + } + }, + "stationName": { + "type": "string", + "description": "Name of the station." + }, + "stationIp": { + "type": "string", + "description": "IP Address of the station." + }, + "stationPort": { + "type": "integer", + "format": "int32", + "description": "Port of the station. Default value is 5000.", + "minimum": 1, + "maximum": 65535 + }, + "stationConnectionMode": { + "$ref": "#/definitions/StationConnectionMode", + "description": "Station Connection Mode." + }, + "stationConnectionProperties": { + "$ref": "#/definitions/StationConnectionPatchProperties", + "description": "Station Connection Properties." + }, + "stationNetwork": { + "type": "string", + "format": "arm-id", + "description": "Network of the station", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/l3Isolationdomains/internalNetwork" + }, + { + "type": "Microsoft.ManagedNetworkFabric/l3Isolationdomains/externalNetwork" + } + ] + } + }, + "monitoredNetworks": { + "type": "array", + "description": "The List of Network ID's that need to be monitored.", + "items": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/l3IsolationDomains" + } + ] + } + } + }, + "exportPolicy": { + "$ref": "#/definitions/BmpExportPolicy", + "description": "Export Policy for the BMP Configuration." + }, + "monitoredAddressFamilies": { + "type": "array", + "description": "Monitored Address Families for the BMP Configuration.", + "items": { + "$ref": "#/definitions/BmpMonitoredAddressFamily" + } + } + } + }, + "BmpConfigurationProperties": { + "type": "object", + "description": "BGP Monitoring Protocol (BMP) Configuration properties.", + "properties": { + "stationConfigurationState": { + "$ref": "#/definitions/StationConfigurationState", + "description": "Enabling a station. Either True/False." + }, + "scopeResourceId": { + "type": "string", + "format": "arm-id", + "description": "Scope resource ARM Identifier.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/networkFabrics" + } + ] + } + }, + "stationName": { + "type": "string", + "description": "Name of the station." + }, + "stationIp": { + "type": "string", + "description": "IP Address of the station." + }, + "stationPort": { + "type": "integer", + "format": "int32", + "description": "Port of the station. Default value is 5000.", + "default": 5000, + "minimum": 1, + "maximum": 65535 + }, + "stationConnectionMode": { + "$ref": "#/definitions/StationConnectionMode", + "description": "Station Connection Mode." + }, + "stationConnectionProperties": { + "$ref": "#/definitions/StationConnectionProperties", + "description": "Station Connection Properties." + }, + "stationNetwork": { + "type": "string", + "format": "arm-id", + "description": "Network of the station", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/l3Isolationdomains/internalNetwork" + }, + { + "type": "Microsoft.ManagedNetworkFabric/l3Isolationdomains/externalNetwork" + } + ] + } + }, + "monitoredNetworks": { + "type": "array", + "description": "The List of Network ID's that need to be monitored.", + "items": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/l3IsolationDomains" + } + ] + } + } + }, + "exportPolicy": { + "type": "string", + "description": "Export Policy for the BMP Configuration.", + "default": "All", + "enum": [ + "Pre-Policy", + "Post-Policy", + "All" + ], + "x-ms-enum": { + "name": "BmpExportPolicy", + "modelAsString": true, + "values": [ + { + "name": "PrePolicy", + "value": "Pre-Policy", + "description": "BMP ExportPolicy Pre-Policy" + }, + { + "name": "PostPolicy", + "value": "Post-Policy", + "description": "BMP ExportPolicy Post-Policy" + }, + { + "name": "All", + "value": "All", + "description": "BMP ExportPolicy All" + } + ] + } + }, + "monitoredAddressFamilies": { + "type": "array", + "description": "Monitored Address Families for the BMP Configuration.", + "default": [ + "All" + ], + "items": { + "$ref": "#/definitions/BmpMonitoredAddressFamily" + } + } + } + }, + "BmpConfigurationState": { + "type": "string", + "description": "BGP Monitoring Protocol (BMP) configuration state.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "BmpConfigurationState", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "BGP Monitoring Protocol (BMP) ConfigurationState - Enabled" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "BGP Monitoring Protocol (BMP) ConfigurationState - Disabled" + } + ] + } + }, + "BmpExportPolicy": { + "type": "string", + "description": "Export Policy for the BGP Monitoring Protocol (BMP) Configuration.", + "enum": [ + "Pre-Policy", + "Post-Policy", + "All" + ], + "x-ms-enum": { + "name": "BmpExportPolicy", + "modelAsString": true, + "values": [ + { + "name": "PrePolicy", + "value": "Pre-Policy", + "description": "BMP ExportPolicy Pre-Policy" + }, + { + "name": "PostPolicy", + "value": "Post-Policy", + "description": "BMP ExportPolicy Post-Policy" + }, + { + "name": "All", + "value": "All", + "description": "BMP ExportPolicy All" + } + ] + } + }, + "BmpMonitoredAddressFamily": { + "type": "string", + "description": "Monitored Address Family.", + "enum": [ + "ipv4Unicast", + "ipv6Unicast", + "vpnIpv4", + "vpnIpv6", + "All" + ], + "x-ms-enum": { + "name": "BmpMonitoredAddressFamily", + "modelAsString": true, + "values": [ + { + "name": "ipv4Unicast", + "value": "ipv4Unicast", + "description": "IPv4 Unicast" + }, + { + "name": "ipv6Unicast", + "value": "ipv6Unicast", + "description": "IPv6 Unicast" + }, + { + "name": "vpnIpv4", + "value": "vpnIpv4", + "description": "VPN IPv4" + }, + { + "name": "vpnIpv6", + "value": "vpnIpv6", + "description": "VPN IPv6" + }, + { + "name": "All", + "value": "All", + "description": "All Address Families" + } + ] + } + }, + "BooleanEnumProperty": { + "type": "string", + "description": "Boolean union. Example- True/False", + "enum": [ + "True", + "False" + ], + "x-ms-enum": { + "name": "BooleanEnumProperty", + "modelAsString": true, + "values": [ + { + "name": "True", + "value": "True", + "description": "EnumProperty-True" + }, + { + "name": "False", + "value": "False", + "description": "EnumProperty-False" + } + ] + } + }, + "BurstSize": { + "type": "object", + "description": "Burst size in packets.", + "properties": { + "size": { + "type": "integer", + "format": "int64", + "description": "Burst size." + }, + "unit": { + "$ref": "#/definitions/BurstSizeUnit", + "description": "Burst size unit." + } + } + }, + "BurstSizeUnit": { + "type": "string", + "description": "Burst size unit in packets.", + "enum": [ + "Bytes", + "KBytes", + "MBytes", + "GBytes" + ], + "x-ms-enum": { + "name": "BurstSizeUnit", + "modelAsString": true, + "values": [ + { + "name": "Bytes", + "value": "Bytes", + "description": "Burst size unit in bytes." + }, + { + "name": "KBytes", + "value": "KBytes", + "description": "Burst size unit in kilobytes." + }, + { + "name": "MBytes", + "value": "MBytes", + "description": "Burst size unit in megabytes." + }, + { + "name": "GBytes", + "value": "GBytes", + "description": "Burst size unit in gigabytes." + } + ] + } + }, + "CommitBatchDetails": { + "type": "object", + "description": "Commit Batch Details.", + "properties": { + "failedDevices": { + "type": "array", + "description": "List of devices for which the commit operation failed.", + "items": { + "type": "string" + } + } + } + }, + "CommitBatchState": { + "type": "string", + "description": "Commit Batch State.", + "enum": [ + "Processing", + "Succeeded", + "Failed" + ], + "x-ms-enum": { + "name": "CommitBatchState", + "modelAsString": true, + "values": [ + { + "name": "Processing", + "value": "Processing", + "description": "CommitBatchState-PartialSuccess" + }, + { + "name": "Succeeded", + "value": "Succeeded", + "description": "CommitBatchState-Succeeded" + }, + { + "name": "Failed", + "value": "Failed", + "description": "CommitBatchState-Failed" + } + ] + }, + "readOnly": true + }, + "CommitBatchStatusRequest": { + "type": "object", + "description": "Commit Batch Status Request.", + "properties": { + "commitBatchId": { + "type": "string", + "description": "Commit Batch Identifier. If not provided, the latest commit batch status will be returned." + } + } + }, + "CommitBatchStatusResponse": { + "type": "object", + "description": "Commit Batch Status Response.", + "properties": { + "commitBatchId": { + "type": "string", + "description": "Commit Batch Identifier." + }, + "commitBatchState": { + "$ref": "#/definitions/CommitBatchState", + "description": "Commit Batch State." + }, + "commitBatchDetails": { + "$ref": "#/definitions/CommitBatchDetails", + "description": "Commit Batch Details." + }, + "error": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorDetail", + "description": "The error object." + } + } + }, + "CommonDynamicMatchConfiguration": { + "type": "object", + "description": "Dynamic match configuration object.", + "properties": { + "ipGroups": { + "type": "array", + "description": "List of IP Groups.", + "items": { + "$ref": "#/definitions/IpGroupProperties" + }, + "x-ms-identifiers": [] + }, + "vlanGroups": { + "type": "array", + "description": "List of vlan groups.", + "items": { + "$ref": "#/definitions/VlanGroupProperties" + }, + "x-ms-identifiers": [] + }, + "portGroups": { + "type": "array", + "description": "List of the port groups.", + "items": { + "$ref": "#/definitions/PortGroupProperties" + }, + "x-ms-identifiers": [] + } + } + }, + "CommonDynamicMatchConfigurationPatch": { + "type": "object", + "description": "Dynamic match configuration object.", + "properties": { + "ipGroups": { + "type": "array", + "description": "List of IP Groups.", + "items": { + "$ref": "#/definitions/IpGroupPatchProperties" + }, + "x-ms-identifiers": [] + }, + "vlanGroups": { + "type": "array", + "description": "List of vlan groups.", + "items": { + "$ref": "#/definitions/VlanGroupPatchProperties" + }, + "x-ms-identifiers": [] + }, + "portGroups": { + "type": "array", + "description": "List of the port groups.", + "items": { + "$ref": "#/definitions/PortGroupPatchProperties" + }, + "x-ms-identifiers": [] + } + } + }, + "CommonPostActionResponseForDeviceROCommands": { + "type": "object", + "description": "Common response for device Ro Commands.", + "properties": { + "configurationState": { + "$ref": "#/definitions/ConfigurationState", + "description": "Gets the configuration state.", + "readOnly": true + }, + "outputUrl": { + "type": "string", + "description": "Predefined link containing Device RO Command output." + }, + "deviceConfigurationPreview": { + "type": "string", + "description": "Device RO command Response limited to 4000 characters." + } + } + }, + "CommonPostActionResponseForDeviceROCommandsOperationStatusResult": { + "type": "object", + "description": "The current status of an async operation.", + "properties": { + "error": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorDetail", + "description": "The error object." + }, + "endTime": { + "type": "string", + "format": "date-time", + "description": "The end time of the operation.", + "readOnly": true + }, + "id": { + "type": "string", + "description": "Fully qualified ID for the async operation.", + "readOnly": true + }, + "name": { + "type": "string", + "description": "Name of the async operation.", + "readOnly": true + }, + "properties": { + "$ref": "#/definitions/CommonPostActionResponseForDeviceROCommands", + "description": "The additional properties of the operation status result." + }, + "resourceId": { + "type": "string", + "format": "arm-id", + "description": "Fully qualified ID of the resource against which the original async operation was started.", + "readOnly": true, + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/networkDevices" + } + ] + } + }, + "startTime": { + "type": "string", + "format": "date-time", + "description": "The start time of the operation.", + "readOnly": true + }, + "status": { + "type": "string", + "description": "Operation status." + } + }, + "required": [ + "status" + ] + }, + "CommonPostActionResponseForDeviceRWCommands": { + "type": "object", + "description": "Common response for device Rw Commands.", + "properties": { + "error": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorDetail", + "description": "The error object." + }, + "configurationState": { + "$ref": "#/definitions/ConfigurationState", + "description": "Gets the configuration state.", + "readOnly": true + }, + "outputUrl": { + "type": "string", + "description": "Predefined link containing Device Rw Command output." + } + } + }, + "CommonPostActionResponseForDeviceUpdate": { + "type": "object", + "description": "Common response for device updates.", + "properties": { + "error": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorDetail", + "description": "The error object." + }, + "configurationState": { + "$ref": "#/definitions/ConfigurationState", + "description": "Gets the configuration state.", + "readOnly": true + }, + "successfulDevices": { + "type": "array", + "description": "List of ARM Resource IDs for which the given action applied successfully.", + "items": { + "type": "string" + } + }, + "failedDevices": { + "type": "array", + "description": "List of ARM Resource IDs for which the given action failed to apply.", + "items": { + "type": "string" + } + } + } + }, + "CommonPostActionResponseForStateUpdate": { + "type": "object", + "description": "Common response for the state updates.", + "properties": { + "error": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorDetail", + "description": "The error object." + }, + "configurationState": { + "$ref": "#/definitions/ConfigurationState", + "description": "Gets the configuration state.", + "readOnly": true + } + } + }, + "CommunityActionTypes": { + "type": "string", + "description": "Community action types. Example: Permit | Deny.", + "enum": [ + "Permit", + "Deny" + ], + "x-ms-enum": { + "name": "CommunityActionTypes", + "modelAsString": true, + "values": [ + { + "name": "Permit", + "value": "Permit", + "description": "Permit Community Action Types" + }, + { + "name": "Deny", + "value": "Deny", + "description": "Deny Community Action Types" + } + ] + } + }, + "Condition": { + "type": "string", + "description": "Specify prefix-list bounds.", + "enum": [ + "EqualTo", + "GreaterThanOrEqualTo", + "LesserThanOrEqualTo", + "Range" + ], + "x-ms-enum": { + "name": "Condition", + "modelAsString": true, + "values": [ + { + "name": "EqualTo", + "value": "EqualTo", + "description": "Condition-EqualTo" + }, + { + "name": "GreaterThanOrEqualTo", + "value": "GreaterThanOrEqualTo", + "description": "Condition-GreaterThanOrEqualTo" + }, + { + "name": "LesserThanOrEqualTo", + "value": "LesserThanOrEqualTo", + "description": "Condition-LesserThanOrEqualTo" + }, + { + "name": "Range", + "value": "Range", + "description": "Condition-Range" + } + ] + } + }, + "ConditionalDefaultRouteProperties": { + "type": "object", + "description": "Conditional Default Route Configuration properties.", + "properties": { + "ipv4Routes": { + "type": "array", + "description": "List of IPv4 Routes.", + "items": { + "$ref": "#/definitions/StaticRouteProperties" + }, + "x-ms-identifiers": [ + "prefix" + ] + }, + "ipv6Routes": { + "type": "array", + "description": "List of IPv6 Routes.", + "items": { + "$ref": "#/definitions/StaticRouteProperties" + }, + "x-ms-identifiers": [ + "prefix" + ] + } + } + }, + "ConfigurationState": { + "type": "string", + "description": "Configuration state for the resource.", + "enum": [ + "Succeeded", + "Failed", + "Rejected", + "Accepted", + "Provisioned", + "ErrorProvisioning", + "Deprovisioning", + "Deprovisioned", + "ErrorDeprovisioning", + "DeferredControl", + "Provisioning", + "PendingCommit" + ], + "x-ms-enum": { + "name": "ConfigurationState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Success Configuration State" + }, + { + "name": "Failed", + "value": "Failed", + "description": "Failed Configuration State" + }, + { + "name": "Rejected", + "value": "Rejected", + "description": "Rejected Configuration State" + }, + { + "name": "Accepted", + "value": "Accepted", + "description": "Accepted Configuration State" + }, + { + "name": "Provisioned", + "value": "Provisioned", + "description": "Provisioned Configuration State" + }, + { + "name": "ErrorProvisioning", + "value": "ErrorProvisioning", + "description": "ErrorProvisioning Configuration State" + }, + { + "name": "Deprovisioning", + "value": "Deprovisioning", + "description": "Deprovisioning Configuration State" + }, + { + "name": "Deprovisioned", + "value": "Deprovisioned", + "description": "Deprovisioned Configuration State" + }, + { + "name": "ErrorDeprovisioning", + "value": "ErrorDeprovisioning", + "description": "ErrorDeprovisioning Configuration State" + }, + { + "name": "DeferredControl", + "value": "DeferredControl", + "description": "DeferredControl Configuration State" + }, + { + "name": "Provisioning", + "value": "Provisioning", + "description": "Provisioning Configuration State" + }, + { + "name": "PendingCommit", + "value": "PendingCommit", + "description": "PendingCommit Configuration State" + } + ] + }, + "readOnly": true + }, + "ConfigurationType": { + "type": "string", + "description": "Input method to configure Access Control List.", + "enum": [ + "File", + "Inline" + ], + "x-ms-enum": { + "name": "ConfigurationType", + "modelAsString": true, + "values": [ + { + "name": "File", + "value": "File", + "description": "File Configuration Type" + }, + { + "name": "Inline", + "value": "Inline", + "description": "Inline Configuration Type" + } + ] + } + }, + "ConnectedSubnet": { + "type": "object", + "description": "Connected Subnet properties.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "prefix": { + "type": "string", + "description": "Prefix of the Connected Subnet.", + "minLength": 1 + } + }, + "required": [ + "prefix" + ] + }, + "ConnectedSubnetPatch": { + "type": "object", + "description": "Connected Subnet properties.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "prefix": { + "type": "string", + "description": "Prefix of the Connected Subnet.", + "minLength": 1 + } + }, + "required": [ + "prefix" + ] + }, + "ConnectedSubnetRoutePolicy": { + "type": "object", + "description": "Connected Subnet Route Policy properties.", + "properties": { + "exportRoutePolicy": { + "$ref": "#/definitions/L3ExportRoutePolicy", + "description": "Array of ARM Resource ID of the RoutePolicies." + } + } + }, + "ConnectedSubnetRoutePolicyPatch": { + "type": "object", + "description": "Connected Subnet Route Policy properties.", + "properties": { + "exportRoutePolicy": { + "$ref": "#/definitions/L3ExportRoutePolicyPatch", + "description": "Array of ARM Resource ID of the RoutePolicies." + } + } + }, + "ControllerServices": { + "type": "object", + "description": "Network Fabric Controller services.", + "properties": { + "ipv4AddressSpaces": { + "type": "array", + "description": "The IPv4 Address space is optional, if the value is not defined at the time of NFC creation, then the default value 10.0.0.0/19 is considered. The IPV4 address subnet is an optional attribute.", + "items": { + "type": "string" + } + }, + "ipv6AddressSpaces": { + "type": "array", + "description": "The IPv6 is not supported right now.", + "items": { + "type": "string" + } + } + } + }, + "DestinationPatchProperties": { + "type": "object", + "description": "The network tap destination properties.", + "properties": { + "name": { + "type": "string", + "description": "Destination name.", + "minLength": 1 + }, + "destinationType": { + "$ref": "#/definitions/DestinationType", + "description": "Type of destination. Input can be IsolationDomain or Direct." + }, + "destinationId": { + "type": "string", + "format": "arm-id", + "description": "The destination Id. ARM Resource ID of either NNI or Internal Networks.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/networkToNetworkInterconnects" + }, + { + "type": "Microsoft.ManagedNetworkFabric/l3IsolationDomains/internalNetworks" + } + ] + } + }, + "isolationDomainProperties": { + "$ref": "#/definitions/IsolationDomainPatchProperties", + "description": "Isolation Domain Properties." + }, + "destinationTapRuleId": { + "type": "string", + "format": "arm-id", + "description": "ARM Resource ID of destination Tap Rule that contains match configurations.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/networkTapRules" + } + ] + } + } + } + }, + "DestinationProperties": { + "type": "object", + "description": "The network tap destination properties.", + "properties": { + "name": { + "type": "string", + "description": "Destination name.", + "minLength": 1 + }, + "destinationType": { + "$ref": "#/definitions/DestinationType", + "description": "Type of destination. Input can be IsolationDomain or Direct." + }, + "destinationId": { + "type": "string", + "format": "arm-id", + "description": "The destination Id. ARM Resource ID of either NNI or Internal Networks.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/networkToNetworkInterconnects" + }, + { + "type": "Microsoft.ManagedNetworkFabric/l3IsolationDomains/internalNetworks" + } + ] + } + }, + "isolationDomainProperties": { + "$ref": "#/definitions/IsolationDomainProperties", + "description": "Isolation Domain Properties." + }, + "destinationTapRuleId": { + "type": "string", + "format": "arm-id", + "description": "ARM Resource ID of destination Tap Rule that contains match configurations.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/networkTapRules" + } + ] + } + } + }, + "required": [ + "name", + "destinationType", + "destinationId" + ] + }, + "DestinationType": { + "type": "string", + "description": "Type of destination. Input can be IsolationDomain or Direct.", + "enum": [ + "IsolationDomain", + "Direct" + ], + "x-ms-enum": { + "name": "DestinationType", + "modelAsString": true, + "values": [ + { + "name": "IsolationDomain", + "value": "IsolationDomain", + "description": "DestinationType-IsolationDomain" + }, + { + "name": "Direct", + "value": "Direct", + "description": "DestinationType-Direct" + } + ] + } + }, + "DeviceAdministrativeState": { + "type": "string", + "description": "Administrative state.", + "enum": [ + "RMA", + "UngracefulRMA", + "Resync", + "GracefulQuarantine", + "UngracefulQuarantine", + "Quarantine", + "UnderMaintenance", + "Enable", + "Disable" + ], + "x-ms-enum": { + "name": "DeviceAdministrativeState", + "modelAsString": true, + "values": [ + { + "name": "RMA", + "value": "RMA", + "description": "Device AdministrativeState-RMA" + }, + { + "name": "UngracefulRMA", + "value": "UngracefulRMA", + "description": "Device AdministrativeState-RMA(Return Material Authorization) Ungraceful" + }, + { + "name": "Resync", + "value": "Resync", + "description": "Device AdministrativeState-Resync" + }, + { + "name": "GracefulQuarantine", + "value": "GracefulQuarantine", + "description": "Device AdministrativeState-GracefulQuarantine" + }, + { + "name": "UngracefulQuarantine", + "value": "UngracefulQuarantine", + "description": "Device AdministrativeState-UngracefulQuarantine" + }, + { + "name": "Quarantine", + "value": "Quarantine", + "description": "Device AdministrativeState-Quarantine" + }, + { + "name": "UnderMaintenance", + "value": "UnderMaintenance", + "description": "Device AdministrativeState-UnderMaintenance" + }, + { + "name": "Enable", + "value": "Enable", + "description": "Device AdministrativeState-Enable" + }, + { + "name": "Disable", + "value": "Disable", + "description": "Device AdministrativeState-Disable" + } + ] + } + }, + "DeviceInterfaceProperties": { + "type": "object", + "description": "Network device interface properties.", + "properties": { + "identifier": { + "type": "string", + "description": "Interface identifier. Example: HundredGigE0/0." + }, + "interfaceType": { + "type": "string", + "description": "Interface type." + }, + "supportedConnectorTypes": { + "type": "array", + "description": "List of supported connector types.", + "items": { + "$ref": "#/definitions/SupportedConnectorProperties" + }, + "x-ms-identifiers": [ + "connectorType" + ] + } + } + }, + "DeviceRoCommand": { + "type": "object", + "description": "Provide the RO command", + "properties": { + "command": { + "type": "string", + "description": "Specify the command." + } + } + }, + "DeviceRole": { + "type": "string", + "description": "Device Role", + "enum": [ + "CE", + "ToR", + "NPB", + "ManagementSwitch" + ], + "x-ms-enum": { + "name": "DeviceRole", + "modelAsString": true, + "values": [ + { + "name": "CE", + "value": "CE", + "description": "DeviceRole - Customer Edge (CE)" + }, + { + "name": "ToR", + "value": "ToR", + "description": "DeviceRole - Top of Rack (ToR)" + }, + { + "name": "NPB", + "value": "NPB", + "description": "DeviceRole - Network Packet Broker (NPB)" + }, + { + "name": "ManagementSwitch", + "value": "ManagementSwitch", + "description": "Device Role Management Switch" + } + ] + } + }, + "DeviceRwCommand": { + "type": "object", + "description": "Provide the Rw command", + "properties": { + "command": { + "type": "string", + "description": "Specify the command." + } + } + }, + "DiscardCommitBatchRequest": { + "type": "object", + "description": "Discard Commit Batch Request.", + "properties": { + "commitBatchId": { + "type": "string", + "description": "Commit Batch Identifier. If not provided, the latest commit batch status will be returned." + } + } + }, + "DiscardCommitBatchResponse": { + "type": "object", + "description": "Discard Commit Batch Response.", + "properties": { + "commitBatchId": { + "type": "string", + "description": "Commit Batch Identifier." + }, + "error": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorDetail", + "description": "The error object." + } + } + }, + "EnableDisableState": { + "type": "string", + "description": "Administrative state.", + "enum": [ + "Enable", + "Disable", + "UnderMaintenance" + ], + "x-ms-enum": { + "name": "EnableDisableState", + "modelAsString": true, + "values": [ + { + "name": "Enable", + "value": "Enable", + "description": "AdministrativeState Enable" + }, + { + "name": "Disable", + "value": "Disable", + "description": "AdministrativeState Disable" + }, + { + "name": "UnderMaintenance", + "value": "UnderMaintenance", + "description": "AdministrativeState UnderMaintenance" + } + ] + } + }, + "Encapsulation": { + "type": "string", + "description": "Type of encapsulation.", + "enum": [ + "None", + "GRE" + ], + "x-ms-enum": { + "name": "Encapsulation", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None", + "description": "Encapsulation-None" + }, + { + "name": "GRE", + "value": "GRE", + "description": "Encapsulation-GRE" + } + ] + } + }, + "EncapsulationType": { + "type": "string", + "description": "Encapsulation Type that needs to be matched.", + "enum": [ + "None", + "GTPv1" + ], + "x-ms-enum": { + "name": "EncapsulationType", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None", + "description": "None EncapsulationType" + }, + { + "name": "GTPv1", + "value": "GTPv1", + "description": "GTPv1 EncapsulationType" + } + ] + } + }, + "ExportRoutePolicy": { + "type": "object", + "description": "Export Route Policy either IPv4 or IPv6.", + "properties": { + "exportIpv4RoutePolicyId": { + "type": "string", + "format": "arm-id", + "description": "ARM resource ID of RoutePolicy.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/routePolicies" + } + ] + } + }, + "exportIpv6RoutePolicyId": { + "type": "string", + "format": "arm-id", + "description": "ARM resource ID of RoutePolicy.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/routePolicies" + } + ] + } + } + } + }, + "ExportRoutePolicyInformation": { + "type": "object", + "description": "Export Route Policy Configuration.", + "properties": { + "exportIpv4RoutePolicyId": { + "type": "string", + "format": "arm-id", + "description": "Export IPv4 Route Policy Id.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/routePolicies" + } + ] + } + }, + "exportIpv6RoutePolicyId": { + "type": "string", + "format": "arm-id", + "description": "Export IPv6 Route Policy Id.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/routePolicies" + } + ] + } + } + } + }, + "ExportRoutePolicyInformationPatch": { + "type": "object", + "description": "Export Route Policy Configuration.", + "properties": { + "exportIpv4RoutePolicyId": { + "type": "string", + "format": "arm-id", + "description": "Export IPv4 Route Policy Id.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/routePolicies" + } + ] + } + }, + "exportIpv6RoutePolicyId": { + "type": "string", + "format": "arm-id", + "description": "Export IPv6 Route Policy Id.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/routePolicies" + } + ] + } + } + } + }, + "ExportRoutePolicyPatch": { + "type": "object", + "description": "Export Route Policy either IPv4 or IPv6.", + "properties": { + "exportIpv4RoutePolicyId": { + "type": "string", + "format": "arm-id", + "description": "ARM resource ID of RoutePolicy.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/routePolicies" + } + ] + } + }, + "exportIpv6RoutePolicyId": { + "type": "string", + "format": "arm-id", + "description": "ARM resource ID of RoutePolicy.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/routePolicies" + } + ] + } + } + } + }, + "ExpressRouteConnectionInformation": { + "type": "object", + "description": "The ExpressRoute circuit ID and the Auth Key are required for you to successfully deploy NFC service.", + "properties": { + "expressRouteCircuitId": { + "type": "string", + "format": "arm-id", + "description": "The express route circuit Azure resource ID, must be of type Microsoft.Network/expressRouteCircuits/circuitName. The ExpressRoute Circuit is a mandatory attribute.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/expressRouteCircuits" + } + ] + } + }, + "expressRouteAuthorizationKey": { + "type": "string", + "format": "password", + "description": "Authorization key for the circuit, must be of type Microsoft.Network/expressRouteCircuits/authorizations. The Auth Key is a mandatory attribute.", + "x-ms-secret": true + } + }, + "required": [ + "expressRouteCircuitId", + "expressRouteAuthorizationKey" + ] + }, + "ExtendedVlan": { + "type": "string", + "description": "Extended VLAN status.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "ExtendedVlan", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "Extended VLAN is enabled." + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "Extended VLAN is disabled." + } + ] + } + }, + "ExternalNetwork": { + "type": "object", + "description": "Defines the External Network resource.", + "properties": { + "properties": { + "$ref": "#/definitions/ExternalNetworkProperties", + "description": "External Network Properties" + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "ExternalNetworkBfdAdministrativeStateRequest": { + "type": "object", + "description": "External Network Administrative State request", + "properties": { + "routeType": { + "$ref": "#/definitions/ExternalNetworkRouteType", + "description": "Route Type that helps to know which bfd we are updating." + }, + "administrativeState": { + "$ref": "#/definitions/BfdAdministrativeState", + "description": "Administrative state." + } + } + }, + "ExternalNetworkBfdAdministrativeStateResponse": { + "type": "object", + "description": "External Network Administrative State response", + "properties": { + "routeType": { + "$ref": "#/definitions/ExternalNetworkRouteType", + "description": "Route Type that helps to know which bfd we are updating." + }, + "administrativeState": { + "$ref": "#/definitions/BfdAdministrativeState", + "description": "Administrative state." + }, + "error": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorDetail", + "description": "The error object." + } + } + }, + "ExternalNetworkBmpPatchProperties": { + "type": "object", + "description": "BMP Monitoring Configuration patch properties.", + "properties": { + "configurationState": { + "$ref": "#/definitions/BmpConfigurationState", + "description": "BMP Configuration State." + } + } + }, + "ExternalNetworkBmpProperties": { + "type": "object", + "description": "BGP Monitoring Protocol (BMP) Configuration properties.", + "properties": { + "configurationState": { + "type": "string", + "description": "BMP Configuration State.", + "default": "Disabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "BmpConfigurationState", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "BGP Monitoring Protocol (BMP) ConfigurationState - Enabled" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "BGP Monitoring Protocol (BMP) ConfigurationState - Disabled" + } + ] + } + } + } + }, + "ExternalNetworkListResult": { + "type": "object", + "description": "The response of a ExternalNetwork list operation.", + "properties": { + "value": { + "type": "array", + "description": "The ExternalNetwork items on this page", + "items": { + "$ref": "#/definitions/ExternalNetwork" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ExternalNetworkPatch": { + "type": "object", + "description": "The ExternalNetwork patch resource definition.", + "properties": { + "properties": { + "$ref": "#/definitions/ExternalNetworkPatchProperties", + "description": "External Network Patch properties." + } + } + }, + "ExternalNetworkPatchProperties": { + "type": "object", + "description": "External Network Patch properties.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "networkToNetworkInterconnectId": { + "type": "string", + "format": "arm-id", + "description": "ARM Resource ID of the networkToNetworkInterconnectId of the ExternalNetwork resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/networkFabrics/networkToNetworkInterconnects" + } + ] + } + }, + "importRoutePolicy": { + "$ref": "#/definitions/ImportRoutePolicyPatch", + "description": "Import Route Policy either IPv4 or IPv6." + }, + "exportRoutePolicy": { + "$ref": "#/definitions/ExportRoutePolicyPatch", + "description": "Export Route Policy either IPv4 or IPv6." + }, + "peeringOption": { + "$ref": "#/definitions/PeeringOption", + "description": "Peering option list." + }, + "optionBProperties": { + "$ref": "#/definitions/L3OptionBPatchProperties", + "description": "option B properties object" + }, + "optionAProperties": { + "$ref": "#/definitions/ExternalNetworkPatchPropertiesOptionAProperties", + "description": "option A properties object" + }, + "staticRouteConfiguration": { + "$ref": "#/definitions/ExternalNetworkStaticRoutePatchConfiguration", + "description": "Static Route Configuration." + } + } + }, + "ExternalNetworkPatchPropertiesOptionAProperties": { + "type": "object", + "description": "option A properties object", + "properties": { + "primaryIpv4Prefix": { + "type": "string", + "description": "IPv4 Address Prefix." + }, + "primaryIpv6Prefix": { + "type": "string", + "description": "IPv6 Address Prefix." + }, + "secondaryIpv4Prefix": { + "type": "string", + "description": "Secondary IPv4 Address Prefix." + }, + "secondaryIpv6Prefix": { + "type": "string", + "description": "Secondary IPv6 Address Prefix." + }, + "mtu": { + "type": "integer", + "format": "int32", + "description": "MTU to use for option A peering.", + "minimum": 64, + "maximum": 9200 + }, + "vlanId": { + "type": "integer", + "format": "int32", + "description": "Vlan identifier. Example : 501", + "minimum": 501, + "maximum": 4094 + }, + "fabricASN": { + "type": "integer", + "format": "int64", + "description": "Fabric ASN number. Example 65001", + "minimum": 1, + "maximum": 4294967295, + "readOnly": true + }, + "peerASN": { + "type": "integer", + "format": "int64", + "description": "Peer ASN number.Example : 28", + "minimum": 1, + "maximum": 4294967295 + }, + "bfdConfiguration": { + "$ref": "#/definitions/BfdPatchConfiguration", + "description": "BFD configuration properties" + }, + "ingressAclId": { + "type": "string", + "format": "arm-id", + "description": "Ingress Acl. ARM resource ID of Access Control Lists.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/accessControlLists" + } + ] + } + }, + "egressAclId": { + "type": "string", + "format": "arm-id", + "description": "Egress Acl. ARM resource ID of Access Control Lists.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/accessControlLists" + } + ] + } + }, + "bmpConfiguration": { + "$ref": "#/definitions/ExternalNetworkBmpPatchProperties", + "description": "BMP Monitor Configuration." + }, + "v4OverV6BgpSession": { + "$ref": "#/definitions/V4OverV6BgpSessionState", + "description": "V4OverV6 BGP Session state" + }, + "v6OverV4BgpSession": { + "$ref": "#/definitions/V6OverV4BgpSessionState", + "description": "V6OverV4 BGP Session state" + }, + "nativeIpv4PrefixLimit": { + "$ref": "#/definitions/NativeIpv4PrefixLimitPatchProperties", + "description": "Native IPv4 prefix limit configuration" + }, + "nativeIpv6PrefixLimit": { + "$ref": "#/definitions/NativeIpv6PrefixLimitPatchProperties", + "description": "Native IPv6 prefix limit configuration" + } + } + }, + "ExternalNetworkProperties": { + "type": "object", + "description": "External Network Properties.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "networkToNetworkInterconnectId": { + "type": "string", + "format": "arm-id", + "description": "ARM Resource ID of the networkToNetworkInterconnectId of the ExternalNetwork resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/networkFabrics/networkToNetworkInterconnects" + } + ] + } + }, + "importRoutePolicy": { + "$ref": "#/definitions/ImportRoutePolicy", + "description": "Import Route Policy either IPv4 or IPv6." + }, + "exportRoutePolicy": { + "$ref": "#/definitions/ExportRoutePolicy", + "description": "Export Route Policy either IPv4 or IPv6." + }, + "peeringOption": { + "$ref": "#/definitions/PeeringOption", + "description": "Peering option list." + }, + "optionBProperties": { + "$ref": "#/definitions/L3OptionBProperties", + "description": "option B properties object" + }, + "optionAProperties": { + "$ref": "#/definitions/ExternalNetworkPropertiesOptionAProperties", + "description": "option A properties object" + }, + "staticRouteConfiguration": { + "$ref": "#/definitions/ExternalNetworkStaticRouteConfiguration", + "description": "Static Route Configuration." + }, + "lastOperation": { + "$ref": "#/definitions/LastOperationProperties", + "description": "Details of the last operation performed on the resource", + "readOnly": true + }, + "configurationState": { + "$ref": "#/definitions/ConfigurationState", + "description": "Configuration state of the resource.", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning state of the resource.", + "readOnly": true + }, + "administrativeState": { + "$ref": "#/definitions/AdministrativeState", + "description": "Administrative state of the resource.", + "readOnly": true + } + }, + "required": [ + "peeringOption" + ] + }, + "ExternalNetworkPropertiesOptionAProperties": { + "type": "object", + "description": "option A properties object", + "properties": { + "primaryIpv4Prefix": { + "type": "string", + "description": "IPv4 Address Prefix." + }, + "primaryIpv6Prefix": { + "type": "string", + "description": "IPv6 Address Prefix." + }, + "secondaryIpv4Prefix": { + "type": "string", + "description": "Secondary IPv4 Address Prefix." + }, + "secondaryIpv6Prefix": { + "type": "string", + "description": "Secondary IPv6 Address Prefix." + }, + "mtu": { + "type": "integer", + "format": "int32", + "description": "MTU to use for option A peering.", + "default": 1500, + "minimum": 64, + "maximum": 9200 + }, + "vlanId": { + "type": "integer", + "format": "int32", + "description": "Vlan identifier. Example : 501", + "minimum": 501, + "maximum": 4094 + }, + "fabricASN": { + "type": "integer", + "format": "int64", + "description": "Fabric ASN number. Example 65001", + "minimum": 1, + "maximum": 4294967295, + "readOnly": true + }, + "peerASN": { + "type": "integer", + "format": "int64", + "description": "Peer ASN number.Example : 28", + "minimum": 1, + "maximum": 4294967295 + }, + "bfdConfiguration": { + "$ref": "#/definitions/BfdConfiguration", + "description": "BFD configuration properties" + }, + "ingressAclId": { + "type": "string", + "format": "arm-id", + "description": "Ingress Acl. ARM resource ID of Access Control Lists.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/accessControlLists" + } + ] + } + }, + "bmpConfiguration": { + "$ref": "#/definitions/ExternalNetworkBmpProperties", + "description": "BMP Monitor Configuration." + }, + "egressAclId": { + "type": "string", + "format": "arm-id", + "description": "Egress Acl. ARM resource ID of Access Control Lists.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/accessControlLists" + } + ] + } + }, + "v4OverV6BgpSession": { + "type": "string", + "description": "V4OverV6 BGP Session state", + "default": "Disabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "V4OverV6BgpSessionState", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "V4OverV6BgpSessionState-Enabled" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "V4OverV6BgpSessionState-Disabled" + } + ] + } + }, + "v6OverV4BgpSession": { + "type": "string", + "description": "V6OverV4 BGP Session state", + "default": "Disabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "V6OverV4BgpSessionState", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "V6OverV4BgpSessionState-Enabled" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "V6OverV4BgpSessionState-Disabled" + } + ] + } + }, + "nativeIpv4PrefixLimit": { + "$ref": "#/definitions/NativeIpv4PrefixLimitProperties", + "description": "Native IPv4 prefix limits configuration" + }, + "nativeIpv6PrefixLimit": { + "$ref": "#/definitions/NativeIpv6PrefixLimitProperties", + "description": "Native IPv6 prefix limits configuration" + } + }, + "required": [ + "vlanId", + "peerASN" + ] + }, + "ExternalNetworkRouteType": { + "type": "string", + "description": "External Network RouteType.", + "enum": [ + "Static", + "OptionA" + ], + "x-ms-enum": { + "name": "ExternalNetworkRouteType", + "modelAsString": true, + "values": [ + { + "name": "Static", + "value": "Static", + "description": "ExternalNetwork Static." + }, + { + "name": "OptionA", + "value": "OptionA", + "description": "ExternalNetwork OptionA." + } + ] + } + }, + "ExternalNetworkStaticRouteConfiguration": { + "type": "object", + "description": "Static Route Configuration properties for ExternalNetwork.", + "properties": { + "bfdConfiguration": { + "$ref": "#/definitions/BfdConfiguration", + "description": "BFD configuration properties" + }, + "ipv4Routes": { + "type": "array", + "description": "List of IPv4 Routes.", + "items": { + "$ref": "#/definitions/StaticRouteProperties" + }, + "x-ms-identifiers": [ + "prefix" + ] + }, + "ipv6Routes": { + "type": "array", + "description": "List of IPv6 Routes.", + "items": { + "$ref": "#/definitions/StaticRouteProperties" + }, + "x-ms-identifiers": [ + "prefix" + ] + } + } + }, + "ExternalNetworkStaticRoutePatchConfiguration": { + "type": "object", + "description": "Static Route Configuration properties for External Network.", + "properties": { + "bfdConfiguration": { + "$ref": "#/definitions/BfdPatchConfiguration", + "description": "BFD configuration properties" + }, + "ipv4Routes": { + "type": "array", + "description": "List of IPv4 Routes.", + "items": { + "$ref": "#/definitions/StaticRoutePatchProperties" + }, + "x-ms-identifiers": [ + "prefix" + ] + }, + "ipv6Routes": { + "type": "array", + "description": "List of IPv6 Routes.", + "items": { + "$ref": "#/definitions/StaticRoutePatchProperties" + }, + "x-ms-identifiers": [ + "prefix" + ] + } + } + }, + "FabricLockProperties": { + "type": "object", + "description": "Network Fabric Lock Configuration.", + "properties": { + "lockState": { + "$ref": "#/definitions/LockConfigurationState", + "description": "NetworkFabric Lock State." + }, + "lockType": { + "$ref": "#/definitions/NetworkFabricLockType", + "description": "NetworkFabric Lock Type." + } + } + }, + "FabricSkuType": { + "type": "string", + "description": "Type of Network Fabric SKU.", + "enum": [ + "SingleRack", + "MultiRack" + ], + "x-ms-enum": { + "name": "FabricSkuType", + "modelAsString": true, + "values": [ + { + "name": "SingleRack", + "value": "SingleRack", + "description": "FabricSkuType-SingleRack" + }, + { + "name": "MultiRack", + "value": "MultiRack", + "description": "FabricSkuType-MultiRack" + } + ] + } + }, + "FeatureFlagProperties": { + "type": "object", + "description": "Feature flag properties.", + "properties": { + "featureFlagName": { + "type": "string", + "description": "Feature flag name." + }, + "featureFlagValue": { + "type": "string", + "description": "Feature flag value." + } + } + }, + "GatewayType": { + "type": "string", + "description": "Gateway Type of the resource.", + "enum": [ + "Infrastructure", + "Workload" + ], + "x-ms-enum": { + "name": "GatewayType", + "modelAsString": true, + "values": [ + { + "name": "Infrastructure", + "value": "Infrastructure", + "description": "GatewayType Infrastructure" + }, + { + "name": "Workload", + "value": "Workload", + "description": "GatewayType Workload" + } + ] + } + }, + "GlobalAccessControlListActionPatchProperties": { + "type": "object", + "description": "Global Access Control List actions patch properties", + "properties": { + "enableCount": { + "$ref": "#/definitions/BooleanEnumProperty", + "description": "Configuration to enable or disable ACL action count." + } + } + }, + "GlobalAccessControlListActionProperties": { + "type": "object", + "description": "Global Access Control List actions properties", + "properties": { + "enableCount": { + "type": "string", + "description": "Configuration to enable or disable ACL action count.", + "default": "False", + "enum": [ + "True", + "False" + ], + "x-ms-enum": { + "name": "BooleanEnumProperty", + "modelAsString": true, + "values": [ + { + "name": "True", + "value": "True", + "description": "EnumProperty-True" + }, + { + "name": "False", + "value": "False", + "description": "EnumProperty-False" + } + ] + } + } + } + }, + "GlobalNetworkTapRuleActionPatchProperties": { + "type": "object", + "description": "Global network tap rule actions patch properties", + "properties": { + "enableCount": { + "$ref": "#/definitions/BooleanEnumProperty", + "description": "Configuration to enable network tap rule counter." + }, + "truncate": { + "type": "string", + "description": "Truncate. 0 indicates do not truncate.", + "minLength": 1 + } + } + }, + "GlobalNetworkTapRuleActionProperties": { + "type": "object", + "description": "Global network tap rule actions properties", + "properties": { + "enableCount": { + "type": "string", + "description": "Configuration to enable network tap rule counter.", + "default": "False", + "enum": [ + "True", + "False" + ], + "x-ms-enum": { + "name": "BooleanEnumProperty", + "modelAsString": true, + "values": [ + { + "name": "True", + "value": "True", + "description": "EnumProperty-True" + }, + { + "name": "False", + "value": "False", + "description": "EnumProperty-False" + } + ] + } + }, + "truncate": { + "type": "string", + "description": "Truncate. 0 indicates do not truncate.", + "minLength": 1 + } + } + }, + "HeaderAddressProperties": { + "type": "object", + "description": "Header name and source addresses associated with the header.", + "properties": { + "headerName": { + "type": "string", + "description": "Name of the header." + }, + "addressList": { + "type": "array", + "description": "List of source remote IP to be allowed or denied.", + "minItems": 1, + "items": { + "type": "string" + } + } + } + }, + "IPAddressType": { + "type": "string", + "description": "IP Address type.", + "enum": [ + "IPv4", + "IPv6" + ], + "x-ms-enum": { + "name": "IPAddressType", + "modelAsString": true, + "values": [ + { + "name": "IPv4", + "value": "IPv4", + "description": "IPv4 IP address" + }, + { + "name": "IPv6", + "value": "IPv6", + "description": "IPv6 IP address" + } + ] + } + }, + "IcmpConfigurationPatchProperties": { + "type": "object", + "description": "Internet Control Message Protocol (ICMP) configuration patch properties", + "properties": { + "icmpTypes": { + "type": "array", + "description": "Internet Control Message Protocol (ICMP) types", + "minItems": 1, + "items": { + "type": "string" + } + } + } + }, + "IcmpConfigurationProperties": { + "type": "object", + "description": "Internet Control Message Protocol (ICMP) configuration", + "properties": { + "icmpTypes": { + "type": "array", + "description": "Internet Control Message Protocol (ICMP) types", + "minItems": 1, + "items": { + "type": "string" + } + } + } + }, + "IdentitySelector": { + "type": "object", + "description": "IdentitySelector represents the selection of a managed identity for use.", + "properties": { + "identityType": { + "$ref": "#/definitions/ManagedServiceIdentitySelectorType", + "description": "The type of managed identity that is being selected." + }, + "userAssignedIdentityResourceId": { + "type": "string", + "format": "arm-id", + "description": "The user assigned managed identity resource ID to use. Mutually exclusive with a system assigned identity type.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedIdentity/userAssignedIdentities" + } + ] + } + } + }, + "required": [ + "identityType" + ] + }, + "IdentitySelectorPatch": { + "type": "object", + "description": "IdentitySelector represents the selection of a managed identity for use.", + "properties": { + "identityType": { + "$ref": "#/definitions/ManagedServiceIdentitySelectorType", + "description": "The type of managed identity that is being selected." + }, + "userAssignedIdentityResourceId": { + "type": "string", + "format": "arm-id", + "description": "The user assigned managed identity resource ID to use. Mutually exclusive with a system assigned identity type.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedIdentity/userAssignedIdentities" + } + ] + } + } + } + }, + "ImportRoutePolicy": { + "type": "object", + "description": "Import Route Policy either IPv4 or IPv6.", + "properties": { + "importIpv4RoutePolicyId": { + "type": "string", + "format": "arm-id", + "description": "ARM resource ID of RoutePolicy.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/routePolicies" + } + ] + } + }, + "importIpv6RoutePolicyId": { + "type": "string", + "format": "arm-id", + "description": "ARM resource ID of RoutePolicy.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/routePolicies" + } + ] + } + } + } + }, + "ImportRoutePolicyInformation": { + "type": "object", + "description": "Import Route Policy Configuration.", + "properties": { + "importIpv4RoutePolicyId": { + "type": "string", + "format": "arm-id", + "description": "Import IPv4 Route Policy Id.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/routePolicies" + } + ] + } + }, + "importIpv6RoutePolicyId": { + "type": "string", + "format": "arm-id", + "description": "Import IPv6 Route Policy Id.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/routePolicies" + } + ] + } + } + } + }, + "ImportRoutePolicyInformationPatch": { + "type": "object", + "description": "Import Route Policy Configuration.", + "properties": { + "importIpv4RoutePolicyId": { + "type": "string", + "format": "arm-id", + "description": "Import IPv4 Route Policy Id.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/routePolicies" + } + ] + } + }, + "importIpv6RoutePolicyId": { + "type": "string", + "format": "arm-id", + "description": "Import IPv6 Route Policy Id.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/routePolicies" + } + ] + } + } + } + }, + "ImportRoutePolicyPatch": { + "type": "object", + "description": "Import Route Policy either IPv4 or IPv6.", + "properties": { + "importIpv4RoutePolicyId": { + "type": "string", + "format": "arm-id", + "description": "ARM resource ID of RoutePolicy.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/routePolicies" + } + ] + } + }, + "importIpv6RoutePolicyId": { + "type": "string", + "format": "arm-id", + "description": "ARM resource ID of RoutePolicy.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/routePolicies" + } + ] + } + } + } + }, + "InterfaceType": { + "type": "string", + "description": "The Interface Type. Example: Management/Data", + "enum": [ + "Management", + "Data" + ], + "x-ms-enum": { + "name": "InterfaceType", + "modelAsString": true, + "values": [ + { + "name": "Management", + "value": "Management", + "description": "InterfaceType-Management" + }, + { + "name": "Data", + "value": "Data", + "description": "InterfaceType-Data" + } + ] + } + }, + "InternalNetwork": { + "type": "object", + "description": "Defines the Internal Network resource.", + "properties": { + "properties": { + "$ref": "#/definitions/InternalNetworkProperties", + "description": "The Internal Network Properties" + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "InternalNetworkBfdAdministrativeStateRequest": { + "type": "object", + "description": "Internal Network BFD Administrative State request", + "properties": { + "routeType": { + "$ref": "#/definitions/InternalNetworkRouteType", + "description": "Route Type that helps to know which bfd we are updating." + }, + "neighborAddress": { + "type": "string", + "description": "NeighborAddress - Input should be either All or Specific Ipv4 Address or Specific Ipv6 Address." + }, + "administrativeState": { + "$ref": "#/definitions/BfdAdministrativeState", + "description": "BFD Administrative state." + } + } + }, + "InternalNetworkBfdAdministrativeStateResponse": { + "type": "object", + "description": "Internal Network BFD Administrative State response", + "properties": { + "neighborAddressAdministrativeStatus": { + "type": "array", + "description": "NeighborAddress administrative status", + "minItems": 1, + "items": { + "$ref": "#/definitions/NeighborAddressBfdAdministrativeStatus" + }, + "x-ms-identifiers": [] + }, + "error": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorDetail", + "description": "The error object." + } + } + }, + "InternalNetworkBgpAdministrativeStateRequest": { + "type": "object", + "description": "Internal Network Administrative State Request", + "properties": { + "neighborAddress": { + "type": "string", + "description": "NeighborAddress - Input should be either All or Specific Ipv4 Address or Specific Ipv6 Address." + }, + "administrativeState": { + "$ref": "#/definitions/BgpAdministrativeState", + "description": "BGP Administrative state." + } + } + }, + "InternalNetworkBgpAdministrativeStateResponse": { + "type": "object", + "description": "Internal Network Administrative State Response", + "properties": { + "neighborAddressAdministrativeStatus": { + "type": "array", + "description": "NeighborAddress administrative status", + "minItems": 1, + "items": { + "$ref": "#/definitions/NeighborAddressBgpAdministrativeStatus" + }, + "x-ms-identifiers": [] + }, + "error": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorDetail", + "description": "The error object." + } + } + }, + "InternalNetworkBmpPatchProperties": { + "type": "object", + "description": "Internal Network BMP Configuration", + "properties": { + "neighborIpExclusions": { + "type": "array", + "description": "BMP Collector Address.", + "minItems": 1, + "items": { + "type": "string" + } + }, + "bmpConfigurationState": { + "$ref": "#/definitions/BmpConfigurationState", + "description": "BMP Monitoring configuration state." + } + } + }, + "InternalNetworkBmpProperties": { + "type": "object", + "description": "Internal Network BMP Configuration", + "properties": { + "neighborIpExclusions": { + "type": "array", + "description": "BMP Collector Address.", + "minItems": 1, + "items": { + "type": "string" + } + }, + "bmpConfigurationState": { + "$ref": "#/definitions/BmpConfigurationState", + "description": "BMP Monitoring configuration state." + } + } + }, + "InternalNetworkListResult": { + "type": "object", + "description": "The response of a InternalNetwork list operation.", + "properties": { + "value": { + "type": "array", + "description": "The InternalNetwork items on this page", + "items": { + "$ref": "#/definitions/InternalNetwork" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "InternalNetworkPatch": { + "type": "object", + "description": "The InternalNetwork patch resource definition.", + "properties": { + "properties": { + "$ref": "#/definitions/InternalNetworkPatchProperties", + "description": "InternalNetwork Patch properties." + } + } + }, + "InternalNetworkPatchProperties": { + "type": "object", + "description": "InternalNetwork Patch properties.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "mtu": { + "type": "integer", + "format": "int32", + "description": "Maximum transmission unit. Default value is 1500.", + "minimum": 64, + "maximum": 9200 + }, + "connectedIPv4Subnets": { + "type": "array", + "description": "List of Connected IPv4 Subnets.", + "minItems": 1, + "items": { + "$ref": "#/definitions/ConnectedSubnetPatch" + }, + "x-ms-identifiers": [ + "prefix" + ] + }, + "connectedIPv6Subnets": { + "type": "array", + "description": "List of connected IPv6 Subnets.", + "minItems": 1, + "items": { + "$ref": "#/definitions/ConnectedSubnetPatch" + }, + "x-ms-identifiers": [ + "prefix" + ] + }, + "importRoutePolicy": { + "$ref": "#/definitions/ImportRoutePolicy", + "description": "Import Route Policy either IPv4 or IPv6." + }, + "exportRoutePolicy": { + "$ref": "#/definitions/ExportRoutePolicy", + "description": "Export Route Policy either IPv4 or IPv6." + }, + "ingressAclId": { + "type": "string", + "format": "arm-id", + "description": "Ingress Acl. ARM resource ID of Access Control Lists.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/accessControlLists" + } + ] + } + }, + "egressAclId": { + "type": "string", + "format": "arm-id", + "description": "Egress Acl. ARM resource ID of Access Control Lists.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/accessControlLists" + } + ] + } + }, + "isMonitoringEnabled": { + "$ref": "#/definitions/IsMonitoringEnabled", + "description": "To check whether monitoring of internal network is enabled or not." + }, + "bgpConfiguration": { + "$ref": "#/definitions/BgpPatchConfiguration", + "description": "BGP configuration properties." + }, + "staticRouteConfiguration": { + "$ref": "#/definitions/StaticRoutePatchConfiguration", + "description": "Static Route Configuration properties." + }, + "nativeIpv4PrefixLimit": { + "$ref": "#/definitions/NativeIpv4PrefixLimitPatchProperties", + "description": "Native IPv4 Prefix Limit Configuration properties." + }, + "nativeIpv6PrefixLimit": { + "$ref": "#/definitions/NativeIpv6PrefixLimitPatchProperties", + "description": "Native IPv6 Prefix Limit Configuration properties." + } + } + }, + "InternalNetworkProperties": { + "type": "object", + "description": "Internal Network Properties defines the properties of the resource.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "mtu": { + "type": "integer", + "format": "int32", + "description": "Maximum transmission unit. Default value is 1500.", + "default": 1500, + "minimum": 64, + "maximum": 9200 + }, + "connectedIPv4Subnets": { + "type": "array", + "description": "List of Connected IPv4 Subnets.", + "minItems": 1, + "items": { + "$ref": "#/definitions/ConnectedSubnet" + }, + "x-ms-identifiers": [ + "prefix" + ] + }, + "connectedIPv6Subnets": { + "type": "array", + "description": "List of connected IPv6 Subnets.", + "minItems": 1, + "items": { + "$ref": "#/definitions/ConnectedSubnet" + }, + "x-ms-identifiers": [ + "prefix" + ] + }, + "importRoutePolicy": { + "$ref": "#/definitions/ImportRoutePolicy", + "description": "Import Route Policy either IPv4 or IPv6." + }, + "exportRoutePolicy": { + "$ref": "#/definitions/ExportRoutePolicy", + "description": "Export Route Policy either IPv4 or IPv6." + }, + "ingressAclId": { + "type": "string", + "format": "arm-id", + "description": "Ingress Acl. ARM resource ID of Access Control Lists.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/accessControlLists" + } + ] + } + }, + "egressAclId": { + "type": "string", + "format": "arm-id", + "description": "Egress Acl. ARM resource ID of Access Control Lists.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/accessControlLists" + } + ] + } + }, + "isMonitoringEnabled": { + "type": "string", + "description": "To check whether monitoring of internal network is enabled or not.", + "default": "False", + "enum": [ + "True", + "False" + ], + "x-ms-enum": { + "name": "IsMonitoringEnabled", + "modelAsString": true, + "values": [ + { + "name": "True", + "value": "True", + "description": "IsMonitoringEnabled-True" + }, + { + "name": "False", + "value": "False", + "description": "IsMonitoringEnabled-False" + } + ] + } + }, + "extension": { + "type": "string", + "description": "Extension. Example: NoExtension | NPB.", + "default": "NoExtension", + "enum": [ + "NoExtension", + "NPB" + ], + "x-ms-enum": { + "name": "Extension", + "modelAsString": true, + "values": [ + { + "name": "NoExtension", + "value": "NoExtension", + "description": "Extension-NoExtension" + }, + { + "name": "NPB", + "value": "NPB", + "description": "Extension-NPB" + } + ] + } + }, + "vlanId": { + "type": "integer", + "format": "int32", + "description": "Vlan identifier. Example: 1001.", + "minimum": 100, + "maximum": 4094 + }, + "bgpConfiguration": { + "$ref": "#/definitions/BgpConfiguration", + "description": "BGP configuration properties." + }, + "staticRouteConfiguration": { + "$ref": "#/definitions/StaticRouteConfiguration", + "description": "Static Route Configuration properties." + }, + "nativeIpv4PrefixLimit": { + "$ref": "#/definitions/NativeIpv4PrefixLimitProperties", + "description": "Native IPv4 Prefix Limit Configuration properties." + }, + "nativeIpv6PrefixLimit": { + "$ref": "#/definitions/NativeIpv6PrefixLimitProperties", + "description": "Native IPv6 Prefix Limit Configuration properties." + }, + "lastOperation": { + "$ref": "#/definitions/LastOperationProperties", + "description": "Details of the last operation performed on the resource", + "readOnly": true + }, + "configurationState": { + "$ref": "#/definitions/ConfigurationState", + "description": "Configuration state of the resource.", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning state of the resource.", + "readOnly": true + }, + "administrativeState": { + "$ref": "#/definitions/AdministrativeState", + "description": "Administrative state of the resource.", + "readOnly": true + } + }, + "required": [ + "vlanId" + ] + }, + "InternalNetworkRouteType": { + "type": "string", + "description": "Internal Network RouteType.", + "enum": [ + "Static", + "Bgp" + ], + "x-ms-enum": { + "name": "InternalNetworkRouteType", + "modelAsString": true, + "values": [ + { + "name": "Static", + "value": "Static", + "description": "InternalNetwork Static." + }, + { + "name": "Bgp", + "value": "Bgp", + "description": "InternalNetwork Bgp." + } + ] + } + }, + "InternetGateway": { + "type": "object", + "description": "The Internet Gateway resource definition.", + "properties": { + "properties": { + "$ref": "#/definitions/InternetGatewayProperties", + "description": "The Internet Gateway Properties" + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "InternetGatewayListResult": { + "type": "object", + "description": "The response of a InternetGateway list operation.", + "properties": { + "value": { + "type": "array", + "description": "The InternetGateway items on this page", + "items": { + "$ref": "#/definitions/InternetGateway" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "InternetGatewayPatch": { + "type": "object", + "description": "The Internet Gateway patch resource definition.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/InternetGatewayPatchProperties", + "description": "Resource properties." + } + } + }, + "InternetGatewayPatchProperties": { + "type": "object", + "description": "PatchProperties for InternetGateway ", + "properties": { + "internetGatewayRuleId": { + "type": "string", + "format": "arm-id", + "description": "ARM Resource ID of the Internet Gateway Rule.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/internetGatewayRules" + } + ] + } + } + } + }, + "InternetGatewayProperties": { + "type": "object", + "description": "Internet Gateway Properties defines the properties of the resource.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "internetGatewayRuleId": { + "type": "string", + "format": "arm-id", + "description": "ARM Resource ID of the Internet Gateway Rule.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/internetGatewayRules" + } + ] + } + }, + "ipv4Address": { + "type": "string", + "description": "IPv4 Address of Internet Gateway.", + "readOnly": true + }, + "port": { + "type": "integer", + "format": "int32", + "description": "Port number of Internet Gateway.", + "readOnly": true + }, + "type": { + "$ref": "#/definitions/GatewayType", + "description": "Gateway Type of the resource." + }, + "internetGatewayType": { + "$ref": "#/definitions/GatewayType", + "description": "Gateway Type of the resource." + }, + "networkFabricControllerId": { + "type": "string", + "format": "arm-id", + "description": "ARM Resource ID of the Network Fabric Controller.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/networkFabricControllers" + } + ] + } + }, + "lastOperation": { + "$ref": "#/definitions/LastOperationProperties", + "description": "Details of the last operation performed on the resource", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning state of resource.", + "readOnly": true + } + }, + "required": [ + "networkFabricControllerId" + ] + }, + "InternetGatewayRule": { + "type": "object", + "description": "The Internet Gateway Rule resource definition.", + "properties": { + "properties": { + "$ref": "#/definitions/InternetGatewayRuleProperties", + "description": "The Internet Gateway Rule properties" + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "InternetGatewayRuleListResult": { + "type": "object", + "description": "The response of a InternetGatewayRule list operation.", + "properties": { + "value": { + "type": "array", + "description": "The InternetGatewayRule items on this page", + "items": { + "$ref": "#/definitions/InternetGatewayRule" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "InternetGatewayRulePatch": { + "type": "object", + "description": "The Internet Gateway Rules patch resource definition.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, + "InternetGatewayRuleProperties": { + "type": "object", + "description": "Internet Gateway Rule Properties defines the resource properties.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "ruleProperties": { + "$ref": "#/definitions/RuleProperties", + "description": "Rules for the InternetGateways" + }, + "lastOperation": { + "$ref": "#/definitions/LastOperationProperties", + "description": "Details of the last operation performed on the resource", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning state of the resource.", + "readOnly": true + }, + "internetGatewayIds": { + "type": "array", + "description": "List of Internet Gateway resource Id.", + "items": { + "type": "string" + }, + "readOnly": true + } + }, + "required": [ + "ruleProperties" + ] + }, + "IpCommunity": { + "type": "object", + "description": "The IP Community resource definition.", + "properties": { + "properties": { + "$ref": "#/definitions/IpCommunityProperties", + "description": "The IP Community Properties" + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "IpCommunityIdList": { + "type": "object", + "description": "IP Community ID list properties.", + "properties": { + "ipCommunityIds": { + "type": "array", + "description": "List of IP Community resource IDs.", + "items": { + "type": "string" + } + } + } + }, + "IpCommunityListResult": { + "type": "object", + "description": "The response of a IpCommunity list operation.", + "properties": { + "value": { + "type": "array", + "description": "The IpCommunity items on this page", + "items": { + "$ref": "#/definitions/IpCommunity" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "IpCommunityPatch": { + "type": "object", + "description": "The IP Community patch resource definition.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/IpCommunityPatchableProperties", + "description": "IP Community patchable properties." + } + } + }, + "IpCommunityPatchableProperties": { + "type": "object", + "description": "IP Community patchable properties.", + "properties": { + "ipCommunityRules": { + "type": "array", + "description": "List of IP Community Rules.", + "items": { + "$ref": "#/definitions/IpCommunityRule" + }, + "x-ms-identifiers": [] + } + } + }, + "IpCommunityProperties": { + "type": "object", + "description": "IP Community Properties defines the resource properties.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "networkFabricId": { + "type": "string", + "format": "arm-id", + "description": "ARM Resource ID of the Network Fabric.", + "readOnly": true, + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/networkFabrics" + } + ] + } + }, + "ipCommunityRules": { + "type": "array", + "description": "List of IP Community Rules.", + "items": { + "$ref": "#/definitions/IpCommunityRule" + }, + "x-ms-identifiers": [] + }, + "lastOperation": { + "$ref": "#/definitions/LastOperationProperties", + "description": "Details of the last operation performed on the resource", + "readOnly": true + }, + "configurationState": { + "$ref": "#/definitions/ConfigurationState", + "description": "Configuration state of the resource.", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning state of the resource.", + "readOnly": true + }, + "administrativeState": { + "$ref": "#/definitions/AdministrativeState", + "description": "Administrative state of the resource.", + "readOnly": true + } + }, + "required": [ + "ipCommunityRules" + ] + }, + "IpCommunityRule": { + "type": "object", + "description": "IP Community patchable properties.", + "properties": { + "action": { + "$ref": "#/definitions/CommunityActionTypes", + "description": "Action to be taken on the configuration. Example: Permit | Deny." + }, + "sequenceNumber": { + "type": "integer", + "format": "int64", + "description": "Sequence to insert to/delete from existing route. Prefix lists are evaluated starting with the lowest sequence number and continue down the list until a match is made. Once a match is made, the permit or deny statement is applied to that network and the rest of the list is ignored.", + "minimum": 1, + "maximum": 4294967295 + }, + "wellKnownCommunities": { + "type": "array", + "description": "Supported well known Community List.", + "items": { + "$ref": "#/definitions/WellKnownCommunities" + } + }, + "communityMembers": { + "type": "array", + "description": "List the community members of IP Community.", + "minItems": 1, + "items": { + "type": "string" + } + } + }, + "required": [ + "action", + "sequenceNumber", + "communityMembers" + ] + }, + "IpExtendedCommunity": { + "type": "object", + "description": "The IP Extended Community resource definition.", + "properties": { + "properties": { + "$ref": "#/definitions/IpExtendedCommunityProperties", + "description": "The IpExtendedCommunity properties" + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "IpExtendedCommunityIdList": { + "type": "object", + "description": "IP Extended Community Id list properties.", + "properties": { + "ipExtendedCommunityIds": { + "type": "array", + "description": "List of IP Extended Community resource IDs.", + "items": { + "type": "string" + } + } + } + }, + "IpExtendedCommunityListResult": { + "type": "object", + "description": "The response of a IpExtendedCommunity list operation.", + "properties": { + "value": { + "type": "array", + "description": "The IpExtendedCommunity items on this page", + "items": { + "$ref": "#/definitions/IpExtendedCommunity" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "IpExtendedCommunityPatch": { + "type": "object", + "description": "The IP Extended Communities patch resource definition.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/IpExtendedCommunityPatchProperties", + "description": "IP Extended Community patchable properties." + } + } + }, + "IpExtendedCommunityPatchProperties": { + "type": "object", + "description": "IP Extended Community patchable properties.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "ipExtendedCommunityRules": { + "type": "array", + "description": "List of IP Extended Community Rules.", + "items": { + "$ref": "#/definitions/IpExtendedCommunityRule" + }, + "x-ms-identifiers": [] + } + } + }, + "IpExtendedCommunityProperties": { + "type": "object", + "description": "IP Extended Community Properties defines the resource properties.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "networkFabricId": { + "type": "string", + "format": "arm-id", + "description": "ARM Resource ID of the Network Fabric.", + "readOnly": true, + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/networkFabrics" + } + ] + } + }, + "ipExtendedCommunityRules": { + "type": "array", + "description": "List of IP Extended Community Rules.", + "items": { + "$ref": "#/definitions/IpExtendedCommunityRule" + }, + "x-ms-identifiers": [] + }, + "lastOperation": { + "$ref": "#/definitions/LastOperationProperties", + "description": "Details of the last operation performed on the resource", + "readOnly": true + }, + "configurationState": { + "$ref": "#/definitions/ConfigurationState", + "description": "Configuration state of the resource.", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning state of the resource.", + "readOnly": true + }, + "administrativeState": { + "$ref": "#/definitions/AdministrativeState", + "description": "Administrative state of the resource.", + "readOnly": true + } + }, + "required": [ + "ipExtendedCommunityRules" + ] + }, + "IpExtendedCommunityRule": { + "type": "object", + "description": "List of IP Extended Community Rules.", + "properties": { + "action": { + "$ref": "#/definitions/CommunityActionTypes", + "description": "Action to be taken on the configuration. Example: Permit | Deny." + }, + "sequenceNumber": { + "type": "integer", + "format": "int64", + "description": "Sequence to insert to/delete from existing route. Prefix lists are evaluated starting with the lowest sequence number and continue down the list until a match is made. Once a match is made, the permit or deny statement is applied to that network and the rest of the list is ignored.", + "minimum": 1, + "maximum": 4294967295 + }, + "routeTargets": { + "type": "array", + "description": "Route Target List.The expected formats are ASN(plain):NN >> example 4294967294:50, ASN.ASN:NN >> example 65533.65333:40, IP-address:NN >> example 10.10.10.10:65535. The possible values of ASN,NN are in range of 0-65535, ASN(plain) is in range of 0-4294967295.", + "minItems": 1, + "items": { + "type": "string" + } + } + }, + "required": [ + "action", + "sequenceNumber", + "routeTargets" + ] + }, + "IpGroupPatchProperties": { + "type": "object", + "description": "IP Group properties.", + "properties": { + "name": { + "type": "string", + "description": "IP Group name.", + "minLength": 1 + }, + "ipAddressType": { + "$ref": "#/definitions/IPAddressType", + "description": "IP Address type." + }, + "ipPrefixes": { + "type": "array", + "description": "List of IP Prefixes.", + "items": { + "type": "string" + } + } + } + }, + "IpGroupProperties": { + "type": "object", + "description": "IP Group properties.", + "properties": { + "name": { + "type": "string", + "description": "IP Group name.", + "minLength": 1 + }, + "ipAddressType": { + "$ref": "#/definitions/IPAddressType", + "description": "IP Address type." + }, + "ipPrefixes": { + "type": "array", + "description": "List of IP Prefixes.", + "items": { + "type": "string" + } + } + } + }, + "IpMatchCondition": { + "type": "object", + "description": "Defines the condition that can be filtered using the selected IPs.", + "properties": { + "type": { + "$ref": "#/definitions/SourceDestinationType", + "description": "IP Address type that needs to be matched." + }, + "prefixType": { + "$ref": "#/definitions/PrefixType", + "description": "IP Prefix Type that needs to be matched." + }, + "ipPrefixValues": { + "type": "array", + "description": "The list of IP Prefixes that need to be matched.", + "minItems": 1, + "items": { + "type": "string" + } + }, + "ipGroupNames": { + "type": "array", + "description": "The List of IP Group Names that need to be matched.", + "minItems": 1, + "items": { + "type": "string" + } + } + } + }, + "IpMatchConditionPatch": { + "type": "object", + "description": "Defines the condition that can be filtered using the selected IPs.", + "properties": { + "type": { + "$ref": "#/definitions/SourceDestinationType", + "description": "IP Address type that needs to be matched." + }, + "prefixType": { + "$ref": "#/definitions/PrefixType", + "description": "IP Prefix Type that needs to be matched." + }, + "ipPrefixValues": { + "type": "array", + "description": "The list of IP Prefixes that need to be matched.", + "minItems": 1, + "items": { + "type": "string" + } + }, + "ipGroupNames": { + "type": "array", + "description": "The List of IP Group Names that need to be matched.", + "minItems": 1, + "items": { + "type": "string" + } + } + } + }, + "IpPrefix": { + "type": "object", + "description": "The IP Prefix resource definition.", + "properties": { + "properties": { + "$ref": "#/definitions/IpPrefixProperties", + "description": "The IP Prefix properties" + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "IpPrefixListResult": { + "type": "object", + "description": "The response of a IpPrefix list operation.", + "properties": { + "value": { + "type": "array", + "description": "The IpPrefix items on this page", + "items": { + "$ref": "#/definitions/IpPrefix" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "IpPrefixPatch": { + "type": "object", + "description": "The IP Prefix patch resource definition.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/IpPrefixPatchProperties", + "description": "IP Prefix patchable properties." + } + } + }, + "IpPrefixPatchProperties": { + "type": "object", + "description": "IP Prefix patchable properties.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "ipPrefixRules": { + "type": "array", + "description": "The list of IP Prefix Rules.", + "items": { + "$ref": "#/definitions/IpPrefixRule" + }, + "x-ms-identifiers": [] + } + } + }, + "IpPrefixProperties": { + "type": "object", + "description": "IP Prefix Properties defines the properties of the resource.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "networkFabricId": { + "type": "string", + "format": "arm-id", + "description": "ARM Resource ID of the Network Fabric.", + "readOnly": true, + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/networkFabrics" + } + ] + } + }, + "ipPrefixRules": { + "type": "array", + "description": "The list of IP Prefix Rules.", + "items": { + "$ref": "#/definitions/IpPrefixRule" + }, + "x-ms-identifiers": [] + }, + "lastOperation": { + "$ref": "#/definitions/LastOperationProperties", + "description": "Details of the last operation performed on the resource", + "readOnly": true + }, + "configurationState": { + "$ref": "#/definitions/ConfigurationState", + "description": "Configuration state of the resource.", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning state of the resource.", + "readOnly": true + }, + "administrativeState": { + "$ref": "#/definitions/AdministrativeState", + "description": "Administrative state of the resource.", + "readOnly": true + } + }, + "required": [ + "ipPrefixRules" + ] + }, + "IpPrefixRule": { + "type": "object", + "description": "IP Prefix Rule properties.", + "properties": { + "action": { + "$ref": "#/definitions/CommunityActionTypes", + "description": "Action to be taken on the configuration. Example: Permit | Deny." + }, + "sequenceNumber": { + "type": "integer", + "format": "int64", + "description": "Sequence to insert to/delete from existing route. Prefix lists are evaluated starting with the lowest sequence number and continue down the list until a match is made. Once a match is made, the permit or deny statement is applied to that network and the rest of the list is ignored.", + "minimum": 1, + "maximum": 4294967295 + }, + "networkPrefix": { + "type": "string", + "description": "Network Prefix specifying IPv4/IPv6 packets to be permitted or denied. Example: 1.1.1.0/24 | 3FFE:FFFF:0:CD30::/126" + }, + "condition": { + "$ref": "#/definitions/Condition", + "description": "Specify prefix-list bounds." + }, + "subnetMaskLength": { + "type": "string", + "description": "SubnetMaskLength gives the minimum NetworkPrefix length to be matched. Possible values for IPv4 are 1 - 32 . Possible values of IPv6 are 1 - 128." + } + }, + "required": [ + "action", + "sequenceNumber", + "networkPrefix" + ] + }, + "IsMonitoringEnabled": { + "type": "string", + "description": "To check whether monitoring of internal network is enabled or not.", + "enum": [ + "True", + "False" + ], + "x-ms-enum": { + "name": "IsMonitoringEnabled", + "modelAsString": true, + "values": [ + { + "name": "True", + "value": "True", + "description": "IsMonitoringEnabled-True" + }, + { + "name": "False", + "value": "False", + "description": "IsMonitoringEnabled-False" + } + ] + } + }, + "IsolationDomainPatchProperties": { + "type": "object", + "description": "Isolation Domain Properties.", + "properties": { + "encapsulation": { + "$ref": "#/definitions/Encapsulation", + "description": "Type of encapsulation." + }, + "neighborGroupIds": { + "type": "array", + "description": "List of Neighbor Group IDs.", + "items": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/neighborGroups" + } + ] + } + } + } + } + }, + "IsolationDomainProperties": { + "type": "object", + "description": "Isolation Domain Properties.", + "properties": { + "encapsulation": { + "$ref": "#/definitions/Encapsulation", + "description": "Type of encapsulation." + }, + "neighborGroupIds": { + "type": "array", + "description": "List of Neighbor Group IDs.", + "items": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/neighborGroups" + } + ] + } + } + } + } + }, + "L2IsolationDomain": { + "type": "object", + "description": "The L2 Isolation Domain resource definition.", + "properties": { + "properties": { + "$ref": "#/definitions/L2IsolationDomainProperties", + "description": "The L2IsolationDomain properties" + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "L2IsolationDomainListResult": { + "type": "object", + "description": "The response of a L2IsolationDomain list operation.", + "properties": { + "value": { + "type": "array", + "description": "The L2IsolationDomain items on this page", + "items": { + "$ref": "#/definitions/L2IsolationDomain" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "L2IsolationDomainPatch": { + "type": "object", + "description": "The L2 Isolation Domain patch resource definition.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/L2IsolationDomainPatchProperties", + "description": "Resource properties." + } + } + }, + "L2IsolationDomainPatchProperties": { + "type": "object", + "description": "L2 Isolation Domain Patch Properties defines the patchable properties of the resource.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "mtu": { + "type": "integer", + "format": "int32", + "description": "Maximum transmission unit. Default value is 1500.", + "minimum": 64, + "maximum": 9200 + }, + "extendedVlan": { + "$ref": "#/definitions/ExtendedVlan", + "description": "Extended VLAN status." + }, + "networkToNetworkInterconnectId": { + "type": "string", + "format": "arm-id", + "description": "ARM Resource ID of the networkToNetworkInterconnectId of the L2 ISD resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/networkFabrics/networkToNetworkInterconnects" + } + ] + } + } + } + }, + "L2IsolationDomainProperties": { + "type": "object", + "description": "L2Isolation Domain Properties defines the properties of the resource.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "networkFabricId": { + "type": "string", + "format": "arm-id", + "description": "ARM Resource ID of the Network Fabric.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/networkFabrics" + } + ] + } + }, + "vlanId": { + "type": "integer", + "format": "int32", + "description": "Vlan Identifier of the Network Fabric. Example: 501.", + "minimum": 100, + "maximum": 4094 + }, + "mtu": { + "type": "integer", + "format": "int32", + "description": "Maximum transmission unit. Default value is 1500.", + "default": 1500, + "minimum": 64, + "maximum": 9200 + }, + "extendedVlan": { + "type": "string", + "description": "Extended VLAN status, default value is Disabled.", + "default": "Disabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "ExtendedVlan", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "Extended VLAN is enabled." + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "Extended VLAN is disabled." + } + ] + } + }, + "networkToNetworkInterconnectId": { + "type": "string", + "format": "arm-id", + "description": "ARM Resource ID of the networkToNetworkInterconnectId of the L2 ISD resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/networkFabrics/networkToNetworkInterconnects" + } + ] + } + }, + "lastOperation": { + "$ref": "#/definitions/LastOperationProperties", + "description": "Details of the last operation performed on the resource", + "readOnly": true + }, + "configurationState": { + "$ref": "#/definitions/ConfigurationState", + "description": "Configuration state of the resource.", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning state of the resource.", + "readOnly": true + }, + "administrativeState": { + "$ref": "#/definitions/AdministrativeState", + "description": "Administrative state of the resource.", + "readOnly": true + } + }, + "required": [ + "networkFabricId", + "vlanId" + ] + }, + "L3ExportRoutePolicy": { + "type": "object", + "description": "Array of ARM Resource ID of the RoutePolicies.", + "properties": { + "exportIpv4RoutePolicyId": { + "type": "string", + "format": "arm-id", + "description": "ARM Resource ID of the RoutePolicy.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/routePolicies" + } + ] + } + }, + "exportIpv6RoutePolicyId": { + "type": "string", + "format": "arm-id", + "description": "ARM Resource ID of the RoutePolicy.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/routePolicies" + } + ] + } + } + } + }, + "L3ExportRoutePolicyPatch": { + "type": "object", + "description": "Array of ARM Resource ID of the RoutePolicies.", + "properties": { + "exportIpv4RoutePolicyId": { + "type": "string", + "format": "arm-id", + "description": "ARM Resource ID of the RoutePolicy.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/routePolicies" + } + ] + } + }, + "exportIpv6RoutePolicyId": { + "type": "string", + "format": "arm-id", + "description": "ARM Resource ID of the RoutePolicy.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/routePolicies" + } + ] + } + } + } + }, + "L3IsolationDomain": { + "type": "object", + "description": "The L3 Isolation Domain resource definition.", + "properties": { + "properties": { + "$ref": "#/definitions/L3IsolationDomainProperties", + "description": "The L3 Isolation Domain Properties" + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "L3IsolationDomainListResult": { + "type": "object", + "description": "The response of a L3IsolationDomain list operation.", + "properties": { + "value": { + "type": "array", + "description": "The L3IsolationDomain items on this page", + "items": { + "$ref": "#/definitions/L3IsolationDomain" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "L3IsolationDomainPatch": { + "type": "object", + "description": "The L3 Isolation Domain patch resource definition.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/L3IsolationDomainPatchProperties", + "description": "Resource properties." + } + } + }, + "L3IsolationDomainPatchProperties": { + "type": "object", + "description": "Resource properties.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "redistributeConnectedSubnets": { + "$ref": "#/definitions/RedistributeConnectedSubnets", + "description": "Advertise Connected Subnets. Ex: \"True\" | \"False\"." + }, + "redistributeStaticRoutes": { + "$ref": "#/definitions/RedistributeStaticRoutes", + "description": "Advertise Static Routes. Ex: \"True\" | \"False\"." + }, + "aggregateRouteConfiguration": { + "$ref": "#/definitions/AggregateRoutePatchConfiguration", + "description": "Aggregate route configurations." + }, + "connectedSubnetRoutePolicy": { + "$ref": "#/definitions/ConnectedSubnetRoutePolicyPatch", + "description": "Connected Subnet RoutePolicy" + }, + "staticRouteRoutePolicy": { + "$ref": "#/definitions/StaticRouteRoutePolicyPatch", + "description": "Static Route - route policy." + }, + "routePrefixLimit": { + "$ref": "#/definitions/RoutePrefixLimitPatchProperties", + "description": "Virtual Routing and Forwarding (VRF) Limit configuration." + } + } + }, + "L3IsolationDomainProperties": { + "type": "object", + "description": "L3 Isolation Domain Properties defines the properties of the resource.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "redistributeConnectedSubnets": { + "type": "string", + "description": "Advertise Connected Subnets. Ex: \"True\" | \"False\".", + "default": "True", + "enum": [ + "True", + "False" + ], + "x-ms-enum": { + "name": "RedistributeConnectedSubnets", + "modelAsString": true, + "values": [ + { + "name": "True", + "value": "True", + "description": "RedistributeConnectedSubnets-True" + }, + { + "name": "False", + "value": "False", + "description": "RedistributeConnectedSubnets-False" + } + ] + } + }, + "redistributeStaticRoutes": { + "type": "string", + "description": "Advertise Static Routes. Ex: \"True\" | \"False\".", + "default": "False", + "enum": [ + "True", + "False" + ], + "x-ms-enum": { + "name": "RedistributeStaticRoutes", + "modelAsString": true, + "values": [ + { + "name": "True", + "value": "True", + "description": "RedistributeStaticRoutes-True" + }, + { + "name": "False", + "value": "False", + "description": "RedistributeStaticRoutes-False" + } + ] + } + }, + "aggregateRouteConfiguration": { + "$ref": "#/definitions/AggregateRouteConfiguration", + "description": "Aggregate route configurations." + }, + "connectedSubnetRoutePolicy": { + "$ref": "#/definitions/ConnectedSubnetRoutePolicy", + "description": "Connected Subnet RoutePolicy" + }, + "networkFabricId": { + "type": "string", + "format": "arm-id", + "description": "ARM Resource ID of the Network Fabric.", + "x-ms-mutability": [ + "read", + "create" + ], + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/networkFabrics" + } + ] + } + }, + "staticRouteRoutePolicy": { + "$ref": "#/definitions/StaticRouteRoutePolicy", + "description": "Static Route - route policy." + }, + "uniqueRdConfiguration": { + "$ref": "#/definitions/L3UniqueRouteDistinguisherProperties", + "description": "Unique Route Distinguisher configuration" + }, + "routePrefixLimit": { + "$ref": "#/definitions/RoutePrefixLimitProperties", + "description": "VRF Limit configuration." + }, + "lastOperation": { + "$ref": "#/definitions/LastOperationProperties", + "description": "Details of the last operation performed on the resource", + "readOnly": true + }, + "configurationState": { + "$ref": "#/definitions/ConfigurationState", + "description": "Configuration state of the resource.", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning state of the resource.", + "readOnly": true + }, + "administrativeState": { + "$ref": "#/definitions/AdministrativeState", + "description": "Administrative state of the resource.", + "readOnly": true + } + }, + "required": [ + "networkFabricId" + ] + }, + "L3OptionBPatchProperties": { + "type": "object", + "description": "Option B configuration.", + "properties": { + "importRouteTargets": { + "type": "array", + "description": "RouteTargets to be applied. This is used for the backward compatibility.", + "items": { + "type": "string" + } + }, + "exportRouteTargets": { + "type": "array", + "description": "RouteTargets to be applied. This is used for the backward compatibility.", + "items": { + "type": "string" + } + }, + "routeTargets": { + "$ref": "#/definitions/RouteTargetPatchInformation", + "description": "RouteTargets to be applied." + } + } + }, + "L3OptionBProperties": { + "type": "object", + "description": "Option B configuration.", + "properties": { + "importRouteTargets": { + "type": "array", + "description": "RouteTargets to be applied. This is used for the backward compatibility.", + "items": { + "type": "string" + } + }, + "exportRouteTargets": { + "type": "array", + "description": "RouteTargets to be applied. This is used for the backward compatibility.", + "items": { + "type": "string" + } + }, + "routeTargets": { + "$ref": "#/definitions/RouteTargetInformation", + "description": "RouteTargets to be applied." + } + } + }, + "L3UniqueRouteDistinguisherProperties": { + "type": "object", + "description": "Unique Route Distinguisher properties.", + "properties": { + "uniqueRds": { + "type": "array", + "description": "List of Unique Route Distinguisher addresses.", + "items": { + "type": "string" + }, + "readOnly": true + } + } + }, + "LastOperationProperties": { + "type": "object", + "description": "Details of the last operations performed on the resource", + "properties": { + "details": { + "type": "string", + "description": "Details status of the last operation performed on the resource.", + "readOnly": true + } + } + }, + "Layer2Configuration": { + "type": "object", + "description": "Common properties for Layer2 Configuration.", + "properties": { + "mtu": { + "type": "integer", + "format": "int32", + "description": "MTU of the packets between PE & CE.", + "default": 1500, + "minimum": 64, + "maximum": 9200 + }, + "interfaces": { + "type": "array", + "description": "List of network device interfaces resource IDs.", + "minItems": 1, + "items": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/networkDevices/networkInterfaces" + } + ] + } + } + } + } + }, + "Layer2ConfigurationPatch": { + "type": "object", + "description": "Common properties for Layer2 Configuration.", + "properties": { + "mtu": { + "type": "integer", + "format": "int32", + "description": "MTU of the packets between PE & CE.", + "minimum": 64, + "maximum": 9200 + }, + "interfaces": { + "type": "array", + "description": "List of network device interfaces resource IDs.", + "minItems": 1, + "items": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/networkDevices/networkInterfaces" + } + ] + } + } + } + } + }, + "Layer4Protocol": { + "type": "string", + "description": "Layer4 protocol type that needs to be matched.", + "enum": [ + "TCP", + "UDP", + "SCTP" + ], + "x-ms-enum": { + "name": "Layer4Protocol", + "modelAsString": true, + "values": [ + { + "name": "TCP", + "value": "TCP", + "description": "TCP(Transmission Control Protocol) Protocol" + }, + { + "name": "UDP", + "value": "UDP", + "description": "UDP(User Datagram Protocol) Protocol" + }, + { + "name": "SCTP", + "value": "SCTP", + "description": "SCTP(Streaming Control Transmission Protocol) Protocol" + } + ] + } + }, + "LockConfigurationState": { + "type": "string", + "description": "Lock Configuration State.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "LockConfigurationState", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "LockConfigurationState Enabled" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "LockConfigurationState Disabled" + } + ] + } + }, + "ManagedResourceGroupConfiguration": { + "type": "object", + "description": "Managed Resource Group configuration properties.", + "properties": { + "name": { + "type": "string", + "description": "The NFC service will be hosted in a Managed resource group." + }, + "location": { + "type": "string", + "description": "Managed resource group location.", + "x-ms-mutability": [ + "read", + "create" + ] + } + } + }, + "ManagedServiceIdentityPatch": { + "type": "object", + "description": "The managed service identities assigned to this resource.", + "properties": { + "type": { + "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentityType", + "description": "The type of managed identity assigned to this resource." + }, + "userAssignedIdentities": { + "type": "object", + "description": "The identities assigned to this resource by the user.", + "additionalProperties": { + "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/UserAssignedIdentity", + "x-nullable": true + } + } + } + }, + "ManagedServiceIdentitySelectorType": { + "type": "string", + "description": "The type of managed identity.", + "enum": [ + "SystemAssignedIdentity", + "UserAssignedIdentity" + ], + "x-ms-enum": { + "name": "ManagedServiceIdentitySelectorType", + "modelAsString": true, + "values": [ + { + "name": "SystemAssignedIdentity", + "value": "SystemAssignedIdentity", + "description": "System Assigned Identity." + }, + { + "name": "UserAssignedIdentity", + "value": "UserAssignedIdentity", + "description": "User Assigned Identity." + } + ] + } + }, + "ManagementNetworkConfigurationProperties": { + "type": "object", + "description": "Configuration to be used to setup the management network.", + "properties": { + "infrastructureVpnConfiguration": { + "$ref": "#/definitions/VpnConfigurationProperties", + "description": "VPN Configuration properties." + }, + "workloadVpnConfiguration": { + "$ref": "#/definitions/VpnConfigurationProperties", + "description": "VPN Configuration properties." + } + }, + "required": [ + "infrastructureVpnConfiguration", + "workloadVpnConfiguration" + ] + }, + "ManagementNetworkPatchConfiguration": { + "type": "object", + "description": "Configuration to be used to setup the management network.", + "properties": { + "infrastructureVpnConfiguration": { + "$ref": "#/definitions/VpnConfigurationPatchableProperties", + "description": "VPN Configuration properties." + }, + "workloadVpnConfiguration": { + "$ref": "#/definitions/VpnConfigurationPatchableProperties", + "description": "VPN Configuration properties." + } + } + }, + "MicroBfdState": { + "type": "string", + "description": "Micro Bidirectional Forwarding Detection (BFD) enabled/disabled state.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "MicroBfdState", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "MicroBfdState-Enabled" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "MicroBfdState-Disabled" + } + ] + } + }, + "NNIDerivedUniqueRouteDistinguisherConfigurationState": { + "type": "string", + "description": "NNI Derived Unique Route Distinguisher Configuration State.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "NNIDerivedUniqueRouteDistinguisherConfigurationState", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "NNI derived unique route distinguisher configuration state Enabled" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "NNI derived unique route distinguisher configuration state Disabled" + } + ] + } + }, + "NativeIpv4PrefixLimitPatchProperties": { + "type": "object", + "description": "External Network native IPv4 prefix limits patch properties", + "properties": { + "prefixLimits": { + "type": "array", + "description": "Prefix limits", + "minItems": 1, + "items": { + "$ref": "#/definitions/PrefixLimitPatchProperties" + }, + "x-ms-identifiers": [] + } + } + }, + "NativeIpv4PrefixLimitProperties": { + "type": "object", + "description": "External Network native IPv4 prefix limit properties", + "properties": { + "prefixLimits": { + "type": "array", + "description": "Prefix limits", + "minItems": 1, + "items": { + "$ref": "#/definitions/PrefixLimitProperties" + }, + "x-ms-identifiers": [] + } + } + }, + "NativeIpv6PrefixLimitPatchProperties": { + "type": "object", + "description": "External Network native IPv6 prefix limits patch properties", + "properties": { + "prefixLimits": { + "type": "array", + "description": "Prefix limits", + "minItems": 1, + "items": { + "$ref": "#/definitions/PrefixLimitPatchProperties" + }, + "x-ms-identifiers": [] + } + } + }, + "NativeIpv6PrefixLimitProperties": { + "type": "object", + "description": "External Network native IPv6 prefix limit properties", + "properties": { + "prefixLimits": { + "type": "array", + "description": "Prefix limits", + "minItems": 1, + "items": { + "$ref": "#/definitions/PrefixLimitProperties" + }, + "x-ms-identifiers": [] + } + } + }, + "NeighborAddress": { + "type": "object", + "description": "Neighbor Address properties.", + "properties": { + "address": { + "type": "string", + "description": "IP Address.", + "minLength": 1 + }, + "bfdAdministrativeState": { + "$ref": "#/definitions/BfdAdministrativeState", + "description": "BFD Administrative State for each Neighbor Address. Example: Enabled | Disabled.", + "readOnly": true + }, + "bgpAdministrativeState": { + "$ref": "#/definitions/BgpAdministrativeState", + "description": "BGP Administrative State for each Neighbor Address. Example: Enabled | Disabled.", + "readOnly": true + }, + "configurationState": { + "$ref": "#/definitions/ConfigurationState", + "description": "Configuration state of the resource.", + "readOnly": true + } + } + }, + "NeighborAddressBfdAdministrativeStatus": { + "type": "object", + "description": "Neighbor Address Bidirectional Forwarding Detection (BFD) Administrative Status", + "properties": { + "neighborAddress": { + "type": "string", + "description": "NeighborAddress - Input should be either All or Specific Ipv4 Address or Specific Ipv6 Address." + }, + "administrativeState": { + "$ref": "#/definitions/BfdAdministrativeState", + "description": "BFD Administrative state." + }, + "error": { + "type": "string", + "description": "Error message." + } + } + }, + "NeighborAddressBgpAdministrativeStatus": { + "type": "object", + "description": "Neighbor Address BGP Administrative Status", + "properties": { + "neighborAddress": { + "type": "string", + "description": "NeighborAddress - Input should be either All or Specific Ipv4 Address or Specific Ipv6 Address." + }, + "administrativeState": { + "$ref": "#/definitions/BgpAdministrativeState", + "description": "BGP Administrative state." + }, + "error": { + "type": "string", + "description": "Error message." + } + } + }, + "NeighborAddressPatch": { + "type": "object", + "description": "Neighbor Address properties.", + "properties": { + "address": { + "type": "string", + "description": "IP Address.", + "minLength": 1 + }, + "bfdAdministrativeState": { + "$ref": "#/definitions/BfdAdministrativeState", + "description": "BFD Administrative State for each Neighbor Address. Example: Enabled | Disabled.", + "readOnly": true + }, + "bgpAdministrativeState": { + "$ref": "#/definitions/BgpAdministrativeState", + "description": "BGP Administrative State for each Neighbor Address. Example: Enabled | Disabled.", + "readOnly": true + }, + "configurationState": { + "$ref": "#/definitions/ConfigurationState", + "description": "Configuration state of the resource.", + "readOnly": true + } + } + }, + "NeighborGroup": { + "type": "object", + "description": "Defines the Neighbor Group.", + "properties": { + "properties": { + "$ref": "#/definitions/NeighborGroupProperties", + "description": "The NeighborGroup Properties" + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "NeighborGroupDestination": { + "type": "object", + "description": "An array of destination IPv4 Addresses or IPv6 Addresses.", + "properties": { + "ipv4Addresses": { + "type": "array", + "description": "Array of IPv4 Addresses.", + "maxItems": 16, + "items": { + "type": "string" + } + }, + "ipv6Addresses": { + "type": "array", + "description": "Array of IPv6 Addresses.", + "maxItems": 16, + "items": { + "type": "string" + } + } + } + }, + "NeighborGroupDestinationPatch": { + "type": "object", + "description": "An array of destination IPv4 Addresses or IPv6 Addresses.", + "properties": { + "ipv4Addresses": { + "type": "array", + "description": "Array of IPv4 Addresses.", + "maxItems": 16, + "items": { + "type": "string" + } + }, + "ipv6Addresses": { + "type": "array", + "description": "Array of IPv6 Addresses.", + "maxItems": 16, + "items": { + "type": "string" + } + } + } + }, + "NeighborGroupListResult": { + "type": "object", + "description": "The response of a NeighborGroup list operation.", + "properties": { + "value": { + "type": "array", + "description": "The NeighborGroup items on this page", + "items": { + "$ref": "#/definitions/NeighborGroup" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "NeighborGroupPatch": { + "type": "object", + "description": "The Neighbor Group Patch definition.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/NeighborGroupPatchProperties", + "description": "Neighbor Group Patch properties." + } + } + }, + "NeighborGroupPatchProperties": { + "type": "object", + "description": "Neighbor Group Patch properties.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "destination": { + "$ref": "#/definitions/NeighborGroupDestinationPatch", + "description": "An array of destination IPv4 Addresses or IPv6 Addresses." + } + } + }, + "NeighborGroupProperties": { + "type": "object", + "description": "Neighbor Group Properties defines the properties of the resource.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "destination": { + "$ref": "#/definitions/NeighborGroupDestination", + "description": "An array of destination IPv4 Addresses or IPv6 Addresses." + }, + "networkTapIds": { + "type": "array", + "description": "List of NetworkTap IDs where neighbor group is associated.", + "items": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/networkTaps" + } + ] + } + }, + "readOnly": true + }, + "networkTapRuleIds": { + "type": "array", + "description": "List of Network Tap Rule IDs where neighbor group is associated.", + "items": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/networkTapRules" + } + ] + } + }, + "readOnly": true + }, + "lastOperation": { + "$ref": "#/definitions/LastOperationProperties", + "description": "Details of the last operation performed on the resource", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The provisioning state of the resource.", + "readOnly": true + } + }, + "required": [ + "destination" + ] + }, + "NetworkDevice": { + "type": "object", + "description": "The Network Device resource definition.", + "properties": { + "properties": { + "$ref": "#/definitions/NetworkDeviceProperties", + "description": "The NetworkDevice properties" + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "NetworkDeviceListResult": { + "type": "object", + "description": "The response of a NetworkDevice list operation.", + "properties": { + "value": { + "type": "array", + "description": "The NetworkDevice items on this page", + "items": { + "$ref": "#/definitions/NetworkDevice" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "NetworkDevicePatchParameters": { + "type": "object", + "description": "The Network Device Patch Parameters defines the patch parameters of the resource.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/NetworkDevicePatchParametersProperties", + "description": "Network Device Patch properties." + } + } + }, + "NetworkDevicePatchParametersProperties": { + "type": "object", + "description": "Network Device Patch properties.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "hostName": { + "type": "string", + "description": "The host name of the device.", + "minLength": 1 + }, + "serialNumber": { + "type": "string", + "description": "Serial number of the device. Format of serial Number - Make;Model;HardwareRevisionId;SerialNumber.", + "minLength": 1 + } + } + }, + "NetworkDeviceProperties": { + "type": "object", + "description": "Network Device Properties defines the properties of the resource.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "hostName": { + "type": "string", + "description": "The host name of the device.", + "minLength": 1 + }, + "serialNumber": { + "type": "string", + "description": "Serial number of the device. Format of serial Number - Make;Model;HardwareRevisionId;SerialNumber.", + "minLength": 1 + }, + "version": { + "type": "string", + "description": "Current version of the device as defined in SKU.", + "readOnly": true + }, + "networkDeviceSku": { + "type": "string", + "description": "Network Device SKU name.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "networkDeviceRole": { + "$ref": "#/definitions/NetworkDeviceRole", + "description": "NetworkDeviceRole is the device role: Example: CE | ToR.", + "readOnly": true + }, + "networkRackId": { + "type": "string", + "description": "Reference to network rack resource id.", + "readOnly": true + }, + "managementIpv4Address": { + "type": "string", + "description": "Management IPv4 Address.", + "readOnly": true + }, + "managementIpv6Address": { + "type": "string", + "description": "Management IPv6 Address.", + "readOnly": true + }, + "rwDeviceConfig": { + "type": "string", + "description": "User configured read-write configuration applied on the network devices.", + "readOnly": true + }, + "lastOperation": { + "$ref": "#/definitions/LastOperationProperties", + "description": "Details of the last operation performed on the resource", + "readOnly": true + }, + "configurationState": { + "$ref": "#/definitions/ConfigurationState", + "description": "Configuration state of the resource.", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning state of the resource.", + "readOnly": true + }, + "administrativeState": { + "$ref": "#/definitions/AdministrativeState", + "description": "Administrative state of the resource.", + "readOnly": true + } + }, + "required": [ + "serialNumber" + ] + }, + "NetworkDeviceRole": { + "type": "string", + "description": "NetworkDeviceRole is the device role: Example: CE | ToR.", + "enum": [ + "CE", + "ToR", + "NPB", + "TS", + "Management" + ], + "x-ms-enum": { + "name": "NetworkDeviceRole", + "modelAsString": true, + "values": [ + { + "name": "CE", + "value": "CE", + "description": "NetworkDeviceRole-CE(Customer Edge)" + }, + { + "name": "ToR", + "value": "ToR", + "description": "NetworkDeviceRole-ToR(top of rack)" + }, + { + "name": "NPB", + "value": "NPB", + "description": "NetworkDeviceRole-NPB(Network Packet Broker)" + }, + { + "name": "TS", + "value": "TS", + "description": "NetworkDeviceRole-TS(Terminal Server)" + }, + { + "name": "Management", + "value": "Management", + "description": "NetworkDeviceRole-Management" + } + ] + } + }, + "NetworkDeviceRoleName": { + "type": "string", + "description": "Available roles for the network device.", + "enum": [ + "CE", + "ToR", + "NPB", + "TS", + "Management" + ], + "x-ms-enum": { + "name": "NetworkDeviceRoleName", + "modelAsString": true, + "values": [ + { + "name": "CE", + "value": "CE", + "description": "NetworkDeviceRoleName-CE(Customer Edge)" + }, + { + "name": "ToR", + "value": "ToR", + "description": "NetworkDeviceRoleName-ToR(top of rack)" + }, + { + "name": "NPB", + "value": "NPB", + "description": "NetworkDeviceRoleName-NPB(Network Packet Broker)" + }, + { + "name": "TS", + "value": "TS", + "description": "NetworkDeviceRoleName-TS(Terminal Server)" + }, + { + "name": "Management", + "value": "Management", + "description": "NetworkDeviceRoleName-Management" + } + ] + } + }, + "NetworkDeviceSku": { + "type": "object", + "description": "The NetworkDeviceSku resource definition.", + "properties": { + "properties": { + "$ref": "#/definitions/NetworkDeviceSkuProperties", + "description": "The NetworkDeviceSku properties" + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "NetworkDeviceSkuListResult": { + "type": "object", + "description": "The response of a NetworkDeviceSku list operation.", + "properties": { + "value": { + "type": "array", + "description": "The NetworkDeviceSku items on this page", + "items": { + "$ref": "#/definitions/NetworkDeviceSku" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "NetworkDeviceSkuProperties": { + "type": "object", + "description": "Network Device SKU Properties defines the properties of the resource.", + "properties": { + "model": { + "type": "string", + "description": "Model of the network device." + }, + "manufacturer": { + "type": "string", + "description": "Manufacturer of the network device." + }, + "supportedVersions": { + "type": "array", + "description": "List of supported version details of network device.", + "items": { + "$ref": "#/definitions/SupportedVersionProperties" + }, + "x-ms-identifiers": [ + "version" + ] + }, + "supportedRoleTypes": { + "type": "array", + "description": "Available roles for the network device.", + "items": { + "$ref": "#/definitions/NetworkDeviceRoleName" + } + }, + "interfaces": { + "type": "array", + "description": "List of network device interfaces.", + "items": { + "$ref": "#/definitions/DeviceInterfaceProperties" + }, + "x-ms-identifiers": [ + "identifier" + ] + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning state of the resource.", + "readOnly": true + } + }, + "required": [ + "model" + ] + }, + "NetworkFabric": { + "type": "object", + "description": "The Network Fabric resource definition.", + "properties": { + "properties": { + "$ref": "#/definitions/NetworkFabricProperties", + "description": "The NetworkFabric Properties" + }, + "identity": { + "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "The managed service identities assigned to this resource." + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "NetworkFabricController": { + "type": "object", + "description": "The Network Fabric Controller resource definition.", + "properties": { + "properties": { + "$ref": "#/definitions/NetworkFabricControllerProperties", + "description": "The NetworkFabricController Properties" + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "NetworkFabricControllerListResult": { + "type": "object", + "description": "The response of a NetworkFabricController list operation.", + "properties": { + "value": { + "type": "array", + "description": "The NetworkFabricController items on this page", + "items": { + "$ref": "#/definitions/NetworkFabricController" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "NetworkFabricControllerPatch": { + "type": "object", + "description": "The Network Fabric Controller Patch payload definition.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/NetworkFabricControllerPatchProperties", + "description": "Network Fabric Controller patch properties." + } + } + }, + "NetworkFabricControllerPatchProperties": { + "type": "object", + "description": "Network Fabric Controller patch properties.", + "properties": { + "infrastructureExpressRouteConnections": { + "type": "array", + "description": "As part of an update, the Infrastructure ExpressRoute CircuitID should be provided to create and Provision a NFC. This Express route is dedicated for Infrastructure services. (This is a Mandatory attribute)", + "items": { + "$ref": "#/definitions/ExpressRouteConnectionInformation" + }, + "x-ms-identifiers": [ + "expressRouteCircuitId" + ] + }, + "workloadExpressRouteConnections": { + "type": "array", + "description": "As part of an update, the workload ExpressRoute CircuitID should be provided to create and Provision a NFC. This Express route is dedicated for Workload services. (This is a Mandatory attribute).", + "items": { + "$ref": "#/definitions/ExpressRouteConnectionInformation" + }, + "x-ms-identifiers": [ + "expressRouteCircuitId" + ] + } + } + }, + "NetworkFabricControllerProperties": { + "type": "object", + "description": "NetworkFabricControllerProperties defines the resource properties.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "infrastructureExpressRouteConnections": { + "type": "array", + "description": "As part of an update, the Infrastructure ExpressRoute CircuitID should be provided to create and Provision a NFC. This Express route is dedicated for Infrastructure services. (This is a Mandatory attribute)", + "items": { + "$ref": "#/definitions/ExpressRouteConnectionInformation" + }, + "x-ms-identifiers": [ + "expressRouteCircuitId" + ] + }, + "workloadExpressRouteConnections": { + "type": "array", + "description": "As part of an update, the workload ExpressRoute CircuitID should be provided to create and Provision a NFC. This Express route is dedicated for Workload services. (This is a Mandatory attribute).", + "items": { + "$ref": "#/definitions/ExpressRouteConnectionInformation" + }, + "x-ms-identifiers": [ + "expressRouteCircuitId" + ] + }, + "infrastructureServices": { + "$ref": "#/definitions/ControllerServices", + "description": "InfrastructureServices IP ranges.", + "readOnly": true + }, + "workloadServices": { + "$ref": "#/definitions/ControllerServices", + "description": "WorkloadServices IP ranges.", + "readOnly": true + }, + "managedResourceGroupConfiguration": { + "$ref": "#/definitions/ManagedResourceGroupConfiguration", + "description": "Managed Resource Group configuration properties." + }, + "networkFabricIds": { + "type": "array", + "description": "The NF-ID will be an input parameter used by the NF to link and get associated with the parent NFC Service.", + "items": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/networkFabrics" + } + ] + } + }, + "readOnly": true + }, + "isWorkloadManagementNetworkEnabled": { + "type": "string", + "description": "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.", + "default": "True", + "enum": [ + "True", + "False" + ], + "x-ms-enum": { + "name": "IsWorkloadManagementNetworkEnabled", + "modelAsString": true, + "values": [ + { + "name": "True", + "value": "True", + "description": "IsWorkloadManagementNetworkEnabled-True" + }, + { + "name": "False", + "value": "False", + "description": "IsWorkloadManagementNetworkEnabled-False" + } + ] + } + }, + "tenantInternetGatewayIds": { + "type": "array", + "description": "List of tenant InternetGateway resource IDs", + "items": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/internetGateways" + } + ] + } + }, + "readOnly": true + }, + "ipv4AddressSpace": { + "type": "string", + "description": "IPv4 Network Fabric Controller Address Space.", + "default": "10.0.0.0/19", + "minLength": 1 + }, + "ipv6AddressSpace": { + "type": "string", + "description": "IPv6 Network Fabric Controller Address Space.", + "default": "FC00::/59", + "minLength": 1 + }, + "nfcSku": { + "type": "string", + "description": "Network Fabric Controller SKU.", + "default": "Standard", + "enum": [ + "Basic", + "Standard", + "HighPerformance" + ], + "x-ms-enum": { + "name": "NfcSku", + "modelAsString": true, + "values": [ + { + "name": "Basic", + "value": "Basic", + "description": "NfcSku-Basic" + }, + { + "name": "Standard", + "value": "Standard", + "description": "NfcSku-Standard" + }, + { + "name": "HighPerformance", + "value": "HighPerformance", + "description": "NfcSku-HighPerformance" + } + ] + } + }, + "lastOperation": { + "$ref": "#/definitions/LastOperationProperties", + "description": "Details of the last operation performed on the resource", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "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.", + "readOnly": true + } + } + }, + "NetworkFabricListResult": { + "type": "object", + "description": "The response of a NetworkFabric list operation.", + "properties": { + "value": { + "type": "array", + "description": "The NetworkFabric items on this page", + "items": { + "$ref": "#/definitions/NetworkFabric" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "NetworkFabricLockAction": { + "type": "string", + "description": "Network fabric lock action", + "enum": [ + "Lock", + "Unlock" + ], + "x-ms-enum": { + "name": "NetworkFabricLockAction", + "modelAsString": true, + "values": [ + { + "name": "Lock", + "value": "Lock", + "description": "Perform lock operation" + }, + { + "name": "Unlock", + "value": "Unlock", + "description": "Perform unlock operation" + } + ] + } + }, + "NetworkFabricLockRequest": { + "type": "object", + "description": "Network Fabric Lock Request.", + "properties": { + "lockType": { + "$ref": "#/definitions/NetworkFabricLockType", + "description": "Type of lock to be applied" + }, + "action": { + "$ref": "#/definitions/NetworkFabricLockAction", + "description": "Action to be performed on the lock" + } + } + }, + "NetworkFabricLockType": { + "type": "string", + "description": "Network fabric lock type", + "enum": [ + "Administrative", + "Configuration" + ], + "x-ms-enum": { + "name": "NetworkFabricLockType", + "modelAsString": true, + "values": [ + { + "name": "Administrative", + "value": "Administrative", + "description": "A administrative lock/unlock operation will be performed" + }, + { + "name": "Configuration", + "value": "Configuration", + "description": "A lock/unlock operation will be performed on the configuration" + } + ] + } + }, + "NetworkFabricPatch": { + "type": "object", + "description": "The Network Fabric resource definition.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/NetworkFabricPatchProperties", + "description": "Network Fabric Patch properties." + }, + "identity": { + "$ref": "#/definitions/ManagedServiceIdentityPatch", + "description": "The managed service identities assigned to this resource." + } + } + }, + "NetworkFabricPatchProperties": { + "type": "object", + "description": "Network Fabric Patch properties.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "rackCount": { + "type": "integer", + "format": "int32", + "description": "Number of compute racks associated to Network Fabric.", + "minimum": 1, + "maximum": 8 + }, + "serverCountPerRack": { + "type": "integer", + "format": "int32", + "description": "Number of servers.Possible values are from 1-16.", + "minimum": 1, + "maximum": 16 + }, + "ipv4Prefix": { + "type": "string", + "description": "IPv4Prefix for Management Network. Example: 10.1.0.0/19.", + "minLength": 1 + }, + "ipv6Prefix": { + "type": "string", + "description": "IPv6Prefix for Management Network. Example: 3FFE:FFFF:0:CD40::/59.", + "minLength": 1 + }, + "fabricASN": { + "type": "integer", + "format": "int64", + "description": "ASN of CE devices for CE/PE connectivity.", + "minimum": 1, + "maximum": 4294967295 + }, + "storageAccountConfiguration": { + "$ref": "#/definitions/StorageAccountPatchConfiguration", + "description": "Bring your own storage account configurations for Network Fabric." + }, + "terminalServerConfiguration": { + "$ref": "#/definitions/TerminalServerPatchConfiguration", + "description": "Network and credentials configuration already applied to terminal server." + }, + "managementNetworkConfiguration": { + "$ref": "#/definitions/ManagementNetworkPatchConfiguration", + "description": "Configuration to be used to setup the management network." + }, + "hardwareAlertThreshold": { + "type": "integer", + "format": "int32", + "description": "Hardware alert threshold percentage. Possible values are from 20 to 100.", + "minimum": 20, + "maximum": 100 + }, + "controlPlaneAcls": { + "type": "array", + "description": "Control Plane Access Control List ARM resource IDs.", + "items": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/accessControlLists" + } + ] + } + } + }, + "trustedIpPrefixes": { + "type": "array", + "description": "Trusted IP Prefix ARM resource IDs.", + "items": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/ipPrefixes" + } + ] + } + } + }, + "uniqueRdConfiguration": { + "$ref": "#/definitions/UniqueRouteDistinguisherPatchProperties", + "description": "Unique Route Distinguisher configuration" + } + } + }, + "NetworkFabricProperties": { + "type": "object", + "description": "Network Fabric Properties defines the properties of the resource.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "networkFabricSku": { + "type": "string", + "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.", + "minLength": 1, + "x-ms-mutability": [ + "read", + "create" + ] + }, + "fabricVersion": { + "type": "string", + "description": "The version of Network Fabric.", + "minLength": 1 + }, + "routerIds": { + "type": "array", + "description": "Array of router IDs.", + "items": { + "type": "string" + }, + "readOnly": true + }, + "storageAccountConfiguration": { + "$ref": "#/definitions/StorageAccountConfiguration", + "description": "Bring your own storage account configurations for Network Fabric." + }, + "fabricLocks": { + "type": "array", + "description": "Network Fabric Lock details", + "minItems": 1, + "items": { + "$ref": "#/definitions/FabricLockProperties" + }, + "readOnly": true, + "x-ms-identifiers": [] + }, + "networkFabricControllerId": { + "type": "string", + "format": "arm-id", + "description": "Azure resource ID for the NetworkFabricController the NetworkFabric belongs.", + "x-ms-mutability": [ + "read", + "create" + ], + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/networkFabricControllers" + } + ] + } + }, + "rackCount": { + "type": "integer", + "format": "int32", + "description": "Number of compute racks associated to Network Fabric.", + "minimum": 1, + "maximum": 8 + }, + "serverCountPerRack": { + "type": "integer", + "format": "int32", + "description": "Number of servers.Possible values are from 1-16.", + "minimum": 1, + "maximum": 16 + }, + "ipv4Prefix": { + "type": "string", + "description": "IPv4Prefix for Management Network. Example: 10.1.0.0/19.", + "minLength": 1 + }, + "ipv6Prefix": { + "type": "string", + "description": "IPv6Prefix for Management Network. Example: 3FFE:FFFF:0:CD40::/59", + "minLength": 1 + }, + "fabricASN": { + "type": "integer", + "format": "int64", + "description": "ASN of CE devices for CE/PE connectivity.", + "minimum": 1, + "maximum": 4294967295 + }, + "terminalServerConfiguration": { + "$ref": "#/definitions/TerminalServerConfiguration", + "description": "Network and credentials configuration currently applied to terminal server." + }, + "managementNetworkConfiguration": { + "$ref": "#/definitions/ManagementNetworkConfigurationProperties", + "description": "Configuration to be used to setup the management network." + }, + "racks": { + "type": "array", + "description": "List of NetworkRack resource IDs under the Network Fabric. The number of racks allowed depends on the Network Fabric SKU.", + "items": { + "type": "string" + }, + "readOnly": true + }, + "l2IsolationDomains": { + "type": "array", + "description": "List of L2 Isolation Domain resource IDs under the Network Fabric.", + "items": { + "type": "string" + }, + "readOnly": true + }, + "l3IsolationDomains": { + "type": "array", + "description": "List of L3 Isolation Domain resource IDs under the Network Fabric.", + "items": { + "type": "string" + }, + "readOnly": true + }, + "hardwareAlertThreshold": { + "type": "integer", + "format": "int32", + "description": "Hardware alert threshold percentage. Possible values are from 20 to 100.", + "minimum": 20, + "maximum": 100 + }, + "controlPlaneAcls": { + "type": "array", + "description": "Control Plane Access Control List ARM resource IDs.", + "items": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/accessControlLists" + } + ] + } + } + }, + "featureFlags": { + "type": "array", + "description": "Feature flag status information", + "items": { + "$ref": "#/definitions/FeatureFlagProperties" + }, + "readOnly": true, + "x-ms-identifiers": [] + }, + "trustedIpPrefixes": { + "type": "array", + "description": "Trusted IP Prefixes ARM resource IDs.", + "items": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/ipPrefixes" + } + ] + } + } + }, + "uniqueRdConfiguration": { + "$ref": "#/definitions/UniqueRouteDistinguisherProperties", + "description": "Unique Route Distinguisher configuration" + }, + "storageArrayCount": { + "type": "integer", + "format": "int32", + "description": "Number of Storage arrays associated with the Network Fabric.", + "minimum": 1, + "maximum": 2 + }, + "activeCommitBatches": { + "type": "array", + "description": "Active commit batch identifiers", + "items": { + "type": "string" + }, + "readOnly": true + }, + "lastOperation": { + "$ref": "#/definitions/LastOperationProperties", + "description": "Details of the last operation performed on the resource", + "readOnly": true + }, + "configurationState": { + "$ref": "#/definitions/ConfigurationState", + "description": "Configuration state of the resource.", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "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.", + "readOnly": true + }, + "administrativeState": { + "$ref": "#/definitions/AdministrativeState", + "description": "Administrative state of the resource.", + "readOnly": true + } + }, + "required": [ + "networkFabricSku", + "networkFabricControllerId", + "serverCountPerRack", + "ipv4Prefix", + "fabricASN", + "terminalServerConfiguration", + "managementNetworkConfiguration" + ] + }, + "NetworkFabricSku": { + "type": "object", + "description": "The Network Fabric SKU resource definition.", + "properties": { + "properties": { + "$ref": "#/definitions/NetworkFabricSkuProperties", + "description": "The Network Fabric Sku properties" + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "NetworkFabricSkuListResult": { + "type": "object", + "description": "The response of a NetworkFabricSku list operation.", + "properties": { + "value": { + "type": "array", + "description": "The NetworkFabricSku items on this page", + "items": { + "$ref": "#/definitions/NetworkFabricSku" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "NetworkFabricSkuProperties": { + "type": "object", + "description": "Network Fabric SKU Properties define properties of the resource.", + "properties": { + "type": { + "$ref": "#/definitions/FabricSkuType", + "description": "Type of Network Fabric SKU.", + "readOnly": true + }, + "maxComputeRacks": { + "type": "integer", + "format": "int32", + "description": "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." + }, + "maximumServerCount": { + "type": "integer", + "format": "int32", + "description": "Maximum number of servers available for this Network Fabric SKU." + }, + "supportedVersions": { + "type": "array", + "description": "List of supported Network Fabric SKU versions.", + "items": { + "type": "string" + }, + "readOnly": true + }, + "details": { + "type": "string", + "description": "URL providing detailed configuration of the fabric SKU.", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning state of the resource.", + "readOnly": true + } + } + }, + "NetworkFabricUpgradeAction": { + "type": "string", + "description": "Action to be performed while upgrading the fabric.", + "enum": [ + "Start", + "Complete" + ], + "x-ms-enum": { + "name": "NetworkFabricUpgradeAction", + "modelAsString": true, + "values": [ + { + "name": "Start", + "value": "Start", + "description": "UpgradeAction-Start" + }, + { + "name": "Complete", + "value": "Complete", + "description": "UpgradeAction -Complete" + } + ] + } + }, + "NetworkInterface": { + "type": "object", + "description": "Defines the NetworkInterface resource.", + "properties": { + "properties": { + "$ref": "#/definitions/NetworkInterfaceProperties", + "description": "The NetworkInterface properties" + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "NetworkInterfaceListResult": { + "type": "object", + "description": "The response of a NetworkInterface list operation.", + "properties": { + "value": { + "type": "array", + "description": "The NetworkInterface items on this page", + "items": { + "$ref": "#/definitions/NetworkInterface" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "NetworkInterfacePatch": { + "type": "object", + "description": "The NetworkInterfacePatch resource definition.", + "properties": { + "properties": { + "$ref": "#/definitions/NetworkInterfacePatchProperties", + "description": "Network Interface Patch properties." + } + } + }, + "NetworkInterfacePatchProperties": { + "type": "object", + "description": "Network Interface Patch properties.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "description": { + "type": "string", + "description": "Description of the interface." + }, + "additionalDescription": { + "type": "string", + "description": "Additional description of the interface." + } + } + }, + "NetworkInterfaceProperties": { + "type": "object", + "description": "Network Interface Properties defines the properties of the resource.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "physicalIdentifier": { + "type": "string", + "description": "Physical Identifier of the network interface.", + "readOnly": true + }, + "connectedTo": { + "type": "string", + "description": "The ARM resource id of the interface or compute server its connected to.", + "readOnly": true + }, + "interfaceType": { + "$ref": "#/definitions/InterfaceType", + "description": "The Interface Type. Example: Management/Data", + "readOnly": true + }, + "ipv4Address": { + "type": "string", + "description": "IPv4Address of the interface.", + "readOnly": true + }, + "ipv6Address": { + "type": "string", + "description": "IPv6Address of the interface.", + "readOnly": true + }, + "description": { + "type": "string", + "description": "Description of the interface." + }, + "additionalDescription": { + "type": "string", + "description": "Additional description of the interface." + }, + "lastOperation": { + "$ref": "#/definitions/LastOperationProperties", + "description": "Details of the last operation performed on the resource", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning state of the resource.", + "readOnly": true + }, + "administrativeState": { + "$ref": "#/definitions/AdministrativeState", + "description": "Administrative state of the resource.", + "readOnly": true + } + } + }, + "NetworkMonitor": { + "type": "object", + "description": "The NetworkMonitor resource definition.", + "properties": { + "properties": { + "$ref": "#/definitions/NetworkMonitorProperties", + "description": "The NetworkFabric Properties" + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "NetworkMonitorListResult": { + "type": "object", + "description": "The response of a NetworkMonitor list operation.", + "properties": { + "value": { + "type": "array", + "description": "The NetworkMonitor items on this page", + "items": { + "$ref": "#/definitions/NetworkMonitor" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "NetworkMonitorPatch": { + "type": "object", + "description": "The Network Monitor Patch resource definition.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/NetworkMonitorPatchProperties", + "description": "Network Monitor Patch properties." + } + } + }, + "NetworkMonitorPatchProperties": { + "type": "object", + "description": "The Network Monitor Patch Properties.", + "properties": { + "bmpConfiguration": { + "$ref": "#/definitions/BmpConfigurationPatchProperties", + "description": "BGP Monitoring Protocol (BMP) Configurations for the Network Monitor." + } + } + }, + "NetworkMonitorProperties": { + "type": "object", + "description": "Network Monitor Properties defines the properties of the resource.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "bmpConfiguration": { + "$ref": "#/definitions/BmpConfigurationProperties", + "description": "BMP Configurations for the Network Fabric." + }, + "lastOperation": { + "$ref": "#/definitions/LastOperationProperties", + "description": "Details of the last operation performed on the resource", + "readOnly": true + }, + "configurationState": { + "$ref": "#/definitions/ConfigurationState", + "description": "Configuration state of the resource.", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provides you the latest status of the NetworkMonitor resource", + "readOnly": true + }, + "administrativeState": { + "$ref": "#/definitions/AdministrativeState", + "description": "Administrative state of the resource.", + "readOnly": true + } + } + }, + "NetworkPacketBroker": { + "type": "object", + "description": "The NetworkPacketBroker resource definition.", + "properties": { + "properties": { + "$ref": "#/definitions/NetworkPacketBrokerProperties", + "description": "The NetworkPacketBroker properties" + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "NetworkPacketBrokerListResult": { + "type": "object", + "description": "The response of a NetworkPacketBroker list operation.", + "properties": { + "value": { + "type": "array", + "description": "The NetworkPacketBroker items on this page", + "items": { + "$ref": "#/definitions/NetworkPacketBroker" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "NetworkPacketBrokerPatch": { + "type": "object", + "description": "The NetworkPacketBroker patch resource definition.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, + "NetworkPacketBrokerProperties": { + "type": "object", + "description": "Network Packet Broker Properties defines the properties of the resource.", + "properties": { + "networkFabricId": { + "type": "string", + "format": "arm-id", + "description": "ARM resource ID of the Network Fabric.", + "x-ms-mutability": [ + "read", + "create" + ], + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/networkFabrics" + } + ] + } + }, + "networkDeviceIds": { + "type": "array", + "description": "List of ARM resource IDs of Network Devices [NPB].", + "items": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/networkDevices" + } + ] + } + }, + "readOnly": true + }, + "sourceInterfaceIds": { + "type": "array", + "description": "List of network interfaces across NPB devices that are used to mirror source traffic.", + "items": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/networkDevices/networkInterfaces" + } + ] + } + }, + "readOnly": true + }, + "networkTapIds": { + "type": "array", + "description": "List of network Tap IDs configured on NPB.", + "items": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/networkTaps" + } + ] + } + }, + "readOnly": true + }, + "neighborGroupIds": { + "type": "array", + "description": "List of neighbor group IDs configured on NPB.", + "items": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/networkTaps" + } + ] + } + }, + "readOnly": true + }, + "lastOperation": { + "$ref": "#/definitions/LastOperationProperties", + "description": "Details of the last operation performed on the resource", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning state of the resource.", + "readOnly": true + } + }, + "required": [ + "networkFabricId" + ] + }, + "NetworkRack": { + "type": "object", + "description": "The Network Rack resource definition.", + "properties": { + "properties": { + "$ref": "#/definitions/NetworkRackProperties", + "description": "The NetworkRack properties" + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "NetworkRackListResult": { + "type": "object", + "description": "The response of a NetworkRack list operation.", + "properties": { + "value": { + "type": "array", + "description": "The NetworkRack items on this page", + "items": { + "$ref": "#/definitions/NetworkRack" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "NetworkRackPatch": { + "type": "object", + "description": "Network Rack patch resource definition.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, + "NetworkRackProperties": { + "type": "object", + "description": "Network Rack Properties defines the properties of the resource.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "networkRackType": { + "$ref": "#/definitions/NetworkRackType", + "description": "Network Rack SKU name." + }, + "networkFabricId": { + "type": "string", + "format": "arm-id", + "description": "ARM resource ID of the Network Fabric.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/networkFabrics" + } + ] + } + }, + "networkDevices": { + "type": "array", + "description": "List of network device ARM resource IDs.", + "items": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/networkDevices" + } + ] + } + }, + "readOnly": true + }, + "lastOperation": { + "$ref": "#/definitions/LastOperationProperties", + "description": "Details of the last operation performed on the resource", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning state of the resource.", + "readOnly": true + } + }, + "required": [ + "networkFabricId" + ] + }, + "NetworkRackType": { + "type": "string", + "description": "Network Rack SKU name.", + "enum": [ + "Aggregate", + "Compute", + "Combined" + ], + "x-ms-enum": { + "name": "NetworkRackType", + "modelAsString": true, + "values": [ + { + "name": "Aggregate", + "value": "Aggregate", + "description": "NetworkRackType-Aggregate" + }, + { + "name": "Compute", + "value": "Compute", + "description": "NetworkRackType-Compute" + }, + { + "name": "Combined", + "value": "Combined", + "description": "NetworkRackType-Combined" + } + ] + } + }, + "NetworkTap": { + "type": "object", + "description": "The Network Tap resource definition.", + "properties": { + "properties": { + "$ref": "#/definitions/NetworkTapProperties", + "description": "The NetworkTap Properties" + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "NetworkTapListResult": { + "type": "object", + "description": "The response of a NetworkTap list operation.", + "properties": { + "value": { + "type": "array", + "description": "The NetworkTap items on this page", + "items": { + "$ref": "#/definitions/NetworkTap" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "NetworkTapPatch": { + "type": "object", + "description": "The NetworkFabric resource definition.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/NetworkTapPatchProperties", + "description": "Resource properties." + } + } + }, + "NetworkTapPatchProperties": { + "type": "object", + "description": "The Network Tap resource patch definition.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "pollingType": { + "$ref": "#/definitions/PollingType", + "description": "Polling type." + }, + "destinations": { + "type": "array", + "description": "List of destination properties to send the filter traffic.", + "items": { + "$ref": "#/definitions/DestinationPatchProperties" + }, + "x-ms-identifiers": [] + } + } + }, + "NetworkTapProperties": { + "type": "object", + "description": "Network Tap Properties defines the properties of the resource.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "networkPacketBrokerId": { + "type": "string", + "format": "arm-id", + "description": "ARM resource ID of the Network Packet Broker.", + "x-ms-mutability": [ + "read", + "create" + ], + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/networkFabrics" + } + ] + } + }, + "sourceTapRuleId": { + "type": "string", + "format": "arm-id", + "description": "Source Tap Rule Id. ARM Resource ID of the Network Tap Rule.", + "readOnly": true, + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/networkTapRules" + } + ] + } + }, + "destinations": { + "type": "array", + "description": "List of destinations to send the filter traffic.", + "items": { + "$ref": "#/definitions/DestinationProperties" + }, + "x-ms-identifiers": [] + }, + "pollingType": { + "type": "string", + "description": "Polling type.", + "default": "Pull", + "enum": [ + "Pull", + "Push" + ], + "x-ms-enum": { + "name": "PollingType", + "modelAsString": true, + "values": [ + { + "name": "Pull", + "value": "Pull", + "description": "PollingType-Pull" + }, + { + "name": "Push", + "value": "Push", + "description": "PollingType-Push" + } + ] + } + }, + "lastOperation": { + "$ref": "#/definitions/LastOperationProperties", + "description": "Details of the last operation performed on the resource", + "readOnly": true + }, + "configurationState": { + "$ref": "#/definitions/ConfigurationState", + "description": "Gets the configurations state of the resource.", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "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.", + "readOnly": true + }, + "administrativeState": { + "$ref": "#/definitions/AdministrativeState", + "description": "Administrative state of the resource. Example -Enabled/Disabled", + "readOnly": true + } + }, + "required": [ + "networkPacketBrokerId", + "destinations" + ] + }, + "NetworkTapRule": { + "type": "object", + "description": "The NetworkTapRule resource definition.", + "properties": { + "properties": { + "$ref": "#/definitions/NetworkTapRuleProperties", + "description": "The NetworkTapRule Properties" + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "NetworkTapRuleAction": { + "type": "object", + "description": "Action that need to performed.", + "properties": { + "type": { + "$ref": "#/definitions/TapRuleActionType", + "description": "Type of actions that can be performed." + }, + "truncate": { + "type": "string", + "description": "Truncate. 0 indicates do not truncate.", + "minLength": 1 + }, + "isTimestampEnabled": { + "$ref": "#/definitions/BooleanEnumProperty", + "description": "The parameter to enable or disable the timestamp." + }, + "destinationId": { + "type": "string", + "format": "arm-id", + "description": "Destination Id. The ARM resource Id may be either Network To Network Interconnect or NeighborGroup.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/neighborGroups" + }, + { + "type": "Microsoft.ManagedNetworkFabric/networkFabrics/networkToNetworkInterconnects" + } + ] + } + }, + "matchConfigurationName": { + "type": "string", + "description": "The name of the match configuration. This is used when Goto type is provided.", + "minLength": 1 + } + } + }, + "NetworkTapRuleActionPatch": { + "type": "object", + "description": "Action that need to performed.", + "properties": { + "type": { + "$ref": "#/definitions/TapRuleActionType", + "description": "Type of actions that can be performed." + }, + "truncate": { + "type": "string", + "description": "Truncate. 0 indicates do not truncate.", + "minLength": 1 + }, + "isTimestampEnabled": { + "$ref": "#/definitions/BooleanEnumProperty", + "description": "The parameter to enable or disable the timestamp." + }, + "destinationId": { + "type": "string", + "format": "arm-id", + "description": "Destination Id. The ARM resource Id may be either Network To Network Interconnect or NeighborGroup.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/neighborGroups" + }, + { + "type": "Microsoft.ManagedNetworkFabric/networkFabrics/networkToNetworkInterconnects" + } + ] + } + }, + "matchConfigurationName": { + "type": "string", + "description": "The name of the match configuration. This is used when Goto type is provided.", + "minLength": 1 + } + } + }, + "NetworkTapRuleListResult": { + "type": "object", + "description": "The response of a NetworkTapRule list operation.", + "properties": { + "value": { + "type": "array", + "description": "The NetworkTapRule items on this page", + "items": { + "$ref": "#/definitions/NetworkTapRule" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "NetworkTapRuleMatchCondition": { + "type": "object", + "description": "Defines the match condition that is supported to filter the traffic.", + "properties": { + "protocolTypes": { + "type": "array", + "description": "List of the protocols that need to be matched.", + "minItems": 1, + "items": { + "type": "string" + } + }, + "vlanMatchCondition": { + "$ref": "#/definitions/VlanMatchCondition", + "description": "Vlan match condition that needs to be matched." + }, + "ipCondition": { + "$ref": "#/definitions/IpMatchCondition", + "description": "IP condition that needs to be matched." + }, + "encapsulationType": { + "type": "string", + "description": "Encapsulation Type that needs to be matched.", + "default": "None", + "enum": [ + "None", + "GTPv1" + ], + "x-ms-enum": { + "name": "EncapsulationType", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None", + "description": "None EncapsulationType" + }, + { + "name": "GTPv1", + "value": "GTPv1", + "description": "GTPv1 EncapsulationType" + } + ] + } + }, + "portCondition": { + "$ref": "#/definitions/PortCondition", + "description": "Defines the port condition that needs to be matched." + } + } + }, + "NetworkTapRuleMatchConditionPatch": { + "type": "object", + "description": "Defines the match condition that is supported to filter the traffic.", + "properties": { + "protocolTypes": { + "type": "array", + "description": "List of the protocols that need to be matched.", + "minItems": 1, + "items": { + "type": "string" + } + }, + "vlanMatchCondition": { + "$ref": "#/definitions/VlanMatchConditionPatch", + "description": "Vlan match condition that needs to be matched." + }, + "ipCondition": { + "$ref": "#/definitions/IpMatchConditionPatch", + "description": "IP condition that needs to be matched." + }, + "encapsulationType": { + "$ref": "#/definitions/EncapsulationType", + "description": "Encapsulation Type that needs to be matched." + }, + "portCondition": { + "$ref": "#/definitions/PortConditionPatch", + "description": "Defines the port condition that needs to be matched." + } + } + }, + "NetworkTapRuleMatchConfiguration": { + "type": "object", + "description": "Defines the match configuration that are supported to filter the traffic.", + "properties": { + "matchConfigurationName": { + "type": "string", + "description": "The name of the match configuration.", + "minLength": 1 + }, + "sequenceNumber": { + "type": "integer", + "format": "int64", + "description": "Sequence Number of the match configuration..", + "minimum": 1, + "maximum": 4294967295 + }, + "ipAddressType": { + "$ref": "#/definitions/IPAddressType", + "description": "Type of IP Address. IPv4 or IPv6" + }, + "matchConditions": { + "type": "array", + "description": "List of the match conditions.", + "items": { + "$ref": "#/definitions/NetworkTapRuleMatchCondition" + }, + "x-ms-identifiers": [] + }, + "actions": { + "type": "array", + "description": "List of actions that need to be performed for the matched conditions.", + "items": { + "$ref": "#/definitions/NetworkTapRuleAction" + }, + "x-ms-identifiers": [] + } + } + }, + "NetworkTapRuleMatchConfigurationPatch": { + "type": "object", + "description": "Defines the match configuration that are supported to filter the traffic.", + "properties": { + "matchConfigurationName": { + "type": "string", + "description": "The name of the match configuration.", + "minLength": 1 + }, + "sequenceNumber": { + "type": "integer", + "format": "int64", + "description": "Sequence Number of the match configuration..", + "minimum": 1, + "maximum": 4294967295 + }, + "ipAddressType": { + "$ref": "#/definitions/IPAddressType", + "description": "Type of IP Address. IPv4 or IPv6" + }, + "matchConditions": { + "type": "array", + "description": "List of the match conditions.", + "items": { + "$ref": "#/definitions/NetworkTapRuleMatchConditionPatch" + }, + "x-ms-identifiers": [] + }, + "actions": { + "type": "array", + "description": "List of actions that need to be performed for the matched conditions.", + "items": { + "$ref": "#/definitions/NetworkTapRuleActionPatch" + }, + "x-ms-identifiers": [] + } + } + }, + "NetworkTapRulePatch": { + "type": "object", + "description": "The NetworkTapRule resource definition.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/NetworkTapRulePatchProperties", + "description": "Network Tap Rule Patch properties." + } + } + }, + "NetworkTapRulePatchProperties": { + "type": "object", + "description": "Network Tap Rule Patch properties.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "configurationType": { + "$ref": "#/definitions/ConfigurationType", + "description": "Input method to configure Network Tap Rule." + }, + "tapRulesUrl": { + "type": "string", + "format": "uri", + "description": "Network Tap Rules file URL." + }, + "globalNetworkTapRuleActions": { + "$ref": "#/definitions/GlobalNetworkTapRuleActionPatchProperties", + "description": "Global network tap rule actions" + }, + "matchConfigurations": { + "type": "array", + "description": "List of match configurations.", + "minItems": 1, + "items": { + "$ref": "#/definitions/NetworkTapRuleMatchConfigurationPatch" + }, + "x-ms-identifiers": [] + }, + "dynamicMatchConfigurations": { + "type": "array", + "description": "List of dynamic match configurations.", + "minItems": 1, + "items": { + "$ref": "#/definitions/CommonDynamicMatchConfigurationPatch" + }, + "x-ms-identifiers": [] + } + } + }, + "NetworkTapRuleProperties": { + "type": "object", + "description": "Network Tap Rule Properties defines the resource properties.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "configurationType": { + "$ref": "#/definitions/ConfigurationType", + "description": "Input method to configure Network Tap Rule." + }, + "tapRulesUrl": { + "type": "string", + "format": "uri", + "description": "Network Tap Rules file URL." + }, + "matchConfigurations": { + "type": "array", + "description": "List of match configurations.", + "minItems": 1, + "items": { + "$ref": "#/definitions/NetworkTapRuleMatchConfiguration" + }, + "x-ms-identifiers": [] + }, + "dynamicMatchConfigurations": { + "type": "array", + "description": "List of dynamic match configurations.", + "minItems": 1, + "items": { + "$ref": "#/definitions/CommonDynamicMatchConfiguration" + }, + "x-ms-identifiers": [] + }, + "networkTapId": { + "type": "string", + "description": "The ARM resource Id of the NetworkTap.", + "readOnly": true + }, + "pollingIntervalInSeconds": { + "type": "number", + "description": "Polling interval in seconds.", + "default": 30, + "enum": [ + 30, + 60, + 90, + 120 + ], + "x-ms-enum": { + "name": "PollingIntervalInSeconds", + "modelAsString": true, + "values": [ + { + "name": "Thirty", + "value": 30, + "description": "30 PollingIntervalInSeconds" + }, + { + "name": "sixty", + "value": 60, + "description": "60 PollingIntervalInSeconds" + }, + { + "name": "Ninety", + "value": 90, + "description": "90 PollingIntervalInSeconds" + }, + { + "name": "OneTwenty", + "value": 120, + "description": "120 PollingIntervalInSeconds" + } + ] + } + }, + "lastSyncedTime": { + "type": "string", + "format": "date-time", + "description": "The last sync timestamp.", + "readOnly": true + }, + "globalNetworkTapRuleActions": { + "$ref": "#/definitions/GlobalNetworkTapRuleActionProperties", + "description": "Global network tap rule actions" + }, + "lastOperation": { + "$ref": "#/definitions/LastOperationProperties", + "description": "Details of the last operation performed on the resource", + "readOnly": true + }, + "configurationState": { + "$ref": "#/definitions/ConfigurationState", + "description": "Configuration state of the resource.", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning state of the resource.", + "readOnly": true + }, + "administrativeState": { + "$ref": "#/definitions/AdministrativeState", + "description": "Administrative state of the resource.", + "readOnly": true + } + }, + "required": [ + "configurationType" + ] + }, + "NetworkToNetworkInterconnect": { + "type": "object", + "description": "The Network To Network Interconnect resource definition.", + "properties": { + "properties": { + "$ref": "#/definitions/NetworkToNetworkInterconnectProperties", + "description": "The NetworkToNetworkInterconnect Properties" + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "NetworkToNetworkInterconnectListResult": { + "type": "object", + "description": "The response of a NetworkToNetworkInterconnect list operation.", + "properties": { + "value": { + "type": "array", + "description": "The NetworkToNetworkInterconnect items on this page", + "items": { + "$ref": "#/definitions/NetworkToNetworkInterconnect" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "NetworkToNetworkInterconnectPatch": { + "type": "object", + "description": "The Network To Network Interconnect resource patch definition.", + "properties": { + "id": { + "type": "string", + "format": "arm-id", + "description": "Fully qualified resource ID for the resource. E.g. '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'", + "readOnly": true + }, + "type": { + "type": "string", + "description": "The type of the resource. E.g. 'Microsoft.Compute/virtualMachines' or 'Microsoft.Storage/storageAccounts'", + "readOnly": true + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", + "description": "Azure Resource Manager metadata containing createdBy and modifiedBy information.", + "readOnly": true + }, + "properties": { + "$ref": "#/definitions/NetworkToNetworkInterconnectPatchProperties", + "description": "Resource properties." + } + } + }, + "NetworkToNetworkInterconnectPatchProperties": { + "type": "object", + "description": "Network Tap Rule Patch properties.", + "properties": { + "layer2Configuration": { + "$ref": "#/definitions/Layer2ConfigurationPatch", + "description": "Common properties for Layer2Configuration." + }, + "optionBLayer3Configuration": { + "$ref": "#/definitions/OptionBLayer3ConfigurationPatchProperties", + "description": "Common properties for Layer3Configuration." + }, + "npbStaticRouteConfiguration": { + "$ref": "#/definitions/NpbStaticRouteConfigurationPatch", + "description": "NPB Static Route Configuration properties." + }, + "staticRouteConfiguration": { + "$ref": "#/definitions/NniStaticRoutePatchConfiguration", + "description": "Static Route Configuration." + }, + "importRoutePolicy": { + "$ref": "#/definitions/ImportRoutePolicyInformationPatch", + "description": "Import Route Policy information." + }, + "exportRoutePolicy": { + "$ref": "#/definitions/ExportRoutePolicyInformationPatch", + "description": "Export Route Policy information" + }, + "egressAclId": { + "type": "string", + "format": "arm-id", + "description": "Egress Acl. ARM resource ID of Access Control Lists.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/accessControlLists" + } + ] + } + }, + "ingressAclId": { + "type": "string", + "format": "arm-id", + "description": "Ingress Acl. ARM resource ID of Access Control Lists.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/accessControlLists" + } + ] + } + }, + "microBfdState": { + "$ref": "#/definitions/MicroBfdState", + "description": "Micro BFD enabled/disabled state." + } + } + }, + "NetworkToNetworkInterconnectProperties": { + "type": "object", + "description": "Configuration used to setup CE-PE connectivity.", + "properties": { + "nniType": { + "type": "string", + "description": "Type of NNI used. Example: CE | NPB", + "default": "CE", + "enum": [ + "CE", + "NPB" + ], + "x-ms-enum": { + "name": "NniType", + "modelAsString": true, + "values": [ + { + "name": "CE", + "value": "CE", + "description": "NniType-CE(Customer Edge)." + }, + { + "name": "NPB", + "value": "NPB", + "description": "NniType-NPB(Network Packet Broker)." + } + ] + } + }, + "isManagementType": { + "type": "string", + "description": "Configuration to use NNI for Infrastructure Management. Example: True/False.", + "default": "True", + "enum": [ + "True", + "False" + ], + "x-ms-enum": { + "name": "IsManagementType", + "modelAsString": true, + "values": [ + { + "name": "True", + "value": "True", + "description": "IsManagementType-True" + }, + { + "name": "False", + "value": "False", + "description": "IsManagementType-False" + } + ] + } + }, + "useOptionB": { + "$ref": "#/definitions/BooleanEnumProperty", + "description": "Based on this option layer3 parameters are mandatory. Example: True/False" + }, + "layer2Configuration": { + "$ref": "#/definitions/Layer2Configuration", + "description": "Common properties for Layer2 Configuration." + }, + "optionBLayer3Configuration": { + "$ref": "#/definitions/OptionBLayer3Configuration", + "description": "Common properties for Layer3Configuration." + }, + "npbStaticRouteConfiguration": { + "$ref": "#/definitions/NpbStaticRouteConfiguration", + "description": "NPB Static Route Configuration properties." + }, + "staticRouteConfiguration": { + "$ref": "#/definitions/NniStaticRouteConfiguration", + "description": "Static Route Configuration." + }, + "importRoutePolicy": { + "$ref": "#/definitions/ImportRoutePolicyInformation", + "description": "Import Route Policy information." + }, + "exportRoutePolicy": { + "$ref": "#/definitions/ExportRoutePolicyInformation", + "description": "Export Route Policy information" + }, + "egressAclId": { + "type": "string", + "format": "arm-id", + "description": "Egress Acl. ARM resource ID of Access Control Lists.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/accessControlLists" + } + ] + } + }, + "ingressAclId": { + "type": "string", + "format": "arm-id", + "description": "Ingress Acl. ARM resource ID of Access Control Lists.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/accessControlLists" + } + ] + } + }, + "microBfdState": { + "$ref": "#/definitions/MicroBfdState", + "description": "Micro Bidirectional Forwarding Detection (BFD) enabled/disabled state." + }, + "conditionalDefaultRouteConfiguration": { + "$ref": "#/definitions/ConditionalDefaultRouteProperties", + "description": "Conditional Default Route Configuration properties." + }, + "lastOperation": { + "$ref": "#/definitions/LastOperationProperties", + "description": "Details of the last operation performed on the resource", + "readOnly": true + }, + "configurationState": { + "$ref": "#/definitions/ConfigurationState", + "description": "Configuration state of the resource.", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning state of the resource.", + "readOnly": true + }, + "administrativeState": { + "$ref": "#/definitions/AdministrativeState", + "description": "Administrative state of the resource.", + "readOnly": true + } + }, + "required": [ + "useOptionB" + ] + }, + "NniBfdAdministrativeStateRequest": { + "type": "object", + "description": "NNI Bidirectional Forwarding Detection (BFD) Administrative State request.", + "properties": { + "routeType": { + "$ref": "#/definitions/RouteType", + "description": "Route Type. Choose either Static or OptionA." + }, + "administrativeState": { + "$ref": "#/definitions/BfdAdministrativeState", + "description": "State. Select either enable or disable." + } + } + }, + "NniBfdAdministrativeStateResponse": { + "type": "object", + "description": "NNI Bidirectional Forwarding Detection (BFD) Administrative State response.", + "properties": { + "routeType": { + "$ref": "#/definitions/RouteType", + "description": "Route Type. Choose either Static or OptionA." + }, + "administrativeState": { + "$ref": "#/definitions/BfdAdministrativeState", + "description": "State. Select either enable or disable." + }, + "error": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorDetail", + "description": "The error object." + } + } + }, + "NniBmpPatchProperties": { + "type": "object", + "description": "BGP Monitoring Protocol (BMP) patch properties.", + "properties": { + "configurationState": { + "$ref": "#/definitions/BmpConfigurationState", + "description": "(BGP Monitoring Protocol (BMP) configuration state." + } + } + }, + "NniBmpProperties": { + "type": "object", + "description": "BGP Monitoring Protocol (BMP) properties.", + "properties": { + "configurationState": { + "type": "string", + "description": "BGP Monitoring Protocol (BMP) Configuration State.", + "default": "Disabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "BmpConfigurationState", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "BGP Monitoring Protocol (BMP) ConfigurationState - Enabled" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "BGP Monitoring Protocol (BMP) ConfigurationState - Disabled" + } + ] + } + } + }, + "required": [ + "configurationState" + ] + }, + "NniStaticRouteConfiguration": { + "type": "object", + "description": "Static Route Configuration properties for NNI.", + "properties": { + "bfdConfiguration": { + "$ref": "#/definitions/BfdConfiguration", + "description": "BFD configuration properties" + }, + "ipv4Routes": { + "type": "array", + "description": "List of IPv4 Routes.", + "items": { + "$ref": "#/definitions/StaticRouteProperties" + }, + "x-ms-identifiers": [ + "prefix" + ] + }, + "ipv6Routes": { + "type": "array", + "description": "List of IPv6 Routes.", + "items": { + "$ref": "#/definitions/StaticRouteProperties" + }, + "x-ms-identifiers": [ + "prefix" + ] + } + } + }, + "NniStaticRoutePatchConfiguration": { + "type": "object", + "description": "Static Route Configuration properties for NNI.", + "properties": { + "bfdConfiguration": { + "$ref": "#/definitions/BfdPatchConfiguration", + "description": "Bidirectional Forwarding Detection (BFD) configuration properties" + }, + "ipv4Routes": { + "type": "array", + "description": "List of IPv4 Routes.", + "items": { + "$ref": "#/definitions/StaticRoutePatchProperties" + }, + "x-ms-identifiers": [ + "prefix" + ] + }, + "ipv6Routes": { + "type": "array", + "description": "List of IPv6 Routes.", + "items": { + "$ref": "#/definitions/StaticRoutePatchProperties" + }, + "x-ms-identifiers": [ + "prefix" + ] + } + } + }, + "NpbStaticRouteConfiguration": { + "type": "object", + "description": "NPB Static Route Configuration properties.", + "properties": { + "bfdConfiguration": { + "$ref": "#/definitions/BfdConfiguration", + "description": "BFD Configuration properties." + }, + "ipv4Routes": { + "type": "array", + "description": "List of IPv4 Routes.", + "minItems": 1, + "items": { + "$ref": "#/definitions/StaticRouteProperties" + }, + "x-ms-identifiers": [ + "prefix" + ] + }, + "ipv6Routes": { + "type": "array", + "description": "List of IPv6 Routes.", + "minItems": 1, + "items": { + "$ref": "#/definitions/StaticRouteProperties" + }, + "x-ms-identifiers": [ + "prefix" + ] + } + } + }, + "NpbStaticRouteConfigurationPatch": { + "type": "object", + "description": "NPB Static Route Configuration properties.", + "properties": { + "bfdConfiguration": { + "$ref": "#/definitions/BfdPatchConfiguration", + "description": "BFD Configuration properties." + }, + "ipv4Routes": { + "type": "array", + "description": "List of IPv4 Routes.", + "minItems": 1, + "items": { + "$ref": "#/definitions/StaticRoutePatchProperties" + }, + "x-ms-identifiers": [ + "prefix" + ] + }, + "ipv6Routes": { + "type": "array", + "description": "List of IPv6 Routes.", + "minItems": 1, + "items": { + "$ref": "#/definitions/StaticRoutePatchProperties" + }, + "x-ms-identifiers": [ + "prefix" + ] + } + } + }, + "OptionBLayer3Configuration": { + "type": "object", + "description": "OptionB Layer3 Configuration properties.", + "properties": { + "primaryIpv4Prefix": { + "type": "string", + "description": "IPv4 Address Prefix." + }, + "primaryIpv6Prefix": { + "type": "string", + "description": "IPv6 Address Prefix." + }, + "secondaryIpv4Prefix": { + "type": "string", + "description": "Secondary IPv4 Address Prefix." + }, + "secondaryIpv6Prefix": { + "type": "string", + "description": "Secondary IPv6 Address Prefix." + }, + "peerASN": { + "type": "integer", + "format": "int64", + "description": "ASN of PE devices for CE/PE connectivity.Example : 28", + "minimum": 1, + "maximum": 4294967295 + }, + "vlanId": { + "type": "integer", + "format": "int32", + "description": "VLAN for CE/PE Layer 3 connectivity.Example : 501", + "minimum": 100, + "maximum": 4094 + }, + "fabricASN": { + "type": "integer", + "format": "int64", + "description": "ASN of CE devices for CE/PE connectivity.", + "readOnly": true + }, + "peLoopbackIpAddress": { + "type": "array", + "description": "Provider Edge (PE) Loopback IP Address.", + "items": { + "type": "string" + } + }, + "bmpConfiguration": { + "$ref": "#/definitions/NniBmpProperties", + "description": "BGP Monitoring Protocol (BMP) Configuration." + }, + "prefixLimits": { + "type": "array", + "description": "OptionB Layer3 prefix limit configuration.", + "minItems": 1, + "items": { + "$ref": "#/definitions/OptionBLayer3PrefixLimitProperties" + }, + "x-ms-identifiers": [] + } + }, + "required": [ + "peerASN", + "vlanId" + ] + }, + "OptionBLayer3ConfigurationPatchProperties": { + "type": "object", + "description": "Common properties for Layer3Configuration.", + "properties": { + "primaryIpv4Prefix": { + "type": "string", + "description": "IPv4 Address Prefix." + }, + "primaryIpv6Prefix": { + "type": "string", + "description": "IPv6 Address Prefix." + }, + "secondaryIpv4Prefix": { + "type": "string", + "description": "Secondary IPv4 Address Prefix." + }, + "secondaryIpv6Prefix": { + "type": "string", + "description": "Secondary IPv6 Address Prefix." + }, + "peerASN": { + "type": "integer", + "format": "int64", + "description": "ASN of PE devices for CE/PE connectivity.Example : 28", + "minimum": 1, + "maximum": 4294967295 + }, + "vlanId": { + "type": "integer", + "format": "int32", + "description": "VLAN for CE/PE Layer 3 connectivity.Example : 501", + "minimum": 100, + "maximum": 4094 + }, + "fabricASN": { + "type": "integer", + "format": "int64", + "description": "ASN of CE devices for CE/PE connectivity.", + "readOnly": true + }, + "peLoopbackIpAddress": { + "type": "array", + "description": "Provider Edge (PE) Loopback IP Address.", + "items": { + "type": "string" + } + }, + "bmpConfiguration": { + "$ref": "#/definitions/NniBmpPatchProperties", + "description": "BGP Monitoring Protocol (BMP) Configuration." + }, + "prefixLimits": { + "type": "array", + "description": "OptionB Layer3 prefix limit configuration.", + "minItems": 1, + "items": { + "$ref": "#/definitions/OptionBLayer3PrefixLimitPatchProperties" + }, + "x-ms-identifiers": [] + } + } + }, + "OptionBLayer3PrefixLimitPatchProperties": { + "type": "object", + "description": "OptionB Layer3 prefix limit patch properties.", + "properties": { + "maximumRoutes": { + "type": "integer", + "format": "int32", + "description": "Maximum number of routes allowed." + } + } + }, + "OptionBLayer3PrefixLimitProperties": { + "type": "object", + "description": "OptionB Layer3 prefix limit properties.", + "properties": { + "maximumRoutes": { + "type": "integer", + "format": "int32", + "description": "Maximum number of routes allowed." + } + } + }, + "PeeringOption": { + "type": "string", + "description": "Peering option list.", + "enum": [ + "OptionA", + "OptionB" + ], + "x-ms-enum": { + "name": "PeeringOption", + "modelAsString": true, + "values": [ + { + "name": "OptionA", + "value": "OptionA", + "description": "PeeringOption-OptionA" + }, + { + "name": "OptionB", + "value": "OptionB", + "description": "PeeringOption-OptionB" + } + ] + } + }, + "PoliceRateConfigurationProperties": { + "type": "object", + "description": "Police rate configuration properties", + "properties": { + "bitRate": { + "$ref": "#/definitions/BitRate", + "description": "Rate limit in bits per second." + }, + "burstSize": { + "$ref": "#/definitions/BurstSize", + "description": "Burst size in packets." + } + } + }, + "PollingType": { + "type": "string", + "description": "Polling type.", + "enum": [ + "Pull", + "Push" + ], + "x-ms-enum": { + "name": "PollingType", + "modelAsString": true, + "values": [ + { + "name": "Pull", + "value": "Pull", + "description": "PollingType-Pull" + }, + { + "name": "Push", + "value": "Push", + "description": "PollingType-Push" + } + ] + } + }, + "PortCondition": { + "type": "object", + "description": "Port condition that needs to be matched.", + "properties": { + "portType": { + "$ref": "#/definitions/PortType", + "description": "Port type that needs to be matched." + }, + "layer4Protocol": { + "$ref": "#/definitions/Layer4Protocol", + "description": "Layer4 protocol type that needs to be matched." + }, + "ports": { + "type": "array", + "description": "List of the Ports that need to be matched.", + "items": { + "type": "string" + } + }, + "portGroupNames": { + "type": "array", + "description": "List of the port Group Names that need to be matched.", + "items": { + "type": "string" + } + } + }, + "required": [ + "layer4Protocol" + ] + }, + "PortConditionPatch": { + "type": "object", + "description": "Port condition that needs to be matched.", + "properties": { + "portType": { + "$ref": "#/definitions/PortType", + "description": "Port type that needs to be matched." + }, + "layer4Protocol": { + "$ref": "#/definitions/Layer4Protocol", + "description": "Layer4 protocol type that needs to be matched." + }, + "ports": { + "type": "array", + "description": "List of the Ports that need to be matched.", + "items": { + "type": "string" + } + }, + "portGroupNames": { + "type": "array", + "description": "List of the port Group Names that need to be matched.", + "items": { + "type": "string" + } + } + } + }, + "PortGroupPatchProperties": { + "type": "object", + "description": "Port Group Properties", + "properties": { + "name": { + "type": "string", + "description": "The name of the port group.", + "minLength": 1 + }, + "ports": { + "type": "array", + "description": "List of the ports that need to be matched.", + "items": { + "type": "string" + } + } + } + }, + "PortGroupProperties": { + "type": "object", + "description": "Port Group properties.", + "properties": { + "name": { + "type": "string", + "description": "The name of the port group.", + "minLength": 1 + }, + "ports": { + "type": "array", + "description": "List of the ports that need to be matched.", + "items": { + "type": "string" + } + } + } + }, + "PortType": { + "type": "string", + "description": "Port type that needs to be matched.", + "enum": [ + "SourcePort", + "DestinationPort", + "Bidirectional" + ], + "x-ms-enum": { + "name": "PortType", + "modelAsString": true, + "values": [ + { + "name": "SourcePort", + "value": "SourcePort", + "description": "PortType SourcePort" + }, + { + "name": "DestinationPort", + "value": "DestinationPort", + "description": "PortType DestinationPort" + }, + { + "name": "Bidirectional", + "value": "Bidirectional", + "description": "PortType Bidirectional" + } + ] + } + }, + "PrefixLimitPatchProperties": { + "type": "object", + "description": "Prefix Limit Patch properties.", + "properties": { + "maximumRoutes": { + "type": "integer", + "format": "int32", + "description": "Maximum routes allowed." + }, + "threshold": { + "type": "integer", + "format": "int32", + "description": "Limit at which route prefixes a warning is generate." + }, + "idleTimeExpiry": { + "type": "integer", + "format": "int32", + "description": "Idle time expiry in seconds." + } + } + }, + "PrefixLimitProperties": { + "type": "object", + "description": "Prefix Limit properties.", + "properties": { + "maximumRoutes": { + "type": "integer", + "format": "int32", + "description": "Maximum routes allowed." + }, + "threshold": { + "type": "integer", + "format": "int32", + "description": "Limit at which route prefixes a warning is generate." + }, + "idleTimeExpiry": { + "type": "integer", + "format": "int32", + "description": "Idle Time Expiry in seconds, default is 60.", + "default": 60 + } + } + }, + "PrefixType": { + "type": "string", + "description": "IP Prefix Type that needs to be matched.", + "enum": [ + "Prefix", + "LongestPrefix" + ], + "x-ms-enum": { + "name": "PrefixType", + "modelAsString": true, + "values": [ + { + "name": "Prefix", + "value": "Prefix", + "description": "PrefixType Prefix" + }, + { + "name": "LongestPrefix", + "value": "LongestPrefix", + "description": "PrefixType LongestPrefix" + } + ] + } + }, + "ProvisioningState": { + "type": "string", + "description": "The current provisioning state.", + "enum": [ + "Accepted", + "Succeeded", + "Updating", + "Deleting", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Accepted", + "value": "Accepted", + "description": "Accepted Provisioning State" + }, + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Succeeded Provisioning State" + }, + { + "name": "Updating", + "value": "Updating", + "description": "Updating Provisioning State" + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "Deleting Provisioning State" + }, + { + "name": "Failed", + "value": "Failed", + "description": "Failed Provisioning State" + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Canceled Provisioning State" + } + ] + }, + "readOnly": true + }, + "RebootProperties": { + "type": "object", + "description": "Reboot properties.", + "properties": { + "rebootType": { + "$ref": "#/definitions/RebootType", + "description": "Type of reboot to be performed. Example: GracefulRebootWithZTP" + } + } + }, + "RebootType": { + "type": "string", + "description": "Type of reboot to be performed. Example: GracefulRebootWithZTP", + "enum": [ + "GracefulRebootWithZTP", + "GracefulRebootWithoutZTP", + "UngracefulRebootWithZTP", + "UngracefulRebootWithoutZTP" + ], + "x-ms-enum": { + "name": "RebootType", + "modelAsString": true, + "values": [ + { + "name": "GracefulRebootWithZTP", + "value": "GracefulRebootWithZTP", + "description": "RebootType GracefulRebootWithZTP" + }, + { + "name": "GracefulRebootWithoutZTP", + "value": "GracefulRebootWithoutZTP", + "description": "RebootType GracefulRebootWithoutZTP" + }, + { + "name": "UngracefulRebootWithZTP", + "value": "UngracefulRebootWithZTP", + "description": "RebootType UngracefulRebootWithZTP" + }, + { + "name": "UngracefulRebootWithoutZTP", + "value": "UngracefulRebootWithoutZTP", + "description": "RebootType UngracefulRebootWithoutZTP" + } + ] + } + }, + "RedistributeConnectedSubnets": { + "type": "string", + "description": "Advertise Connected Subnets. Ex: \"True\" | \"False\".", + "enum": [ + "True", + "False" + ], + "x-ms-enum": { + "name": "RedistributeConnectedSubnets", + "modelAsString": true, + "values": [ + { + "name": "True", + "value": "True", + "description": "RedistributeConnectedSubnets-True" + }, + { + "name": "False", + "value": "False", + "description": "RedistributeConnectedSubnets-False" + } + ] + } + }, + "RedistributeStaticRoutes": { + "type": "string", + "description": "Advertise Static Routes. Ex: \"True\" | \"False\".", + "enum": [ + "True", + "False" + ], + "x-ms-enum": { + "name": "RedistributeStaticRoutes", + "modelAsString": true, + "values": [ + { + "name": "True", + "value": "True", + "description": "RedistributeStaticRoutes-True" + }, + { + "name": "False", + "value": "False", + "description": "RedistributeStaticRoutes-False" + } + ] + } + }, + "RoutePolicy": { + "type": "object", + "description": "The RoutePolicy resource definition.", + "properties": { + "properties": { + "$ref": "#/definitions/RoutePolicyProperties", + "description": "The RoutePolicy properties" + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "RoutePolicyActionType": { + "type": "string", + "description": "Action type. Example: Permit | Deny | Continue.", + "enum": [ + "Permit", + "Deny", + "Continue" + ], + "x-ms-enum": { + "name": "RoutePolicyActionType", + "modelAsString": true, + "values": [ + { + "name": "Permit", + "value": "Permit", + "description": "RoutePolicyActionType-Permit" + }, + { + "name": "Deny", + "value": "Deny", + "description": "RoutePolicyActionType-Deny" + }, + { + "name": "Continue", + "value": "Continue", + "description": "RoutePolicyActionType-Continue" + } + ] + } + }, + "RoutePolicyConditionType": { + "type": "string", + "description": "Type of the condition used.", + "enum": [ + "Or", + "And" + ], + "x-ms-enum": { + "name": "RoutePolicyConditionType", + "modelAsString": true, + "values": [ + { + "name": "Or", + "value": "Or", + "description": "RoutePolicyConditionType-Or" + }, + { + "name": "And", + "value": "And", + "description": "RoutePolicyConditionType-And" + } + ] + } + }, + "RoutePolicyListResult": { + "type": "object", + "description": "The response of a RoutePolicy list operation.", + "properties": { + "value": { + "type": "array", + "description": "The RoutePolicy items on this page", + "items": { + "$ref": "#/definitions/RoutePolicy" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "RoutePolicyPatch": { + "type": "object", + "description": "The Route Policy patch resource definition.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/RoutePolicyPatchableProperties", + "description": "The RoutePolicy patchable properties." + } + } + }, + "RoutePolicyPatchableProperties": { + "type": "object", + "description": "Route Policy patchable properties.", + "properties": { + "defaultAction": { + "$ref": "#/definitions/CommunityActionTypes", + "description": "Default action that needs to be applied when no condition is matched. Example: Permit | Deny." + }, + "statements": { + "type": "array", + "description": "Route Policy statements.", + "items": { + "$ref": "#/definitions/RoutePolicyStatementPatchProperties" + }, + "x-ms-identifiers": [] + } + } + }, + "RoutePolicyProperties": { + "type": "object", + "description": "RoutePolicyProperties defines the resource properties.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "defaultAction": { + "type": "string", + "description": "Default action that needs to be applied when no condition is matched. Example: Permit | Deny.", + "default": "Deny", + "enum": [ + "Permit", + "Deny" + ], + "x-ms-enum": { + "name": "CommunityActionTypes", + "modelAsString": true, + "values": [ + { + "name": "Permit", + "value": "Permit", + "description": "Permit Community Action Types" + }, + { + "name": "Deny", + "value": "Deny", + "description": "Deny Community Action Types" + } + ] + } + }, + "statements": { + "type": "array", + "description": "Route Policy statements.", + "items": { + "$ref": "#/definitions/RoutePolicyStatementProperties" + }, + "x-ms-identifiers": [ + "sequenceNumber" + ] + }, + "networkFabricId": { + "type": "string", + "format": "arm-id", + "description": "Arm Resource ID of Network Fabric.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/networkFabrics" + } + ] + } + }, + "addressFamilyType": { + "type": "string", + "description": "AddressFamilyType. This parameter decides whether the given ipv4 or ipv6 route policy.", + "default": "IPv4", + "enum": [ + "IPv4", + "IPv6" + ], + "x-ms-enum": { + "name": "AddressFamilyType", + "modelAsString": true, + "values": [ + { + "name": "IPv4", + "value": "IPv4", + "description": "AddressType-IPv4" + }, + { + "name": "IPv6", + "value": "IPv6", + "description": "AddressType-IPv6" + } + ] + } + }, + "lastOperation": { + "$ref": "#/definitions/LastOperationProperties", + "description": "Details of the last operation performed on the resource", + "readOnly": true + }, + "configurationState": { + "$ref": "#/definitions/ConfigurationState", + "description": "Configuration state of the resource.", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning state of the resource.", + "readOnly": true + }, + "administrativeState": { + "$ref": "#/definitions/AdministrativeState", + "description": "Administrative state of the resource.", + "readOnly": true + } + }, + "required": [ + "statements", + "networkFabricId" + ] + }, + "RoutePolicyStatementPatchProperties": { + "type": "object", + "description": "Route Policy Statement properties.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "sequenceNumber": { + "type": "integer", + "format": "int64", + "description": "Sequence to insert to/delete from existing route.", + "minimum": 1, + "maximum": 4294967295 + }, + "condition": { + "$ref": "#/definitions/StatementConditionPatchProperties", + "description": "Route policy condition properties." + }, + "action": { + "$ref": "#/definitions/StatementActionPatchProperties", + "description": "Route policy action properties." + } + }, + "required": [ + "sequenceNumber", + "condition", + "action" + ] + }, + "RoutePolicyStatementProperties": { + "type": "object", + "description": "Route Policy Statement properties.", + "properties": { + "annotation": { + "type": "string", + "description": "Switch configuration description." + }, + "sequenceNumber": { + "type": "integer", + "format": "int64", + "description": "Sequence to insert to/delete from existing route.", + "minimum": 1, + "maximum": 4294967295 + }, + "condition": { + "$ref": "#/definitions/StatementConditionProperties", + "description": "Route policy condition properties." + }, + "action": { + "$ref": "#/definitions/StatementActionProperties", + "description": "Route policy action properties." + } + }, + "required": [ + "sequenceNumber", + "condition", + "action" + ] + }, + "RoutePrefixLimitPatchProperties": { + "type": "object", + "description": "VRP Limit patch configuration.", + "properties": { + "hardLimit": { + "type": "integer", + "format": "int32", + "description": "Hard limit for the routes." + }, + "threshold": { + "type": "integer", + "format": "int32", + "description": "Threshold for the routes." + } + } + }, + "RoutePrefixLimitProperties": { + "type": "object", + "description": "Layer3 Route prefix limit configuration.", + "properties": { + "hardLimit": { + "type": "integer", + "format": "int32", + "description": "Hard limit for the routes." + }, + "threshold": { + "type": "integer", + "format": "int32", + "description": "Threshold for the routes." + } + } + }, + "RouteTargetInformation": { + "type": "object", + "description": "Route Target Configuration.", + "properties": { + "importIpv4RouteTargets": { + "type": "array", + "description": "Route Targets to be applied for incoming routes into CE.", + "items": { + "type": "string" + } + }, + "importIpv6RouteTargets": { + "type": "array", + "description": "Route Targets to be applied for incoming routes from CE.", + "items": { + "type": "string" + } + }, + "exportIpv4RouteTargets": { + "type": "array", + "description": "Route Targets to be applied for outgoing routes into CE.", + "items": { + "type": "string" + } + }, + "exportIpv6RouteTargets": { + "type": "array", + "description": "Route Targets to be applied for outgoing routes from CE.", + "items": { + "type": "string" + } + } + } + }, + "RouteTargetPatchInformation": { + "type": "object", + "description": "Route Target Configuration.", + "properties": { + "importIpv4RouteTargets": { + "type": "array", + "description": "Route Targets to be applied for incoming routes into CE.", + "items": { + "type": "string" + } + }, + "importIpv6RouteTargets": { + "type": "array", + "description": "Route Targets to be applied for incoming routes from CE.", + "items": { + "type": "string" + } + }, + "exportIpv4RouteTargets": { + "type": "array", + "description": "Route Targets to be applied for outgoing routes into CE.", + "items": { + "type": "string" + } + }, + "exportIpv6RouteTargets": { + "type": "array", + "description": "Route Targets to be applied for outgoing routes from CE.", + "items": { + "type": "string" + } + } + } + }, + "RouteType": { + "type": "string", + "description": "Route type to be used.", + "enum": [ + "Static", + "OptionA" + ], + "x-ms-enum": { + "name": "RouteType", + "modelAsString": true, + "values": [ + { + "name": "Static", + "value": "Static", + "description": "RouteType-Static" + }, + { + "name": "OptionA", + "value": "OptionA", + "description": "RouteType-OptionA" + } + ] + } + }, + "RuleCondition": { + "type": "string", + "description": "Specify Rule condition.", + "enum": [ + "And", + "Or" + ], + "x-ms-enum": { + "name": "RuleCondition", + "modelAsString": true, + "values": [ + { + "name": "And", + "value": "And", + "description": "And Rule-Condition." + }, + { + "name": "Or", + "value": "Or", + "description": "Or Rule-Condition." + } + ] + } + }, + "RuleProperties": { + "type": "object", + "description": "Rules for the InternetGateways", + "properties": { + "action": { + "$ref": "#/definitions/Action", + "description": "Specify action." + }, + "addressList": { + "type": "array", + "description": "List of Addresses to be allowed or denied.", + "items": { + "type": "string" + } + }, + "condition": { + "$ref": "#/definitions/RuleCondition", + "description": "Specify rule condition." + }, + "destinationAddressList": { + "type": "array", + "description": "List of Addresses to be allowed or denied.", + "items": { + "type": "string" + } + }, + "sourceAddressList": { + "type": "array", + "description": "List of source IPv4 and IPv6 address to be allowed or denied.", + "items": { + "type": "string" + } + }, + "headerAddressList": { + "type": "array", + "description": "List of header Name and source addresses associated with the header.", + "items": { + "$ref": "#/definitions/HeaderAddressProperties" + }, + "x-ms-identifiers": [] + } + }, + "required": [ + "action" + ] + }, + "SourceDestinationType": { + "type": "string", + "description": "IP Address type that needs to be matched.", + "enum": [ + "SourceIP", + "DestinationIP", + "Bidirectional" + ], + "x-ms-enum": { + "name": "SourceDestinationType", + "modelAsString": true, + "values": [ + { + "name": "SourceIP", + "value": "SourceIP", + "description": "SourceDestinationType SourceIP" + }, + { + "name": "DestinationIP", + "value": "DestinationIP", + "description": "SourceDestinationType DestinationIP" + }, + { + "name": "Bidirectional", + "value": "Bidirectional", + "description": "SourceDestinationType Bidirectional" + } + ] + } + }, + "StatementActionPatchProperties": { + "type": "object", + "description": "Route policy action properties", + "properties": { + "localPreference": { + "type": "integer", + "format": "int64", + "description": "Local Preference of the route policy.", + "minimum": 0, + "maximum": 4294967295 + }, + "actionType": { + "$ref": "#/definitions/RoutePolicyActionType", + "description": "Action type. Example: Permit | Deny | Continue." + }, + "ipCommunityProperties": { + "$ref": "#/definitions/ActionIpCommunityPatchProperties", + "description": "IP Community Properties." + }, + "ipExtendedCommunityProperties": { + "$ref": "#/definitions/ActionIpExtendedCommunityPatchProperties", + "description": "IP Extended Community Properties." + } + }, + "required": [ + "actionType" + ] + }, + "StatementActionProperties": { + "type": "object", + "description": "Route policy action properties.", + "properties": { + "localPreference": { + "type": "integer", + "format": "int64", + "description": "Local Preference of the route policy.", + "minimum": 0, + "maximum": 4294967295 + }, + "actionType": { + "$ref": "#/definitions/RoutePolicyActionType", + "description": "Action type. Example: Permit | Deny | Continue." + }, + "ipCommunityProperties": { + "$ref": "#/definitions/ActionIpCommunityProperties", + "description": "IP Community Properties." + }, + "ipExtendedCommunityProperties": { + "$ref": "#/definitions/ActionIpExtendedCommunityProperties", + "description": "IP Extended Community Properties." + } + }, + "required": [ + "actionType" + ] + }, + "StatementConditionPatchProperties": { + "type": "object", + "description": "Route policy statement condition properties.", + "properties": { + "ipCommunityIds": { + "type": "array", + "description": "List of IP Community resource IDs.", + "items": { + "type": "string" + } + }, + "ipExtendedCommunityIds": { + "type": "array", + "description": "List of IP Extended Community resource IDs.", + "items": { + "type": "string" + } + }, + "type": { + "$ref": "#/definitions/RoutePolicyConditionType", + "description": "Type of the condition used." + }, + "ipPrefixId": { + "type": "string", + "description": "Arm Resource Id of IpPrefix." + } + } + }, + "StatementConditionProperties": { + "type": "object", + "description": "Route policy statement condition properties.", + "properties": { + "ipCommunityIds": { + "type": "array", + "description": "List of IP Community resource IDs.", + "items": { + "type": "string" + } + }, + "ipExtendedCommunityIds": { + "type": "array", + "description": "List of IP Extended Community resource IDs.", + "items": { + "type": "string" + } + }, + "type": { + "type": "string", + "description": "Type of the condition used.", + "default": "Or", + "enum": [ + "Or", + "And" + ], + "x-ms-enum": { + "name": "RoutePolicyConditionType", + "modelAsString": true, + "values": [ + { + "name": "Or", + "value": "Or", + "description": "RoutePolicyConditionType-Or" + }, + { + "name": "And", + "value": "And", + "description": "RoutePolicyConditionType-And" + } + ] + } + }, + "ipPrefixId": { + "type": "string", + "description": "Arm Resource Id of IpPrefix." + } + } + }, + "StaticRouteConfiguration": { + "type": "object", + "description": "Static Route Configuration properties.", + "properties": { + "bfdConfiguration": { + "$ref": "#/definitions/BfdConfiguration", + "description": "BFD configuration properties" + }, + "ipv4Routes": { + "type": "array", + "description": "List of IPv4 Routes.", + "items": { + "$ref": "#/definitions/StaticRouteProperties" + }, + "x-ms-identifiers": [ + "prefix" + ] + }, + "ipv6Routes": { + "type": "array", + "description": "List of IPv6 Routes.", + "items": { + "$ref": "#/definitions/StaticRouteProperties" + }, + "x-ms-identifiers": [ + "prefix" + ] + }, + "extension": { + "type": "string", + "description": "Extension. Example: NoExtension | NPB.", + "default": "NoExtension", + "enum": [ + "NoExtension", + "NPB" + ], + "x-ms-enum": { + "name": "Extension", + "modelAsString": true, + "values": [ + { + "name": "NoExtension", + "value": "NoExtension", + "description": "Extension-NoExtension" + }, + { + "name": "NPB", + "value": "NPB", + "description": "Extension-NPB" + } + ] + } + } + } + }, + "StaticRoutePatchConfiguration": { + "type": "object", + "description": "Static Route Configuration properties.", + "properties": { + "bfdConfiguration": { + "$ref": "#/definitions/BfdPatchConfiguration", + "description": "BFD configuration properties" + }, + "ipv4Routes": { + "type": "array", + "description": "List of IPv4 Routes.", + "items": { + "$ref": "#/definitions/StaticRoutePatchProperties" + }, + "x-ms-identifiers": [ + "prefix" + ] + }, + "ipv6Routes": { + "type": "array", + "description": "List of IPv6 Routes.", + "items": { + "$ref": "#/definitions/StaticRoutePatchProperties" + }, + "x-ms-identifiers": [ + "prefix" + ] + } + } + }, + "StaticRoutePatchProperties": { + "type": "object", + "description": "Route Properties.", + "properties": { + "prefix": { + "type": "string", + "description": "Prefix of the route.", + "minLength": 1 + }, + "nextHop": { + "type": "array", + "description": "List of next hop addresses.", + "minItems": 1, + "items": { + "type": "string" + } + } + }, + "required": [ + "prefix", + "nextHop" + ] + }, + "StaticRouteProperties": { + "type": "object", + "description": "Route Properties.", + "properties": { + "prefix": { + "type": "string", + "description": "Prefix of the route.", + "minLength": 1 + }, + "nextHop": { + "type": "array", + "description": "List of next hop addresses.", + "minItems": 1, + "items": { + "type": "string" + } + } + }, + "required": [ + "prefix", + "nextHop" + ] + }, + "StaticRouteRoutePolicy": { + "type": "object", + "description": "Static Route - route policy properties.", + "properties": { + "exportRoutePolicy": { + "$ref": "#/definitions/L3ExportRoutePolicy", + "description": "Array of ARM Resource ID of the RoutePolicies." + } + } + }, + "StaticRouteRoutePolicyPatch": { + "type": "object", + "description": "Static Route - route policy properties.", + "properties": { + "exportRoutePolicy": { + "$ref": "#/definitions/L3ExportRoutePolicyPatch", + "description": "Array of ARM Resource ID of the RoutePolicies." + } + } + }, + "StationConfigurationState": { + "type": "string", + "description": "Station Configuration State.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "StationConfigurationState", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "StationConfigurationState Enabled" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "StationConfigurationState Disabled" + } + ] + } + }, + "StationConnectionMode": { + "type": "string", + "description": "Station Connection Mode.", + "enum": [ + "Active", + "Passive" + ], + "x-ms-enum": { + "name": "StationConnectionMode", + "modelAsString": true, + "values": [ + { + "name": "Active", + "value": "Active", + "description": "StationConnectionMode Active" + }, + { + "name": "Passive", + "value": "Passive", + "description": "StationConnectionMode Passive" + } + ] + } + }, + "StationConnectionPatchProperties": { + "type": "object", + "description": "Station Connection PATCH Properties.", + "properties": { + "keepaliveIdleTime": { + "type": "integer", + "format": "int32", + "description": "Connection keepalive idle time in seconds", + "minimum": 1, + "maximum": 3600 + }, + "probeInterval": { + "type": "integer", + "format": "int32", + "description": "Probe interval in seconds, default value is 60", + "minimum": 1, + "maximum": 3600 + }, + "probeCount": { + "type": "integer", + "format": "int32", + "description": "Probe count, default value is 10", + "minimum": 1, + "maximum": 100 + } + } + }, + "StationConnectionProperties": { + "type": "object", + "description": "Station Connection Properties.", + "properties": { + "keepaliveIdleTime": { + "type": "integer", + "format": "int32", + "description": "Connection keepalive idle time in seconds", + "default": 180, + "minimum": 1, + "maximum": 3600 + }, + "probeInterval": { + "type": "integer", + "format": "int32", + "description": "Probe interval in seconds, default value is 60", + "default": 60, + "minimum": 1, + "maximum": 3600 + }, + "probeCount": { + "type": "integer", + "format": "int32", + "description": "Probe count, default value is 10", + "default": 10, + "minimum": 1, + "maximum": 100 + } + } + }, + "StorageAccountConfiguration": { + "type": "object", + "description": "Storage account configuration.", + "properties": { + "storageAccountId": { + "type": "string", + "format": "arm-id", + "description": "Network Fabric storage account resource identifier.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Storage/storageAccounts" + } + ] + } + }, + "storageAccountIdentity": { + "$ref": "#/definitions/IdentitySelector", + "description": "The selection of the managed identity to use with this storage account. The identity type must be either system assigned or user assigned." + } + } + }, + "StorageAccountPatchConfiguration": { + "type": "object", + "description": "Storage account configuration.", + "properties": { + "storageAccountId": { + "type": "string", + "format": "arm-id", + "description": "Network Fabric storage account resource identifier.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Storage/storageAccounts" + } + ] + } + }, + "storageAccountIdentity": { + "$ref": "#/definitions/IdentitySelectorPatch", + "description": "The selection of the managed identity to use with this storage account. The identity type must be either system assigned or user assigned." + } + } + }, + "SupportedConnectorProperties": { + "type": "object", + "description": "Supported connector properties.", + "properties": { + "connectorType": { + "type": "string", + "description": "Type of connector used. Example: Optical." + }, + "maxSpeedInMbps": { + "type": "integer", + "format": "int32", + "description": "Maximum speed of the connector in Mbps." + } + } + }, + "SupportedVersionProperties": { + "type": "object", + "description": "Supported version details of the network device.", + "properties": { + "version": { + "type": "string", + "description": "Operating system and firmware combined versions." + }, + "vendorOsVersion": { + "type": "string", + "description": "Operating system version." + }, + "vendorFirmwareVersion": { + "type": "string", + "description": "Firmware version." + }, + "isDefault": { + "$ref": "#/definitions/BooleanEnumProperty", + "description": "If true newly provisioned Fabric will use this device version by default to bootstrap the network devices for the first time." + } + } + }, + "TapRuleActionType": { + "type": "string", + "description": "Type of actions that can be performed.", + "enum": [ + "Drop", + "Count", + "Log", + "Replicate", + "Goto", + "Redirect", + "Mirror" + ], + "x-ms-enum": { + "name": "TapRuleActionType", + "modelAsString": true, + "values": [ + { + "name": "Drop", + "value": "Drop", + "description": "TapRuleActionType-Drop" + }, + { + "name": "Count", + "value": "Count", + "description": "TapRuleActionType-Count" + }, + { + "name": "Log", + "value": "Log", + "description": "TapRuleActionType-Log" + }, + { + "name": "Replicate", + "value": "Replicate", + "description": "TapRuleActionType-Replicate" + }, + { + "name": "Goto", + "value": "Goto", + "description": "TapRuleActionType-Goto" + }, + { + "name": "Redirect", + "value": "Redirect", + "description": "TapRuleActionType-Redirect" + }, + { + "name": "Mirror", + "value": "Mirror", + "description": "TapRuleActionType-Mirror" + } + ] + } + }, + "TerminalServerConfiguration": { + "type": "object", + "description": "Network and credentials configuration currently applied to terminal server.", + "properties": { + "username": { + "type": "string", + "description": "Username for the terminal server connection.", + "minLength": 1 + }, + "password": { + "type": "string", + "format": "password", + "description": "Password for the terminal server connection.", + "minLength": 1, + "x-ms-secret": true + }, + "serialNumber": { + "type": "string", + "description": "Serial Number of Terminal server.", + "minLength": 1 + }, + "primaryIpv4Prefix": { + "type": "string", + "description": "IPv4 Address Prefix." + }, + "primaryIpv6Prefix": { + "type": "string", + "description": "IPv6 Address Prefix." + }, + "secondaryIpv4Prefix": { + "type": "string", + "description": "Secondary IPv4 Address Prefix." + }, + "secondaryIpv6Prefix": { + "type": "string", + "description": "Secondary IPv6 Address Prefix." + }, + "networkDeviceId": { + "type": "string", + "description": "ARM Resource ID used for the NetworkDevice.", + "readOnly": true + } + }, + "required": [ + "username", + "password", + "primaryIpv4Prefix", + "secondaryIpv4Prefix" + ] + }, + "TerminalServerPatchConfiguration": { + "type": "object", + "description": "Network and credentials configuration already applied to terminal server.", + "properties": { + "username": { + "type": "string", + "description": "Username for the terminal server connection.", + "minLength": 1 + }, + "password": { + "type": "string", + "format": "password", + "description": "Password for the terminal server connection.", + "minLength": 1, + "x-ms-secret": true + }, + "serialNumber": { + "type": "string", + "description": "Serial Number of Terminal server.", + "minLength": 1 + }, + "primaryIpv4Prefix": { + "type": "string", + "description": "IPv4 Address Prefix." + }, + "primaryIpv6Prefix": { + "type": "string", + "description": "IPv6 Address Prefix." + }, + "secondaryIpv4Prefix": { + "type": "string", + "description": "Secondary IPv4 Address Prefix." + }, + "secondaryIpv6Prefix": { + "type": "string", + "description": "Secondary IPv6 Address Prefix." + } + } + }, + "UniqueRouteDistinguisherConfigurationState": { + "type": "string", + "description": "Unique Route Distinguisher Configuration State.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "UniqueRouteDistinguisherConfigurationState", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "UniqueRouteDistinguisherConfigurationState Enabled" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "UniqueRouteDistinguisherConfigurationState Disabled" + } + ] + } + }, + "UniqueRouteDistinguisherPatchProperties": { + "type": "object", + "description": "Unique Route Distinguisher configuration properties.", + "properties": { + "uniqueRdConfigurationState": { + "$ref": "#/definitions/UniqueRouteDistinguisherConfigurationState", + "description": "Unique Route Distinguisher configuration state. Default is Enabled." + }, + "nniDerivedUniqueRdConfigurationState": { + "$ref": "#/definitions/NNIDerivedUniqueRouteDistinguisherConfigurationState", + "description": "NNI derived unique Route Distinguisher state. Default is Disabled." + } + } + }, + "UniqueRouteDistinguisherProperties": { + "type": "object", + "description": "Unique Route Distinguisher properties.", + "properties": { + "uniqueRdConfigurationState": { + "type": "string", + "description": "Unique Route Distinguisher configuration state. Default is Enabled.", + "default": "Enabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "UniqueRouteDistinguisherConfigurationState", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "UniqueRouteDistinguisherConfigurationState Enabled" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "UniqueRouteDistinguisherConfigurationState Disabled" + } + ] + } + }, + "uniqueRds": { + "type": "array", + "description": "List of Unique Route Distinguisher addresses.", + "items": { + "type": "string" + }, + "readOnly": true + }, + "nniDerivedUniqueRdConfigurationState": { + "type": "string", + "description": "NNI derived unique Route Distinguisher state. Default is Disabled.", + "default": "Disabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "NNIDerivedUniqueRouteDistinguisherConfigurationState", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "NNI derived unique route distinguisher configuration state Enabled" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "NNI derived unique route distinguisher configuration state Disabled" + } + ] + } + } + } + }, + "UpdateAdministrativeState": { + "type": "object", + "description": "Update administrative state on list of resources.", + "properties": { + "resourceIds": { + "type": "array", + "description": "Network Fabrics or Network Rack resource Id.", + "items": { + "type": "string" + } + }, + "state": { + "$ref": "#/definitions/EnableDisableState", + "description": "Administrative state." + } + } + }, + "UpdateDeviceAdministrativeState": { + "type": "object", + "description": "Update the administrative state on list of resources.", + "properties": { + "resourceIds": { + "type": "array", + "description": "Network Fabrics or Network Rack resource Id.", + "items": { + "type": "string" + } + }, + "state": { + "$ref": "#/definitions/DeviceAdministrativeState", + "description": "Administrative state." + } + } + }, + "UpdateVersion": { + "type": "object", + "description": "Update version properties.", + "properties": { + "version": { + "type": "string", + "description": "Specify the version." + } + } + }, + "UpgradeNetworkFabricProperties": { + "type": "object", + "description": "Model used for Upgrade Network Fabric Properties", + "properties": { + "version": { + "type": "string", + "description": "Specify the version." + }, + "action": { + "$ref": "#/definitions/NetworkFabricUpgradeAction", + "description": "Action to be performed while upgrading the fabric." + } + } + }, + "V4OverV6BgpSessionState": { + "type": "string", + "description": "V4 over V6 BGP session state", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "V4OverV6BgpSessionState", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "V4OverV6BgpSessionState-Enabled" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "V4OverV6BgpSessionState-Disabled" + } + ] + } + }, + "V6OverV4BgpSessionState": { + "type": "string", + "description": "V6 over V4 BGP session state", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "V6OverV4BgpSessionState", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "V6OverV4BgpSessionState-Enabled" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "V6OverV4BgpSessionState-Disabled" + } + ] + } + }, + "ValidateAction": { + "type": "string", + "description": "Validate action that to be performed", + "enum": [ + "Cabling", + "Configuration", + "Connectivity" + ], + "x-ms-enum": { + "name": "ValidateAction", + "modelAsString": true, + "values": [ + { + "name": "Cabling", + "value": "Cabling", + "description": "ValidateAction-Cabling" + }, + { + "name": "Configuration", + "value": "Configuration", + "description": "ValidateAction-Configuration" + }, + { + "name": "Connectivity", + "value": "Connectivity", + "description": "ValidateAction-Connectivity" + } + ] + } + }, + "ValidateConfigurationProperties": { + "type": "object", + "description": "Validation configuration properties.", + "properties": { + "validateAction": { + "$ref": "#/definitions/ValidateAction", + "description": "Validate action that to be performed" + } + } + }, + "ValidateConfigurationResponse": { + "type": "object", + "description": "The response of the action validate configuration.", + "properties": { + "error": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorDetail", + "description": "The error object." + }, + "configurationState": { + "$ref": "#/definitions/ConfigurationState", + "description": "Gets the configuration state.", + "readOnly": true + }, + "url": { + "type": "string", + "description": "URL for the details of the response." + } + } + }, + "ViewDeviceConfigurationResponse": { + "type": "object", + "description": "View Device Configuration Response.", + "properties": { + "deviceConfigurationUrl": { + "type": "string", + "description": "Storage URL to the device configuration file." + }, + "error": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorDetail", + "description": "The error object." + } + } + }, + "VlanGroupPatchProperties": { + "type": "object", + "description": "Vlan group properties.", + "properties": { + "name": { + "type": "string", + "description": "Vlan group name.", + "minLength": 1 + }, + "vlans": { + "type": "array", + "description": "List of vlans.", + "items": { + "type": "string" + } + } + } + }, + "VlanGroupProperties": { + "type": "object", + "description": "Vlan group properties.", + "properties": { + "name": { + "type": "string", + "description": "Vlan group name.", + "minLength": 1 + }, + "vlans": { + "type": "array", + "description": "List of vlans.", + "items": { + "type": "string" + } + } + } + }, + "VlanMatchCondition": { + "type": "object", + "description": "The vlan match conditions that need to be matched.", + "properties": { + "vlans": { + "type": "array", + "description": "List of vlans that need to be matched. Inputs can be single vlan or the range of vlans.", + "minItems": 1, + "items": { + "type": "string" + } + }, + "innerVlans": { + "type": "array", + "description": "List of inner vlans that need to be matched.Inputs can be single vlan or the range of vlans.", + "minItems": 1, + "items": { + "type": "string" + } + }, + "vlanGroupNames": { + "type": "array", + "description": "List of vlan group names that need to be matched.", + "minItems": 1, + "items": { + "type": "string" + } + } + } + }, + "VlanMatchConditionPatch": { + "type": "object", + "description": "The vlan match conditions that need to be matched.", + "properties": { + "vlans": { + "type": "array", + "description": "List of vlans that need to be matched. Inputs can be single vlan or the range of vlans.", + "minItems": 1, + "items": { + "type": "string" + } + }, + "innerVlans": { + "type": "array", + "description": "List of inner vlans that need to be matched.Inputs can be single vlan or the range of vlans.", + "minItems": 1, + "items": { + "type": "string" + } + }, + "vlanGroupNames": { + "type": "array", + "description": "List of vlan group names that need to be matched.", + "minItems": 1, + "items": { + "type": "string" + } + } + } + }, + "VpnConfigurationPatchableProperties": { + "type": "object", + "description": "Network and credential configuration currently applied on terminal server.", + "properties": { + "networkToNetworkInterconnectId": { + "type": "string", + "format": "arm-id", + "description": "ARM Resource ID of the Network To Network Interconnect.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/networkFabrics/networkToNetworkInterconnects" + } + ] + } + }, + "peeringOption": { + "$ref": "#/definitions/PeeringOption", + "description": "Peering option list." + }, + "optionBProperties": { + "$ref": "#/definitions/VpnOptionBPatchProperties", + "description": "option B properties" + }, + "optionAProperties": { + "$ref": "#/definitions/VpnOptionAPatchProperties", + "description": "option A properties" + } + } + }, + "VpnConfigurationProperties": { + "type": "object", + "description": "Network and credential configuration currently applied on terminal server.", + "properties": { + "networkToNetworkInterconnectId": { + "type": "string", + "format": "arm-id", + "description": "ARM Resource ID of the Network To Network Interconnect.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedNetworkFabric/networkFabrics/networkToNetworkInterconnects" + } + ] + } + }, + "administrativeState": { + "$ref": "#/definitions/AdministrativeState", + "description": "Administrative state of the resource.", + "readOnly": true + }, + "peeringOption": { + "$ref": "#/definitions/PeeringOption", + "description": "Peering option list." + }, + "optionBProperties": { + "$ref": "#/definitions/VpnOptionBProperties", + "description": "option B properties" + }, + "optionAProperties": { + "$ref": "#/definitions/VpnOptionAProperties", + "description": "option A properties" + } + }, + "required": [ + "peeringOption" + ] + }, + "VpnOptionAPatchProperties": { + "type": "object", + "description": "Peering optionA properties", + "properties": { + "mtu": { + "type": "integer", + "format": "int32", + "description": "MTU to use for option A peering.", + "minimum": 64, + "maximum": 9200 + }, + "vlanId": { + "type": "integer", + "format": "int32", + "description": "Vlan Id.Example : 501", + "minimum": 501, + "maximum": 4094 + }, + "peerASN": { + "type": "integer", + "format": "int64", + "description": "Peer ASN number.Example : 28", + "minimum": 1, + "maximum": 4294967295 + }, + "bfdConfiguration": { + "$ref": "#/definitions/BfdPatchConfiguration", + "description": "BFD Configuration properties." + }, + "primaryIpv4Prefix": { + "type": "string", + "description": "IPv4 Address Prefix." + }, + "primaryIpv6Prefix": { + "type": "string", + "description": "IPv6 Address Prefix." + }, + "secondaryIpv4Prefix": { + "type": "string", + "description": "Secondary IPv4 Address Prefix." + }, + "secondaryIpv6Prefix": { + "type": "string", + "description": "Secondary IPv6 Address Prefix." + } + } + }, + "VpnOptionAProperties": { + "type": "object", + "description": "option A properties", + "properties": { + "mtu": { + "type": "integer", + "format": "int32", + "description": "MTU to use for option A peering.", + "default": 1500, + "minimum": 64, + "maximum": 9200 + }, + "vlanId": { + "type": "integer", + "format": "int32", + "description": "Vlan Id.Example : 501", + "minimum": 501, + "maximum": 4094 + }, + "peerASN": { + "type": "integer", + "format": "int64", + "description": "Peer ASN number.Example : 28", + "minimum": 1, + "maximum": 4294967295 + }, + "bfdConfiguration": { + "$ref": "#/definitions/BfdConfiguration", + "description": "BFD Configuration properties." + }, + "primaryIpv4Prefix": { + "type": "string", + "description": "IPv4 Address Prefix." + }, + "primaryIpv6Prefix": { + "type": "string", + "description": "IPv6 Address Prefix." + }, + "secondaryIpv4Prefix": { + "type": "string", + "description": "Secondary IPv4 Address Prefix." + }, + "secondaryIpv6Prefix": { + "type": "string", + "description": "Secondary IPv6 Address Prefix." + } + }, + "required": [ + "vlanId", + "peerASN" + ] + }, + "VpnOptionBPatchProperties": { + "type": "object", + "description": "Option B configuration to be used for Management VPN.", + "properties": { + "importRouteTargets": { + "type": "array", + "description": "Route Targets to be applied for incoming routes into CE. This is for backward compatibility.", + "items": { + "type": "string" + } + }, + "exportRouteTargets": { + "type": "array", + "description": "Route Targets to be applied for outgoing routes from CE. This is for backward compatibility.", + "items": { + "type": "string" + } + }, + "routeTargets": { + "$ref": "#/definitions/RouteTargetPatchInformation", + "description": "Route Targets to be applied." + } + } + }, + "VpnOptionBProperties": { + "type": "object", + "description": "Option B configuration to be used for Management VPN.", + "properties": { + "importRouteTargets": { + "type": "array", + "description": "Route Targets to be applied for incoming routes into CE. This is for backward compatibility.", + "items": { + "type": "string" + } + }, + "exportRouteTargets": { + "type": "array", + "description": "Route Targets to be applied for outgoing routes from CE. This is for backward compatibility.", + "items": { + "type": "string" + } + }, + "routeTargets": { + "$ref": "#/definitions/RouteTargetInformation", + "description": "Route Targets to be applied." + } + } + }, + "WellKnownCommunities": { + "type": "string", + "description": "`Internet` - Advertise routes to internet community.\n`LocalAS` - Advertise routes to only localAS peers.\n`NoAdvertise` - Don't advertise routes to any peer.\n`NoExport` - Don't export to next AS.\n`GShut` - Graceful Shutdown (GSHUT) withdraw routes before terminating BGP connection.", + "enum": [ + "Internet", + "LocalAS", + "NoAdvertise", + "NoExport", + "GShut" + ], + "x-ms-enum": { + "name": "WellKnownCommunities", + "modelAsString": true, + "values": [ + { + "name": "Internet", + "value": "Internet", + "description": "WellKnownCommunities-Internet" + }, + { + "name": "LocalAS", + "value": "LocalAS", + "description": "WellKnownCommunities-LocalAS" + }, + { + "name": "NoAdvertise", + "value": "NoAdvertise", + "description": "WellKnownCommunities-NoAdvertise" + }, + { + "name": "NoExport", + "value": "NoExport", + "description": "WellKnownCommunities-NoExport" + }, + { + "name": "GShut", + "value": "GShut", + "description": "WellKnownCommunities-GShut" + } + ] + } + } + }, + "parameters": {} +} diff --git a/specification/managednetworkfabric/resource-manager/readme.md b/specification/managednetworkfabric/resource-manager/readme.md index 943077a83f16..6428e4fa61a6 100644 --- a/specification/managednetworkfabric/resource-manager/readme.md +++ b/specification/managednetworkfabric/resource-manager/readme.md @@ -24,12 +24,47 @@ For other options on installation see [Installing AutoRest](https://aka.ms/autor These are the global settings for the Managed Network Fabric. -``` yaml +```yaml openapi-type: arm openapi-subtype: rpaas -tag: package-2023-06-15 +tag: package-2024-06-15-preview ``` +### Tag: package-2024-06-15-preview + +These settings apply only when `--tag=package-2024-06-15-preview` is specified on the command line. + +```yaml $(tag) == 'package-2024-06-15-preview' +input-file: + - Microsoft.ManagedNetworkFabric/preview/2024-06-15-preview/managednetworkfabric.json +suppressions: + - code: ArmResourcePropertiesBag + reason: Suppressing errors to conform to the existing published API + from: managednetworkfabric.json + where: $.definitions["InternetGateway"] + - code: ArmResourcePropertiesBag + from: managednetworkfabric.json + reason: Suppressing errors to conform to the existing published API + where: $.definitions["NetworkFabricSku"] +``` + +### Tag: package-2024-02-15-preview + +These settings apply only when `--tag=package-2024-02-15-preview` is specified on the command line. + +```yaml $(tag) == 'package-2024-02-15-preview' +input-file: + - Microsoft.ManagedNetworkFabric/preview/2024-02-15-preview/managednetworkfabric.json +suppressions: + - code: ArmResourcePropertiesBag + reason: Suppressing errors to conform to the existing published API + from: managednetworkfabric.json + where: $.definitions["InternetGateway"] + - code: ArmResourcePropertiesBag + from: managednetworkfabric.json + reason: Suppressing errors to conform to the existing published API + where: $.definitions["NetworkFabricSku"] +``` ### Tag: package-2023-06-15 @@ -59,11 +94,12 @@ input-file: - Microsoft.ManagedNetworkFabric/stable/2023-06-15/RoutePolicies.json - Microsoft.ManagedNetworkFabric/stable/2023-06-15/common.json ``` + ### Tag: package-2023-02-01-preview These settings apply only when `--tag=package-2023-02-01-preview` is specified on the command line. -``` yaml $(tag) == 'package-2023-02-01-preview' +```yaml $(tag) == 'package-2023-02-01-preview' input-file: - Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/AccessControlLists.json - Microsoft.ManagedNetworkFabric/preview/2023-02-01-preview/IpCommunities.json @@ -92,7 +128,7 @@ input-file: This section describes what SDK should be generated by the automatic system. This is not used by Autorest itself. -``` yaml $(swagger-to-sdk) +```yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-go - repo: azure-sdk-for-java @@ -122,4 +158,4 @@ See configuration in [readme.csharp.md](./readme.csharp.md) ## Java -See configuration in [readme.java.md](./readme.java.md) \ No newline at end of file +See configuration in [readme.java.md](./readme.java.md) diff --git a/specification/managednetworkfabric/resource-manager/readme.python.md b/specification/managednetworkfabric/resource-manager/readme.python.md index 5ad89ffb3aa0..d522d3841768 100644 --- a/specification/managednetworkfabric/resource-manager/readme.python.md +++ b/specification/managednetworkfabric/resource-manager/readme.python.md @@ -3,7 +3,7 @@ These settings apply only when `--python` is specified on the command line. Please also specify `--python-sdks-folder=`. -``` yaml $(python) +```yaml $(python) title: ManagedNetworkFabricMgmtClient azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION @@ -13,7 +13,7 @@ package-version: 1.0.0b1 clear-output-folder: true ``` -``` yaml $(python) +```yaml $(python) no-namespace-folders: true output-folder: $(python-sdks-folder)/managednetworkfabric/azure-mgmt-managednetworkfabric/azure/mgmt/managednetworkfabric ``` diff --git a/specification/managednetworkfabric/resource-manager/readme.typescript.md b/specification/managednetworkfabric/resource-manager/readme.typescript.md index d641d50741fb..4fa3b0e21989 100644 --- a/specification/managednetworkfabric/resource-manager/readme.typescript.md +++ b/specification/managednetworkfabric/resource-manager/readme.typescript.md @@ -3,7 +3,7 @@ These settings apply only when `--typescript` is specified on the command line. Please also specify `--typescript-sdks-folder=`. -``` yaml $(typescript) +```yaml $(typescript) typescript: azure-arm: true package-name: "@azure/arm-managednetworkfabric"