Partager via


FirewallRulesOperations interface

Interface representing a FirewallRules operations.

Properties

createOrUpdate

Creates a new firewall rule or updates an existing firewall rule on a mongo cluster.

delete

Deletes a mongo cluster firewall rule.

get

Gets information about a mongo cluster firewall rule.

listByMongoCluster

List all the firewall rules in a given mongo cluster.

Property Details

createOrUpdate

Creates a new firewall rule or updates an existing firewall rule on a mongo cluster.

createOrUpdate: (resourceGroupName: string, mongoClusterName: string, firewallRuleName: string, resource: FirewallRule, options?: FirewallRulesCreateOrUpdateOptionalParams) => PollerLike<OperationState<FirewallRule>, FirewallRule>

Property Value

(resourceGroupName: string, mongoClusterName: string, firewallRuleName: string, resource: FirewallRule, options?: FirewallRulesCreateOrUpdateOptionalParams) => PollerLike<OperationState<FirewallRule>, FirewallRule>

delete

Deletes a mongo cluster firewall rule.

delete: (resourceGroupName: string, mongoClusterName: string, firewallRuleName: string, options?: FirewallRulesDeleteOptionalParams) => PollerLike<OperationState<void>, void>

Property Value

(resourceGroupName: string, mongoClusterName: string, firewallRuleName: string, options?: FirewallRulesDeleteOptionalParams) => PollerLike<OperationState<void>, void>

get

Gets information about a mongo cluster firewall rule.

get: (resourceGroupName: string, mongoClusterName: string, firewallRuleName: string, options?: FirewallRulesGetOptionalParams) => Promise<FirewallRule>

Property Value

(resourceGroupName: string, mongoClusterName: string, firewallRuleName: string, options?: FirewallRulesGetOptionalParams) => Promise<FirewallRule>

listByMongoCluster

List all the firewall rules in a given mongo cluster.

listByMongoCluster: (resourceGroupName: string, mongoClusterName: string, options?: FirewallRulesListByMongoClusterOptionalParams) => PagedAsyncIterableIterator<FirewallRule, FirewallRule[], PageSettings>

Property Value

(resourceGroupName: string, mongoClusterName: string, options?: FirewallRulesListByMongoClusterOptionalParams) => PagedAsyncIterableIterator<FirewallRule, FirewallRule[], PageSettings>