NetworkSecurityPerimeterAccessRules interface
Interface representing a NetworkSecurityPerimeterAccessRules.
Methods
| create |
Creates or updates a network access rule. |
| delete(string, string, string, string, Network |
Deletes an NSP access rule. |
| get(string, string, string, string, Network |
Gets the specified NSP access rule by name. |
| list(string, string, string, Network |
Lists the NSP access rules in the specified NSP profile. |
| reconcile(string, string, string, string, Record<string, unknown>, Network |
Reconcile NSP access rules |
Method Details
createOrUpdate(string, string, string, string, NspAccessRule, NetworkSecurityPerimeterAccessRulesCreateOrUpdateOptionalParams)
Creates or updates a network access rule.
function createOrUpdate(resourceGroupName: string, networkSecurityPerimeterName: string, profileName: string, accessRuleName: string, parameters: NspAccessRule, options?: NetworkSecurityPerimeterAccessRulesCreateOrUpdateOptionalParams): Promise<NspAccessRule>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- networkSecurityPerimeterName
-
string
The name of the network security perimeter.
- profileName
-
string
The name of the NSP profile.
- accessRuleName
-
string
The name of the NSP access rule.
- parameters
- NspAccessRule
Parameters that hold the NspAccessRule resource to be created/updated.
The options parameters.
Returns
Promise<NspAccessRule>
delete(string, string, string, string, NetworkSecurityPerimeterAccessRulesDeleteOptionalParams)
Deletes an NSP access rule.
function delete(resourceGroupName: string, networkSecurityPerimeterName: string, profileName: string, accessRuleName: string, options?: NetworkSecurityPerimeterAccessRulesDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- networkSecurityPerimeterName
-
string
The name of the network security perimeter.
- profileName
-
string
The name of the NSP profile.
- accessRuleName
-
string
The name of the NSP access rule.
The options parameters.
Returns
Promise<void>
get(string, string, string, string, NetworkSecurityPerimeterAccessRulesGetOptionalParams)
Gets the specified NSP access rule by name.
function get(resourceGroupName: string, networkSecurityPerimeterName: string, profileName: string, accessRuleName: string, options?: NetworkSecurityPerimeterAccessRulesGetOptionalParams): Promise<NspAccessRule>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- networkSecurityPerimeterName
-
string
The name of the network security perimeter.
- profileName
-
string
The name of the NSP profile.
- accessRuleName
-
string
The name of the NSP access rule.
The options parameters.
Returns
Promise<NspAccessRule>
list(string, string, string, NetworkSecurityPerimeterAccessRulesListOptionalParams)
Lists the NSP access rules in the specified NSP profile.
function list(resourceGroupName: string, networkSecurityPerimeterName: string, profileName: string, options?: NetworkSecurityPerimeterAccessRulesListOptionalParams): PagedAsyncIterableIterator<NspAccessRule, NspAccessRule[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- networkSecurityPerimeterName
-
string
The name of the network security perimeter.
- profileName
-
string
The name of the NSP profile.
The options parameters.
Returns
reconcile(string, string, string, string, Record<string, unknown>, NetworkSecurityPerimeterAccessRulesReconcileOptionalParams)
Reconcile NSP access rules
function reconcile(resourceGroupName: string, networkSecurityPerimeterName: string, profileName: string, accessRuleName: string, parameters: Record<string, unknown>, options?: NetworkSecurityPerimeterAccessRulesReconcileOptionalParams): Promise<NetworkSecurityPerimeterAccessRulesReconcileResponse>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- networkSecurityPerimeterName
-
string
The name of the network security perimeter.
- profileName
-
string
The name of the NSP profile.
- accessRuleName
-
string
The name of the NSP access rule.
- parameters
-
Record<string, unknown>
Parameters for NSP access rule reconcile
The options parameters.