다음을 통해 공유


SecurityDevOpsExtensions Class

Definition

A class to add extension methods to Azure.ResourceManager.SecurityDevOps.

public static class SecurityDevOpsExtensions
type SecurityDevOpsExtensions = class
Public Module SecurityDevOpsExtensions
Inheritance
SecurityDevOpsExtensions

Methods

GetAzureDevOpsConnector(ResourceGroupResource, String, CancellationToken)

Returns a monitored AzureDevOps Connector resource for a given ID.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityDevOps/azureDevOpsConnectors/{azureDevOpsConnectorName}
  • Operation Id: AzureDevOpsConnector_Get
GetAzureDevOpsConnectorAsync(ResourceGroupResource, String, CancellationToken)

Returns a monitored AzureDevOps Connector resource for a given ID.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityDevOps/azureDevOpsConnectors/{azureDevOpsConnectorName}
  • Operation Id: AzureDevOpsConnector_Get
GetAzureDevOpsConnectorResource(ArmClient, ResourceIdentifier)

Gets an object representing an AzureDevOpsConnectorResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create an AzureDevOpsConnectorResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetAzureDevOpsConnectorResource(ResourceIdentifier) instead.

GetAzureDevOpsConnectors(ResourceGroupResource)

Gets a collection of AzureDevOpsConnectorResources in the ResourceGroupResource. MockingTo mock this method, please mock GetAzureDevOpsConnectors() instead.

GetAzureDevOpsConnectors(SubscriptionResource, CancellationToken)

Returns a list of monitored AzureDevOps Connectors.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.SecurityDevOps/azureDevOpsConnectors
  • Operation Id: AzureDevOpsConnector_ListBySubscription
GetAzureDevOpsConnectorsAsync(SubscriptionResource, CancellationToken)

Returns a list of monitored AzureDevOps Connectors.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.SecurityDevOps/azureDevOpsConnectors
  • Operation Id: AzureDevOpsConnector_ListBySubscription
GetAzureDevOpsOrgResource(ArmClient, ResourceIdentifier)

Gets an object representing an AzureDevOpsOrgResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create an AzureDevOpsOrgResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetAzureDevOpsOrgResource(ResourceIdentifier) instead.

GetAzureDevOpsProjectResource(ArmClient, ResourceIdentifier)

Gets an object representing an AzureDevOpsProjectResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String, String) to create an AzureDevOpsProjectResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetAzureDevOpsProjectResource(ResourceIdentifier) instead.

GetAzureDevOpsRepoResource(ArmClient, ResourceIdentifier)

Gets an object representing an AzureDevOpsRepoResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String, String, String) to create an AzureDevOpsRepoResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetAzureDevOpsRepoResource(ResourceIdentifier) instead.

GetGitHubConnector(ResourceGroupResource, String, CancellationToken)

Returns a monitored GitHub Connector resource for a given ID.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityDevOps/gitHubConnectors/{gitHubConnectorName}
  • Operation Id: GitHubConnector_Get
GetGitHubConnectorAsync(ResourceGroupResource, String, CancellationToken)

Returns a monitored GitHub Connector resource for a given ID.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityDevOps/gitHubConnectors/{gitHubConnectorName}
  • Operation Id: GitHubConnector_Get
GetGitHubConnectorResource(ArmClient, ResourceIdentifier)

Gets an object representing a GitHubConnectorResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a GitHubConnectorResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetGitHubConnectorResource(ResourceIdentifier) instead.

GetGitHubConnectors(ResourceGroupResource)

Gets a collection of GitHubConnectorResources in the ResourceGroupResource. MockingTo mock this method, please mock GetGitHubConnectors() instead.

GetGitHubConnectors(SubscriptionResource, CancellationToken)

Returns a list of monitored GitHub Connectors.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.SecurityDevOps/gitHubConnectors
  • Operation Id: GitHubConnector_ListBySubscription
GetGitHubConnectorsAsync(SubscriptionResource, CancellationToken)

Returns a list of monitored GitHub Connectors.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.SecurityDevOps/gitHubConnectors
  • Operation Id: GitHubConnector_ListBySubscription
GetGitHubOwnerResource(ArmClient, ResourceIdentifier)

Gets an object representing a GitHubOwnerResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a GitHubOwnerResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetGitHubOwnerResource(ResourceIdentifier) instead.

GetGitHubRepoResource(ArmClient, ResourceIdentifier)

Gets an object representing a GitHubRepoResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String, String) to create a GitHubRepoResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetGitHubRepoResource(ResourceIdentifier) instead.

Applies to