-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* NSP API version update to 2023-07-01-preview * update * Update * Commit for triggering build * Upgrade to autorest.powershell v4 * add, record test * Regenerate commands --------- Co-authored-by: Kaushal Kumar <[email protected]> Co-authored-by: derek <[email protected]>
- Loading branch information
1 parent
d8c8362
commit 1030167
Showing
60 changed files
with
2,628 additions
and
1,576 deletions.
There are no files selected for viewing
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
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
95 changes: 95 additions & 0 deletions
95
...rityPerimeter.Autorest/UX/Microsoft.Network/networkSecurityPerimeters-linkReferences.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,95 @@ | ||
{ | ||
"resourceType": "networkSecurityPerimeters/linkReferences", | ||
"apiVersion": "2023-07-01-preview", | ||
"learnMore": { | ||
"url": "https://learn.microsoft.com/powershell/module/az.network" | ||
}, | ||
"commands": [ | ||
{ | ||
"name": "Get-AzNetworkSecurityPerimeterLinkReference", | ||
"description": "Gets the specified NSP linkReference resource.", | ||
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/linkReferences/{linkReferenceName}", | ||
"help": { | ||
"learnMore": { | ||
"url": "https://learn.microsoft.com/powershell/module/az.network/get-aznetworksecurityperimeterlinkreference" | ||
}, | ||
"parameterSets": [ | ||
{ | ||
"parameters": [ | ||
"-Name <String>", | ||
"-ResourceGroupName <String>", | ||
"-SecurityPerimeterName <String>", | ||
"[-SubscriptionId <String[]>]" | ||
] | ||
} | ||
] | ||
}, | ||
"examples": [ | ||
{ | ||
"description": "Gets the specified NSP linkReference resource.", | ||
"parameters": [ | ||
{ | ||
"name": "-Name", | ||
"value": "[Path.linkReferenceName]" | ||
}, | ||
{ | ||
"name": "-ResourceGroupName", | ||
"value": "[Path.resourceGroupName]" | ||
}, | ||
{ | ||
"name": "-SecurityPerimeterName", | ||
"value": "[Path.networkSecurityPerimeterName]" | ||
}, | ||
{ | ||
"name": "-SubscriptionId", | ||
"value": "[Path.subscriptionId]" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "Remove-AzNetworkSecurityPerimeterLinkReference", | ||
"description": "Deletes an NSP LinkReference resource.", | ||
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/linkReferences/{linkReferenceName}", | ||
"help": { | ||
"learnMore": { | ||
"url": "https://learn.microsoft.com/powershell/module/az.network/remove-aznetworksecurityperimeterlinkreference" | ||
}, | ||
"parameterSets": [ | ||
{ | ||
"parameters": [ | ||
"-Name <String>", | ||
"-ResourceGroupName <String>", | ||
"-SecurityPerimeterName <String>", | ||
"[-SubscriptionId <String>]" | ||
] | ||
} | ||
] | ||
}, | ||
"examples": [ | ||
{ | ||
"description": "Deletes an NSP LinkReference resource.", | ||
"parameters": [ | ||
{ | ||
"name": "-Name", | ||
"value": "[Path.linkReferenceName]" | ||
}, | ||
{ | ||
"name": "-ResourceGroupName", | ||
"value": "[Path.resourceGroupName]" | ||
}, | ||
{ | ||
"name": "-SecurityPerimeterName", | ||
"value": "[Path.networkSecurityPerimeterName]" | ||
}, | ||
{ | ||
"name": "-SubscriptionId", | ||
"value": "[Path.subscriptionId]" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} |
95 changes: 95 additions & 0 deletions
95
...tworkSecurityPerimeter.Autorest/UX/Microsoft.Network/networkSecurityPerimeters-links.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,95 @@ | ||
{ | ||
"resourceType": "networkSecurityPerimeters/links", | ||
"apiVersion": "2023-07-01-preview", | ||
"learnMore": { | ||
"url": "https://learn.microsoft.com/powershell/module/az.network" | ||
}, | ||
"commands": [ | ||
{ | ||
"name": "Get-AzNetworkSecurityPerimeterLink", | ||
"description": "Gets the specified NSP link resource.", | ||
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/links/{linkName}", | ||
"help": { | ||
"learnMore": { | ||
"url": "https://learn.microsoft.com/powershell/module/az.network/get-aznetworksecurityperimeterlink" | ||
}, | ||
"parameterSets": [ | ||
{ | ||
"parameters": [ | ||
"-Name <String>", | ||
"-ResourceGroupName <String>", | ||
"-SecurityPerimeterName <String>", | ||
"[-SubscriptionId <String[]>]" | ||
] | ||
} | ||
] | ||
}, | ||
"examples": [ | ||
{ | ||
"description": "Gets the specified NSP link resource.", | ||
"parameters": [ | ||
{ | ||
"name": "-Name", | ||
"value": "[Path.linkName]" | ||
}, | ||
{ | ||
"name": "-ResourceGroupName", | ||
"value": "[Path.resourceGroupName]" | ||
}, | ||
{ | ||
"name": "-SecurityPerimeterName", | ||
"value": "[Path.networkSecurityPerimeterName]" | ||
}, | ||
{ | ||
"name": "-SubscriptionId", | ||
"value": "[Path.subscriptionId]" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "Remove-AzNetworkSecurityPerimeterLink", | ||
"description": "Deletes an NSP Link resource.", | ||
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/links/{linkName}", | ||
"help": { | ||
"learnMore": { | ||
"url": "https://learn.microsoft.com/powershell/module/az.network/remove-aznetworksecurityperimeterlink" | ||
}, | ||
"parameterSets": [ | ||
{ | ||
"parameters": [ | ||
"-Name <String>", | ||
"-ResourceGroupName <String>", | ||
"-SecurityPerimeterName <String>", | ||
"[-SubscriptionId <String>]" | ||
] | ||
} | ||
] | ||
}, | ||
"examples": [ | ||
{ | ||
"description": "Deletes an NSP Link resource.", | ||
"parameters": [ | ||
{ | ||
"name": "-Name", | ||
"value": "[Path.linkName]" | ||
}, | ||
{ | ||
"name": "-ResourceGroupName", | ||
"value": "[Path.resourceGroupName]" | ||
}, | ||
{ | ||
"name": "-SecurityPerimeterName", | ||
"value": "[Path.networkSecurityPerimeterName]" | ||
}, | ||
{ | ||
"name": "-SubscriptionId", | ||
"value": "[Path.subscriptionId]" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} |
105 changes: 105 additions & 0 deletions
105
...rimeter.Autorest/UX/Microsoft.Network/networkSecurityPerimeters-profiles-accessRules.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,105 @@ | ||
{ | ||
"resourceType": "networkSecurityPerimeters/profiles/accessRules", | ||
"apiVersion": "2023-07-01-preview", | ||
"learnMore": { | ||
"url": "https://learn.microsoft.com/powershell/module/az.network" | ||
}, | ||
"commands": [ | ||
{ | ||
"name": "Get-AzNetworkSecurityPerimeterAccessRule", | ||
"description": "Gets the specified NSP access rule by name.", | ||
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/profiles/{profileName}/accessRules/{accessRuleName}", | ||
"help": { | ||
"learnMore": { | ||
"url": "https://learn.microsoft.com/powershell/module/az.network/get-aznetworksecurityperimeteraccessrule" | ||
}, | ||
"parameterSets": [ | ||
{ | ||
"parameters": [ | ||
"-Name <String>", | ||
"-ProfileName <String>", | ||
"-ResourceGroupName <String>", | ||
"-SecurityPerimeterName <String>", | ||
"[-SubscriptionId <String[]>]" | ||
] | ||
} | ||
] | ||
}, | ||
"examples": [ | ||
{ | ||
"description": "Gets the specified NSP access rule by name.", | ||
"parameters": [ | ||
{ | ||
"name": "-Name", | ||
"value": "[Path.accessRuleName]" | ||
}, | ||
{ | ||
"name": "-ProfileName", | ||
"value": "[Path.profileName]" | ||
}, | ||
{ | ||
"name": "-ResourceGroupName", | ||
"value": "[Path.resourceGroupName]" | ||
}, | ||
{ | ||
"name": "-SecurityPerimeterName", | ||
"value": "[Path.networkSecurityPerimeterName]" | ||
}, | ||
{ | ||
"name": "-SubscriptionId", | ||
"value": "[Path.subscriptionId]" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "Remove-AzNetworkSecurityPerimeterAccessRule", | ||
"description": "Deletes an NSP access rule.", | ||
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/profiles/{profileName}/accessRules/{accessRuleName}", | ||
"help": { | ||
"learnMore": { | ||
"url": "https://learn.microsoft.com/powershell/module/az.network/remove-aznetworksecurityperimeteraccessrule" | ||
}, | ||
"parameterSets": [ | ||
{ | ||
"parameters": [ | ||
"-Name <String>", | ||
"-ProfileName <String>", | ||
"-ResourceGroupName <String>", | ||
"-SecurityPerimeterName <String>", | ||
"[-SubscriptionId <String>]" | ||
] | ||
} | ||
] | ||
}, | ||
"examples": [ | ||
{ | ||
"description": "Deletes an NSP access rule.", | ||
"parameters": [ | ||
{ | ||
"name": "-Name", | ||
"value": "[Path.accessRuleName]" | ||
}, | ||
{ | ||
"name": "-ProfileName", | ||
"value": "[Path.profileName]" | ||
}, | ||
{ | ||
"name": "-ResourceGroupName", | ||
"value": "[Path.resourceGroupName]" | ||
}, | ||
{ | ||
"name": "-SecurityPerimeterName", | ||
"value": "[Path.networkSecurityPerimeterName]" | ||
}, | ||
{ | ||
"name": "-SubscriptionId", | ||
"value": "[Path.subscriptionId]" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} |
Oops, something went wrong.