Delen via


OutboundFirewallRuleCollection Class

Definition

A class representing a collection of OutboundFirewallRuleResource and their operations. Each OutboundFirewallRuleResource in the collection will belong to the same instance of SqlServerResource. To get an OutboundFirewallRuleCollection instance call the GetOutboundFirewallRules method from an instance of SqlServerResource.

public class OutboundFirewallRuleCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.Sql.OutboundFirewallRuleResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Sql.OutboundFirewallRuleResource>
type OutboundFirewallRuleCollection = class
    inherit ArmCollection
    interface seq<OutboundFirewallRuleResource>
    interface IEnumerable
    interface IAsyncEnumerable<OutboundFirewallRuleResource>
Public Class OutboundFirewallRuleCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of OutboundFirewallRuleResource), IEnumerable(Of OutboundFirewallRuleResource)
Inheritance
OutboundFirewallRuleCollection
Implements

Constructors

OutboundFirewallRuleCollection()

Initializes a new instance of the OutboundFirewallRuleCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, OutboundFirewallRuleData, CancellationToken)

Create a outbound firewall rule with a given name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/outboundFirewallRules/{outboundRuleFqdn}
  • Operation Id: OutboundFirewallRules_CreateOrUpdate
  • Default Api Version: 2021-02-01-preview
  • Resource: OutboundFirewallRuleResource
CreateOrUpdateAsync(WaitUntil, String, OutboundFirewallRuleData, CancellationToken)

Create a outbound firewall rule with a given name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/outboundFirewallRules/{outboundRuleFqdn}
  • Operation Id: OutboundFirewallRules_CreateOrUpdate
  • Default Api Version: 2021-02-01-preview
  • Resource: OutboundFirewallRuleResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/outboundFirewallRules/{outboundRuleFqdn}
  • Operation Id: OutboundFirewallRules_Get
  • Default Api Version: 2021-02-01-preview
  • Resource: OutboundFirewallRuleResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/outboundFirewallRules/{outboundRuleFqdn}
  • Operation Id: OutboundFirewallRules_Get
  • Default Api Version: 2021-02-01-preview
  • Resource: OutboundFirewallRuleResource
Get(String, CancellationToken)

Gets an outbound firewall rule.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/outboundFirewallRules/{outboundRuleFqdn}
  • Operation Id: OutboundFirewallRules_Get
  • Default Api Version: 2021-02-01-preview
  • Resource: OutboundFirewallRuleResource
GetAll(CancellationToken)

Gets all outbound firewall rules on a server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/outboundFirewallRules
  • Operation Id: OutboundFirewallRules_ListByServer
  • Default Api Version: 2021-02-01-preview
  • Resource: OutboundFirewallRuleResource
GetAllAsync(CancellationToken)

Gets all outbound firewall rules on a server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/outboundFirewallRules
  • Operation Id: OutboundFirewallRules_ListByServer
  • Default Api Version: 2021-02-01-preview
  • Resource: OutboundFirewallRuleResource
GetAsync(String, CancellationToken)

Gets an outbound firewall rule.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/outboundFirewallRules/{outboundRuleFqdn}
  • Operation Id: OutboundFirewallRules_Get
  • Default Api Version: 2021-02-01-preview
  • Resource: OutboundFirewallRuleResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/outboundFirewallRules/{outboundRuleFqdn}
  • Operation Id: OutboundFirewallRules_Get
  • Default Api Version: 2021-02-01-preview
  • Resource: OutboundFirewallRuleResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/outboundFirewallRules/{outboundRuleFqdn}
  • Operation Id: OutboundFirewallRules_Get
  • Default Api Version: 2021-02-01-preview
  • Resource: OutboundFirewallRuleResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<OutboundFirewallRuleResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<OutboundFirewallRuleResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to