Share via


IPv6FirewallRuleCollection Class

Definition

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

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

Constructors

IPv6FirewallRuleCollection()

Initializes a new instance of the IPv6FirewallRuleCollection 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, IPv6FirewallRuleData, CancellationToken)

Creates or updates an IPv6 firewall rule.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/ipv6FirewallRules/{firewallRuleName}
  • Operation Id: IPv6FirewallRules_CreateOrUpdate
  • Default Api Version: 2022-11-01-preview
  • Resource: IPv6FirewallRuleResource
CreateOrUpdateAsync(WaitUntil, String, IPv6FirewallRuleData, CancellationToken)

Creates or updates an IPv6 firewall rule.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/ipv6FirewallRules/{firewallRuleName}
  • Operation Id: IPv6FirewallRules_CreateOrUpdate
  • Default Api Version: 2022-11-01-preview
  • Resource: IPv6FirewallRuleResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/ipv6FirewallRules/{firewallRuleName}
  • Operation Id: IPv6FirewallRules_Get
  • Default Api Version: 2022-11-01-preview
  • Resource: IPv6FirewallRuleResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/ipv6FirewallRules/{firewallRuleName}
  • Operation Id: IPv6FirewallRules_Get
  • Default Api Version: 2022-11-01-preview
  • Resource: IPv6FirewallRuleResource
Get(String, CancellationToken)

Gets an IPv6 firewall rule.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/ipv6FirewallRules/{firewallRuleName}
  • Operation Id: IPv6FirewallRules_Get
  • Default Api Version: 2022-11-01-preview
  • Resource: IPv6FirewallRuleResource
GetAll(CancellationToken)

Gets a list of IPv6 firewall rules.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/ipv6FirewallRules
  • Operation Id: IPv6FirewallRules_ListByServer
  • Default Api Version: 2022-11-01-preview
  • Resource: IPv6FirewallRuleResource
GetAllAsync(CancellationToken)

Gets a list of IPv6 firewall rules.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/ipv6FirewallRules
  • Operation Id: IPv6FirewallRules_ListByServer
  • Default Api Version: 2022-11-01-preview
  • Resource: IPv6FirewallRuleResource
GetAsync(String, CancellationToken)

Gets an IPv6 firewall rule.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/ipv6FirewallRules/{firewallRuleName}
  • Operation Id: IPv6FirewallRules_Get
  • Default Api Version: 2022-11-01-preview
  • Resource: IPv6FirewallRuleResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/ipv6FirewallRules/{firewallRuleName}
  • Operation Id: IPv6FirewallRules_Get
  • Default Api Version: 2022-11-01-preview
  • Resource: IPv6FirewallRuleResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/ipv6FirewallRules/{firewallRuleName}
  • Operation Id: IPv6FirewallRules_Get
  • Default Api Version: 2022-11-01-preview
  • Resource: IPv6FirewallRuleResource
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<IPv6FirewallRuleResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<IPv6FirewallRuleResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to