Share via


ServiceFabricApplicationCollection Class

Definition

A class representing a collection of ServiceFabricApplicationResource and their operations. Each ServiceFabricApplicationResource in the collection will belong to the same instance of ServiceFabricClusterResource. To get a ServiceFabricApplicationCollection instance call the GetServiceFabricApplications method from an instance of ServiceFabricClusterResource.

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

Constructors

ServiceFabricApplicationCollection()

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

Create or update a Service Fabric application resource with the specified name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applications/{applicationName}
  • Operation Id: Applications_CreateOrUpdate
  • Default Api Version: 2023-11-01-preview
  • Resource: ServiceFabricApplicationResource
CreateOrUpdateAsync(WaitUntil, String, ServiceFabricApplicationData, CancellationToken)

Create or update a Service Fabric application resource with the specified name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applications/{applicationName}
  • Operation Id: Applications_CreateOrUpdate
  • Default Api Version: 2023-11-01-preview
  • Resource: ServiceFabricApplicationResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applications/{applicationName}
  • Operation Id: Applications_Get
  • Default Api Version: 2023-11-01-preview
  • Resource: ServiceFabricApplicationResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applications/{applicationName}
  • Operation Id: Applications_Get
  • Default Api Version: 2023-11-01-preview
  • Resource: ServiceFabricApplicationResource
Get(String, CancellationToken)

Get a Service Fabric application resource created or in the process of being created in the Service Fabric cluster resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applications/{applicationName}
  • Operation Id: Applications_Get
  • Default Api Version: 2023-11-01-preview
  • Resource: ServiceFabricApplicationResource
GetAll(CancellationToken)

Gets all application resources created or in the process of being created in the Service Fabric cluster resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applications
  • Operation Id: Applications_List
  • Default Api Version: 2023-11-01-preview
  • Resource: ServiceFabricApplicationResource
GetAllAsync(CancellationToken)

Gets all application resources created or in the process of being created in the Service Fabric cluster resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applications
  • Operation Id: Applications_List
  • Default Api Version: 2023-11-01-preview
  • Resource: ServiceFabricApplicationResource
GetAsync(String, CancellationToken)

Get a Service Fabric application resource created or in the process of being created in the Service Fabric cluster resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applications/{applicationName}
  • Operation Id: Applications_Get
  • Default Api Version: 2023-11-01-preview
  • Resource: ServiceFabricApplicationResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applications/{applicationName}
  • Operation Id: Applications_Get
  • Default Api Version: 2023-11-01-preview
  • Resource: ServiceFabricApplicationResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applications/{applicationName}
  • Operation Id: Applications_Get
  • Default Api Version: 2023-11-01-preview
  • Resource: ServiceFabricApplicationResource
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<ServiceFabricApplicationResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ServiceFabricApplicationResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to