共用方式為


AppServiceSourceControlCollection Class

Definition

A class representing a collection of AppServiceSourceControlResource and their operations. Each AppServiceSourceControlResource in the collection will belong to the same instance of TenantResource. To get an AppServiceSourceControlCollection instance call the GetAppServiceSourceControls method from an instance of TenantResource.

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

Constructors

AppServiceSourceControlCollection()

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

Description for Updates source control token

  • Request Path: /providers/Microsoft.Web/sourcecontrols/{sourceControlType}
  • Operation Id: UpdateSourceControl
  • Default Api Version: 2024-04-01
  • Resource: AppServiceSourceControlResource
CreateOrUpdateAsync(WaitUntil, String, AppServiceSourceControlData, CancellationToken)

Description for Updates source control token

  • Request Path: /providers/Microsoft.Web/sourcecontrols/{sourceControlType}
  • Operation Id: UpdateSourceControl
  • Default Api Version: 2024-04-01
  • Resource: AppServiceSourceControlResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /providers/Microsoft.Web/sourcecontrols/{sourceControlType}
  • Operation Id: GetSourceControl
  • Default Api Version: 2024-04-01
  • Resource: AppServiceSourceControlResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /providers/Microsoft.Web/sourcecontrols/{sourceControlType}
  • Operation Id: GetSourceControl
  • Default Api Version: 2024-04-01
  • Resource: AppServiceSourceControlResource
Get(String, CancellationToken)

Description for Gets source control token

  • Request Path: /providers/Microsoft.Web/sourcecontrols/{sourceControlType}
  • Operation Id: GetSourceControl
  • Default Api Version: 2024-04-01
  • Resource: AppServiceSourceControlResource
GetAll(CancellationToken)

Description for Gets the source controls available for Azure websites.

  • Request Path: /providers/Microsoft.Web/sourcecontrols
  • Operation Id: ListSourceControls
  • Default Api Version: 2024-04-01
  • Resource: AppServiceSourceControlResource
GetAllAsync(CancellationToken)

Description for Gets the source controls available for Azure websites.

  • Request Path: /providers/Microsoft.Web/sourcecontrols
  • Operation Id: ListSourceControls
  • Default Api Version: 2024-04-01
  • Resource: AppServiceSourceControlResource
GetAsync(String, CancellationToken)

Description for Gets source control token

  • Request Path: /providers/Microsoft.Web/sourcecontrols/{sourceControlType}
  • Operation Id: GetSourceControl
  • Default Api Version: 2024-04-01
  • Resource: AppServiceSourceControlResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /providers/Microsoft.Web/sourcecontrols/{sourceControlType}
  • Operation Id: GetSourceControl
  • Default Api Version: 2024-04-01
  • Resource: AppServiceSourceControlResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /providers/Microsoft.Web/sourcecontrols/{sourceControlType}
  • Operation Id: GetSourceControl
  • Default Api Version: 2024-04-01
  • Resource: AppServiceSourceControlResource
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<AppServiceSourceControlResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<AppServiceSourceControlResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to