共用方式為


DevOpsOrgCollection Class

Definition

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

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

Constructors

DevOpsOrgCollection()

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

Creates or updates monitored Azure DevOps organization details.

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

Creates or updates monitored Azure DevOps organization details.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}/devops/default/azureDevOpsOrgs/{orgName}
  • Operation Id: AzureDevOpsOrgs_CreateOrUpdate
  • Default Api Version: 2023-09-01-preview
  • Resource: DevOpsOrgResource
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}
  • Operation Id: AzureDevOpsOrgs_Get
  • Default Api Version: 2023-09-01-preview
  • Resource: DevOpsOrgResource
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}
  • Operation Id: AzureDevOpsOrgs_Get
  • Default Api Version: 2023-09-01-preview
  • Resource: DevOpsOrgResource
Get(String, CancellationToken)

Returns a monitored Azure DevOps organization resource.

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

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

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

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

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

Returns a monitored Azure DevOps organization resource.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<DevOpsOrgResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to