Skip to content

Commit

Permalink
[Hub Generated] Publish private branch 'dev/pratshah/add-cmk-rename-n…
Browse files Browse the repository at this point in the history
…etworkacls-add-storage-adx-resourceids' (#25577)

* add or modify files

* Updated examples with meaningful values.
Added Readme for stable version.
removed preview version folder.

* Fixed the datatypename naming pattern
Fixed the missing resource Id for datacatalogs pure proxy resource.

* Fix for modelvalidation INVALID_REQUEST_PARAMETER
for MetricsIngestionEndpoints

* fix for DOUBLE_FORWARD_SLASHES_IN_URL
and  INVALID_FORMAT for MetricsIngestionEndpoints

* fix for DOUBLE_FORWARD_SLASHES_IN_URL
and  INVALID_FORMAT for MetricsIngestionEndpoints

* Fix to address
1. Swagger LintDiff for DataProductsCatalog Resource
2. Added the examples examples for list by sub and rg
 for DataProductsCatalog
3. minor fix of example title for EMIG

* Removed preview versions references and resource
types from swagger.

* Fix for typespec validation

* fix typespec validation

* Fixed the lintDiff to add
delete operation for datatype proxy resource
Also fixed the deletedata to have post action.
Generated examples for the same.

* Fixed referencing of example json
to resolve avacado, model , typespec validations.

* fix typespec validation

* 1. removed EMIG resource , opertions and examples.
2. made below post actions as sync operations
   generateStorageAccountSasToken
  generateStorageContainerSasToken
  rotateKey
  addUserRole
  removeUserRole
  listRolesAssignments

3. Added  x-ms-secret  to the sas token responses
4. refactored examples for the above changes.

* Fixed prettier check for example files.

---------

Co-authored-by: Pratik Shah <[email protected]>
  • Loading branch information
ramkriz84 and Pratik-Shah authored Sep 29, 2023
1 parent 865e7c1 commit c364b64
Show file tree
Hide file tree
Showing 96 changed files with 6,822 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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": "[email protected]",
"createdByType": "User",
"createdAt": "2023-09-04T08:26:27.1506343Z",
"lastModifiedBy": "[email protected]",
"lastModifiedByType": "User",
"lastModifiedAt": "2023-09-04T08:26:27.1506343Z"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -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"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -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": "[email protected]",
"createdByType": "User",
"createdAt": "2023-09-04T08:26:27.1506343Z",
"lastModifiedBy": "[email protected]",
"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"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -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"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -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": "[email protected]",
"createdByType": "User",
"createdAt": "2023-09-04T08:26:27.1506343Z",
"lastModifiedBy": "[email protected]",
"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"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -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"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -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"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -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"
}
}
}
}
Loading

0 comments on commit c364b64

Please sign in to comment.