Share via


NetworkGroupStaticMemberCollection Class

Definition

A class representing a collection of NetworkGroupStaticMemberResource and their operations. Each NetworkGroupStaticMemberResource in the collection will belong to the same instance of NetworkGroupResource. To get a NetworkGroupStaticMemberCollection instance call the GetNetworkGroupStaticMembers method from an instance of NetworkGroupResource.

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

Constructors

NetworkGroupStaticMemberCollection()

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

Creates or updates a static member.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/networkGroups/{networkGroupName}/staticMembers/{staticMemberName}
  • Operation Id: StaticMembers_CreateOrUpdate
  • Default Api Version: 2023-09-01
  • Resource: NetworkGroupStaticMemberResource
CreateOrUpdateAsync(WaitUntil, String, NetworkGroupStaticMemberData, CancellationToken)

Creates or updates a static member.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/networkGroups/{networkGroupName}/staticMembers/{staticMemberName}
  • Operation Id: StaticMembers_CreateOrUpdate
  • Default Api Version: 2023-09-01
  • Resource: NetworkGroupStaticMemberResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/networkGroups/{networkGroupName}/staticMembers/{staticMemberName}
  • Operation Id: StaticMembers_Get
  • Default Api Version: 2023-09-01
  • Resource: NetworkGroupStaticMemberResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/networkGroups/{networkGroupName}/staticMembers/{staticMemberName}
  • Operation Id: StaticMembers_Get
  • Default Api Version: 2023-09-01
  • Resource: NetworkGroupStaticMemberResource
Get(String, CancellationToken)

Gets the specified static member.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/networkGroups/{networkGroupName}/staticMembers/{staticMemberName}
  • Operation Id: StaticMembers_Get
  • Default Api Version: 2023-09-01
  • Resource: NetworkGroupStaticMemberResource
GetAll(Nullable<Int32>, String, CancellationToken)

Lists the specified static member.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/networkGroups/{networkGroupName}/staticMembers
  • Operation Id: StaticMembers_List
  • Default Api Version: 2023-09-01
  • Resource: NetworkGroupStaticMemberResource
GetAllAsync(Nullable<Int32>, String, CancellationToken)

Lists the specified static member.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/networkGroups/{networkGroupName}/staticMembers
  • Operation Id: StaticMembers_List
  • Default Api Version: 2023-09-01
  • Resource: NetworkGroupStaticMemberResource
GetAsync(String, CancellationToken)

Gets the specified static member.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/networkGroups/{networkGroupName}/staticMembers/{staticMemberName}
  • Operation Id: StaticMembers_Get
  • Default Api Version: 2023-09-01
  • Resource: NetworkGroupStaticMemberResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/networkGroups/{networkGroupName}/staticMembers/{staticMemberName}
  • Operation Id: StaticMembers_Get
  • Default Api Version: 2023-09-01
  • Resource: NetworkGroupStaticMemberResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/networkGroups/{networkGroupName}/staticMembers/{staticMemberName}
  • Operation Id: StaticMembers_Get
  • Default Api Version: 2023-09-01
  • Resource: NetworkGroupStaticMemberResource
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<NetworkGroupStaticMemberResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<NetworkGroupStaticMemberResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to