-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added PATCH flowLog API and example (#9960)
* Added PATCH flowLog API and example * Fixed example * Added property to TCPConfiguration * Fixed prettier warning * Fixes based on CR
- Loading branch information
Showing
2 changed files
with
122 additions
and
0 deletions.
There are no files selected for viewing
46 changes: 46 additions & 0 deletions
46
...manager/Microsoft.Network/stable/2020-06-01/examples/NetworkWatcherFlowLogUpdateTags.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-06-01", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg1", | ||
"networkWatcherName": "nw", | ||
"flowLogName": "fl", | ||
"parameters": { | ||
"tags": { | ||
"tag1": "value1", | ||
"tag2": "value2" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"name": "Microsoft.Networkdesmond-rgdesmondcentral-nsg", | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw/FlowLogs/fl", | ||
"etag": "W/\"00000000-0000-0000-0000-000000000000\"", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"targetResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/desmondcentral-nsg", | ||
"targetResourceGuid": "00000000-0000-0000-0000-000000000000", | ||
"storageId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/nwtest1mgvbfmqsigdxe", | ||
"enabled": true, | ||
"flowAnalyticsConfiguration": {}, | ||
"retentionPolicy": { | ||
"days": 0, | ||
"enabled": false | ||
}, | ||
"format": { | ||
"type": "JSON", | ||
"version": 1 | ||
} | ||
}, | ||
"tags": { | ||
"tag1": "value1", | ||
"tag2": "value2" | ||
}, | ||
"type": "Microsoft.Network/networkWatchers/FlowLogs", | ||
"location": "centralus" | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters