AzureDevOpsRepos Interface

public interface AzureDevOpsRepos

Resource collection API of AzureDevOpsRepos.

Method Summary

Modifier and Type Method and Description
abstract Blank define(String name)

Begins definition for a new AzureDevOpsRepository resource.

abstract AzureDevOpsRepository get(String resourceGroupName, String securityConnectorName, String orgName, String projectName, String repoName)

Returns a monitored Azure DevOps repository resource.

abstract AzureDevOpsRepository getById(String id)

Returns a monitored Azure DevOps repository resource.

abstract Response<AzureDevOpsRepository> getByIdWithResponse(String id, Context context)

Returns a monitored Azure DevOps repository resource.

abstract Response<AzureDevOpsRepository> getWithResponse(String resourceGroupName, String securityConnectorName, String orgName, String projectName, String repoName, Context context)

Returns a monitored Azure DevOps repository resource.

abstract PagedIterable<AzureDevOpsRepository> list(String resourceGroupName, String securityConnectorName, String orgName, String projectName)

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

abstract PagedIterable<AzureDevOpsRepository> list(String resourceGroupName, String securityConnectorName, String orgName, String projectName, Context context)

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

Method Details

define

public abstract AzureDevOpsRepository.DefinitionStages.Blank define(String name)

Begins definition for a new AzureDevOpsRepository resource.

Parameters:

name - resource name.

Returns:

the first stage of the new AzureDevOpsRepository definition.

get

public abstract AzureDevOpsRepository get(String resourceGroupName, String securityConnectorName, String orgName, String projectName, String repoName)

Returns a monitored Azure DevOps repository resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
securityConnectorName - The security connector name.
orgName - The Azure DevOps organization name.
projectName - The project name.
repoName - The repository name.

Returns:

azure DevOps Repository resource.

getById

public abstract AzureDevOpsRepository getById(String id)

Returns a monitored Azure DevOps repository resource.

Parameters:

id - the resource ID.

Returns:

azure DevOps Repository resource along with Response<T>.

getByIdWithResponse

public abstract Response getByIdWithResponse(String id, Context context)

Returns a monitored Azure DevOps repository resource.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

Returns:

azure DevOps Repository resource along with Response<T>.

getWithResponse

public abstract Response getWithResponse(String resourceGroupName, String securityConnectorName, String orgName, String projectName, String repoName, Context context)

Returns a monitored Azure DevOps repository resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
securityConnectorName - The security connector name.
orgName - The Azure DevOps organization name.
projectName - The project name.
repoName - The repository name.
context - The context to associate with this operation.

Returns:

azure DevOps Repository resource along with Response<T>.

list

public abstract PagedIterable list(String resourceGroupName, String securityConnectorName, String orgName, String projectName)

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

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
securityConnectorName - The security connector name.
orgName - The Azure DevOps organization name.
projectName - The project name.

Returns:

list of RP resources which supports pagination as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(String resourceGroupName, String securityConnectorName, String orgName, String projectName, Context context)

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

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
securityConnectorName - The security connector name.
orgName - The Azure DevOps organization name.
projectName - The project name.
context - The context to associate with this operation.

Returns:

list of RP resources which supports pagination as paginated response with PagedIterable<T>.

Applies to