共用方式為


DevOpsProjectCollection Class

Definition

A class representing a collection of DevOpsProjectResource and their operations. Each DevOpsProjectResource in the collection will belong to the same instance of DevOpsOrgResource. To get a DevOpsProjectCollection instance call the GetDevOpsProjects method from an instance of DevOpsOrgResource.

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

Constructors

DevOpsProjectCollection()

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

Creates or updates a monitored Azure DevOps project resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/azureDevOpsOrgs/{orgName}/projects/{projectName}
  • Operation Id: AzureDevOpsProjects_CreateOrUpdate
  • Default Api Version: 2023-09-01-preview
  • Resource: DevOpsProjectResource
CreateOrUpdateAsync(WaitUntil, String, DevOpsProjectData, CancellationToken)

Creates or updates a monitored Azure DevOps project resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/azureDevOpsOrgs/{orgName}/projects/{projectName}
  • Operation Id: AzureDevOpsProjects_CreateOrUpdate
  • Default Api Version: 2023-09-01-preview
  • Resource: DevOpsProjectResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/azureDevOpsOrgs/{orgName}/projects/{projectName}
  • Operation Id: AzureDevOpsProjects_Get
  • Default Api Version: 2023-09-01-preview
  • Resource: DevOpsProjectResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/azureDevOpsOrgs/{orgName}/projects/{projectName}
  • Operation Id: AzureDevOpsProjects_Get
  • Default Api Version: 2023-09-01-preview
  • Resource: DevOpsProjectResource
Get(String, CancellationToken)

Returns a monitored Azure DevOps project resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/azureDevOpsOrgs/{orgName}/projects/{projectName}
  • Operation Id: AzureDevOpsProjects_Get
  • Default Api Version: 2023-09-01-preview
  • Resource: DevOpsProjectResource
GetAll(CancellationToken)

Returns a list of Azure DevOps projects onboarded to the connector.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/azureDevOpsOrgs/{orgName}/projects
  • Operation Id: AzureDevOpsProjects_List
  • Default Api Version: 2023-09-01-preview
  • Resource: DevOpsProjectResource
GetAllAsync(CancellationToken)

Returns a list of Azure DevOps projects onboarded to the connector.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/azureDevOpsOrgs/{orgName}/projects
  • Operation Id: AzureDevOpsProjects_List
  • Default Api Version: 2023-09-01-preview
  • Resource: DevOpsProjectResource
GetAsync(String, CancellationToken)

Returns a monitored Azure DevOps project resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/azureDevOpsOrgs/{orgName}/projects/{projectName}
  • Operation Id: AzureDevOpsProjects_Get
  • Default Api Version: 2023-09-01-preview
  • Resource: DevOpsProjectResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/azureDevOpsOrgs/{orgName}/projects/{projectName}
  • Operation Id: AzureDevOpsProjects_Get
  • Default Api Version: 2023-09-01-preview
  • Resource: DevOpsProjectResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/azureDevOpsOrgs/{orgName}/projects/{projectName}
  • Operation Id: AzureDevOpsProjects_Get
  • Default Api Version: 2023-09-01-preview
  • Resource: DevOpsProjectResource
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<DevOpsProjectResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<DevOpsProjectResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to