diff --git a/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProductsCatalogs_Get_MaximumSet_Gen.json b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProductsCatalogs_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..c125a194c576 --- /dev/null +++ b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProductsCatalogs_Get_MaximumSet_Gen.json @@ -0,0 +1,45 @@ +{ + "title": "DataProductsCatalogs_Get_MaximumSet_Gen", + "operationId": "DataProductsCatalogs_Get", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "publishers": [ + { + "publisherName": "Microsoft", + "dataProducts": [ + { + "dataProductName": "MCC", + "description": "Official data product for Mobile Content Cloud.", + "dataProductVersions": [ + { + "version": "1.0.0" + } + ] + } + ] + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/aoiresourceGroupName/providers/Microsoft.NetworkAnalytics/dataProductsCatalogs/default", + "name": "default", + "type": "Microsoft.NetworkAnalytics/dataProductsCatalogs", + "systemData": { + "createdBy": "abc@micros.com", + "createdByType": "User", + "createdAt": "2023-09-04T08:26:27.1506343Z", + "lastModifiedBy": "abc@micros.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-09-04T08:26:27.1506343Z" + } + } + } + } +} diff --git a/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProductsCatalogs_Get_MinimumSet_Gen.json b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProductsCatalogs_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..64d882b9f8de --- /dev/null +++ b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProductsCatalogs_Get_MinimumSet_Gen.json @@ -0,0 +1,16 @@ +{ + "title": "DataProductsCatalogs_Get_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen", + "operationId": "DataProductsCatalogs_Get", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/aoiresourceGroupName/providers/Microsoft.NetworkAnalytics/dataProductsCatalogs/default" + } + } + } +} diff --git a/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProductsCatalogs_ListByResourceGroup_MaximumSet_Gen.json b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProductsCatalogs_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..4618600508eb --- /dev/null +++ b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProductsCatalogs_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,50 @@ +{ + "title": "DataProductsCatalogs_ListByResourceGroup_MaximumSet_Gen", + "operationId": "DataProductsCatalogs_ListByResourceGroup", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "publishers": [ + { + "publisherName": "Microsoft", + "dataProducts": [ + { + "dataProductName": "MCC", + "description": "Official data product for Mobile Content Cloud.", + "dataProductVersions": [ + { + "version": "1.0.0" + } + ] + } + ] + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/aoiresourceGroupName/providers/Microsoft.NetworkAnalytics/dataProductsCatalogs/default", + "name": "default", + "type": "Microsoft.NetworkAnalytics/dataProductsCatalogs", + "systemData": { + "createdBy": "abc@micros.com", + "createdByType": "User", + "createdAt": "2023-09-04T08:26:27.1506343Z", + "lastModifiedBy": "abc@micros.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-09-04T08:26:27.1506343Z" + } + } + ], + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aoiresourceGroupName/providers/Microsoft.NetworkAnalytics/dataProductsCatalogs?api-version=2023-11-15$skiptoken=aaaaaaaaaaaaaaaaaaaaaaaaaaaa" + } + } + } +} diff --git a/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProductsCatalogs_ListByResourceGroup_MinimumSet_Gen.json b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProductsCatalogs_ListByResourceGroup_MinimumSet_Gen.json new file mode 100644 index 000000000000..dc5c9007ff2f --- /dev/null +++ b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProductsCatalogs_ListByResourceGroup_MinimumSet_Gen.json @@ -0,0 +1,20 @@ +{ + "title": "DataProductsCatalogs_ListByResourceGroup_MinimumSet_Gen", + "operationId": "DataProductsCatalogs_ListByResourceGroup", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/aoiresourceGroupName/providers/Microsoft.NetworkAnalytics/dataProductsCatalogs/default" + } + ] + } + } + } +} diff --git a/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProductsCatalogs_ListBySubscription_MaximumSet_Gen.json b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProductsCatalogs_ListBySubscription_MaximumSet_Gen.json new file mode 100644 index 000000000000..335ca166b4c2 --- /dev/null +++ b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProductsCatalogs_ListBySubscription_MaximumSet_Gen.json @@ -0,0 +1,49 @@ +{ + "title": "DataProductsCatalogs_ListBySubscription_MaximumSet_Gen", + "operationId": "DataProductsCatalogs_ListBySubscription", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "publishers": [ + { + "publisherName": "Microsoft", + "dataProducts": [ + { + "dataProductName": "MCC", + "description": "Official data product for Mobile Content Cloud.", + "dataProductVersions": [ + { + "version": "1.0.0" + } + ] + } + ] + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/aoiresourceGroupName/providers/Microsoft.NetworkAnalytics/dataProductsCatalogs/default", + "name": "default", + "type": "Microsoft.NetworkAnalytics/dataProductsCatalogs", + "systemData": { + "createdBy": "abc@micros.com", + "createdByType": "User", + "createdAt": "2023-09-04T08:26:27.1506343Z", + "lastModifiedBy": "abc@micros.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-09-04T08:26:27.1506343Z" + } + } + ], + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetworkAnalytics/dataProductsCatalogs?api-version=2023-11-15$skiptoken=aaaaaaaaaaaaaaaaaaaaaaaaaaaa" + } + } + } +} diff --git a/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProductsCatalogs_ListBySubscription_MinimumSet_Gen.json b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProductsCatalogs_ListBySubscription_MinimumSet_Gen.json new file mode 100644 index 000000000000..8d464345fed6 --- /dev/null +++ b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProductsCatalogs_ListBySubscription_MinimumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "title": "DataProductsCatalogs_ListBySubscription_MinimumSet_Gen", + "operationId": "DataProductsCatalogs_ListBySubscription", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/aoiresourceGroupName/providers/Microsoft.NetworkAnalytics/dataProductsCatalogs/default" + } + ] + } + } + } +} diff --git a/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProducts_AddUserRole_MaximumSet_Gen.json b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProducts_AddUserRole_MaximumSet_Gen.json new file mode 100644 index 000000000000..98b687ed20b7 --- /dev/null +++ b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProducts_AddUserRole_MaximumSet_Gen.json @@ -0,0 +1,35 @@ +{ + "title": "DataProducts_AddUserRole_MaximumSet_Gen", + "operationId": "DataProducts_AddUserRole", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName", + "dataProductName": "dataproduct01", + "body": { + "roleId": "00000000-0000-0000-0000-00000000000", + "principalId": "00000000-0000-0000-0000-00000000000", + "userName": "UserName", + "dataTypeScope": [ + "scope" + ], + "principalType": "User", + "role": "Reader" + } + }, + "responses": { + "200": { + "body": { + "roleId": "00000000-0000-0000-0000-00000000000", + "principalId": "00000000-0000-0000-0000-00000000000", + "userName": "UserName", + "dataTypeScope": [ + "scope" + ], + "principalType": "User", + "role": "Reader", + "roleAssignmentId": "00000000-0000-0000-0000-00000000000" + } + } + } +} diff --git a/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProducts_AddUserRole_MinimumSet_Gen.json b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProducts_AddUserRole_MinimumSet_Gen.json new file mode 100644 index 000000000000..06b08f2d270f --- /dev/null +++ b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProducts_AddUserRole_MinimumSet_Gen.json @@ -0,0 +1,35 @@ +{ + "title": "DataProducts_AddUserRole_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen", + "operationId": "DataProducts_AddUserRole", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName", + "dataProductName": "dataproduct01", + "body": { + "roleId": "00000000-0000-0000-0000-00000000000", + "principalId": "00000000-0000-0000-0000-00000000000", + "userName": "userName", + "dataTypeScope": [ + "scope" + ], + "principalType": "User", + "role": "Reader" + } + }, + "responses": { + "200": { + "body": { + "roleId": "00000000-0000-0000-0000-00000000000", + "principalId": "00000000-0000-0000-0000-00000000000", + "userName": "userName", + "dataTypeScope": [ + "scope" + ], + "principalType": "User", + "role": "Reader", + "roleAssignmentId": "00000000-0000-0000-0000-00000000000" + } + } + } +} diff --git a/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProducts_Create_MaximumSet_Gen.json b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProducts_Create_MaximumSet_Gen.json new file mode 100644 index 000000000000..547af9ceb22f --- /dev/null +++ b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProducts_Create_MaximumSet_Gen.json @@ -0,0 +1,252 @@ +{ + "title": "DataProducts_Create_MaximumSet_Gen", + "operationId": "DataProducts_Create", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName", + "dataProductName": "dataproduct01", + "resource": { + "properties": { + "provisioningState": "Succeeded", + "publisher": "Microsoft", + "product": "MCC", + "majorVersion": "1.0.0", + "owners": [ + "abc@micros.com" + ], + "redundancy": "Disabled", + "purviewAccount": "testpurview", + "purviewCollection": "134567890", + "privateLinksEnabled": "Disabled", + "publicNetworkAccess": "Enabled", + "customerManagedKeyEncryptionEnabled": "Enabled", + "customerEncryptionKey": { + "keyVaultUri": "https://KeyVault.vault.azure.net", + "keyName": "keyName", + "keyVersion": "keyVersion" + }, + "networkacls": { + "virtualNetworkRule": [ + { + "id": "/subscriptions/subscriptionId/resourcegroups/resourceGroupName/providers/Microsoft.Network/virtualNetworks/virtualNetworkName/subnets/subnetName", + "action": "Allow", + "state": "" + } + ], + "ipRules": [ + { + "value": "1.1.1.1", + "action": "Allow" + } + ], + "allowedQueryIpRangeList": [ + "1.1.1.1" + ], + "defaultAction": "Allow" + }, + "managedResourceGroupConfiguration": { + "name": "managedResourceGroupName", + "location": "eastus" + }, + "currentMinorVersion": "1.0.1", + "consumptionEndpoints": {} + }, + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} + } + }, + "tags": { + "userSpecifiedKeyName": "userSpecifiedKeyValue" + }, + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "provisioningState": "Succeeded", + "publisher": "Microsoft", + "product": "MCC", + "majorVersion": "1.0.0", + "owners": [ + "abc@micros.com" + ], + "redundancy": "Disabled", + "purviewAccount": "testpurview", + "purviewCollection": "134567890", + "privateLinksEnabled": "Disabled", + "publicNetworkAccess": "Enabled", + "customerManagedKeyEncryptionEnabled": "Enabled", + "customerEncryptionKey": { + "keyVaultUri": "https://KeyVault.vault.azure.net", + "keyName": "keyName", + "keyVersion": "keyVersion" + }, + "networkacls": { + "virtualNetworkRule": [ + { + "id": "/subscriptions/subscriptionId/resourcegroups/resourceGroupName/providers/Microsoft.Network/virtualNetworks/virtualNetworkName/subnets/subnetName", + "action": "Allow", + "state": "Succeeded" + } + ], + "ipRules": [ + { + "value": "1.1.1.1", + "action": "Allow" + } + ], + "allowedQueryIpRangeList": [ + "1.1.1.1", + "1.1.1.2" + ], + "defaultAction": "Allow" + }, + "managedResourceGroupConfiguration": { + "name": "managedResourceGroupName", + "location": "eastus" + }, + "availableMinorVersions": [ + "1.0.1", + "1.0.2" + ], + "currentMinorVersion": "1.0.1", + "documentation": "https://learn.microsoft.com/", + "consumptionEndpoints": { + "ingestionUrl": "https://aoiingestionstorageResourceName.blob.core.windows.net", + "ingestionResourceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/storageResourceName", + "fileAccessUrl": "https://operatorinsightsstorageResourceName.blob.core.windows.net", + "fileAccessResourceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/storageResourceName", + "queryUrl": "https://opinsightsclusterName.regionName.kusto.windows.net", + "queryResourceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.Kusto/clusters/clusterName" + }, + "keyVaultUrl": "https://myKeyVault.vault.azure.net" + }, + "identity": { + "principalId": "00000000-0000-0000-0000-000000000000", + "tenantId": "00000000-0000-0000-0000-000000000000", + "type": "IdentityType", + "userAssignedIdentities": { + "key8474": { + "principalId": "00000000-0000-0000-0000-000000000000", + "clientId": "00000000-0000-0000-0000-000000000000" + } + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/aoiresourceGroupName/providers/Microsoft.NetworkAnalytics/DataProducts/dataproduct01", + "name": "dataproduct01", + "type": "Microsoft.NetworkAnalytics/DataProducts", + "location": "eastus", + "tags": { + "userSpecifiedKeyName": "userSpecifiedKeyValue" + }, + "systemData": { + "createdBy": "abc@micros.com", + "createdByType": "User", + "createdAt": "2023-09-04T08:26:27.1506343Z", + "lastModifiedBy": "abc@micros.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-09-04T08:26:27.1506343Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "provisioningState": "Succeeded", + "publisher": "Microsoft", + "product": "MCC", + "majorVersion": "1.0.0", + "owners": [ + "abc@micros.com" + ], + "redundancy": "Disabled", + "purviewAccount": "testpurview", + "purviewCollection": "134567890", + "privateLinksEnabled": "Disabled", + "publicNetworkAccess": "Enabled", + "customerManagedKeyEncryptionEnabled": "Enabled", + "customerEncryptionKey": { + "keyVaultUri": "https://KeyVault.vault.azure.net", + "keyName": "keyName", + "keyVersion": "keyVersion" + }, + "networkacls": { + "virtualNetworkRule": [ + { + "id": "/subscriptions/subscriptionId/resourcegroups/resourceGroupName/providers/Microsoft.Network/virtualNetworks/virtualNetworkName/subnets/subnetName", + "action": "Allow", + "state": "Succeeded" + } + ], + "ipRules": [ + { + "value": "1.1.1.1", + "action": "Allow" + } + ], + "allowedQueryIpRangeList": [ + "1.1.1.1", + "1.1.1.2" + ], + "defaultAction": "Allow" + }, + "managedResourceGroupConfiguration": { + "name": "managedResourceGroupName", + "location": "eastus" + }, + "availableMinorVersions": [ + "1.0.1", + "1.0.2" + ], + "currentMinorVersion": "1.0.1", + "documentation": "https://learn.microsoft.com/", + "consumptionEndpoints": { + "ingestionUrl": "https://aoiingestionstorageResourceName.blob.core.windows.net", + "ingestionResourceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/storageResourceName", + "fileAccessUrl": "https://operatorinsightsstorageResourceName.blob.core.windows.net", + "fileAccessResourceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/storageResourceName", + "queryUrl": "https://opinsightsclusterName.regionName.kusto.windows.net", + "queryResourceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.Kusto/clusters/clusterName" + }, + "keyVaultUrl": "https://myKeyVault.vault.azure.net" + }, + "identity": { + "principalId": "00000000-0000-0000-0000-000000000000", + "tenantId": "00000000-0000-0000-0000-000000000000", + "type": "IdentityType", + "userAssignedIdentities": { + "key8474": { + "principalId": "00000000-0000-0000-0000-000000000000", + "clientId": "00000000-0000-0000-0000-000000000000" + } + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/aoiresourceGroupName/providers/Microsoft.NetworkAnalytics/DataProducts/dataproduct01", + "name": "dataproduct01", + "type": "Microsoft.NetworkAnalytics/DataProducts", + "location": "eastus", + "tags": { + "userSpecifiedKeyName": "userSpecifiedKeyValue" + }, + "systemData": { + "createdBy": "abc@micros.com", + "createdByType": "User", + "createdAt": "2023-09-04T08:26:27.1506343Z", + "lastModifiedBy": "abc@micros.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-09-04T08:26:27.1506343Z" + } + } + } + } +} diff --git a/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProducts_Create_MinimumSet_Gen.json b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProducts_Create_MinimumSet_Gen.json new file mode 100644 index 000000000000..59af0c62921e --- /dev/null +++ b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProducts_Create_MinimumSet_Gen.json @@ -0,0 +1,38 @@ +{ + "title": "DataProducts_Create_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen", + "operationId": "DataProducts_Create", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName", + "dataProductName": "dataproduct01", + "resource": { + "location": "eastus", + "properties": { + "publisher": "Microsoft", + "product": "MCC", + "majorVersion": "1.0.0" + }, + "tags": { + "userSpecifiedKeyName": "userSpecifiedKeyValue" + } + } + }, + "responses": { + "200": { + "body": { + "location": "eastus", + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/aoiresourceGroupName/providers/Microsoft.NetworkAnalytics/DataProducts/dataproduct01" + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "location": "eastus", + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/aoiresourceGroupName/providers/Microsoft.NetworkAnalytics/DataProducts/dataproduct01" + } + } + } +} diff --git a/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProducts_Delete_MaximumSet_Gen.json b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProducts_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..9723fd225e94 --- /dev/null +++ b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProducts_Delete_MaximumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "title": "DataProducts_Delete_MaximumSet_Gen", + "operationId": "DataProducts_Delete", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName", + "dataProductName": "dataproduct01" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProducts_Delete_MinimumSet_Gen.json b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProducts_Delete_MinimumSet_Gen.json new file mode 100644 index 000000000000..77c64c727c2b --- /dev/null +++ b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProducts_Delete_MinimumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "title": "DataProducts_Delete_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen", + "operationId": "DataProducts_Delete", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName", + "dataProductName": "dataproduct01" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProducts_GenerateStorageAccountSasToken_MaximumSet_Gen.json b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProducts_GenerateStorageAccountSasToken_MaximumSet_Gen.json new file mode 100644 index 000000000000..12fc2e4a3d3d --- /dev/null +++ b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProducts_GenerateStorageAccountSasToken_MaximumSet_Gen.json @@ -0,0 +1,22 @@ +{ + "title": "DataProducts_GenerateStorageAccountSasToken_MaximumSet_Gen", + "operationId": "DataProducts_GenerateStorageAccountSasToken", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName", + "dataProductName": "dataproduct01", + "body": { + "startTimeStamp": "2023-08-24T05:34:58.151Z", + "expiryTimeStamp": "2023-08-24T05:34:58.151Z", + "ipAddress": "1.1.1.1" + } + }, + "responses": { + "200": { + "body": { + "storageAccountSasToken": "storageAccountSasToken" + } + } + } +} diff --git a/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProducts_GenerateStorageAccountSasToken_MinimumSet_Gen.json b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProducts_GenerateStorageAccountSasToken_MinimumSet_Gen.json new file mode 100644 index 000000000000..eec1c1acf78f --- /dev/null +++ b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProducts_GenerateStorageAccountSasToken_MinimumSet_Gen.json @@ -0,0 +1,22 @@ +{ + "title": "DataProducts_GenerateStorageAccountSasToken_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen", + "operationId": "DataProducts_GenerateStorageAccountSasToken", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName", + "dataProductName": "dataproduct01", + "body": { + "startTimeStamp": "2023-08-24T05:35:17.051Z", + "expiryTimeStamp": "2023-08-24T05:35:17.051Z", + "ipAddress": "1.1.1.1" + } + }, + "responses": { + "200": { + "body": { + "storageAccountSasToken": "storageAccountSasToken" + } + } + } +} diff --git a/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProducts_Get_MaximumSet_Gen.json b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProducts_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..13bfa83591ca --- /dev/null +++ b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProducts_Get_MaximumSet_Gen.json @@ -0,0 +1,102 @@ +{ + "title": "DataProducts_Get_MaximumSet_Gen", + "operationId": "DataProducts_Get", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName", + "dataProductName": "dataproduct01" + }, + "responses": { + "200": { + "body": { + "properties": { + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "provisioningState": "Succeeded", + "publisher": "Microsoft", + "product": "MCC", + "majorVersion": "1.0.0", + "owners": [ + "abc@micros.com" + ], + "redundancy": "Disabled", + "purviewAccount": "testpurview", + "purviewCollection": "134567890", + "privateLinksEnabled": "Disabled", + "publicNetworkAccess": "Enabled", + "customerManagedKeyEncryptionEnabled": "Enabled", + "customerEncryptionKey": { + "keyVaultUri": "https://KeyVault.vault.azure.net", + "keyName": "keyName", + "keyVersion": "keyVersion" + }, + "networkacls": { + "virtualNetworkRule": [ + { + "id": "/subscriptions/subscriptionId/resourcegroups/resourceGroupName/providers/Microsoft.Network/virtualNetworks/virtualNetworkName/subnets/subnetName", + "action": "Allow", + "state": "Succeeded" + } + ], + "ipRules": [ + { + "value": "1.1.1.1", + "action": "Allow" + } + ], + "allowedQueryIpRangeList": [ + "1.1.1.1", + "1.1.1.2" + ], + "defaultAction": "Allow" + }, + "managedResourceGroupConfiguration": { + "name": "managedResourceGroupName", + "location": "eastus" + }, + "availableMinorVersions": [ + "1.0.1", + "1.0.2" + ], + "currentMinorVersion": "1.0.1", + "documentation": "https://learn.microsoft.com/", + "consumptionEndpoints": { + "ingestionUrl": "https://aoiingestionstorageResourceName.blob.core.windows.net", + "ingestionResourceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/storageResourceName", + "fileAccessUrl": "https://operatorinsightsstorageResourceName.blob.core.windows.net", + "fileAccessResourceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/storageResourceName", + "queryUrl": "https://opinsightsclusterName.regionName.kusto.windows.net", + "queryResourceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.Kusto/clusters/clusterName" + }, + "keyVaultUrl": "https://myKeyVault.vault.azure.net" + }, + "identity": { + "principalId": "00000000-0000-0000-0000-000000000000", + "tenantId": "00000000-0000-0000-0000-000000000000", + "type": "IdentityType", + "userAssignedIdentities": { + "key8474": { + "principalId": "00000000-0000-0000-0000-000000000000", + "clientId": "00000000-0000-0000-0000-000000000000" + } + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/aoiresourceGroupName/providers/Microsoft.NetworkAnalytics/DataProducts/dataproduct01", + "name": "dataproduct01", + "type": "Microsoft.NetworkAnalytics/DataProducts", + "location": "eastus", + "tags": { + "userSpecifiedKeyName": "userSpecifiedKeyValue" + }, + "systemData": { + "createdBy": "abc@micros.com", + "createdByType": "User", + "createdAt": "2023-09-04T08:26:27.1506343Z", + "lastModifiedBy": "abc@micros.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-09-04T08:26:27.1506343Z" + } + } + } + } +} diff --git a/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProducts_Get_MinimumSet_Gen.json b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProducts_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..29f68292fcbc --- /dev/null +++ b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProducts_Get_MinimumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "title": "DataProducts_Get_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen", + "operationId": "DataProducts_Get", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName", + "dataProductName": "dataproduct01" + }, + "responses": { + "200": { + "body": { + "location": "eastus", + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/aoiresourceGroupName/providers/Microsoft.NetworkAnalytics/DataProducts/dataproduct01" + } + } + } +} diff --git a/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProducts_ListByResourceGroup_MaximumSet_Gen.json b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProducts_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..82de6e9ece00 --- /dev/null +++ b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProducts_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,106 @@ +{ + "title": "DataProducts_ListByResourceGroup_MaximumSet_Gen", + "operationId": "DataProducts_ListByResourceGroup", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "provisioningState": "Succeeded", + "publisher": "Microsoft", + "product": "MCC", + "majorVersion": "1.0.0", + "owners": [ + "abc@micros.com" + ], + "redundancy": "Disabled", + "purviewAccount": "testpurview", + "purviewCollection": "134567890", + "privateLinksEnabled": "Disabled", + "publicNetworkAccess": "Enabled", + "customerManagedKeyEncryptionEnabled": "Enabled", + "customerEncryptionKey": { + "keyVaultUri": "https://KeyVault.vault.azure.net", + "keyName": "keyName", + "keyVersion": "keyVersion" + }, + "networkacls": { + "virtualNetworkRule": [ + { + "id": "/subscriptions/subscriptionId/resourcegroups/resourceGroupName/providers/Microsoft.Network/virtualNetworks/virtualNetworkName/subnets/subnetName", + "action": "Allow", + "state": "Succeeded" + } + ], + "ipRules": [ + { + "value": "1.1.1.1", + "action": "Allow" + } + ], + "allowedQueryIpRangeList": [ + "1.1.1.1", + "1.1.1.2" + ], + "defaultAction": "Allow" + }, + "managedResourceGroupConfiguration": { + "name": "managedResourceGroupName", + "location": "eastus" + }, + "availableMinorVersions": [ + "1.0.1", + "1.0.2" + ], + "currentMinorVersion": "1.0.1", + "documentation": "https://learn.microsoft.com/", + "consumptionEndpoints": { + "ingestionUrl": "https://aoiingestionstorageResourceName.blob.core.windows.net", + "ingestionResourceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/storageResourceName", + "fileAccessUrl": "https://operatorinsightsstorageResourceName.blob.core.windows.net", + "fileAccessResourceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/storageResourceName", + "queryUrl": "https://opinsightsclusterName.regionName.kusto.windows.net", + "queryResourceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.Kusto/clusters/clusterName" + }, + "keyVaultUrl": "https://myKeyVault.vault.azure.net" + }, + "identity": { + "principalId": "00000000-0000-0000-0000-000000000000", + "tenantId": "00000000-0000-0000-0000-000000000000", + "type": "IdentityType", + "userAssignedIdentities": { + "key8474": { + "principalId": "00000000-0000-0000-0000-000000000000", + "clientId": "00000000-0000-0000-0000-000000000000" + } + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/aoiresourceGroupName/providers/Microsoft.NetworkAnalytics/DataProducts/dataproduct01", + "name": "dataproduct01", + "type": "Microsoft.NetworkAnalytics/DataProducts", + "location": "eastus", + "tags": { + "userSpecifiedKeyName": "userSpecifiedKeyValue" + }, + "systemData": { + "createdBy": "abc@micros.com", + "createdByType": "User", + "createdAt": "2023-09-04T08:26:27.1506343Z", + "lastModifiedBy": "abc@micros.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-09-04T08:26:27.1506343Z" + } + } + ], + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aoiresourceGroupName/providers/Microsoft.NetworkAnalytics/DataProducts?api-version=2023-11-15$skiptoken=aaaaaaaaaaaaaaaaaaaaaaaaaaaa" + } + } + } +} diff --git a/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProducts_ListByResourceGroup_MinimumSet_Gen.json b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProducts_ListByResourceGroup_MinimumSet_Gen.json new file mode 100644 index 000000000000..1f203c3641fa --- /dev/null +++ b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProducts_ListByResourceGroup_MinimumSet_Gen.json @@ -0,0 +1,21 @@ +{ + "title": "DataProducts_ListByResourceGroup_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen", + "operationId": "DataProducts_ListByResourceGroup", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/aoiresourceGroupName/providers/Microsoft.NetworkAnalytics/DataProducts/dataproduct01", + "location": "eastus" + } + ] + } + } + } +} diff --git a/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProducts_ListBySubscription_MaximumSet_Gen.json b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProducts_ListBySubscription_MaximumSet_Gen.json new file mode 100644 index 000000000000..16534d88e589 --- /dev/null +++ b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProducts_ListBySubscription_MaximumSet_Gen.json @@ -0,0 +1,105 @@ +{ + "title": "DataProducts_ListBySubscription_MaximumSet_Gen", + "operationId": "DataProducts_ListBySubscription", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "provisioningState": "Succeeded", + "publisher": "Microsoft", + "product": "MCC", + "majorVersion": "1.0.0", + "owners": [ + "abc@micros.com" + ], + "redundancy": "Disabled", + "purviewAccount": "testpurview", + "purviewCollection": "134567890", + "privateLinksEnabled": "Disabled", + "publicNetworkAccess": "Enabled", + "customerManagedKeyEncryptionEnabled": "Enabled", + "customerEncryptionKey": { + "keyVaultUri": "https://KeyVault.vault.azure.net", + "keyName": "keyName", + "keyVersion": "keyVersion" + }, + "networkacls": { + "virtualNetworkRule": [ + { + "id": "/subscriptions/subscriptionId/resourcegroups/resourceGroupName/providers/Microsoft.Network/virtualNetworks/virtualNetworkName/subnets/subnetName", + "action": "Allow", + "state": "Succeeded" + } + ], + "ipRules": [ + { + "value": "1.1.1.1", + "action": "Allow" + } + ], + "allowedQueryIpRangeList": [ + "1.1.1.1", + "1.1.1.2" + ], + "defaultAction": "Allow" + }, + "managedResourceGroupConfiguration": { + "name": "managedResourceGroupName", + "location": "eastus" + }, + "availableMinorVersions": [ + "1.0.1", + "1.0.2" + ], + "currentMinorVersion": "1.0.1", + "documentation": "https://learn.microsoft.com/", + "consumptionEndpoints": { + "ingestionUrl": "https://aoiingestionstorageResourceName.blob.core.windows.net", + "ingestionResourceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/storageResourceName", + "fileAccessUrl": "https://operatorinsightsstorageResourceName.blob.core.windows.net", + "fileAccessResourceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/storageResourceName", + "queryUrl": "https://opinsightsclusterName.regionName.kusto.windows.net", + "queryResourceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.Kusto/clusters/clusterName" + }, + "keyVaultUrl": "https://myKeyVault.vault.azure.net" + }, + "identity": { + "principalId": "00000000-0000-0000-0000-000000000000", + "tenantId": "00000000-0000-0000-0000-000000000000", + "type": "IdentityType", + "userAssignedIdentities": { + "key8474": { + "principalId": "00000000-0000-0000-0000-000000000000", + "clientId": "00000000-0000-0000-0000-000000000000" + } + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/aoiresourceGroupName/providers/Microsoft.NetworkAnalytics/DataProducts/dataproduct01", + "name": "dataproduct01", + "type": "Microsoft.NetworkAnalytics/DataProducts", + "location": "eastus", + "tags": { + "userSpecifiedKeyName": "userSpecifiedKeyValue" + }, + "systemData": { + "createdBy": "abc@micros.com", + "createdByType": "User", + "createdAt": "2023-09-04T08:26:27.1506343Z", + "lastModifiedBy": "abc@micros.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-09-04T08:26:27.1506343Z" + } + } + ], + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetworkAnalytics/DataProducts?api-version=2023-11-15$skiptoken=aaaaaaaaaaaaaaaaaaaaaaaaaaaa" + } + } + } +} diff --git a/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProducts_ListBySubscription_MinimumSet_Gen.json b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProducts_ListBySubscription_MinimumSet_Gen.json new file mode 100644 index 000000000000..f1e77fc23042 --- /dev/null +++ b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProducts_ListBySubscription_MinimumSet_Gen.json @@ -0,0 +1,20 @@ +{ + "title": "DataProducts_ListBySubscription_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen", + "operationId": "DataProducts_ListBySubscription", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/aoiresourceGroupName/providers/Microsoft.NetworkAnalytics/DataProducts/dataproduct01", + "location": "eastus" + } + ] + } + } + } +} diff --git a/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProducts_ListRolesAssignments_MaximumSet_Gen.json b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProducts_ListRolesAssignments_MaximumSet_Gen.json new file mode 100644 index 000000000000..774159728d53 --- /dev/null +++ b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProducts_ListRolesAssignments_MaximumSet_Gen.json @@ -0,0 +1,31 @@ +{ + "title": "DataProducts_ListRolesAssignments_MaximumSet_Gen", + "operationId": "DataProducts_ListRolesAssignments", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName", + "dataProductName": "dataproduct01", + "body": {} + }, + "responses": { + "200": { + "body": { + "count": 1, + "roleAssignmentResponse": [ + { + "roleId": "00000000-0000-0000-0000-00000000000", + "principalId": "00000000-0000-0000-0000-00000000000", + "userName": "UserName", + "dataTypeScope": [ + "scope" + ], + "principalType": "User", + "role": "Reader", + "roleAssignmentId": "00000000-0000-0000-0000-00000000000" + } + ] + } + } + } +} diff --git a/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProducts_ListRolesAssignments_MinimumSet_Gen.json b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProducts_ListRolesAssignments_MinimumSet_Gen.json new file mode 100644 index 000000000000..68360878ce52 --- /dev/null +++ b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProducts_ListRolesAssignments_MinimumSet_Gen.json @@ -0,0 +1,31 @@ +{ + "title": "DataProducts_ListRolesAssignments_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen", + "operationId": "DataProducts_ListRolesAssignments", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName", + "dataProductName": "dataproduct01", + "body": {} + }, + "responses": { + "200": { + "body": { + "count": 1, + "roleAssignmentResponse": [ + { + "roleId": "00000000-0000-0000-0000-00000000000", + "principalId": "00000000-0000-0000-0000-00000000000", + "userName": "UserName", + "dataTypeScope": [ + "scope" + ], + "principalType": "User", + "role": "Reader", + "roleAssignmentId": "00000000-0000-0000-0000-00000000000" + } + ] + } + } + } +} diff --git a/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProducts_RemoveUserRole_MaximumSet_Gen.json b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProducts_RemoveUserRole_MaximumSet_Gen.json new file mode 100644 index 000000000000..1771cd0f7143 --- /dev/null +++ b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProducts_RemoveUserRole_MaximumSet_Gen.json @@ -0,0 +1,24 @@ +{ + "title": "DataProducts_RemoveUserRole_MaximumSet_Gen", + "operationId": "DataProducts_RemoveUserRole", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName", + "dataProductName": "dataproduct01", + "body": { + "roleId": "00000000-0000-0000-0000-00000000000", + "principalId": "00000000-0000-0000-0000-00000000000", + "userName": "UserName", + "dataTypeScope": [ + "scope" + ], + "principalType": "User", + "role": "Reader", + "roleAssignmentId": "00000000-0000-0000-0000-00000000000" + } + }, + "responses": { + "204": {} + } +} diff --git a/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProducts_RemoveUserRole_MinimumSet_Gen.json b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProducts_RemoveUserRole_MinimumSet_Gen.json new file mode 100644 index 000000000000..8b8bbe33069b --- /dev/null +++ b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProducts_RemoveUserRole_MinimumSet_Gen.json @@ -0,0 +1,24 @@ +{ + "title": "DataProducts_RemoveUserRole_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen", + "operationId": "DataProducts_RemoveUserRole", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName", + "dataProductName": "dataproduct01", + "body": { + "roleId": "00000000-0000-0000-0000-00000000000", + "principalId": "00000000-0000-0000-0000-00000000000", + "userName": "UserName", + "dataTypeScope": [ + "scope" + ], + "principalType": "User", + "role": "Reader", + "roleAssignmentId": "00000000-0000-0000-0000-00000000000" + } + }, + "responses": { + "204": {} + } +} diff --git a/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProducts_RotateKey_MaximumSet_Gen.json b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProducts_RotateKey_MaximumSet_Gen.json new file mode 100644 index 000000000000..d34d4fff9e6b --- /dev/null +++ b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProducts_RotateKey_MaximumSet_Gen.json @@ -0,0 +1,16 @@ +{ + "title": "DataProducts_RotateKey_MaximumSet_Gen", + "operationId": "DataProducts_RotateKey", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName", + "dataProductName": "dataproduct01", + "body": { + "keyVaultUrl": "https://myKeyVault.vault.azure.net" + } + }, + "responses": { + "204": {} + } +} diff --git a/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProducts_RotateKey_MinimumSet_Gen.json b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProducts_RotateKey_MinimumSet_Gen.json new file mode 100644 index 000000000000..c24a79ba5fed --- /dev/null +++ b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProducts_RotateKey_MinimumSet_Gen.json @@ -0,0 +1,16 @@ +{ + "title": "DataProducts_RotateKey_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen", + "operationId": "DataProducts_RotateKey", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName", + "dataProductName": "dataproduct01", + "body": { + "keyVaultUrl": "https://myKeyVault.vault.azure.net" + } + }, + "responses": { + "204": {} + } +} diff --git a/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProducts_Update_MaximumSet_Gen.json b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProducts_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..e2e0b84ff4e0 --- /dev/null +++ b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProducts_Update_MaximumSet_Gen.json @@ -0,0 +1,129 @@ +{ + "title": "DataProducts_Update_MaximumSet_Gen", + "operationId": "DataProducts_Update", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName", + "dataProductName": "dataproduct01", + "properties": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} + } + }, + "tags": { + "userSpecifiedKeyName": "userSpecifiedKeyValue" + }, + "properties": { + "owners": [ + "abc@micros.com", + "def@micros.com" + ], + "purviewAccount": "testpurview", + "purviewCollection": "134567890", + "privateLinksEnabled": "Disabled", + "currentMinorVersion": "1.0.1" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "provisioningState": "Succeeded", + "publisher": "Microsoft", + "product": "MCC", + "majorVersion": "1.0.0", + "owners": [ + "abc@micros.com", + "def@micros.com" + ], + "redundancy": "Disabled", + "purviewAccount": "testpurview", + "purviewCollection": "134567890", + "privateLinksEnabled": "Disabled", + "publicNetworkAccess": "Enabled", + "customerManagedKeyEncryptionEnabled": "Enabled", + "customerEncryptionKey": { + "keyVaultUri": "https://KeyVault.vault.azure.net", + "keyName": "keyName", + "keyVersion": "keyVersion" + }, + "networkacls": { + "virtualNetworkRule": [ + { + "id": "/subscriptions/subscriptionId/resourcegroups/resourceGroupName/providers/Microsoft.Network/virtualNetworks/virtualNetworkName/subnets/subnetName", + "action": "Allow", + "state": "Succeeded" + } + ], + "ipRules": [ + { + "value": "1.1.1.1", + "action": "Allow" + } + ], + "allowedQueryIpRangeList": [ + "1.1.1.1", + "1.1.1.2" + ], + "defaultAction": "Allow" + }, + "managedResourceGroupConfiguration": { + "name": "managedResourceGroupName", + "location": "eastus" + }, + "availableMinorVersions": [ + "1.0.1", + "1.0.2" + ], + "currentMinorVersion": "1.0.1", + "documentation": "https://learn.microsoft.com/", + "consumptionEndpoints": { + "ingestionUrl": "https://aoiingestionstorageResourceName.blob.core.windows.net", + "ingestionResourceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/storageResourceName", + "fileAccessUrl": "https://operatorinsightsstorageResourceName.blob.core.windows.net", + "fileAccessResourceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/storageResourceName", + "queryUrl": "https://opinsightsclusterName.regionName.kusto.windows.net", + "queryResourceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.Kusto/clusters/clusterName" + }, + "keyVaultUrl": "https://myKeyVault.vault.azure.net" + }, + "identity": { + "principalId": "00000000-0000-0000-0000-000000000000", + "tenantId": "00000000-0000-0000-0000-000000000000", + "type": "IdentityType", + "userAssignedIdentities": { + "key8474": { + "principalId": "00000000-0000-0000-0000-000000000000", + "clientId": "00000000-0000-0000-0000-000000000000" + } + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/aoiresourceGroupName/providers/Microsoft.NetworkAnalytics/DataProducts/dataproduct01", + "name": "dataproduct01", + "type": "Microsoft.NetworkAnalytics/DataProducts", + "location": "eastus", + "tags": { + "userSpecifiedKeyName": "userSpecifiedKeyValue" + }, + "systemData": { + "createdBy": "abc@micros.com", + "createdByType": "User", + "createdAt": "2023-09-04T08:26:27.1506343Z", + "lastModifiedBy": "abc@micros.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-09-04T08:26:27.1506343Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProducts_Update_MinimumSet_Gen.json b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProducts_Update_MinimumSet_Gen.json new file mode 100644 index 000000000000..7e457f7c0708 --- /dev/null +++ b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataProducts_Update_MinimumSet_Gen.json @@ -0,0 +1,23 @@ +{ + "title": "DataProducts_Update_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen", + "operationId": "DataProducts_Update", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName", + "dataProductName": "dataproduct01", + "properties": {} + }, + "responses": { + "200": { + "body": { + "location": "jwlerdaudgxff" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataTypes_Create_MaximumSet_Gen.json b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataTypes_Create_MaximumSet_Gen.json new file mode 100644 index 000000000000..8fac29e57352 --- /dev/null +++ b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataTypes_Create_MaximumSet_Gen.json @@ -0,0 +1,73 @@ +{ + "title": "DataTypes_Create_MaximumSet_Gen", + "operationId": "DataTypes_Create", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName", + "dataProductName": "dataproduct01", + "dataTypeName": "datatypename", + "resource": { + "properties": { + "provisioningState": "Succeeded", + "state": "STARTED", + "storageOutputRetention": 27, + "databaseCacheRetention": 23, + "databaseRetention": 6 + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "STARTED", + "stateReason": "State Reason", + "storageOutputRetention": 27, + "databaseCacheRetention": 23, + "databaseRetention": 6, + "visualizationUrl": "visualizationUrl" + }, + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/aoiresourceGroupName/providers/Microsoft.NetworkAnalytics/dataProducts/dataproduct01/dataTypes/datatypename", + "name": "datatypeName", + "type": "Microsoft.NetworkAnalytics/DataProducts/DataTypes", + "systemData": { + "createdBy": "abc@micros.com", + "createdByType": "User", + "createdAt": "2023-09-04T08:26:27.1506343Z", + "lastModifiedBy": "abc@micros.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-09-04T08:26:27.1506343Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "STARTED", + "stateReason": "State Reason", + "storageOutputRetention": 27, + "databaseCacheRetention": 23, + "databaseRetention": 6, + "visualizationUrl": "visualizationUrl" + }, + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/aoiresourceGroupName/providers/Microsoft.NetworkAnalytics/dataProducts/dataproduct01/dataTypes/datatypename", + "name": "datatypename", + "type": "Microsoft.NetworkAnalytics/DataProducts/DataTypes", + "systemData": { + "createdBy": "abc@micros.com", + "createdByType": "User", + "createdAt": "2023-09-04T08:26:27.1506343Z", + "lastModifiedBy": "abc@micros.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-09-04T08:26:27.1506343Z" + } + } + } + } +} diff --git a/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataTypes_Create_MinimumSet_Gen.json b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataTypes_Create_MinimumSet_Gen.json new file mode 100644 index 000000000000..0f3a573ce683 --- /dev/null +++ b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataTypes_Create_MinimumSet_Gen.json @@ -0,0 +1,23 @@ +{ + "title": "DataTypes_Create_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen", + "operationId": "DataTypes_Create", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName", + "dataProductName": "dataproduct01", + "dataTypeName": "datatypename", + "resource": {} + }, + "responses": { + "200": { + "body": {} + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": {} + } + } +} diff --git a/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataTypes_DeleteData_MaximumSet_Gen.json b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataTypes_DeleteData_MaximumSet_Gen.json new file mode 100644 index 000000000000..642dc86756f8 --- /dev/null +++ b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataTypes_DeleteData_MaximumSet_Gen.json @@ -0,0 +1,20 @@ +{ + "title": "DataTypes_DeleteData_MaximumSet_Gen", + "operationId": "DataTypes_DeleteData", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName", + "dataProductName": "dataproduct01", + "dataTypeName": "datatypename", + "body": {} + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataTypes_DeleteData_MinimumSet_Gen.json b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataTypes_DeleteData_MinimumSet_Gen.json new file mode 100644 index 000000000000..3034e317eb52 --- /dev/null +++ b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataTypes_DeleteData_MinimumSet_Gen.json @@ -0,0 +1,20 @@ +{ + "title": "DataTypes_DeleteData_MinimumSet_Gen", + "operationId": "DataTypes_DeleteData", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName", + "dataProductName": "dataproduct01", + "dataTypeName": "datatypename", + "body": {} + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataTypes_Delete_MaximumSet_Gen.json b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataTypes_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..408d59354539 --- /dev/null +++ b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataTypes_Delete_MaximumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "title": "DataTypes_Delete_MaximumSet_Gen", + "operationId": "DataTypes_Delete", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName", + "dataProductName": "dataproduct01", + "dataTypeName": "datatypename" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataTypes_Delete_MinimumSet_Gen.json b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataTypes_Delete_MinimumSet_Gen.json new file mode 100644 index 000000000000..a6c944e7330b --- /dev/null +++ b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataTypes_Delete_MinimumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "title": "DataTypes_Delete_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen", + "operationId": "DataTypes_Delete", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName", + "dataProductName": "dataproduct01", + "dataTypeName": "datatypename" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataTypes_GenerateStorageContainerSasToken_MaximumSet_Gen.json b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataTypes_GenerateStorageContainerSasToken_MaximumSet_Gen.json new file mode 100644 index 000000000000..e7294dedde0d --- /dev/null +++ b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataTypes_GenerateStorageContainerSasToken_MaximumSet_Gen.json @@ -0,0 +1,23 @@ +{ + "title": "DataTypes_GenerateStorageContainerSasToken_MaximumSet_Gen", + "operationId": "DataTypes_GenerateStorageContainerSasToken", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName", + "dataProductName": "dataproduct01", + "dataTypeName": "datatypename", + "body": { + "startTimeStamp": "2023-08-24T05:34:58.039Z", + "expiryTimeStamp": "2023-08-24T05:34:58.039Z", + "ipAddress": "1.1.1.1" + } + }, + "responses": { + "200": { + "body": { + "storageContainerSasToken": "storageContainerSasToken" + } + } + } +} diff --git a/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataTypes_GenerateStorageContainerSasToken_MinimumSet_Gen.json b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataTypes_GenerateStorageContainerSasToken_MinimumSet_Gen.json new file mode 100644 index 000000000000..8ccc4e1b484b --- /dev/null +++ b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataTypes_GenerateStorageContainerSasToken_MinimumSet_Gen.json @@ -0,0 +1,23 @@ +{ + "title": "DataTypes_GenerateStorageContainerSasToken_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen", + "operationId": "DataTypes_GenerateStorageContainerSasToken", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName", + "dataProductName": "dataproduct01", + "dataTypeName": "datatypename", + "body": { + "startTimeStamp": "2023-08-24T05:35:16.887Z", + "expiryTimeStamp": "2023-08-24T05:35:16.887Z", + "ipAddress": "1.1.1.1" + } + }, + "responses": { + "200": { + "body": { + "storageContainerSasToken": "storageContainerSasToken" + } + } + } +} diff --git a/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataTypes_Get_MaximumSet_Gen.json b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataTypes_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..0db40711ab48 --- /dev/null +++ b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataTypes_Get_MaximumSet_Gen.json @@ -0,0 +1,37 @@ +{ + "title": "DataTypes_Get_MaximumSet_Gen", + "operationId": "DataTypes_Get", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName", + "dataProductName": "dataproduct01", + "dataTypeName": "datatypename" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "STARTED", + "stateReason": "state Reason", + "storageOutputRetention": 27, + "databaseCacheRetention": 23, + "databaseRetention": 6, + "visualizationUrl": "visualizationUrl" + }, + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/aoiresourceGroupName/providers/Microsoft.NetworkAnalytics/dataProducts/dataproduct01/dataTypes/datatypename", + "name": "datatypename", + "type": "Microsoft.NetworkAnalytics/DataProducts/DataTypes", + "systemData": { + "createdBy": "abc@micros.com", + "createdByType": "User", + "createdAt": "2023-09-04T08:26:27.1506343Z", + "lastModifiedBy": "abc@micros.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-09-04T08:26:27.1506343Z" + } + } + } + } +} diff --git a/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataTypes_Get_MinimumSet_Gen.json b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataTypes_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..3ad5f936e674 --- /dev/null +++ b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataTypes_Get_MinimumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "title": "DataTypes_Get_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen", + "operationId": "DataTypes_Get", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName", + "dataProductName": "dataproduct01", + "dataTypeName": "datatypename" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/aoiresourceGroupName/providers/Microsoft.NetworkAnalytics/dataProducts/dataproduct01/dataTypes/datatypename" + } + } + } +} diff --git a/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataTypes_ListByDataProduct_MaximumSet_Gen.json b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataTypes_ListByDataProduct_MaximumSet_Gen.json new file mode 100644 index 000000000000..67ffeb98c082 --- /dev/null +++ b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataTypes_ListByDataProduct_MaximumSet_Gen.json @@ -0,0 +1,41 @@ +{ + "title": "DataTypes_ListByDataProduct_MaximumSet_Gen", + "operationId": "DataTypes_ListByDataProduct", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName", + "dataProductName": "dataproduct01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "STARTED", + "stateReason": "state Reason", + "storageOutputRetention": 27, + "databaseCacheRetention": 23, + "databaseRetention": 6, + "visualizationUrl": "visualizationUrl" + }, + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/aoiresourceGroupName/providers/Microsoft.NetworkAnalytics/dataProducts/dataproduct01/dataTypes/datatypename", + "name": "datatypename", + "type": "Microsoft.NetworkAnalytics/DataProducts/DataTypes", + "systemData": { + "createdBy": "abc@micros.com", + "createdByType": "User", + "createdAt": "2023-09-04T08:26:27.1506343Z", + "lastModifiedBy": "abc@micros.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-09-04T08:26:27.1506343Z" + } + } + ], + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aoiresourceGroupName/providers/Microsoft.NetworkAnalytics/DataProducts/dataproduct01/dataTypes?api-version=2023-11-15$skiptoken=aaaaaaaaaaaaaaaaaaaaaaaaaaaa" + } + } + } +} diff --git a/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataTypes_ListByDataProduct_MinimumSet_Gen.json b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataTypes_ListByDataProduct_MinimumSet_Gen.json new file mode 100644 index 000000000000..894493ae61a2 --- /dev/null +++ b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataTypes_ListByDataProduct_MinimumSet_Gen.json @@ -0,0 +1,21 @@ +{ + "title": "DataTypes_ListByDataProduct_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen", + "operationId": "DataTypes_ListByDataProduct", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName", + "dataProductName": "dataproduct01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/aoiresourceGroupName/providers/Microsoft.NetworkAnalytics/dataProducts/dataproduct01/dataTypes/datatypename" + } + ] + } + } + } +} diff --git a/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataTypes_Update_MaximumSet_Gen.json b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataTypes_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..61dc8bd10cf2 --- /dev/null +++ b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataTypes_Update_MaximumSet_Gen.json @@ -0,0 +1,50 @@ +{ + "title": "DataTypes_Update_MaximumSet_Gen", + "operationId": "DataTypes_Update", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName", + "dataProductName": "dataproduct01", + "dataTypeName": "datatypename", + "properties": { + "properties": { + "state": "STARTED", + "storageOutputRetention": 30, + "databaseCacheRetention": 16, + "databaseRetention": 9 + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "STARTED", + "stateReason": "State Reason", + "storageOutputRetention": 30, + "databaseCacheRetention": 16, + "databaseRetention": 9, + "visualizationUrl": "visualizationUrl" + }, + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/aoiresourceGroupName/providers/Microsoft.NetworkAnalytics/dataProducts/dataproduct01/dataTypes/datatypename", + "name": "datatypename", + "type": "Microsoft.NetworkAnalytics/DataProducts/DataTypes", + "systemData": { + "createdBy": "abc@micros.com", + "createdByType": "User", + "createdAt": "2023-09-04T08:26:27.1506343Z", + "lastModifiedBy": "abc@micros.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-09-04T08:26:27.1506343Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataTypes_Update_MinimumSet_Gen.json b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataTypes_Update_MinimumSet_Gen.json new file mode 100644 index 000000000000..4e03ae4c7e3c --- /dev/null +++ b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/DataTypes_Update_MinimumSet_Gen.json @@ -0,0 +1,22 @@ +{ + "title": "DataTypes_Update_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen", + "operationId": "DataTypes_Update", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName", + "dataProductName": "dataproduct01", + "dataTypeName": "datatypename", + "properties": {} + }, + "responses": { + "200": { + "body": {} + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/Operations_List_MaximumSet_Gen.json b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/Operations_List_MaximumSet_Gen.json new file mode 100644 index 000000000000..b5d4bfbb706b --- /dev/null +++ b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/Operations_List_MaximumSet_Gen.json @@ -0,0 +1,28 @@ +{ + "title": "Operations_List_MaximumSet_Gen", + "operationId": "Operations_List", + "parameters": { + "api-version": "2023-11-15" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.NetworkAnalytics/resourceName/operationName", + "isDataAction": false, + "display": { + "provider": "Microsoft.NetworkAnalytics", + "resource": "ResourceName", + "operation": "OperationName", + "description": "Description of the operation" + }, + "origin": "user", + "actionType": "Internal" + } + ], + "nextLink": "https://fully.qualified.hyperlink" + } + } + } +} diff --git a/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/Operations_List_MinimumSet_Gen.json b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/Operations_List_MinimumSet_Gen.json new file mode 100644 index 000000000000..1cb2610d6b6b --- /dev/null +++ b/specification/networkanalytics/NetworkAnalytics.Management/examples/2023-11-15/Operations_List_MinimumSet_Gen.json @@ -0,0 +1,12 @@ +{ + "title": "Operations_List_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen", + "operationId": "Operations_List", + "parameters": { + "api-version": "2023-11-15" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/networkanalytics/NetworkAnalytics.Management/main.tsp b/specification/networkanalytics/NetworkAnalytics.Management/main.tsp new file mode 100644 index 000000000000..5a84f751401f --- /dev/null +++ b/specification/networkanalytics/NetworkAnalytics.Management/main.tsp @@ -0,0 +1,589 @@ +import "@typespec/rest"; +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@azure-tools/typespec-autorest"; +import "@typespec/versioning"; + +using TypeSpec.Versioning; +using TypeSpec.Http; +using TypeSpec.Rest; +using Azure.ResourceManager; +using Autorest; +using OpenAPI; + +@armProviderNamespace +@service({ + title: "Microsoft.NetworkAnalytics", +}) +@versioned(Microsoft.NetworkAnalytics.Versions) +namespace Microsoft.NetworkAnalytics; + +interface Operations extends Azure.ResourceManager.Operations {} + +@doc("The available API versions for the Microsoft.NetworkAnalytics RP.") +enum Versions { + @doc("The 2023-11-15 stable version.") + @useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) + v2023_11_15: "2023-11-15", +} + +@doc("The status of the current operation.") +enum ProvisioningState { + /** Represents a succeeded operation. */ + Succeeded, + /** Represents a failed operation. */ + Failed, + /** Represents a canceled operation. */ + Canceled, + /** Represents a pending operation. */ + Provisioning, + /** Represents a pending operation. */ + Updating, + /** Represents an operation under deletion. */ + Deleting, + /** Represents an accepted operation. */ + Accepted, +} + +@doc("ManagedResourceGroup related properties") +model ManagedResourceGroupConfiguration { + @doc("Name of managed resource group") + name: string; + + @doc("Managed Resource Group location") + location: string; +} + +@doc("Virtual Network Rule") +model VirtualNetworkRule { + @doc("Resource ID of a subnet") + id: string; + + @doc("The action of virtual network rule.") + action?: string; + + @doc("Gets the state of virtual network rule.") + state?: string; +} + +#suppress "@azure-tools/typespec-azure-core/casing-style" "Suppressing casing style warning for iprules for now." +@doc("IP rule with specific IP or IP range in CIDR format.") +model IPRules { + @doc("IP Rules Value") + value?: string; + + @doc("The action of virtual network rule.") + action: string; +} + +@doc("Resource Access Rules.") +model ResourceAccessRules { + @doc("The tenant ID of resource.") + tenantId: string; + + @doc("Resource ID") + resourceId: string; +} + +@doc("Specifies whether traffic is bypassed for Logging/Metrics/AzureServices. Possible values are any combination of Logging|Metrics|AzureServices (For example, \"Logging, Metrics\"), or None to bypass none of those traffics.") +enum Bypass { + @doc("Represents no bypassing of traffic.") + None, + + @doc("Represents bypassing logging traffic.") + Logging, + + @doc("Represents bypassing metrics traffic.") + Metrics, + + @doc("Represents bypassing azure services traffic.") + AzureServices, +} + +@doc("Specifies the default action of allow or deny when no other rules match.") +enum DefaultAction { + @doc("Represents allow action.") + Allow, + + @doc("Represents deny action.") + Deny, +} + +@doc("Data Product Network rule set") +@added(Versions.v2023_11_15) +model DataProductNetworkAcls { + @doc("Virtual Network Rule") + virtualNetworkRule: VirtualNetworkRule[]; + + @doc("IP rule with specific IP or IP range in CIDR format.") + @extension("x-ms-identifiers", []) + ipRules: IPRules[]; + + @doc("The list of query ips in the format of CIDR allowed to connect to query/visualization endpoint.") + allowedQueryIpRangeList: string[]; + + @doc("Default Action") + defaultAction: DefaultAction; +} + +@doc("The data product resource.") +@added(Versions.v2023_11_15) +model DataProduct is TrackedResource { + @doc("The data product resource name") + @key("dataProductName") + @segment("dataProducts") + @path + @pattern("^[a-z][a-z0-9]*$") + @minLength(3) + @maxLength(63) + name: string; + + ...ManagedServiceIdentity; +} + +@doc("The data product properties.") +@added(Versions.v2023_11_15) +model DataProductProperties { + @doc("The resource GUID property of the data product resource.") + @visibility("read") + resourceGuid?: string; + + @doc("Latest provisioning state of data product.") + @visibility("read") + provisioningState?: ProvisioningState; + + @doc("Data product publisher name.") + @visibility("create", "read") + publisher: string; + + @doc("Product name of data product.") + @visibility("create", "read") + product: string; + + @doc("Major version of data product.") + @visibility("create", "read") + majorVersion: string; + + @doc("List of name or email associated with data product resource deployment.") + @visibility("create", "read", "update") + owners?: string[]; + + @doc("Flag to enable or disable redundancy for data product.") + @visibility("create", "read") + redundancy?: ControlState; + + @doc("Purview account url for data product to connect to.") + @visibility("create", "update", "read") + purviewAccount?: string; + + @doc("Purview collection url for data product to connect to.") + @visibility("create", "update", "read") + purviewCollection?: string; + + @doc("Flag to enable or disable private link for data product resource.") + @visibility("create", "update", "read") + privateLinksEnabled?: ControlState; + + @doc("Flag to enable or disable public access of data product resource.") + @visibility("create", "read") + publicNetworkAccess?: ControlState; + + @doc("Flag to enable customer managed key encryption for data product.") + @visibility("create", "read") + customerManagedKeyEncryptionEnabled?: ControlState; + + @doc("Customer managed encryption key details for data product.") + @visibility("create", "read") + customerEncryptionKey?: EncryptionKeyDetails; + + @doc("Network rule set for data product.") + @visibility("create", "read") + networkacls?: DataProductNetworkAcls; + + @doc("Managed resource group configuration.") + @visibility("create") + managedResourceGroupConfiguration?: ManagedResourceGroupConfiguration; + + @doc("List of available minor versions of the data product resource.") + @visibility("read") + availableMinorVersions?: string[]; + + @doc("Current configured minor version of the data product resource.") + @visibility("read", "update") + currentMinorVersion?: string; + + @doc("Documentation link for the data product based on definition file.") + @visibility("read") + documentation?: string; + + @doc("Resource links which exposed to the customer to query the data.") + @visibility("read") + consumptionEndpoints?: ConsumptionEndpointsProperties; + + @doc("Key vault url.") + @visibility("read") + keyVaultUrl?: string; +} + +@doc("Encryption key details.") +@added(Versions.v2023_11_15) +model EncryptionKeyDetails { + @doc("The Uri of the key vault.") + keyVaultUri: string; + + @doc("The name of the key vault key.") + keyName: string; + + @doc("The version of the key vault key.") + keyVersion: string; +} + +@doc("The data type state") +@added(Versions.v2023_11_15) +enum ControlState { + @doc("Field to enable a setting.") + Enabled, + + @doc("Field to disable a setting.") + Disabled, +} + +@doc("Details of Consumption Properties") +@added(Versions.v2023_11_15) +model ConsumptionEndpointsProperties { + @doc("Ingestion url to upload the data.") + @visibility("read") + ingestionUrl?: string; + + @doc("Resource Id of ingestion endpoint.") + @visibility("read") + ingestionResourceId?: ResourceIdentifier<[ + { + type: "Microsoft.Storage/storageAccounts"; + } + ]>; + + @doc("Url to consume file type.") + @visibility("read") + fileAccessUrl?: string; + + @doc("Resource Id of file access endpoint.") + @visibility("read") + fileAccessResourceId?: ResourceIdentifier<[ + { + type: "Microsoft.Storage/storageAccounts"; + } + ]>; + + @doc("Url to consume the processed data.") + @visibility("read") + queryUrl?: string; + + @doc("Resource Id of query endpoint.") + @visibility("read") + queryResourceId?: ResourceIdentifier<[ + { + type: "Microsoft.Kusto/clusters"; + } + ]>; +} + +@doc("The details for storage account sas creation.") +@added(Versions.v2023_11_15) +model AccountSas { + @doc("Sas token start timestamp.") + @format("date-time") + startTimeStamp: string; + + @doc("Sas token expiry timestamp.") + @format("date-time") + expiryTimeStamp: string; + + @doc("Ip Address") + ipAddress: string; +} + +@doc("Details of storage account sas token .") +@added(Versions.v2023_11_15) +model AccountSasToken { + @doc("Field to specify storage account sas token.") + @secret + storageAccountSasToken: string; +} + +@doc("Details of storage container account sas token .") +@added(Versions.v2023_11_15) +model ContainerSasToken { + @doc("Field to specify storage container sas token.") + @secret + storageContainerSasToken: string; +} + +@doc("Details for KeyVault.") +@added(Versions.v2023_11_15) +model KeyVaultInfo { + @doc("key vault url.") + keyVaultUrl: string; +} + +@doc("The data type resource.") +@added(Versions.v2023_11_15) +@parentResource(DataProduct) +model DataType is ProxyResource { + @doc("The data type name.") + @segment("dataTypes") + @key("dataTypeName") + @path + @pattern("^[a-z][a-z0-9-]*$") + @minLength(3) + @maxLength(63) + name: string; +} + +@doc("The data type properties") +@added(Versions.v2023_11_15) +model DataTypeProperties { + @doc("Latest provisioning state of data product.") + @visibility("read") + provisioningState?: ProvisioningState; + + @doc("State of data type.") + @visibility("read", "create", "update") + state?: DataTypeState; + + @doc("Reason for the state of data type.") + @visibility("read") + stateReason?: string; + + @doc("Field for storage output retention in days.") + @visibility("read", "create", "update") + storageOutputRetention?: int32; + + @doc("Field for database cache retention in days.") + @visibility("read", "create", "update") + databaseCacheRetention?: int32; + + @doc("Field for database data retention in days.") + @visibility("read", "create", "update") + databaseRetention?: int32; + + @doc("Url for data visualization.") + @visibility("read") + visualizationUrl?: string; +} + +@doc("The data type state") +@added(Versions.v2023_11_15) +enum DataTypeState { + @doc("Field to specify stopped state.") + Stopped, + + @doc("Field to specify running state.") + Running, +} + +@doc("The details for container sas creation.") +@added(Versions.v2023_11_15) +model ContainerSaS is AccountSas; + +@doc("The details for role assignment response.") +@added(Versions.v2023_11_15) +model RoleAssignmentDetail is RoleAssignmentCommonProperties { + @doc("Id of role assignment request") + roleAssignmentId: string; +} + +@doc("list role assignments.") +@added(Versions.v2023_11_15) +model ListRoleAssignments { + @doc("Count of role assignments.") + count: int32; + + @doc("list of role assignments") + @extension("x-ms-identifiers", ["roleAssignmentId"]) + roleAssignmentResponse: RoleAssignmentDetail[]; +} + +@doc("The data type state") +@added(Versions.v2023_11_15) +enum DataProductUserRole { + @doc("Field to specify user of type Reader.") + Reader, + + @doc(""" +Field to specify user of type SensitiveReader. +This user has privileged access to read sensitive data of a data product. +""") + SensitiveReader, +} + +@doc("The details for role assignment common properties.") +@added(Versions.v2023_11_15) +model RoleAssignmentCommonProperties { + @doc("Role Id of the Built-In Role") + roleId: string; + + @doc("Object ID of the AAD principal or security-group.") + principalId: string; + + @doc("User name.") + userName: string; + + @doc("Data Type Scope at which the role assignment is created.") + dataTypeScope: string[]; + + @doc("Type of the principal Id: User, Group or ServicePrincipal") + principalType: string; + + @doc("Data Product role to be assigned to a user.") + role: DataProductUserRole; +} + +@doc("The data catalog resource.") +@singleton +@added(Versions.v2023_11_15) +model DataProductsCatalog is ProxyResource { + @doc("The data catalog name") + @key("dataProductsCatalogName") + @segment("dataProductsCatalogs") + @path + name: string; +} + +@doc("Details for data catalog properties.") +@added(Versions.v2023_11_15) +model DataProductsCatalogProperties { + @doc("The data catalog provisioning state.") + @visibility("read") + provisioningState?: ProvisioningState; + + @doc("The data product publisher information.") + publishers: PublisherInformation[]; +} + +@doc("Details for Publisher Information.") +@added(Versions.v2023_11_15) +model PublisherInformation { + @doc("Name of the publisher.") + publisherName: string; + + @doc("Data product information.") + dataProducts: DataProductInformation[]; +} + +@added(Versions.v2023_11_15) +@doc("Data Product Information") +model DataProductInformation { + @doc("Name of data product.") + dataProductName: string; + + @doc("Description about data product.") + description: string; + + @doc("Version information of data product.") + dataProductVersions: DataProductVersion[]; +} + +@doc("Data Product Version.") +@added(Versions.v2023_11_15) +model DataProductVersion { + @doc("Version of data product") + version: string; +} + +@doc("Operations on data catalog resource.") +@added(Versions.v2023_11_15) +@armResourceOperations +interface DataProductsCatalogs { + @doc("Retrieve data type resource.") + get is ArmResourceRead; + + @doc("List data catalog by resource group.") + listByResourceGroup is ArmResourceListByParent; + + @doc("List data catalog by subscription.") + listBySubscription is ArmListBySubscription; +} + +@doc("Operations on data type resource.") +@added(Versions.v2023_11_15) +@armResourceOperations +interface DataTypes { + @doc("Create data type resource.") + create is ArmResourceCreateOrUpdateAsync; + + @doc("Retrieve data type resource.") + get is ArmResourceRead; + + @doc("Update data type resource.") + update is ArmResourcePatchAsync; + + @doc("Delete data type resource.") + delete is ArmResourceDeleteWithoutOkAsync; + + @doc("Delete data for data type.") + deleteData is ArmResourceActionNoContentAsync; + + @doc("Generate sas token for storage container.") + generateStorageContainerSasToken is ArmResourceActionSync< + DataType, + ContainerSaS, + ContainerSasToken + >; + + @doc("List data type by parent resource.") + listByParent is ArmResourceListByParent; +} + +@doc("Operations on data product resource.") +@added(Versions.v2023_11_15) +@armResourceOperations +interface DataProducts { + @doc("Create data product resource.") + create is ArmResourceCreateOrUpdateAsync; + + @doc("Retrieve data product resource.") + get is ArmResourceRead; + + @doc("Update data product resource.") + update is ArmResourcePatchAsync; + + @doc("Delete data product resource.") + delete is ArmResourceDeleteWithoutOkAsync; + + @doc("Generate sas token for storage account.") + generateStorageAccountSasToken is ArmResourceActionSync< + DataProduct, + AccountSas, + AccountSasToken + >; + + @doc("Initiate key rotation on Data Product.") + rotateKey is ArmResourceActionNoContentSync; + + @doc("Assign role to the data product.") + addUserRole is ArmResourceActionSync< + DataProduct, + RoleAssignmentCommonProperties, + RoleAssignmentDetail + >; + + @doc("Remove role from the data product.") + removeUserRole is ArmResourceActionNoContentSync< + DataProduct, + RoleAssignmentDetail + >; + + @doc("List user roles associated with the data product.") + listRolesAssignments is ArmResourceActionSync< + DataProduct, + {}, + ListRoleAssignments + >; + + @doc("List data products by resource group.") + listByResourceGroup is ArmResourceListByParent; + + @doc("List data products by subscription.") + listBySubscription is ArmListBySubscription; +} diff --git a/specification/networkanalytics/NetworkAnalytics.Management/tspconfig.yaml b/specification/networkanalytics/NetworkAnalytics.Management/tspconfig.yaml new file mode 100644 index 000000000000..cedabf83d65a --- /dev/null +++ b/specification/networkanalytics/NetworkAnalytics.Management/tspconfig.yaml @@ -0,0 +1,17 @@ +emit: + - '@azure-tools/typespec-autorest' +options: + '@azure-tools/typespec-autorest': + emitter-output-dir: "{project-root}/.." + azure-resource-provider-folder: "resource-manager" + output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/networkanalytics.json" + examples-directory: "{project-root}/examples" + "@azure-tools/cadl-python": + "basic-setup-py": true + "package-version": 1.0.0b1 + "package-name": azure-mgmt-networkanalytics + "@azure-tools/cadl-csharp": + save-inputs: false + clear-output-folder: true + namespace: Microsoft.NetworkAnalytics + model-namespace: false \ No newline at end of file diff --git a/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProductsCatalogs_Get_MaximumSet_Gen.json b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProductsCatalogs_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..c125a194c576 --- /dev/null +++ b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProductsCatalogs_Get_MaximumSet_Gen.json @@ -0,0 +1,45 @@ +{ + "title": "DataProductsCatalogs_Get_MaximumSet_Gen", + "operationId": "DataProductsCatalogs_Get", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "publishers": [ + { + "publisherName": "Microsoft", + "dataProducts": [ + { + "dataProductName": "MCC", + "description": "Official data product for Mobile Content Cloud.", + "dataProductVersions": [ + { + "version": "1.0.0" + } + ] + } + ] + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/aoiresourceGroupName/providers/Microsoft.NetworkAnalytics/dataProductsCatalogs/default", + "name": "default", + "type": "Microsoft.NetworkAnalytics/dataProductsCatalogs", + "systemData": { + "createdBy": "abc@micros.com", + "createdByType": "User", + "createdAt": "2023-09-04T08:26:27.1506343Z", + "lastModifiedBy": "abc@micros.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-09-04T08:26:27.1506343Z" + } + } + } + } +} diff --git a/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProductsCatalogs_Get_MinimumSet_Gen.json b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProductsCatalogs_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..64d882b9f8de --- /dev/null +++ b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProductsCatalogs_Get_MinimumSet_Gen.json @@ -0,0 +1,16 @@ +{ + "title": "DataProductsCatalogs_Get_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen", + "operationId": "DataProductsCatalogs_Get", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/aoiresourceGroupName/providers/Microsoft.NetworkAnalytics/dataProductsCatalogs/default" + } + } + } +} diff --git a/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProductsCatalogs_ListByResourceGroup_MaximumSet_Gen.json b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProductsCatalogs_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..4618600508eb --- /dev/null +++ b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProductsCatalogs_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,50 @@ +{ + "title": "DataProductsCatalogs_ListByResourceGroup_MaximumSet_Gen", + "operationId": "DataProductsCatalogs_ListByResourceGroup", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "publishers": [ + { + "publisherName": "Microsoft", + "dataProducts": [ + { + "dataProductName": "MCC", + "description": "Official data product for Mobile Content Cloud.", + "dataProductVersions": [ + { + "version": "1.0.0" + } + ] + } + ] + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/aoiresourceGroupName/providers/Microsoft.NetworkAnalytics/dataProductsCatalogs/default", + "name": "default", + "type": "Microsoft.NetworkAnalytics/dataProductsCatalogs", + "systemData": { + "createdBy": "abc@micros.com", + "createdByType": "User", + "createdAt": "2023-09-04T08:26:27.1506343Z", + "lastModifiedBy": "abc@micros.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-09-04T08:26:27.1506343Z" + } + } + ], + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aoiresourceGroupName/providers/Microsoft.NetworkAnalytics/dataProductsCatalogs?api-version=2023-11-15$skiptoken=aaaaaaaaaaaaaaaaaaaaaaaaaaaa" + } + } + } +} diff --git a/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProductsCatalogs_ListByResourceGroup_MinimumSet_Gen.json b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProductsCatalogs_ListByResourceGroup_MinimumSet_Gen.json new file mode 100644 index 000000000000..dc5c9007ff2f --- /dev/null +++ b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProductsCatalogs_ListByResourceGroup_MinimumSet_Gen.json @@ -0,0 +1,20 @@ +{ + "title": "DataProductsCatalogs_ListByResourceGroup_MinimumSet_Gen", + "operationId": "DataProductsCatalogs_ListByResourceGroup", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/aoiresourceGroupName/providers/Microsoft.NetworkAnalytics/dataProductsCatalogs/default" + } + ] + } + } + } +} diff --git a/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProductsCatalogs_ListBySubscription_MaximumSet_Gen.json b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProductsCatalogs_ListBySubscription_MaximumSet_Gen.json new file mode 100644 index 000000000000..335ca166b4c2 --- /dev/null +++ b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProductsCatalogs_ListBySubscription_MaximumSet_Gen.json @@ -0,0 +1,49 @@ +{ + "title": "DataProductsCatalogs_ListBySubscription_MaximumSet_Gen", + "operationId": "DataProductsCatalogs_ListBySubscription", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "publishers": [ + { + "publisherName": "Microsoft", + "dataProducts": [ + { + "dataProductName": "MCC", + "description": "Official data product for Mobile Content Cloud.", + "dataProductVersions": [ + { + "version": "1.0.0" + } + ] + } + ] + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/aoiresourceGroupName/providers/Microsoft.NetworkAnalytics/dataProductsCatalogs/default", + "name": "default", + "type": "Microsoft.NetworkAnalytics/dataProductsCatalogs", + "systemData": { + "createdBy": "abc@micros.com", + "createdByType": "User", + "createdAt": "2023-09-04T08:26:27.1506343Z", + "lastModifiedBy": "abc@micros.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-09-04T08:26:27.1506343Z" + } + } + ], + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetworkAnalytics/dataProductsCatalogs?api-version=2023-11-15$skiptoken=aaaaaaaaaaaaaaaaaaaaaaaaaaaa" + } + } + } +} diff --git a/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProductsCatalogs_ListBySubscription_MinimumSet_Gen.json b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProductsCatalogs_ListBySubscription_MinimumSet_Gen.json new file mode 100644 index 000000000000..8d464345fed6 --- /dev/null +++ b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProductsCatalogs_ListBySubscription_MinimumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "title": "DataProductsCatalogs_ListBySubscription_MinimumSet_Gen", + "operationId": "DataProductsCatalogs_ListBySubscription", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/aoiresourceGroupName/providers/Microsoft.NetworkAnalytics/dataProductsCatalogs/default" + } + ] + } + } + } +} diff --git a/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_AddUserRole_MaximumSet_Gen.json b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_AddUserRole_MaximumSet_Gen.json new file mode 100644 index 000000000000..98b687ed20b7 --- /dev/null +++ b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_AddUserRole_MaximumSet_Gen.json @@ -0,0 +1,35 @@ +{ + "title": "DataProducts_AddUserRole_MaximumSet_Gen", + "operationId": "DataProducts_AddUserRole", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName", + "dataProductName": "dataproduct01", + "body": { + "roleId": "00000000-0000-0000-0000-00000000000", + "principalId": "00000000-0000-0000-0000-00000000000", + "userName": "UserName", + "dataTypeScope": [ + "scope" + ], + "principalType": "User", + "role": "Reader" + } + }, + "responses": { + "200": { + "body": { + "roleId": "00000000-0000-0000-0000-00000000000", + "principalId": "00000000-0000-0000-0000-00000000000", + "userName": "UserName", + "dataTypeScope": [ + "scope" + ], + "principalType": "User", + "role": "Reader", + "roleAssignmentId": "00000000-0000-0000-0000-00000000000" + } + } + } +} diff --git a/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_AddUserRole_MinimumSet_Gen.json b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_AddUserRole_MinimumSet_Gen.json new file mode 100644 index 000000000000..06b08f2d270f --- /dev/null +++ b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_AddUserRole_MinimumSet_Gen.json @@ -0,0 +1,35 @@ +{ + "title": "DataProducts_AddUserRole_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen", + "operationId": "DataProducts_AddUserRole", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName", + "dataProductName": "dataproduct01", + "body": { + "roleId": "00000000-0000-0000-0000-00000000000", + "principalId": "00000000-0000-0000-0000-00000000000", + "userName": "userName", + "dataTypeScope": [ + "scope" + ], + "principalType": "User", + "role": "Reader" + } + }, + "responses": { + "200": { + "body": { + "roleId": "00000000-0000-0000-0000-00000000000", + "principalId": "00000000-0000-0000-0000-00000000000", + "userName": "userName", + "dataTypeScope": [ + "scope" + ], + "principalType": "User", + "role": "Reader", + "roleAssignmentId": "00000000-0000-0000-0000-00000000000" + } + } + } +} diff --git a/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_Create_MaximumSet_Gen.json b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_Create_MaximumSet_Gen.json new file mode 100644 index 000000000000..547af9ceb22f --- /dev/null +++ b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_Create_MaximumSet_Gen.json @@ -0,0 +1,252 @@ +{ + "title": "DataProducts_Create_MaximumSet_Gen", + "operationId": "DataProducts_Create", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName", + "dataProductName": "dataproduct01", + "resource": { + "properties": { + "provisioningState": "Succeeded", + "publisher": "Microsoft", + "product": "MCC", + "majorVersion": "1.0.0", + "owners": [ + "abc@micros.com" + ], + "redundancy": "Disabled", + "purviewAccount": "testpurview", + "purviewCollection": "134567890", + "privateLinksEnabled": "Disabled", + "publicNetworkAccess": "Enabled", + "customerManagedKeyEncryptionEnabled": "Enabled", + "customerEncryptionKey": { + "keyVaultUri": "https://KeyVault.vault.azure.net", + "keyName": "keyName", + "keyVersion": "keyVersion" + }, + "networkacls": { + "virtualNetworkRule": [ + { + "id": "/subscriptions/subscriptionId/resourcegroups/resourceGroupName/providers/Microsoft.Network/virtualNetworks/virtualNetworkName/subnets/subnetName", + "action": "Allow", + "state": "" + } + ], + "ipRules": [ + { + "value": "1.1.1.1", + "action": "Allow" + } + ], + "allowedQueryIpRangeList": [ + "1.1.1.1" + ], + "defaultAction": "Allow" + }, + "managedResourceGroupConfiguration": { + "name": "managedResourceGroupName", + "location": "eastus" + }, + "currentMinorVersion": "1.0.1", + "consumptionEndpoints": {} + }, + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} + } + }, + "tags": { + "userSpecifiedKeyName": "userSpecifiedKeyValue" + }, + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "provisioningState": "Succeeded", + "publisher": "Microsoft", + "product": "MCC", + "majorVersion": "1.0.0", + "owners": [ + "abc@micros.com" + ], + "redundancy": "Disabled", + "purviewAccount": "testpurview", + "purviewCollection": "134567890", + "privateLinksEnabled": "Disabled", + "publicNetworkAccess": "Enabled", + "customerManagedKeyEncryptionEnabled": "Enabled", + "customerEncryptionKey": { + "keyVaultUri": "https://KeyVault.vault.azure.net", + "keyName": "keyName", + "keyVersion": "keyVersion" + }, + "networkacls": { + "virtualNetworkRule": [ + { + "id": "/subscriptions/subscriptionId/resourcegroups/resourceGroupName/providers/Microsoft.Network/virtualNetworks/virtualNetworkName/subnets/subnetName", + "action": "Allow", + "state": "Succeeded" + } + ], + "ipRules": [ + { + "value": "1.1.1.1", + "action": "Allow" + } + ], + "allowedQueryIpRangeList": [ + "1.1.1.1", + "1.1.1.2" + ], + "defaultAction": "Allow" + }, + "managedResourceGroupConfiguration": { + "name": "managedResourceGroupName", + "location": "eastus" + }, + "availableMinorVersions": [ + "1.0.1", + "1.0.2" + ], + "currentMinorVersion": "1.0.1", + "documentation": "https://learn.microsoft.com/", + "consumptionEndpoints": { + "ingestionUrl": "https://aoiingestionstorageResourceName.blob.core.windows.net", + "ingestionResourceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/storageResourceName", + "fileAccessUrl": "https://operatorinsightsstorageResourceName.blob.core.windows.net", + "fileAccessResourceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/storageResourceName", + "queryUrl": "https://opinsightsclusterName.regionName.kusto.windows.net", + "queryResourceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.Kusto/clusters/clusterName" + }, + "keyVaultUrl": "https://myKeyVault.vault.azure.net" + }, + "identity": { + "principalId": "00000000-0000-0000-0000-000000000000", + "tenantId": "00000000-0000-0000-0000-000000000000", + "type": "IdentityType", + "userAssignedIdentities": { + "key8474": { + "principalId": "00000000-0000-0000-0000-000000000000", + "clientId": "00000000-0000-0000-0000-000000000000" + } + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/aoiresourceGroupName/providers/Microsoft.NetworkAnalytics/DataProducts/dataproduct01", + "name": "dataproduct01", + "type": "Microsoft.NetworkAnalytics/DataProducts", + "location": "eastus", + "tags": { + "userSpecifiedKeyName": "userSpecifiedKeyValue" + }, + "systemData": { + "createdBy": "abc@micros.com", + "createdByType": "User", + "createdAt": "2023-09-04T08:26:27.1506343Z", + "lastModifiedBy": "abc@micros.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-09-04T08:26:27.1506343Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "provisioningState": "Succeeded", + "publisher": "Microsoft", + "product": "MCC", + "majorVersion": "1.0.0", + "owners": [ + "abc@micros.com" + ], + "redundancy": "Disabled", + "purviewAccount": "testpurview", + "purviewCollection": "134567890", + "privateLinksEnabled": "Disabled", + "publicNetworkAccess": "Enabled", + "customerManagedKeyEncryptionEnabled": "Enabled", + "customerEncryptionKey": { + "keyVaultUri": "https://KeyVault.vault.azure.net", + "keyName": "keyName", + "keyVersion": "keyVersion" + }, + "networkacls": { + "virtualNetworkRule": [ + { + "id": "/subscriptions/subscriptionId/resourcegroups/resourceGroupName/providers/Microsoft.Network/virtualNetworks/virtualNetworkName/subnets/subnetName", + "action": "Allow", + "state": "Succeeded" + } + ], + "ipRules": [ + { + "value": "1.1.1.1", + "action": "Allow" + } + ], + "allowedQueryIpRangeList": [ + "1.1.1.1", + "1.1.1.2" + ], + "defaultAction": "Allow" + }, + "managedResourceGroupConfiguration": { + "name": "managedResourceGroupName", + "location": "eastus" + }, + "availableMinorVersions": [ + "1.0.1", + "1.0.2" + ], + "currentMinorVersion": "1.0.1", + "documentation": "https://learn.microsoft.com/", + "consumptionEndpoints": { + "ingestionUrl": "https://aoiingestionstorageResourceName.blob.core.windows.net", + "ingestionResourceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/storageResourceName", + "fileAccessUrl": "https://operatorinsightsstorageResourceName.blob.core.windows.net", + "fileAccessResourceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/storageResourceName", + "queryUrl": "https://opinsightsclusterName.regionName.kusto.windows.net", + "queryResourceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.Kusto/clusters/clusterName" + }, + "keyVaultUrl": "https://myKeyVault.vault.azure.net" + }, + "identity": { + "principalId": "00000000-0000-0000-0000-000000000000", + "tenantId": "00000000-0000-0000-0000-000000000000", + "type": "IdentityType", + "userAssignedIdentities": { + "key8474": { + "principalId": "00000000-0000-0000-0000-000000000000", + "clientId": "00000000-0000-0000-0000-000000000000" + } + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/aoiresourceGroupName/providers/Microsoft.NetworkAnalytics/DataProducts/dataproduct01", + "name": "dataproduct01", + "type": "Microsoft.NetworkAnalytics/DataProducts", + "location": "eastus", + "tags": { + "userSpecifiedKeyName": "userSpecifiedKeyValue" + }, + "systemData": { + "createdBy": "abc@micros.com", + "createdByType": "User", + "createdAt": "2023-09-04T08:26:27.1506343Z", + "lastModifiedBy": "abc@micros.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-09-04T08:26:27.1506343Z" + } + } + } + } +} diff --git a/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_Create_MinimumSet_Gen.json b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_Create_MinimumSet_Gen.json new file mode 100644 index 000000000000..59af0c62921e --- /dev/null +++ b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_Create_MinimumSet_Gen.json @@ -0,0 +1,38 @@ +{ + "title": "DataProducts_Create_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen", + "operationId": "DataProducts_Create", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName", + "dataProductName": "dataproduct01", + "resource": { + "location": "eastus", + "properties": { + "publisher": "Microsoft", + "product": "MCC", + "majorVersion": "1.0.0" + }, + "tags": { + "userSpecifiedKeyName": "userSpecifiedKeyValue" + } + } + }, + "responses": { + "200": { + "body": { + "location": "eastus", + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/aoiresourceGroupName/providers/Microsoft.NetworkAnalytics/DataProducts/dataproduct01" + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "location": "eastus", + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/aoiresourceGroupName/providers/Microsoft.NetworkAnalytics/DataProducts/dataproduct01" + } + } + } +} diff --git a/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_Delete_MaximumSet_Gen.json b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..9723fd225e94 --- /dev/null +++ b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_Delete_MaximumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "title": "DataProducts_Delete_MaximumSet_Gen", + "operationId": "DataProducts_Delete", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName", + "dataProductName": "dataproduct01" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_Delete_MinimumSet_Gen.json b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_Delete_MinimumSet_Gen.json new file mode 100644 index 000000000000..77c64c727c2b --- /dev/null +++ b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_Delete_MinimumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "title": "DataProducts_Delete_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen", + "operationId": "DataProducts_Delete", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName", + "dataProductName": "dataproduct01" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_GenerateStorageAccountSasToken_MaximumSet_Gen.json b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_GenerateStorageAccountSasToken_MaximumSet_Gen.json new file mode 100644 index 000000000000..12fc2e4a3d3d --- /dev/null +++ b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_GenerateStorageAccountSasToken_MaximumSet_Gen.json @@ -0,0 +1,22 @@ +{ + "title": "DataProducts_GenerateStorageAccountSasToken_MaximumSet_Gen", + "operationId": "DataProducts_GenerateStorageAccountSasToken", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName", + "dataProductName": "dataproduct01", + "body": { + "startTimeStamp": "2023-08-24T05:34:58.151Z", + "expiryTimeStamp": "2023-08-24T05:34:58.151Z", + "ipAddress": "1.1.1.1" + } + }, + "responses": { + "200": { + "body": { + "storageAccountSasToken": "storageAccountSasToken" + } + } + } +} diff --git a/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_GenerateStorageAccountSasToken_MinimumSet_Gen.json b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_GenerateStorageAccountSasToken_MinimumSet_Gen.json new file mode 100644 index 000000000000..eec1c1acf78f --- /dev/null +++ b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_GenerateStorageAccountSasToken_MinimumSet_Gen.json @@ -0,0 +1,22 @@ +{ + "title": "DataProducts_GenerateStorageAccountSasToken_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen", + "operationId": "DataProducts_GenerateStorageAccountSasToken", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName", + "dataProductName": "dataproduct01", + "body": { + "startTimeStamp": "2023-08-24T05:35:17.051Z", + "expiryTimeStamp": "2023-08-24T05:35:17.051Z", + "ipAddress": "1.1.1.1" + } + }, + "responses": { + "200": { + "body": { + "storageAccountSasToken": "storageAccountSasToken" + } + } + } +} diff --git a/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_Get_MaximumSet_Gen.json b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..13bfa83591ca --- /dev/null +++ b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_Get_MaximumSet_Gen.json @@ -0,0 +1,102 @@ +{ + "title": "DataProducts_Get_MaximumSet_Gen", + "operationId": "DataProducts_Get", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName", + "dataProductName": "dataproduct01" + }, + "responses": { + "200": { + "body": { + "properties": { + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "provisioningState": "Succeeded", + "publisher": "Microsoft", + "product": "MCC", + "majorVersion": "1.0.0", + "owners": [ + "abc@micros.com" + ], + "redundancy": "Disabled", + "purviewAccount": "testpurview", + "purviewCollection": "134567890", + "privateLinksEnabled": "Disabled", + "publicNetworkAccess": "Enabled", + "customerManagedKeyEncryptionEnabled": "Enabled", + "customerEncryptionKey": { + "keyVaultUri": "https://KeyVault.vault.azure.net", + "keyName": "keyName", + "keyVersion": "keyVersion" + }, + "networkacls": { + "virtualNetworkRule": [ + { + "id": "/subscriptions/subscriptionId/resourcegroups/resourceGroupName/providers/Microsoft.Network/virtualNetworks/virtualNetworkName/subnets/subnetName", + "action": "Allow", + "state": "Succeeded" + } + ], + "ipRules": [ + { + "value": "1.1.1.1", + "action": "Allow" + } + ], + "allowedQueryIpRangeList": [ + "1.1.1.1", + "1.1.1.2" + ], + "defaultAction": "Allow" + }, + "managedResourceGroupConfiguration": { + "name": "managedResourceGroupName", + "location": "eastus" + }, + "availableMinorVersions": [ + "1.0.1", + "1.0.2" + ], + "currentMinorVersion": "1.0.1", + "documentation": "https://learn.microsoft.com/", + "consumptionEndpoints": { + "ingestionUrl": "https://aoiingestionstorageResourceName.blob.core.windows.net", + "ingestionResourceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/storageResourceName", + "fileAccessUrl": "https://operatorinsightsstorageResourceName.blob.core.windows.net", + "fileAccessResourceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/storageResourceName", + "queryUrl": "https://opinsightsclusterName.regionName.kusto.windows.net", + "queryResourceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.Kusto/clusters/clusterName" + }, + "keyVaultUrl": "https://myKeyVault.vault.azure.net" + }, + "identity": { + "principalId": "00000000-0000-0000-0000-000000000000", + "tenantId": "00000000-0000-0000-0000-000000000000", + "type": "IdentityType", + "userAssignedIdentities": { + "key8474": { + "principalId": "00000000-0000-0000-0000-000000000000", + "clientId": "00000000-0000-0000-0000-000000000000" + } + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/aoiresourceGroupName/providers/Microsoft.NetworkAnalytics/DataProducts/dataproduct01", + "name": "dataproduct01", + "type": "Microsoft.NetworkAnalytics/DataProducts", + "location": "eastus", + "tags": { + "userSpecifiedKeyName": "userSpecifiedKeyValue" + }, + "systemData": { + "createdBy": "abc@micros.com", + "createdByType": "User", + "createdAt": "2023-09-04T08:26:27.1506343Z", + "lastModifiedBy": "abc@micros.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-09-04T08:26:27.1506343Z" + } + } + } + } +} diff --git a/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_Get_MinimumSet_Gen.json b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..29f68292fcbc --- /dev/null +++ b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_Get_MinimumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "title": "DataProducts_Get_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen", + "operationId": "DataProducts_Get", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName", + "dataProductName": "dataproduct01" + }, + "responses": { + "200": { + "body": { + "location": "eastus", + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/aoiresourceGroupName/providers/Microsoft.NetworkAnalytics/DataProducts/dataproduct01" + } + } + } +} diff --git a/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_ListByResourceGroup_MaximumSet_Gen.json b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..82de6e9ece00 --- /dev/null +++ b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,106 @@ +{ + "title": "DataProducts_ListByResourceGroup_MaximumSet_Gen", + "operationId": "DataProducts_ListByResourceGroup", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "provisioningState": "Succeeded", + "publisher": "Microsoft", + "product": "MCC", + "majorVersion": "1.0.0", + "owners": [ + "abc@micros.com" + ], + "redundancy": "Disabled", + "purviewAccount": "testpurview", + "purviewCollection": "134567890", + "privateLinksEnabled": "Disabled", + "publicNetworkAccess": "Enabled", + "customerManagedKeyEncryptionEnabled": "Enabled", + "customerEncryptionKey": { + "keyVaultUri": "https://KeyVault.vault.azure.net", + "keyName": "keyName", + "keyVersion": "keyVersion" + }, + "networkacls": { + "virtualNetworkRule": [ + { + "id": "/subscriptions/subscriptionId/resourcegroups/resourceGroupName/providers/Microsoft.Network/virtualNetworks/virtualNetworkName/subnets/subnetName", + "action": "Allow", + "state": "Succeeded" + } + ], + "ipRules": [ + { + "value": "1.1.1.1", + "action": "Allow" + } + ], + "allowedQueryIpRangeList": [ + "1.1.1.1", + "1.1.1.2" + ], + "defaultAction": "Allow" + }, + "managedResourceGroupConfiguration": { + "name": "managedResourceGroupName", + "location": "eastus" + }, + "availableMinorVersions": [ + "1.0.1", + "1.0.2" + ], + "currentMinorVersion": "1.0.1", + "documentation": "https://learn.microsoft.com/", + "consumptionEndpoints": { + "ingestionUrl": "https://aoiingestionstorageResourceName.blob.core.windows.net", + "ingestionResourceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/storageResourceName", + "fileAccessUrl": "https://operatorinsightsstorageResourceName.blob.core.windows.net", + "fileAccessResourceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/storageResourceName", + "queryUrl": "https://opinsightsclusterName.regionName.kusto.windows.net", + "queryResourceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.Kusto/clusters/clusterName" + }, + "keyVaultUrl": "https://myKeyVault.vault.azure.net" + }, + "identity": { + "principalId": "00000000-0000-0000-0000-000000000000", + "tenantId": "00000000-0000-0000-0000-000000000000", + "type": "IdentityType", + "userAssignedIdentities": { + "key8474": { + "principalId": "00000000-0000-0000-0000-000000000000", + "clientId": "00000000-0000-0000-0000-000000000000" + } + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/aoiresourceGroupName/providers/Microsoft.NetworkAnalytics/DataProducts/dataproduct01", + "name": "dataproduct01", + "type": "Microsoft.NetworkAnalytics/DataProducts", + "location": "eastus", + "tags": { + "userSpecifiedKeyName": "userSpecifiedKeyValue" + }, + "systemData": { + "createdBy": "abc@micros.com", + "createdByType": "User", + "createdAt": "2023-09-04T08:26:27.1506343Z", + "lastModifiedBy": "abc@micros.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-09-04T08:26:27.1506343Z" + } + } + ], + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aoiresourceGroupName/providers/Microsoft.NetworkAnalytics/DataProducts?api-version=2023-11-15$skiptoken=aaaaaaaaaaaaaaaaaaaaaaaaaaaa" + } + } + } +} diff --git a/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_ListByResourceGroup_MinimumSet_Gen.json b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_ListByResourceGroup_MinimumSet_Gen.json new file mode 100644 index 000000000000..1f203c3641fa --- /dev/null +++ b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_ListByResourceGroup_MinimumSet_Gen.json @@ -0,0 +1,21 @@ +{ + "title": "DataProducts_ListByResourceGroup_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen", + "operationId": "DataProducts_ListByResourceGroup", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/aoiresourceGroupName/providers/Microsoft.NetworkAnalytics/DataProducts/dataproduct01", + "location": "eastus" + } + ] + } + } + } +} diff --git a/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_ListBySubscription_MaximumSet_Gen.json b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_ListBySubscription_MaximumSet_Gen.json new file mode 100644 index 000000000000..16534d88e589 --- /dev/null +++ b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_ListBySubscription_MaximumSet_Gen.json @@ -0,0 +1,105 @@ +{ + "title": "DataProducts_ListBySubscription_MaximumSet_Gen", + "operationId": "DataProducts_ListBySubscription", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "provisioningState": "Succeeded", + "publisher": "Microsoft", + "product": "MCC", + "majorVersion": "1.0.0", + "owners": [ + "abc@micros.com" + ], + "redundancy": "Disabled", + "purviewAccount": "testpurview", + "purviewCollection": "134567890", + "privateLinksEnabled": "Disabled", + "publicNetworkAccess": "Enabled", + "customerManagedKeyEncryptionEnabled": "Enabled", + "customerEncryptionKey": { + "keyVaultUri": "https://KeyVault.vault.azure.net", + "keyName": "keyName", + "keyVersion": "keyVersion" + }, + "networkacls": { + "virtualNetworkRule": [ + { + "id": "/subscriptions/subscriptionId/resourcegroups/resourceGroupName/providers/Microsoft.Network/virtualNetworks/virtualNetworkName/subnets/subnetName", + "action": "Allow", + "state": "Succeeded" + } + ], + "ipRules": [ + { + "value": "1.1.1.1", + "action": "Allow" + } + ], + "allowedQueryIpRangeList": [ + "1.1.1.1", + "1.1.1.2" + ], + "defaultAction": "Allow" + }, + "managedResourceGroupConfiguration": { + "name": "managedResourceGroupName", + "location": "eastus" + }, + "availableMinorVersions": [ + "1.0.1", + "1.0.2" + ], + "currentMinorVersion": "1.0.1", + "documentation": "https://learn.microsoft.com/", + "consumptionEndpoints": { + "ingestionUrl": "https://aoiingestionstorageResourceName.blob.core.windows.net", + "ingestionResourceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/storageResourceName", + "fileAccessUrl": "https://operatorinsightsstorageResourceName.blob.core.windows.net", + "fileAccessResourceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/storageResourceName", + "queryUrl": "https://opinsightsclusterName.regionName.kusto.windows.net", + "queryResourceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.Kusto/clusters/clusterName" + }, + "keyVaultUrl": "https://myKeyVault.vault.azure.net" + }, + "identity": { + "principalId": "00000000-0000-0000-0000-000000000000", + "tenantId": "00000000-0000-0000-0000-000000000000", + "type": "IdentityType", + "userAssignedIdentities": { + "key8474": { + "principalId": "00000000-0000-0000-0000-000000000000", + "clientId": "00000000-0000-0000-0000-000000000000" + } + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/aoiresourceGroupName/providers/Microsoft.NetworkAnalytics/DataProducts/dataproduct01", + "name": "dataproduct01", + "type": "Microsoft.NetworkAnalytics/DataProducts", + "location": "eastus", + "tags": { + "userSpecifiedKeyName": "userSpecifiedKeyValue" + }, + "systemData": { + "createdBy": "abc@micros.com", + "createdByType": "User", + "createdAt": "2023-09-04T08:26:27.1506343Z", + "lastModifiedBy": "abc@micros.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-09-04T08:26:27.1506343Z" + } + } + ], + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetworkAnalytics/DataProducts?api-version=2023-11-15$skiptoken=aaaaaaaaaaaaaaaaaaaaaaaaaaaa" + } + } + } +} diff --git a/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_ListBySubscription_MinimumSet_Gen.json b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_ListBySubscription_MinimumSet_Gen.json new file mode 100644 index 000000000000..f1e77fc23042 --- /dev/null +++ b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_ListBySubscription_MinimumSet_Gen.json @@ -0,0 +1,20 @@ +{ + "title": "DataProducts_ListBySubscription_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen", + "operationId": "DataProducts_ListBySubscription", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/aoiresourceGroupName/providers/Microsoft.NetworkAnalytics/DataProducts/dataproduct01", + "location": "eastus" + } + ] + } + } + } +} diff --git a/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_ListRolesAssignments_MaximumSet_Gen.json b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_ListRolesAssignments_MaximumSet_Gen.json new file mode 100644 index 000000000000..774159728d53 --- /dev/null +++ b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_ListRolesAssignments_MaximumSet_Gen.json @@ -0,0 +1,31 @@ +{ + "title": "DataProducts_ListRolesAssignments_MaximumSet_Gen", + "operationId": "DataProducts_ListRolesAssignments", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName", + "dataProductName": "dataproduct01", + "body": {} + }, + "responses": { + "200": { + "body": { + "count": 1, + "roleAssignmentResponse": [ + { + "roleId": "00000000-0000-0000-0000-00000000000", + "principalId": "00000000-0000-0000-0000-00000000000", + "userName": "UserName", + "dataTypeScope": [ + "scope" + ], + "principalType": "User", + "role": "Reader", + "roleAssignmentId": "00000000-0000-0000-0000-00000000000" + } + ] + } + } + } +} diff --git a/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_ListRolesAssignments_MinimumSet_Gen.json b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_ListRolesAssignments_MinimumSet_Gen.json new file mode 100644 index 000000000000..68360878ce52 --- /dev/null +++ b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_ListRolesAssignments_MinimumSet_Gen.json @@ -0,0 +1,31 @@ +{ + "title": "DataProducts_ListRolesAssignments_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen", + "operationId": "DataProducts_ListRolesAssignments", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName", + "dataProductName": "dataproduct01", + "body": {} + }, + "responses": { + "200": { + "body": { + "count": 1, + "roleAssignmentResponse": [ + { + "roleId": "00000000-0000-0000-0000-00000000000", + "principalId": "00000000-0000-0000-0000-00000000000", + "userName": "UserName", + "dataTypeScope": [ + "scope" + ], + "principalType": "User", + "role": "Reader", + "roleAssignmentId": "00000000-0000-0000-0000-00000000000" + } + ] + } + } + } +} diff --git a/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_RemoveUserRole_MaximumSet_Gen.json b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_RemoveUserRole_MaximumSet_Gen.json new file mode 100644 index 000000000000..1771cd0f7143 --- /dev/null +++ b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_RemoveUserRole_MaximumSet_Gen.json @@ -0,0 +1,24 @@ +{ + "title": "DataProducts_RemoveUserRole_MaximumSet_Gen", + "operationId": "DataProducts_RemoveUserRole", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName", + "dataProductName": "dataproduct01", + "body": { + "roleId": "00000000-0000-0000-0000-00000000000", + "principalId": "00000000-0000-0000-0000-00000000000", + "userName": "UserName", + "dataTypeScope": [ + "scope" + ], + "principalType": "User", + "role": "Reader", + "roleAssignmentId": "00000000-0000-0000-0000-00000000000" + } + }, + "responses": { + "204": {} + } +} diff --git a/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_RemoveUserRole_MinimumSet_Gen.json b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_RemoveUserRole_MinimumSet_Gen.json new file mode 100644 index 000000000000..8b8bbe33069b --- /dev/null +++ b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_RemoveUserRole_MinimumSet_Gen.json @@ -0,0 +1,24 @@ +{ + "title": "DataProducts_RemoveUserRole_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen", + "operationId": "DataProducts_RemoveUserRole", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName", + "dataProductName": "dataproduct01", + "body": { + "roleId": "00000000-0000-0000-0000-00000000000", + "principalId": "00000000-0000-0000-0000-00000000000", + "userName": "UserName", + "dataTypeScope": [ + "scope" + ], + "principalType": "User", + "role": "Reader", + "roleAssignmentId": "00000000-0000-0000-0000-00000000000" + } + }, + "responses": { + "204": {} + } +} diff --git a/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_RotateKey_MaximumSet_Gen.json b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_RotateKey_MaximumSet_Gen.json new file mode 100644 index 000000000000..d34d4fff9e6b --- /dev/null +++ b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_RotateKey_MaximumSet_Gen.json @@ -0,0 +1,16 @@ +{ + "title": "DataProducts_RotateKey_MaximumSet_Gen", + "operationId": "DataProducts_RotateKey", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName", + "dataProductName": "dataproduct01", + "body": { + "keyVaultUrl": "https://myKeyVault.vault.azure.net" + } + }, + "responses": { + "204": {} + } +} diff --git a/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_RotateKey_MinimumSet_Gen.json b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_RotateKey_MinimumSet_Gen.json new file mode 100644 index 000000000000..c24a79ba5fed --- /dev/null +++ b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_RotateKey_MinimumSet_Gen.json @@ -0,0 +1,16 @@ +{ + "title": "DataProducts_RotateKey_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen", + "operationId": "DataProducts_RotateKey", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName", + "dataProductName": "dataproduct01", + "body": { + "keyVaultUrl": "https://myKeyVault.vault.azure.net" + } + }, + "responses": { + "204": {} + } +} diff --git a/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_Update_MaximumSet_Gen.json b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..e2e0b84ff4e0 --- /dev/null +++ b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_Update_MaximumSet_Gen.json @@ -0,0 +1,129 @@ +{ + "title": "DataProducts_Update_MaximumSet_Gen", + "operationId": "DataProducts_Update", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName", + "dataProductName": "dataproduct01", + "properties": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} + } + }, + "tags": { + "userSpecifiedKeyName": "userSpecifiedKeyValue" + }, + "properties": { + "owners": [ + "abc@micros.com", + "def@micros.com" + ], + "purviewAccount": "testpurview", + "purviewCollection": "134567890", + "privateLinksEnabled": "Disabled", + "currentMinorVersion": "1.0.1" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "provisioningState": "Succeeded", + "publisher": "Microsoft", + "product": "MCC", + "majorVersion": "1.0.0", + "owners": [ + "abc@micros.com", + "def@micros.com" + ], + "redundancy": "Disabled", + "purviewAccount": "testpurview", + "purviewCollection": "134567890", + "privateLinksEnabled": "Disabled", + "publicNetworkAccess": "Enabled", + "customerManagedKeyEncryptionEnabled": "Enabled", + "customerEncryptionKey": { + "keyVaultUri": "https://KeyVault.vault.azure.net", + "keyName": "keyName", + "keyVersion": "keyVersion" + }, + "networkacls": { + "virtualNetworkRule": [ + { + "id": "/subscriptions/subscriptionId/resourcegroups/resourceGroupName/providers/Microsoft.Network/virtualNetworks/virtualNetworkName/subnets/subnetName", + "action": "Allow", + "state": "Succeeded" + } + ], + "ipRules": [ + { + "value": "1.1.1.1", + "action": "Allow" + } + ], + "allowedQueryIpRangeList": [ + "1.1.1.1", + "1.1.1.2" + ], + "defaultAction": "Allow" + }, + "managedResourceGroupConfiguration": { + "name": "managedResourceGroupName", + "location": "eastus" + }, + "availableMinorVersions": [ + "1.0.1", + "1.0.2" + ], + "currentMinorVersion": "1.0.1", + "documentation": "https://learn.microsoft.com/", + "consumptionEndpoints": { + "ingestionUrl": "https://aoiingestionstorageResourceName.blob.core.windows.net", + "ingestionResourceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/storageResourceName", + "fileAccessUrl": "https://operatorinsightsstorageResourceName.blob.core.windows.net", + "fileAccessResourceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/storageResourceName", + "queryUrl": "https://opinsightsclusterName.regionName.kusto.windows.net", + "queryResourceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.Kusto/clusters/clusterName" + }, + "keyVaultUrl": "https://myKeyVault.vault.azure.net" + }, + "identity": { + "principalId": "00000000-0000-0000-0000-000000000000", + "tenantId": "00000000-0000-0000-0000-000000000000", + "type": "IdentityType", + "userAssignedIdentities": { + "key8474": { + "principalId": "00000000-0000-0000-0000-000000000000", + "clientId": "00000000-0000-0000-0000-000000000000" + } + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/aoiresourceGroupName/providers/Microsoft.NetworkAnalytics/DataProducts/dataproduct01", + "name": "dataproduct01", + "type": "Microsoft.NetworkAnalytics/DataProducts", + "location": "eastus", + "tags": { + "userSpecifiedKeyName": "userSpecifiedKeyValue" + }, + "systemData": { + "createdBy": "abc@micros.com", + "createdByType": "User", + "createdAt": "2023-09-04T08:26:27.1506343Z", + "lastModifiedBy": "abc@micros.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-09-04T08:26:27.1506343Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_Update_MinimumSet_Gen.json b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_Update_MinimumSet_Gen.json new file mode 100644 index 000000000000..7e457f7c0708 --- /dev/null +++ b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_Update_MinimumSet_Gen.json @@ -0,0 +1,23 @@ +{ + "title": "DataProducts_Update_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen", + "operationId": "DataProducts_Update", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName", + "dataProductName": "dataproduct01", + "properties": {} + }, + "responses": { + "200": { + "body": { + "location": "jwlerdaudgxff" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataTypes_Create_MaximumSet_Gen.json b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataTypes_Create_MaximumSet_Gen.json new file mode 100644 index 000000000000..8fac29e57352 --- /dev/null +++ b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataTypes_Create_MaximumSet_Gen.json @@ -0,0 +1,73 @@ +{ + "title": "DataTypes_Create_MaximumSet_Gen", + "operationId": "DataTypes_Create", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName", + "dataProductName": "dataproduct01", + "dataTypeName": "datatypename", + "resource": { + "properties": { + "provisioningState": "Succeeded", + "state": "STARTED", + "storageOutputRetention": 27, + "databaseCacheRetention": 23, + "databaseRetention": 6 + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "STARTED", + "stateReason": "State Reason", + "storageOutputRetention": 27, + "databaseCacheRetention": 23, + "databaseRetention": 6, + "visualizationUrl": "visualizationUrl" + }, + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/aoiresourceGroupName/providers/Microsoft.NetworkAnalytics/dataProducts/dataproduct01/dataTypes/datatypename", + "name": "datatypeName", + "type": "Microsoft.NetworkAnalytics/DataProducts/DataTypes", + "systemData": { + "createdBy": "abc@micros.com", + "createdByType": "User", + "createdAt": "2023-09-04T08:26:27.1506343Z", + "lastModifiedBy": "abc@micros.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-09-04T08:26:27.1506343Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "STARTED", + "stateReason": "State Reason", + "storageOutputRetention": 27, + "databaseCacheRetention": 23, + "databaseRetention": 6, + "visualizationUrl": "visualizationUrl" + }, + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/aoiresourceGroupName/providers/Microsoft.NetworkAnalytics/dataProducts/dataproduct01/dataTypes/datatypename", + "name": "datatypename", + "type": "Microsoft.NetworkAnalytics/DataProducts/DataTypes", + "systemData": { + "createdBy": "abc@micros.com", + "createdByType": "User", + "createdAt": "2023-09-04T08:26:27.1506343Z", + "lastModifiedBy": "abc@micros.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-09-04T08:26:27.1506343Z" + } + } + } + } +} diff --git a/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataTypes_Create_MinimumSet_Gen.json b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataTypes_Create_MinimumSet_Gen.json new file mode 100644 index 000000000000..0f3a573ce683 --- /dev/null +++ b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataTypes_Create_MinimumSet_Gen.json @@ -0,0 +1,23 @@ +{ + "title": "DataTypes_Create_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen", + "operationId": "DataTypes_Create", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName", + "dataProductName": "dataproduct01", + "dataTypeName": "datatypename", + "resource": {} + }, + "responses": { + "200": { + "body": {} + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": {} + } + } +} diff --git a/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataTypes_DeleteData_MaximumSet_Gen.json b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataTypes_DeleteData_MaximumSet_Gen.json new file mode 100644 index 000000000000..642dc86756f8 --- /dev/null +++ b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataTypes_DeleteData_MaximumSet_Gen.json @@ -0,0 +1,20 @@ +{ + "title": "DataTypes_DeleteData_MaximumSet_Gen", + "operationId": "DataTypes_DeleteData", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName", + "dataProductName": "dataproduct01", + "dataTypeName": "datatypename", + "body": {} + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataTypes_DeleteData_MinimumSet_Gen.json b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataTypes_DeleteData_MinimumSet_Gen.json new file mode 100644 index 000000000000..3034e317eb52 --- /dev/null +++ b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataTypes_DeleteData_MinimumSet_Gen.json @@ -0,0 +1,20 @@ +{ + "title": "DataTypes_DeleteData_MinimumSet_Gen", + "operationId": "DataTypes_DeleteData", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName", + "dataProductName": "dataproduct01", + "dataTypeName": "datatypename", + "body": {} + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataTypes_Delete_MaximumSet_Gen.json b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataTypes_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..408d59354539 --- /dev/null +++ b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataTypes_Delete_MaximumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "title": "DataTypes_Delete_MaximumSet_Gen", + "operationId": "DataTypes_Delete", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName", + "dataProductName": "dataproduct01", + "dataTypeName": "datatypename" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataTypes_Delete_MinimumSet_Gen.json b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataTypes_Delete_MinimumSet_Gen.json new file mode 100644 index 000000000000..a6c944e7330b --- /dev/null +++ b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataTypes_Delete_MinimumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "title": "DataTypes_Delete_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen", + "operationId": "DataTypes_Delete", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName", + "dataProductName": "dataproduct01", + "dataTypeName": "datatypename" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataTypes_GenerateStorageContainerSasToken_MaximumSet_Gen.json b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataTypes_GenerateStorageContainerSasToken_MaximumSet_Gen.json new file mode 100644 index 000000000000..e7294dedde0d --- /dev/null +++ b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataTypes_GenerateStorageContainerSasToken_MaximumSet_Gen.json @@ -0,0 +1,23 @@ +{ + "title": "DataTypes_GenerateStorageContainerSasToken_MaximumSet_Gen", + "operationId": "DataTypes_GenerateStorageContainerSasToken", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName", + "dataProductName": "dataproduct01", + "dataTypeName": "datatypename", + "body": { + "startTimeStamp": "2023-08-24T05:34:58.039Z", + "expiryTimeStamp": "2023-08-24T05:34:58.039Z", + "ipAddress": "1.1.1.1" + } + }, + "responses": { + "200": { + "body": { + "storageContainerSasToken": "storageContainerSasToken" + } + } + } +} diff --git a/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataTypes_GenerateStorageContainerSasToken_MinimumSet_Gen.json b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataTypes_GenerateStorageContainerSasToken_MinimumSet_Gen.json new file mode 100644 index 000000000000..8ccc4e1b484b --- /dev/null +++ b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataTypes_GenerateStorageContainerSasToken_MinimumSet_Gen.json @@ -0,0 +1,23 @@ +{ + "title": "DataTypes_GenerateStorageContainerSasToken_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen", + "operationId": "DataTypes_GenerateStorageContainerSasToken", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName", + "dataProductName": "dataproduct01", + "dataTypeName": "datatypename", + "body": { + "startTimeStamp": "2023-08-24T05:35:16.887Z", + "expiryTimeStamp": "2023-08-24T05:35:16.887Z", + "ipAddress": "1.1.1.1" + } + }, + "responses": { + "200": { + "body": { + "storageContainerSasToken": "storageContainerSasToken" + } + } + } +} diff --git a/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataTypes_Get_MaximumSet_Gen.json b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataTypes_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..0db40711ab48 --- /dev/null +++ b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataTypes_Get_MaximumSet_Gen.json @@ -0,0 +1,37 @@ +{ + "title": "DataTypes_Get_MaximumSet_Gen", + "operationId": "DataTypes_Get", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName", + "dataProductName": "dataproduct01", + "dataTypeName": "datatypename" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "STARTED", + "stateReason": "state Reason", + "storageOutputRetention": 27, + "databaseCacheRetention": 23, + "databaseRetention": 6, + "visualizationUrl": "visualizationUrl" + }, + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/aoiresourceGroupName/providers/Microsoft.NetworkAnalytics/dataProducts/dataproduct01/dataTypes/datatypename", + "name": "datatypename", + "type": "Microsoft.NetworkAnalytics/DataProducts/DataTypes", + "systemData": { + "createdBy": "abc@micros.com", + "createdByType": "User", + "createdAt": "2023-09-04T08:26:27.1506343Z", + "lastModifiedBy": "abc@micros.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-09-04T08:26:27.1506343Z" + } + } + } + } +} diff --git a/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataTypes_Get_MinimumSet_Gen.json b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataTypes_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..3ad5f936e674 --- /dev/null +++ b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataTypes_Get_MinimumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "title": "DataTypes_Get_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen", + "operationId": "DataTypes_Get", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName", + "dataProductName": "dataproduct01", + "dataTypeName": "datatypename" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/aoiresourceGroupName/providers/Microsoft.NetworkAnalytics/dataProducts/dataproduct01/dataTypes/datatypename" + } + } + } +} diff --git a/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataTypes_ListByDataProduct_MaximumSet_Gen.json b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataTypes_ListByDataProduct_MaximumSet_Gen.json new file mode 100644 index 000000000000..67ffeb98c082 --- /dev/null +++ b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataTypes_ListByDataProduct_MaximumSet_Gen.json @@ -0,0 +1,41 @@ +{ + "title": "DataTypes_ListByDataProduct_MaximumSet_Gen", + "operationId": "DataTypes_ListByDataProduct", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName", + "dataProductName": "dataproduct01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "STARTED", + "stateReason": "state Reason", + "storageOutputRetention": 27, + "databaseCacheRetention": 23, + "databaseRetention": 6, + "visualizationUrl": "visualizationUrl" + }, + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/aoiresourceGroupName/providers/Microsoft.NetworkAnalytics/dataProducts/dataproduct01/dataTypes/datatypename", + "name": "datatypename", + "type": "Microsoft.NetworkAnalytics/DataProducts/DataTypes", + "systemData": { + "createdBy": "abc@micros.com", + "createdByType": "User", + "createdAt": "2023-09-04T08:26:27.1506343Z", + "lastModifiedBy": "abc@micros.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-09-04T08:26:27.1506343Z" + } + } + ], + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/aoiresourceGroupName/providers/Microsoft.NetworkAnalytics/DataProducts/dataproduct01/dataTypes?api-version=2023-11-15$skiptoken=aaaaaaaaaaaaaaaaaaaaaaaaaaaa" + } + } + } +} diff --git a/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataTypes_ListByDataProduct_MinimumSet_Gen.json b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataTypes_ListByDataProduct_MinimumSet_Gen.json new file mode 100644 index 000000000000..894493ae61a2 --- /dev/null +++ b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataTypes_ListByDataProduct_MinimumSet_Gen.json @@ -0,0 +1,21 @@ +{ + "title": "DataTypes_ListByDataProduct_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen", + "operationId": "DataTypes_ListByDataProduct", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName", + "dataProductName": "dataproduct01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/aoiresourceGroupName/providers/Microsoft.NetworkAnalytics/dataProducts/dataproduct01/dataTypes/datatypename" + } + ] + } + } + } +} diff --git a/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataTypes_Update_MaximumSet_Gen.json b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataTypes_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..61dc8bd10cf2 --- /dev/null +++ b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataTypes_Update_MaximumSet_Gen.json @@ -0,0 +1,50 @@ +{ + "title": "DataTypes_Update_MaximumSet_Gen", + "operationId": "DataTypes_Update", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName", + "dataProductName": "dataproduct01", + "dataTypeName": "datatypename", + "properties": { + "properties": { + "state": "STARTED", + "storageOutputRetention": 30, + "databaseCacheRetention": 16, + "databaseRetention": 9 + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "STARTED", + "stateReason": "State Reason", + "storageOutputRetention": 30, + "databaseCacheRetention": 16, + "databaseRetention": 9, + "visualizationUrl": "visualizationUrl" + }, + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/aoiresourceGroupName/providers/Microsoft.NetworkAnalytics/dataProducts/dataproduct01/dataTypes/datatypename", + "name": "datatypename", + "type": "Microsoft.NetworkAnalytics/DataProducts/DataTypes", + "systemData": { + "createdBy": "abc@micros.com", + "createdByType": "User", + "createdAt": "2023-09-04T08:26:27.1506343Z", + "lastModifiedBy": "abc@micros.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-09-04T08:26:27.1506343Z" + } + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataTypes_Update_MinimumSet_Gen.json b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataTypes_Update_MinimumSet_Gen.json new file mode 100644 index 000000000000..4e03ae4c7e3c --- /dev/null +++ b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataTypes_Update_MinimumSet_Gen.json @@ -0,0 +1,22 @@ +{ + "title": "DataTypes_Update_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen", + "operationId": "DataTypes_Update", + "parameters": { + "api-version": "2023-11-15", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "aoiresourceGroupName", + "dataProductName": "dataproduct01", + "dataTypeName": "datatypename", + "properties": {} + }, + "responses": { + "200": { + "body": {} + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/Operations_List_MaximumSet_Gen.json b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/Operations_List_MaximumSet_Gen.json new file mode 100644 index 000000000000..b5d4bfbb706b --- /dev/null +++ b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/Operations_List_MaximumSet_Gen.json @@ -0,0 +1,28 @@ +{ + "title": "Operations_List_MaximumSet_Gen", + "operationId": "Operations_List", + "parameters": { + "api-version": "2023-11-15" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.NetworkAnalytics/resourceName/operationName", + "isDataAction": false, + "display": { + "provider": "Microsoft.NetworkAnalytics", + "resource": "ResourceName", + "operation": "OperationName", + "description": "Description of the operation" + }, + "origin": "user", + "actionType": "Internal" + } + ], + "nextLink": "https://fully.qualified.hyperlink" + } + } + } +} diff --git a/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/Operations_List_MinimumSet_Gen.json b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/Operations_List_MinimumSet_Gen.json new file mode 100644 index 000000000000..1cb2610d6b6b --- /dev/null +++ b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/Operations_List_MinimumSet_Gen.json @@ -0,0 +1,12 @@ +{ + "title": "Operations_List_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen", + "operationId": "Operations_List", + "parameters": { + "api-version": "2023-11-15" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/networkanalytics.json b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/networkanalytics.json new file mode 100644 index 000000000000..6d648ea6fe9d --- /dev/null +++ b/specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/networkanalytics.json @@ -0,0 +1,2571 @@ +{ + "swagger": "2.0", + "info": { + "title": "Microsoft.NetworkAnalytics", + "version": "2023-11-15", + "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": "DataProductsCatalogs" + }, + { + "name": "DataTypes" + }, + { + "name": "DataProducts" + } + ], + "paths": { + "/providers/Microsoft.NetworkAnalytics/operations": { + "get": { + "operationId": "Operations_List", + "tags": [ + "Operations" + ], + "description": "List the operations for the provider", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Operations_List_MaximumSet_Gen": { + "$ref": "./examples/Operations_List_MaximumSet_Gen.json" + }, + "Operations_List_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen": { + "$ref": "./examples/Operations_List_MinimumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.NetworkAnalytics/dataProducts": { + "get": { + "operationId": "DataProducts_ListBySubscription", + "tags": [ + "DataProducts" + ], + "description": "List data products by subscription.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/DataProductListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DataProducts_ListBySubscription_MaximumSet_Gen": { + "$ref": "./examples/DataProducts_ListBySubscription_MaximumSet_Gen.json" + }, + "DataProducts_ListBySubscription_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen": { + "$ref": "./examples/DataProducts_ListBySubscription_MinimumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.NetworkAnalytics/dataProductsCatalogs": { + "get": { + "operationId": "DataProductsCatalogs_ListBySubscription", + "tags": [ + "DataProductsCatalogs" + ], + "description": "List data catalog by subscription.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/DataProductsCatalogListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DataProductsCatalogs_ListBySubscription_MaximumSet_Gen": { + "$ref": "./examples/DataProductsCatalogs_ListBySubscription_MaximumSet_Gen.json" + }, + "DataProductsCatalogs_ListBySubscription_MinimumSet_Gen": { + "$ref": "./examples/DataProductsCatalogs_ListBySubscription_MinimumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkAnalytics/dataProducts": { + "get": { + "operationId": "DataProducts_ListByResourceGroup", + "tags": [ + "DataProducts" + ], + "description": "List data products by resource group.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/DataProductListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DataProducts_ListByResourceGroup_MaximumSet_Gen": { + "$ref": "./examples/DataProducts_ListByResourceGroup_MaximumSet_Gen.json" + }, + "DataProducts_ListByResourceGroup_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen": { + "$ref": "./examples/DataProducts_ListByResourceGroup_MinimumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkAnalytics/dataProducts/{dataProductName}": { + "get": { + "operationId": "DataProducts_Get", + "tags": [ + "DataProducts" + ], + "description": "Retrieve data product resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "dataProductName", + "in": "path", + "description": "The data product resource name", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z][a-z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/DataProduct" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DataProducts_Get_MaximumSet_Gen": { + "$ref": "./examples/DataProducts_Get_MaximumSet_Gen.json" + }, + "DataProducts_Get_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen": { + "$ref": "./examples/DataProducts_Get_MinimumSet_Gen.json" + } + } + }, + "put": { + "operationId": "DataProducts_Create", + "tags": [ + "DataProducts" + ], + "description": "Create data product resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "dataProductName", + "in": "path", + "description": "The data product resource name", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z][a-z0-9]*$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/DataProduct" + } + } + ], + "responses": { + "200": { + "description": "Resource 'DataProduct' update operation succeeded", + "schema": { + "$ref": "#/definitions/DataProduct" + } + }, + "201": { + "description": "Resource 'DataProduct' create operation succeeded", + "schema": { + "$ref": "#/definitions/DataProduct" + }, + "headers": { + "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/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DataProducts_Create_MaximumSet_Gen": { + "$ref": "./examples/DataProducts_Create_MaximumSet_Gen.json" + }, + "DataProducts_Create_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen": { + "$ref": "./examples/DataProducts_Create_MinimumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "DataProducts_Update", + "tags": [ + "DataProducts" + ], + "description": "Update data product resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "dataProductName", + "in": "path", + "description": "The data product resource name", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z][a-z0-9]*$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/DataProductUpdate" + } + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/DataProduct" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DataProducts_Update_MaximumSet_Gen": { + "$ref": "./examples/DataProducts_Update_MaximumSet_Gen.json" + }, + "DataProducts_Update_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen": { + "$ref": "./examples/DataProducts_Update_MinimumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "DataProducts_Delete", + "tags": [ + "DataProducts" + ], + "description": "Delete data product resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "dataProductName", + "in": "path", + "description": "The data product resource name", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z][a-z0-9]*$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "204": { + "description": "Resource deleted successfully." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DataProducts_Delete_MaximumSet_Gen": { + "$ref": "./examples/DataProducts_Delete_MaximumSet_Gen.json" + }, + "DataProducts_Delete_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen": { + "$ref": "./examples/DataProducts_Delete_MinimumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkAnalytics/dataProducts/{dataProductName}/addUserRole": { + "post": { + "operationId": "DataProducts_AddUserRole", + "tags": [ + "DataProducts" + ], + "description": "Assign role to the data product.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "dataProductName", + "in": "path", + "description": "The data product resource name", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z][a-z0-9]*$" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "$ref": "#/definitions/RoleAssignmentCommonProperties" + } + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/RoleAssignmentDetail" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DataProducts_AddUserRole_MaximumSet_Gen": { + "$ref": "./examples/DataProducts_AddUserRole_MaximumSet_Gen.json" + }, + "DataProducts_AddUserRole_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen": { + "$ref": "./examples/DataProducts_AddUserRole_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkAnalytics/dataProducts/{dataProductName}/dataTypes": { + "get": { + "operationId": "DataTypes_ListByDataProduct", + "tags": [ + "DataTypes" + ], + "description": "List data type by parent resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "dataProductName", + "in": "path", + "description": "The data product resource name", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z][a-z0-9]*$" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/DataTypeListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DataTypes_ListByDataProduct_MaximumSet_Gen": { + "$ref": "./examples/DataTypes_ListByDataProduct_MaximumSet_Gen.json" + }, + "DataTypes_ListByDataProduct_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen": { + "$ref": "./examples/DataTypes_ListByDataProduct_MinimumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkAnalytics/dataProducts/{dataProductName}/dataTypes/{dataTypeName}": { + "get": { + "operationId": "DataTypes_Get", + "tags": [ + "DataTypes" + ], + "description": "Retrieve data type resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "dataProductName", + "in": "path", + "description": "The data product resource name", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z][a-z0-9]*$" + }, + { + "name": "dataTypeName", + "in": "path", + "description": "The data type name.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z][a-z0-9-]*$" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/DataType" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DataTypes_Get_MaximumSet_Gen": { + "$ref": "./examples/DataTypes_Get_MaximumSet_Gen.json" + }, + "DataTypes_Get_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen": { + "$ref": "./examples/DataTypes_Get_MinimumSet_Gen.json" + } + } + }, + "put": { + "operationId": "DataTypes_Create", + "tags": [ + "DataTypes" + ], + "description": "Create data type resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "dataProductName", + "in": "path", + "description": "The data product resource name", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z][a-z0-9]*$" + }, + { + "name": "dataTypeName", + "in": "path", + "description": "The data type name.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z][a-z0-9-]*$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/DataType" + } + } + ], + "responses": { + "200": { + "description": "Resource 'DataType' update operation succeeded", + "schema": { + "$ref": "#/definitions/DataType" + } + }, + "201": { + "description": "Resource 'DataType' create operation succeeded", + "schema": { + "$ref": "#/definitions/DataType" + }, + "headers": { + "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/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DataTypes_Create_MaximumSet_Gen": { + "$ref": "./examples/DataTypes_Create_MaximumSet_Gen.json" + }, + "DataTypes_Create_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen": { + "$ref": "./examples/DataTypes_Create_MinimumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "DataTypes_Update", + "tags": [ + "DataTypes" + ], + "description": "Update data type resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "dataProductName", + "in": "path", + "description": "The data product resource name", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z][a-z0-9]*$" + }, + { + "name": "dataTypeName", + "in": "path", + "description": "The data type name.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z][a-z0-9-]*$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/DataTypeUpdate" + } + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/DataType" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DataTypes_Update_MaximumSet_Gen": { + "$ref": "./examples/DataTypes_Update_MaximumSet_Gen.json" + }, + "DataTypes_Update_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen": { + "$ref": "./examples/DataTypes_Update_MinimumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "DataTypes_Delete", + "tags": [ + "DataTypes" + ], + "description": "Delete data type resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "dataProductName", + "in": "path", + "description": "The data product resource name", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z][a-z0-9]*$" + }, + { + "name": "dataTypeName", + "in": "path", + "description": "The data type name.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z][a-z0-9-]*$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "204": { + "description": "Resource deleted successfully." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DataTypes_Delete_MaximumSet_Gen": { + "$ref": "./examples/DataTypes_Delete_MaximumSet_Gen.json" + }, + "DataTypes_Delete_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen": { + "$ref": "./examples/DataTypes_Delete_MinimumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkAnalytics/dataProducts/{dataProductName}/dataTypes/{dataTypeName}/deleteData": { + "post": { + "operationId": "DataTypes_DeleteData", + "tags": [ + "DataTypes" + ], + "description": "Delete data for data type.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "dataProductName", + "in": "path", + "description": "The data product resource name", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z][a-z0-9]*$" + }, + { + "name": "dataTypeName", + "in": "path", + "description": "The data type name.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z][a-z0-9-]*$" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "type": "object" + } + } + ], + "responses": { + "202": { + "description": "Resource operation accepted.", + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "204": { + "description": "Action completed successfully." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DataTypes_DeleteData_MaximumSet_Gen": { + "$ref": "./examples/DataTypes_DeleteData_MaximumSet_Gen.json" + }, + "DataTypes_DeleteData_MinimumSet_Gen": { + "$ref": "./examples/DataTypes_DeleteData_MinimumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkAnalytics/dataProducts/{dataProductName}/dataTypes/{dataTypeName}/generateStorageContainerSasToken": { + "post": { + "operationId": "DataTypes_GenerateStorageContainerSasToken", + "tags": [ + "DataTypes" + ], + "description": "Generate sas token for storage container.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "dataProductName", + "in": "path", + "description": "The data product resource name", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z][a-z0-9]*$" + }, + { + "name": "dataTypeName", + "in": "path", + "description": "The data type name.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z][a-z0-9-]*$" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "$ref": "#/definitions/ContainerSaS" + } + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/ContainerSasToken" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DataTypes_GenerateStorageContainerSasToken_MaximumSet_Gen": { + "$ref": "./examples/DataTypes_GenerateStorageContainerSasToken_MaximumSet_Gen.json" + }, + "DataTypes_GenerateStorageContainerSasToken_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen": { + "$ref": "./examples/DataTypes_GenerateStorageContainerSasToken_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkAnalytics/dataProducts/{dataProductName}/generateStorageAccountSasToken": { + "post": { + "operationId": "DataProducts_GenerateStorageAccountSasToken", + "tags": [ + "DataProducts" + ], + "description": "Generate sas token for storage account.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "dataProductName", + "in": "path", + "description": "The data product resource name", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z][a-z0-9]*$" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "$ref": "#/definitions/AccountSas" + } + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/AccountSasToken" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DataProducts_GenerateStorageAccountSasToken_MaximumSet_Gen": { + "$ref": "./examples/DataProducts_GenerateStorageAccountSasToken_MaximumSet_Gen.json" + }, + "DataProducts_GenerateStorageAccountSasToken_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen": { + "$ref": "./examples/DataProducts_GenerateStorageAccountSasToken_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkAnalytics/dataProducts/{dataProductName}/listRolesAssignments": { + "post": { + "operationId": "DataProducts_ListRolesAssignments", + "tags": [ + "DataProducts" + ], + "description": "List user roles associated with the data product.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "dataProductName", + "in": "path", + "description": "The data product resource name", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z][a-z0-9]*$" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "type": "object" + } + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/ListRoleAssignments" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DataProducts_ListRolesAssignments_MaximumSet_Gen": { + "$ref": "./examples/DataProducts_ListRolesAssignments_MaximumSet_Gen.json" + }, + "DataProducts_ListRolesAssignments_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen": { + "$ref": "./examples/DataProducts_ListRolesAssignments_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkAnalytics/dataProducts/{dataProductName}/removeUserRole": { + "post": { + "operationId": "DataProducts_RemoveUserRole", + "tags": [ + "DataProducts" + ], + "description": "Remove role from the data product.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "dataProductName", + "in": "path", + "description": "The data product resource name", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z][a-z0-9]*$" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "$ref": "#/definitions/RoleAssignmentDetail" + } + } + ], + "responses": { + "204": { + "description": "Action completed successfully." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DataProducts_RemoveUserRole_MaximumSet_Gen": { + "$ref": "./examples/DataProducts_RemoveUserRole_MaximumSet_Gen.json" + }, + "DataProducts_RemoveUserRole_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen": { + "$ref": "./examples/DataProducts_RemoveUserRole_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkAnalytics/dataProducts/{dataProductName}/rotateKey": { + "post": { + "operationId": "DataProducts_RotateKey", + "tags": [ + "DataProducts" + ], + "description": "Initiate key rotation on Data Product.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "dataProductName", + "in": "path", + "description": "The data product resource name", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z][a-z0-9]*$" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "$ref": "#/definitions/KeyVaultInfo" + } + } + ], + "responses": { + "204": { + "description": "Action completed successfully." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DataProducts_RotateKey_MaximumSet_Gen": { + "$ref": "./examples/DataProducts_RotateKey_MaximumSet_Gen.json" + }, + "DataProducts_RotateKey_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen": { + "$ref": "./examples/DataProducts_RotateKey_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkAnalytics/dataProductsCatalogs": { + "get": { + "operationId": "DataProductsCatalogs_ListByResourceGroup", + "tags": [ + "DataProductsCatalogs" + ], + "description": "List data catalog by resource group.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/DataProductsCatalogListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DataProductsCatalogs_ListByResourceGroup_MaximumSet_Gen": { + "$ref": "./examples/DataProductsCatalogs_ListByResourceGroup_MaximumSet_Gen.json" + }, + "DataProductsCatalogs_ListByResourceGroup_MinimumSet_Gen": { + "$ref": "./examples/DataProductsCatalogs_ListByResourceGroup_MinimumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkAnalytics/dataProductsCatalogs/default": { + "get": { + "operationId": "DataProductsCatalogs_Get", + "tags": [ + "DataProductsCatalogs" + ], + "description": "Retrieve data type resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/DataProductsCatalog" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DataProductsCatalogs_Get_MaximumSet_Gen": { + "$ref": "./examples/DataProductsCatalogs_Get_MaximumSet_Gen.json" + }, + "DataProductsCatalogs_Get_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen": { + "$ref": "./examples/DataProductsCatalogs_Get_MinimumSet_Gen.json" + } + } + } + } + }, + "definitions": { + "AccountSas": { + "type": "object", + "description": "The details for storage account sas creation.", + "properties": { + "startTimeStamp": { + "type": "string", + "format": "date-time", + "description": "Sas token start timestamp." + }, + "expiryTimeStamp": { + "type": "string", + "format": "date-time", + "description": "Sas token expiry timestamp." + }, + "ipAddress": { + "type": "string", + "description": "Ip Address" + } + }, + "required": [ + "startTimeStamp", + "expiryTimeStamp", + "ipAddress" + ] + }, + "AccountSasToken": { + "type": "object", + "description": "Details of storage account sas token .", + "properties": { + "storageAccountSasToken": { + "type": "string", + "format": "password", + "description": "Field to specify storage account sas token.", + "x-ms-secret": true + } + }, + "required": [ + "storageAccountSasToken" + ] + }, + "Bypass": { + "type": "string", + "description": "Specifies whether traffic is bypassed for Logging/Metrics/AzureServices. Possible values are any combination of Logging|Metrics|AzureServices (For example, \"Logging, Metrics\"), or None to bypass none of those traffics.", + "enum": [ + "None", + "Logging", + "Metrics", + "AzureServices" + ], + "x-ms-enum": { + "name": "Bypass", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None", + "description": "Represents no bypassing of traffic." + }, + { + "name": "Logging", + "value": "Logging", + "description": "Represents bypassing logging traffic." + }, + { + "name": "Metrics", + "value": "Metrics", + "description": "Represents bypassing metrics traffic." + }, + { + "name": "AzureServices", + "value": "AzureServices", + "description": "Represents bypassing azure services traffic." + } + ] + } + }, + "ConsumptionEndpointsProperties": { + "type": "object", + "description": "Details of Consumption Properties", + "properties": { + "ingestionUrl": { + "type": "string", + "description": "Ingestion url to upload the data.", + "readOnly": true + }, + "ingestionResourceId": { + "type": "string", + "format": "arm-id", + "description": "Resource Id of ingestion endpoint.", + "readOnly": true, + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Storage/storageAccounts" + } + ] + } + }, + "fileAccessUrl": { + "type": "string", + "description": "Url to consume file type.", + "readOnly": true + }, + "fileAccessResourceId": { + "type": "string", + "format": "arm-id", + "description": "Resource Id of file access endpoint.", + "readOnly": true, + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Storage/storageAccounts" + } + ] + } + }, + "queryUrl": { + "type": "string", + "description": "Url to consume the processed data.", + "readOnly": true + }, + "queryResourceId": { + "type": "string", + "format": "arm-id", + "description": "Resource Id of query endpoint.", + "readOnly": true, + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Kusto/clusters" + } + ] + } + } + } + }, + "ContainerSaS": { + "type": "object", + "description": "The details for container sas creation.", + "properties": { + "startTimeStamp": { + "type": "string", + "format": "date-time", + "description": "Sas token start timestamp." + }, + "expiryTimeStamp": { + "type": "string", + "format": "date-time", + "description": "Sas token expiry timestamp." + }, + "ipAddress": { + "type": "string", + "description": "Ip Address" + } + }, + "required": [ + "startTimeStamp", + "expiryTimeStamp", + "ipAddress" + ] + }, + "ContainerSasToken": { + "type": "object", + "description": "Details of storage container account sas token .", + "properties": { + "storageContainerSasToken": { + "type": "string", + "format": "password", + "description": "Field to specify storage container sas token.", + "x-ms-secret": true + } + }, + "required": [ + "storageContainerSasToken" + ] + }, + "ControlState": { + "type": "string", + "description": "The data type state", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "ControlState", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "Field to enable a setting." + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "Field to disable a setting." + } + ] + } + }, + "DataProduct": { + "type": "object", + "description": "The data product resource.", + "properties": { + "properties": { + "$ref": "#/definitions/DataProductProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true, + "x-ms-mutability": [ + "read", + "create" + ] + }, + "identity": { + "$ref": "../../../../../common-types/resource-management/v4/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "The managed service identities assigned to this resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "DataProductInformation": { + "type": "object", + "description": "Data Product Information", + "properties": { + "dataProductName": { + "type": "string", + "description": "Name of data product." + }, + "description": { + "type": "string", + "description": "Description about data product." + }, + "dataProductVersions": { + "type": "array", + "description": "Version information of data product.", + "items": { + "$ref": "#/definitions/DataProductVersion" + }, + "x-ms-identifiers": [] + } + }, + "required": [ + "dataProductName", + "description", + "dataProductVersions" + ] + }, + "DataProductListResult": { + "type": "object", + "description": "The response of a DataProduct list operation.", + "properties": { + "value": { + "type": "array", + "description": "The DataProduct items on this page", + "items": { + "$ref": "#/definitions/DataProduct" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "DataProductNetworkAcls": { + "type": "object", + "description": "Data Product Network rule set", + "properties": { + "virtualNetworkRule": { + "type": "array", + "description": "Virtual Network Rule", + "items": { + "$ref": "#/definitions/VirtualNetworkRule" + } + }, + "ipRules": { + "type": "array", + "description": "IP rule with specific IP or IP range in CIDR format.", + "items": { + "$ref": "#/definitions/IPRules" + }, + "x-ms-identifiers": [] + }, + "allowedQueryIpRangeList": { + "type": "array", + "description": "The list of query ips in the format of CIDR allowed to connect to query/visualization endpoint.", + "items": { + "type": "string" + } + }, + "defaultAction": { + "$ref": "#/definitions/DefaultAction", + "description": "Default Action" + } + }, + "required": [ + "virtualNetworkRule", + "ipRules", + "allowedQueryIpRangeList", + "defaultAction" + ] + }, + "DataProductProperties": { + "type": "object", + "description": "The data product properties.", + "properties": { + "resourceGuid": { + "type": "string", + "description": "The resource GUID property of the data product resource.", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Latest provisioning state of data product.", + "readOnly": true + }, + "publisher": { + "type": "string", + "description": "Data product publisher name.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "product": { + "type": "string", + "description": "Product name of data product.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "majorVersion": { + "type": "string", + "description": "Major version of data product.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "owners": { + "type": "array", + "description": "List of name or email associated with data product resource deployment.", + "items": { + "type": "string" + }, + "x-ms-mutability": [ + "read", + "update", + "create" + ] + }, + "redundancy": { + "$ref": "#/definitions/ControlState", + "description": "Flag to enable or disable redundancy for data product.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "purviewAccount": { + "type": "string", + "description": "Purview account url for data product to connect to.", + "x-ms-mutability": [ + "read", + "update", + "create" + ] + }, + "purviewCollection": { + "type": "string", + "description": "Purview collection url for data product to connect to.", + "x-ms-mutability": [ + "read", + "update", + "create" + ] + }, + "privateLinksEnabled": { + "$ref": "#/definitions/ControlState", + "description": "Flag to enable or disable private link for data product resource.", + "x-ms-mutability": [ + "read", + "update", + "create" + ] + }, + "publicNetworkAccess": { + "$ref": "#/definitions/ControlState", + "description": "Flag to enable or disable public access of data product resource.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "customerManagedKeyEncryptionEnabled": { + "$ref": "#/definitions/ControlState", + "description": "Flag to enable customer managed key encryption for data product.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "customerEncryptionKey": { + "$ref": "#/definitions/EncryptionKeyDetails", + "description": "Customer managed encryption key details for data product.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "networkacls": { + "$ref": "#/definitions/DataProductNetworkAcls", + "description": "Network rule set for data product.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "managedResourceGroupConfiguration": { + "$ref": "#/definitions/ManagedResourceGroupConfiguration", + "description": "Managed resource group configuration.", + "x-ms-mutability": [ + "create" + ] + }, + "availableMinorVersions": { + "type": "array", + "description": "List of available minor versions of the data product resource.", + "items": { + "type": "string" + }, + "readOnly": true + }, + "currentMinorVersion": { + "type": "string", + "description": "Current configured minor version of the data product resource.", + "x-ms-mutability": [ + "read", + "update" + ] + }, + "documentation": { + "type": "string", + "description": "Documentation link for the data product based on definition file.", + "readOnly": true + }, + "consumptionEndpoints": { + "$ref": "#/definitions/ConsumptionEndpointsProperties", + "description": "Resource links which exposed to the customer to query the data.", + "readOnly": true + }, + "keyVaultUrl": { + "type": "string", + "description": "Key vault url.", + "readOnly": true + } + }, + "required": [ + "publisher", + "product", + "majorVersion" + ] + }, + "DataProductUpdate": { + "type": "object", + "description": "The type used for update operations of the DataProduct.", + "properties": { + "identity": { + "$ref": "../../../../../common-types/resource-management/v4/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "The managed service identities assigned to this resource." + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/DataProductUpdateProperties", + "x-ms-client-flatten": true + } + } + }, + "DataProductUpdateProperties": { + "type": "object", + "description": "The updatable properties of the DataProduct.", + "properties": { + "owners": { + "type": "array", + "description": "List of name or email associated with data product resource deployment.", + "items": { + "type": "string" + }, + "x-ms-mutability": [ + "read", + "update", + "create" + ] + }, + "purviewAccount": { + "type": "string", + "description": "Purview account url for data product to connect to.", + "x-ms-mutability": [ + "read", + "update", + "create" + ] + }, + "purviewCollection": { + "type": "string", + "description": "Purview collection url for data product to connect to.", + "x-ms-mutability": [ + "read", + "update", + "create" + ] + }, + "privateLinksEnabled": { + "$ref": "#/definitions/ControlState", + "description": "Flag to enable or disable private link for data product resource.", + "x-ms-mutability": [ + "read", + "update", + "create" + ] + }, + "currentMinorVersion": { + "type": "string", + "description": "Current configured minor version of the data product resource.", + "x-ms-mutability": [ + "read", + "update" + ] + } + } + }, + "DataProductUserRole": { + "type": "string", + "description": "The data type state", + "enum": [ + "Reader", + "SensitiveReader" + ], + "x-ms-enum": { + "name": "DataProductUserRole", + "modelAsString": true, + "values": [ + { + "name": "Reader", + "value": "Reader", + "description": "Field to specify user of type Reader." + }, + { + "name": "SensitiveReader", + "value": "SensitiveReader", + "description": "Field to specify user of type SensitiveReader.\nThis user has privileged access to read sensitive data of a data product." + } + ] + } + }, + "DataProductVersion": { + "type": "object", + "description": "Data Product Version.", + "properties": { + "version": { + "type": "string", + "description": "Version of data product" + } + }, + "required": [ + "version" + ] + }, + "DataProductsCatalog": { + "type": "object", + "description": "The data catalog resource.", + "properties": { + "properties": { + "$ref": "#/definitions/DataProductsCatalogProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true, + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] + }, + "DataProductsCatalogListResult": { + "type": "object", + "description": "The response of a DataProductsCatalog list operation.", + "properties": { + "value": { + "type": "array", + "description": "The DataProductsCatalog items on this page", + "items": { + "$ref": "#/definitions/DataProductsCatalog" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "DataProductsCatalogProperties": { + "type": "object", + "description": "Details for data catalog properties.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The data catalog provisioning state.", + "readOnly": true + }, + "publishers": { + "type": "array", + "description": "The data product publisher information.", + "items": { + "$ref": "#/definitions/PublisherInformation" + }, + "x-ms-identifiers": [] + } + }, + "required": [ + "publishers" + ] + }, + "DataType": { + "type": "object", + "description": "The data type resource.", + "properties": { + "properties": { + "$ref": "#/definitions/DataTypeProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true, + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] + }, + "DataTypeListResult": { + "type": "object", + "description": "The response of a DataType list operation.", + "properties": { + "value": { + "type": "array", + "description": "The DataType items on this page", + "items": { + "$ref": "#/definitions/DataType" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "DataTypeProperties": { + "type": "object", + "description": "The data type properties", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Latest provisioning state of data product.", + "readOnly": true + }, + "state": { + "$ref": "#/definitions/DataTypeState", + "description": "State of data type.", + "x-ms-mutability": [ + "read", + "update", + "create" + ] + }, + "stateReason": { + "type": "string", + "description": "Reason for the state of data type.", + "readOnly": true + }, + "storageOutputRetention": { + "type": "integer", + "format": "int32", + "description": "Field for storage output retention in days.", + "x-ms-mutability": [ + "read", + "update", + "create" + ] + }, + "databaseCacheRetention": { + "type": "integer", + "format": "int32", + "description": "Field for database cache retention in days.", + "x-ms-mutability": [ + "read", + "update", + "create" + ] + }, + "databaseRetention": { + "type": "integer", + "format": "int32", + "description": "Field for database data retention in days.", + "x-ms-mutability": [ + "read", + "update", + "create" + ] + }, + "visualizationUrl": { + "type": "string", + "description": "Url for data visualization.", + "readOnly": true + } + } + }, + "DataTypeState": { + "type": "string", + "description": "The data type state", + "enum": [ + "Stopped", + "Running" + ], + "x-ms-enum": { + "name": "DataTypeState", + "modelAsString": true, + "values": [ + { + "name": "Stopped", + "value": "Stopped", + "description": "Field to specify stopped state." + }, + { + "name": "Running", + "value": "Running", + "description": "Field to specify running state." + } + ] + } + }, + "DataTypeUpdate": { + "type": "object", + "description": "The type used for update operations of the DataType.", + "properties": { + "properties": { + "$ref": "#/definitions/DataTypeUpdateProperties", + "x-ms-client-flatten": true + } + } + }, + "DataTypeUpdateProperties": { + "type": "object", + "description": "The updatable properties of the DataType.", + "properties": { + "state": { + "$ref": "#/definitions/DataTypeState", + "description": "State of data type.", + "x-ms-mutability": [ + "read", + "update", + "create" + ] + }, + "storageOutputRetention": { + "type": "integer", + "format": "int32", + "description": "Field for storage output retention in days.", + "x-ms-mutability": [ + "read", + "update", + "create" + ] + }, + "databaseCacheRetention": { + "type": "integer", + "format": "int32", + "description": "Field for database cache retention in days.", + "x-ms-mutability": [ + "read", + "update", + "create" + ] + }, + "databaseRetention": { + "type": "integer", + "format": "int32", + "description": "Field for database data retention in days.", + "x-ms-mutability": [ + "read", + "update", + "create" + ] + } + } + }, + "DefaultAction": { + "type": "string", + "description": "Specifies the default action of allow or deny when no other rules match.", + "enum": [ + "Allow", + "Deny" + ], + "x-ms-enum": { + "name": "DefaultAction", + "modelAsString": true, + "values": [ + { + "name": "Allow", + "value": "Allow", + "description": "Represents allow action." + }, + { + "name": "Deny", + "value": "Deny", + "description": "Represents deny action." + } + ] + } + }, + "EncryptionKeyDetails": { + "type": "object", + "description": "Encryption key details.", + "properties": { + "keyVaultUri": { + "type": "string", + "description": "The Uri of the key vault." + }, + "keyName": { + "type": "string", + "description": "The name of the key vault key." + }, + "keyVersion": { + "type": "string", + "description": "The version of the key vault key." + } + }, + "required": [ + "keyVaultUri", + "keyName", + "keyVersion" + ] + }, + "IPRules": { + "type": "object", + "description": "IP rule with specific IP or IP range in CIDR format.", + "properties": { + "value": { + "type": "string", + "description": "IP Rules Value" + }, + "action": { + "type": "string", + "description": "The action of virtual network rule." + } + }, + "required": [ + "action" + ] + }, + "KeyVaultInfo": { + "type": "object", + "description": "Details for KeyVault.", + "properties": { + "keyVaultUrl": { + "type": "string", + "description": "key vault url." + } + }, + "required": [ + "keyVaultUrl" + ] + }, + "ListRoleAssignments": { + "type": "object", + "description": "list role assignments.", + "properties": { + "count": { + "type": "integer", + "format": "int32", + "description": "Count of role assignments." + }, + "roleAssignmentResponse": { + "type": "array", + "description": "list of role assignments", + "items": { + "$ref": "#/definitions/RoleAssignmentDetail" + }, + "x-ms-identifiers": [ + "roleAssignmentId" + ] + } + }, + "required": [ + "count", + "roleAssignmentResponse" + ] + }, + "ManagedResourceGroupConfiguration": { + "type": "object", + "description": "ManagedResourceGroup related properties", + "properties": { + "name": { + "type": "string", + "description": "Name of managed resource group" + }, + "location": { + "type": "string", + "description": "Managed Resource Group location" + } + }, + "required": [ + "name", + "location" + ] + }, + "ProvisioningState": { + "type": "string", + "description": "The status of the current operation.", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Provisioning", + "Updating", + "Deleting", + "Accepted" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Represents a succeeded operation." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Represents a failed operation." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Represents a canceled operation." + }, + { + "name": "Provisioning", + "value": "Provisioning", + "description": "Represents a pending operation." + }, + { + "name": "Updating", + "value": "Updating", + "description": "Represents a pending operation." + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "Represents an operation under deletion." + }, + { + "name": "Accepted", + "value": "Accepted", + "description": "Represents an accepted operation." + } + ] + } + }, + "PublisherInformation": { + "type": "object", + "description": "Details for Publisher Information.", + "properties": { + "publisherName": { + "type": "string", + "description": "Name of the publisher." + }, + "dataProducts": { + "type": "array", + "description": "Data product information.", + "items": { + "$ref": "#/definitions/DataProductInformation" + }, + "x-ms-identifiers": [] + } + }, + "required": [ + "publisherName", + "dataProducts" + ] + }, + "ResourceAccessRules": { + "type": "object", + "description": "Resource Access Rules.", + "properties": { + "tenantId": { + "type": "string", + "description": "The tenant ID of resource." + }, + "resourceId": { + "type": "string", + "description": "Resource ID" + } + }, + "required": [ + "tenantId", + "resourceId" + ] + }, + "RoleAssignmentCommonProperties": { + "type": "object", + "description": "The details for role assignment common properties.", + "properties": { + "roleId": { + "type": "string", + "description": "Role Id of the Built-In Role" + }, + "principalId": { + "type": "string", + "description": "Object ID of the AAD principal or security-group." + }, + "userName": { + "type": "string", + "description": "User name." + }, + "dataTypeScope": { + "type": "array", + "description": "Data Type Scope at which the role assignment is created.", + "items": { + "type": "string" + } + }, + "principalType": { + "type": "string", + "description": "Type of the principal Id: User, Group or ServicePrincipal" + }, + "role": { + "$ref": "#/definitions/DataProductUserRole", + "description": "Data Product role to be assigned to a user." + } + }, + "required": [ + "roleId", + "principalId", + "userName", + "dataTypeScope", + "principalType", + "role" + ] + }, + "RoleAssignmentDetail": { + "type": "object", + "description": "The details for role assignment response.", + "properties": { + "roleId": { + "type": "string", + "description": "Role Id of the Built-In Role" + }, + "principalId": { + "type": "string", + "description": "Object ID of the AAD principal or security-group." + }, + "userName": { + "type": "string", + "description": "User name." + }, + "dataTypeScope": { + "type": "array", + "description": "Data Type Scope at which the role assignment is created.", + "items": { + "type": "string" + } + }, + "principalType": { + "type": "string", + "description": "Type of the principal Id: User, Group or ServicePrincipal" + }, + "role": { + "$ref": "#/definitions/DataProductUserRole", + "description": "Data Product role to be assigned to a user." + }, + "roleAssignmentId": { + "type": "string", + "description": "Id of role assignment request" + } + }, + "required": [ + "roleId", + "principalId", + "userName", + "dataTypeScope", + "principalType", + "role", + "roleAssignmentId" + ] + }, + "Versions": { + "type": "string", + "description": "The available API versions for the Microsoft.NetworkAnalytics RP.", + "enum": [ + "2023-11-15" + ], + "x-ms-enum": { + "name": "Versions", + "modelAsString": true, + "values": [ + { + "name": "v2023_11_15", + "value": "2023-11-15", + "description": "The 2023-11-15 stable version." + } + ] + } + }, + "VirtualNetworkRule": { + "type": "object", + "description": "Virtual Network Rule", + "properties": { + "id": { + "type": "string", + "description": "Resource ID of a subnet" + }, + "action": { + "type": "string", + "description": "The action of virtual network rule." + }, + "state": { + "type": "string", + "description": "Gets the state of virtual network rule." + } + }, + "required": [ + "id" + ] + } + }, + "parameters": {} +} diff --git a/specification/networkanalytics/resource-manager/readme.csharp.md b/specification/networkanalytics/resource-manager/readme.csharp.md new file mode 100644 index 000000000000..aaacbbc7ef66 --- /dev/null +++ b/specification/networkanalytics/resource-manager/readme.csharp.md @@ -0,0 +1,15 @@ +## C# + +These settings apply only when `--csharp` is specified on the command line. +Please also specify `--csharp-sdks-folder=`. + +```yaml $(csharp) +csharp: + azure-arm: true + license-header: MICROSOFT_MIT_NO_VERSION + payload-flattening-threshold: 1 + clear-output-folder: true + client-side-validation: false + namespace: [[ResourceProviderName]] + output-folder: $(csharp-sdks-folder)/networkanalytics/management/[[ResourceProviderName]]/GeneratedProtocol +``` \ No newline at end of file diff --git a/specification/networkanalytics/resource-manager/readme.go.md b/specification/networkanalytics/resource-manager/readme.go.md new file mode 100644 index 000000000000..12819799bb33 --- /dev/null +++ b/specification/networkanalytics/resource-manager/readme.go.md @@ -0,0 +1,11 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +```yaml $(go) && $(track2) +azure-arm: true +license-header: MICROSOFT_MIT_NO_VERSION +module-name: sdk/resourcemanager/networkanalytics/armnetworkanalytics +module: github.com/Azure/azure-sdk-for-go/$(module-name) +output-folder: $(go-sdk-folder)/$(module-name) +``` diff --git a/specification/networkanalytics/resource-manager/readme.md b/specification/networkanalytics/resource-manager/readme.md new file mode 100644 index 000000000000..af2f3052c246 --- /dev/null +++ b/specification/networkanalytics/resource-manager/readme.md @@ -0,0 +1,79 @@ +# networkanalytics + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for networkanalytics. + +## Getting Started + +To build the SDKs for My API, simply install AutoRest via `npm` (`npm install -g autorest`) and then run: + +> `autorest readme.md` + +To see additional help and options, run: + +> `autorest --help` + +## For other options on installation see [Installing AutoRest](https://aka.ms/autorest/install) on the AutoRest github page. + +## Configuration + +### Basic Information + +These are the global settings for the networkanalytics. + +``` yaml +openapi-type: arm +openapi-subtype: rpaas +tag: package-2023-11-15 +``` + + +### Tag: package-2023-11-15 + +These settings apply only when `--tag=package-2023-11-15` is specified on the command line. + +```yaml $(tag) == 'package-2023-11-15' +input-file: + - Microsoft.NetworkAnalytics/stable/2023-11-15/networkanalytics.json +``` + +# Code Generation + +## Swagger to SDK + +This section describes what SDK should be generated by the automatic system. +This is not used by Autorest itself. + +``` yaml $(swagger-to-sdk) +swagger-to-sdk: + - repo: azure-sdk-for-python-track2 + - repo: azure-sdk-for-java + - repo: azure-sdk-for-go + - repo: azure-sdk-for-js + - repo: azure-sdk-for-ruby + after_scripts: + - bundle install && rake arm:regen_all_profiles['azure_mgmt_networkanalytics'] + - repo: azure-resource-manager-schemas + - repo: azure-powershell +``` + +## Go + +See configuration in [readme.go.md](./readme.go.md) + +## Python + +See configuration in [readme.python.md](./readme.python.md) + +## Ruby + +See configuration in [readme.ruby.md](./readme.ruby.md) + +## TypeScript + +See configuration in [readme.typescript.md](./readme.typescript.md) + +## CSharp + +See configuration in [readme.csharp.md](./readme.csharp.md) diff --git a/specification/networkanalytics/resource-manager/readme.python.md b/specification/networkanalytics/resource-manager/readme.python.md new file mode 100644 index 000000000000..ce74602a3712 --- /dev/null +++ b/specification/networkanalytics/resource-manager/readme.python.md @@ -0,0 +1,18 @@ +## Python + +These settings apply only when `--python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(python) +azure-arm: true +license-header: MICROSOFT_MIT_NO_VERSION +package-name: azure-mgmt-networkanalytics +namespace: azure.mgmt.networkanalytics +package-version: 1.0.0b1 +clear-output-folder: true +``` + +``` yaml $(python) +no-namespace-folders: true +output-folder: $(python-sdks-folder)/networkanalytics/azure-mgmt-networkanalytics/azure/mgmt/networkanalytics +``` \ No newline at end of file diff --git a/specification/networkanalytics/resource-manager/readme.typescript.md b/specification/networkanalytics/resource-manager/readme.typescript.md new file mode 100644 index 000000000000..fde0c45e75a2 --- /dev/null +++ b/specification/networkanalytics/resource-manager/readme.typescript.md @@ -0,0 +1,14 @@ +## TypeScript + +These settings apply only when `--typescript` is specified on the command line. +Please also specify `--typescript-sdks-folder=`. + +``` yaml $(typescript) +typescript: + azure-arm: true + package-name: "@azure/arm-networkanalytics" + output-folder: "$(typescript-sdks-folder)/sdk/networkanalytics/arm-networkanalytics" + payload-flattening-threshold: 1 + clear-output-folder: true + generate-metadata: true +``` \ No newline at end of file