Share via


WorkloadNetworkPublicIPCollection Class

Definition

A class representing a collection of WorkloadNetworkPublicIPResource and their operations. Each WorkloadNetworkPublicIPResource in the collection will belong to the same instance of WorkloadNetworkResource. To get a WorkloadNetworkPublicIPCollection instance call the GetWorkloadNetworkPublicIPs method from an instance of WorkloadNetworkResource.

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

Constructors

WorkloadNetworkPublicIPCollection()

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

Create a WorkloadNetworkPublicIP

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/publicIPs/{publicIPId}
  • Operation Id: WorkloadNetworks_CreatePublicIP
  • Default Api Version: 2023-09-01
  • Resource: WorkloadNetworkPublicIPResource
CreateOrUpdateAsync(WaitUntil, String, WorkloadNetworkPublicIPData, CancellationToken)

Create a WorkloadNetworkPublicIP

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/publicIPs/{publicIPId}
  • Operation Id: WorkloadNetworks_CreatePublicIP
  • Default Api Version: 2023-09-01
  • Resource: WorkloadNetworkPublicIPResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/publicIPs/{publicIPId}
  • Operation Id: WorkloadNetworks_GetPublicIP
  • Default Api Version: 2023-09-01
  • Resource: WorkloadNetworkPublicIPResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/publicIPs/{publicIPId}
  • Operation Id: WorkloadNetworks_GetPublicIP
  • Default Api Version: 2023-09-01
  • Resource: WorkloadNetworkPublicIPResource
Get(String, CancellationToken)

Get a WorkloadNetworkPublicIP

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/publicIPs/{publicIPId}
  • Operation Id: WorkloadNetworks_GetPublicIP
  • Default Api Version: 2023-09-01
  • Resource: WorkloadNetworkPublicIPResource
GetAll(CancellationToken)

List WorkloadNetworkPublicIP resources by WorkloadNetwork

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/publicIPs
  • Operation Id: WorkloadNetworks_ListPublicIPs
  • Default Api Version: 2023-09-01
  • Resource: WorkloadNetworkPublicIPResource
GetAllAsync(CancellationToken)

List WorkloadNetworkPublicIP resources by WorkloadNetwork

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/publicIPs
  • Operation Id: WorkloadNetworks_ListPublicIPs
  • Default Api Version: 2023-09-01
  • Resource: WorkloadNetworkPublicIPResource
GetAsync(String, CancellationToken)

Get a WorkloadNetworkPublicIP

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/publicIPs/{publicIPId}
  • Operation Id: WorkloadNetworks_GetPublicIP
  • Default Api Version: 2023-09-01
  • Resource: WorkloadNetworkPublicIPResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/publicIPs/{publicIPId}
  • Operation Id: WorkloadNetworks_GetPublicIP
  • Default Api Version: 2023-09-01
  • Resource: WorkloadNetworkPublicIPResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/publicIPs/{publicIPId}
  • Operation Id: WorkloadNetworks_GetPublicIP
  • Default Api Version: 2023-09-01
  • Resource: WorkloadNetworkPublicIPResource
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<WorkloadNetworkPublicIPResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<WorkloadNetworkPublicIPResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to