共用方式為


ServiceFabricManagedServiceCollection Class

Definition

A class representing a collection of ServiceFabricManagedServiceResource and their operations. Each ServiceFabricManagedServiceResource in the collection will belong to the same instance of ServiceFabricManagedApplicationResource. To get a ServiceFabricManagedServiceCollection instance call the GetServiceFabricManagedServices method from an instance of ServiceFabricManagedApplicationResource.

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

Constructors

ServiceFabricManagedServiceCollection()

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

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedclusters/{clusterName}/applications/{applicationName}/services/{serviceName}
  • Operation Id: Services_CreateOrUpdate
  • Default Api Version: 2024-09-01-preview
  • Resource: ServiceFabricManagedServiceResource
CreateOrUpdateAsync(WaitUntil, String, ServiceFabricManagedServiceData, CancellationToken)

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedclusters/{clusterName}/applications/{applicationName}/services/{serviceName}
  • Operation Id: Services_CreateOrUpdate
  • Default Api Version: 2024-09-01-preview
  • Resource: ServiceFabricManagedServiceResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedclusters/{clusterName}/applications/{applicationName}/services/{serviceName}
  • Operation Id: Services_Get
  • Default Api Version: 2024-09-01-preview
  • Resource: ServiceFabricManagedServiceResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedclusters/{clusterName}/applications/{applicationName}/services/{serviceName}
  • Operation Id: Services_Get
  • Default Api Version: 2024-09-01-preview
  • Resource: ServiceFabricManagedServiceResource
Get(String, CancellationToken)

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedclusters/{clusterName}/applications/{applicationName}/services/{serviceName}
  • Operation Id: Services_Get
  • Default Api Version: 2024-09-01-preview
  • Resource: ServiceFabricManagedServiceResource
GetAll(CancellationToken)

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedclusters/{clusterName}/applications/{applicationName}/services
  • Operation Id: Services_ListByApplications
  • Default Api Version: 2024-09-01-preview
  • Resource: ServiceFabricManagedServiceResource
GetAllAsync(CancellationToken)

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedclusters/{clusterName}/applications/{applicationName}/services
  • Operation Id: Services_ListByApplications
  • Default Api Version: 2024-09-01-preview
  • Resource: ServiceFabricManagedServiceResource
GetAsync(String, CancellationToken)

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedclusters/{clusterName}/applications/{applicationName}/services/{serviceName}
  • Operation Id: Services_Get
  • Default Api Version: 2024-09-01-preview
  • Resource: ServiceFabricManagedServiceResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedclusters/{clusterName}/applications/{applicationName}/services/{serviceName}
  • Operation Id: Services_Get
  • Default Api Version: 2024-09-01-preview
  • Resource: ServiceFabricManagedServiceResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedclusters/{clusterName}/applications/{applicationName}/services/{serviceName}
  • Operation Id: Services_Get
  • Default Api Version: 2024-09-01-preview
  • Resource: ServiceFabricManagedServiceResource
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<ServiceFabricManagedServiceResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ServiceFabricManagedServiceResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to