GitHubConnectorsClient Interface

public interface GitHubConnectorsClient

An instance of this class provides access to all the operations defined in GitHubConnectorsClient.

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<GitHubConnectorInner>,GitHubConnectorInner> beginCreateOrUpdate(String resourceGroupName, String gitHubConnectorName, GitHubConnectorInner gitHubConnector)

Create or update a monitored GitHub Connector resource.

abstract SyncPoller<PollResult<GitHubConnectorInner>,GitHubConnectorInner> beginCreateOrUpdate(String resourceGroupName, String gitHubConnectorName, GitHubConnectorInner gitHubConnector, Context context)

Create or update a monitored GitHub Connector resource.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String gitHubConnectorName)

Delete monitored GitHub Connector details.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String gitHubConnectorName, Context context)

Delete monitored GitHub Connector details.

abstract SyncPoller<PollResult<GitHubConnectorInner>,GitHubConnectorInner> beginUpdate(String resourceGroupName, String gitHubConnectorName)

Update monitored GitHub Connector details.

abstract SyncPoller<PollResult<GitHubConnectorInner>,GitHubConnectorInner> beginUpdate(String resourceGroupName, String gitHubConnectorName, GitHubConnectorInner gitHubConnector, Context context)

Update monitored GitHub Connector details.

abstract GitHubConnectorInner createOrUpdate(String resourceGroupName, String gitHubConnectorName, GitHubConnectorInner gitHubConnector)

Create or update a monitored GitHub Connector resource.

abstract GitHubConnectorInner createOrUpdate(String resourceGroupName, String gitHubConnectorName, GitHubConnectorInner gitHubConnector, Context context)

Create or update a monitored GitHub Connector resource.

abstract void delete(String resourceGroupName, String gitHubConnectorName)

Delete monitored GitHub Connector details.

abstract void delete(String resourceGroupName, String gitHubConnectorName, Context context)

Delete monitored GitHub Connector details.

abstract GitHubConnectorInner getByResourceGroup(String resourceGroupName, String gitHubConnectorName)

Returns a monitored GitHub Connector resource for a given ID.

abstract Response<GitHubConnectorInner> getByResourceGroupWithResponse(String resourceGroupName, String gitHubConnectorName, Context context)

Returns a monitored GitHub Connector resource for a given ID.

abstract PagedIterable<GitHubConnectorInner> list()

Returns a list of monitored GitHub Connectors.

abstract PagedIterable<GitHubConnectorInner> list(Context context)

Returns a list of monitored GitHub Connectors.

abstract PagedIterable<GitHubConnectorInner> listByResourceGroup(String resourceGroupName)

The listByResourceGroup operation.

abstract PagedIterable<GitHubConnectorInner> listByResourceGroup(String resourceGroupName, Context context)

The listByResourceGroup operation.

abstract GitHubConnectorInner update(String resourceGroupName, String gitHubConnectorName)

Update monitored GitHub Connector details.

abstract GitHubConnectorInner update(String resourceGroupName, String gitHubConnectorName, GitHubConnectorInner gitHubConnector, Context context)

Update monitored GitHub Connector details.

Method Details

beginCreateOrUpdate

public abstract SyncPoller<PollResult<GitHubConnectorInner>,GitHubConnectorInner> beginCreateOrUpdate(String resourceGroupName, String gitHubConnectorName, GitHubConnectorInner gitHubConnector)

Create or update a monitored GitHub Connector resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
gitHubConnectorName - Name of the GitHub Connector.
gitHubConnector - Connector resource payload.

Returns:

the SyncPoller<T,U> for polling of represents an ARM resource for /subscriptions/xxx/resourceGroups/xxx/providers/Microsoft.SecurityDevOps/gitHubConnectors.

beginCreateOrUpdate

public abstract SyncPoller<PollResult<GitHubConnectorInner>,GitHubConnectorInner> beginCreateOrUpdate(String resourceGroupName, String gitHubConnectorName, GitHubConnectorInner gitHubConnector, Context context)

Create or update a monitored GitHub Connector resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
gitHubConnectorName - Name of the GitHub Connector.
gitHubConnector - Connector resource payload.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of represents an ARM resource for /subscriptions/xxx/resourceGroups/xxx/providers/Microsoft.SecurityDevOps/gitHubConnectors.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String gitHubConnectorName)

Delete monitored GitHub Connector details.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
gitHubConnectorName - Name of the GitHub Connector.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String gitHubConnectorName, Context context)

Delete monitored GitHub Connector details.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
gitHubConnectorName - Name of the GitHub Connector.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginUpdate

public abstract SyncPoller<PollResult<GitHubConnectorInner>,GitHubConnectorInner> beginUpdate(String resourceGroupName, String gitHubConnectorName)

Update monitored GitHub Connector details.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
gitHubConnectorName - Name of the GitHub Connector.

Returns:

the SyncPoller<T,U> for polling of represents an ARM resource for /subscriptions/xxx/resourceGroups/xxx/providers/Microsoft.SecurityDevOps/gitHubConnectors.

beginUpdate

public abstract SyncPoller<PollResult<GitHubConnectorInner>,GitHubConnectorInner> beginUpdate(String resourceGroupName, String gitHubConnectorName, GitHubConnectorInner gitHubConnector, Context context)

Update monitored GitHub Connector details.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
gitHubConnectorName - Name of the GitHub Connector.
gitHubConnector - Connector resource payload.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of represents an ARM resource for /subscriptions/xxx/resourceGroups/xxx/providers/Microsoft.SecurityDevOps/gitHubConnectors.

createOrUpdate

public abstract GitHubConnectorInner createOrUpdate(String resourceGroupName, String gitHubConnectorName, GitHubConnectorInner gitHubConnector)

Create or update a monitored GitHub Connector resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
gitHubConnectorName - Name of the GitHub Connector.
gitHubConnector - Connector resource payload.

Returns:

represents an ARM resource for /subscriptions/xxx/resourceGroups/xxx/providers/Microsoft.SecurityDevOps/gitHubConnectors.

createOrUpdate

public abstract GitHubConnectorInner createOrUpdate(String resourceGroupName, String gitHubConnectorName, GitHubConnectorInner gitHubConnector, Context context)

Create or update a monitored GitHub Connector resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
gitHubConnectorName - Name of the GitHub Connector.
gitHubConnector - Connector resource payload.
context - The context to associate with this operation.

Returns:

represents an ARM resource for /subscriptions/xxx/resourceGroups/xxx/providers/Microsoft.SecurityDevOps/gitHubConnectors.

delete

public abstract void delete(String resourceGroupName, String gitHubConnectorName)

Delete monitored GitHub Connector details.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
gitHubConnectorName - Name of the GitHub Connector.

delete

public abstract void delete(String resourceGroupName, String gitHubConnectorName, Context context)

Delete monitored GitHub Connector details.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
gitHubConnectorName - Name of the GitHub Connector.
context - The context to associate with this operation.

getByResourceGroup

public abstract GitHubConnectorInner getByResourceGroup(String resourceGroupName, String gitHubConnectorName)

Returns a monitored GitHub Connector resource for a given ID.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
gitHubConnectorName - Name of the GitHub Connector.

Returns:

represents an ARM resource for /subscriptions/xxx/resourceGroups/xxx/providers/Microsoft.SecurityDevOps/gitHubConnectors.

getByResourceGroupWithResponse

public abstract Response<GitHubConnectorInner> getByResourceGroupWithResponse(String resourceGroupName, String gitHubConnectorName, Context context)

Returns a monitored GitHub Connector resource for a given ID.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
gitHubConnectorName - Name of the GitHub Connector.
context - The context to associate with this operation.

Returns:

represents an ARM resource for /subscriptions/xxx/resourceGroups/xxx/providers/Microsoft.SecurityDevOps/gitHubConnectors along with Response<T>.

list

public abstract PagedIterable<GitHubConnectorInner> list()

Returns a list of monitored GitHub Connectors.

Returns:

the paginated response with PagedIterable<T>.

list

public abstract PagedIterable<GitHubConnectorInner> list(Context context)

Returns a list of monitored GitHub Connectors.

Parameters:

context - The context to associate with this operation.

Returns:

the paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable<GitHubConnectorInner> listByResourceGroup(String resourceGroupName)

The listByResourceGroup operation.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.

Returns:

the paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable<GitHubConnectorInner> listByResourceGroup(String resourceGroupName, Context context)

The listByResourceGroup operation.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
context - The context to associate with this operation.

Returns:

the paginated response with PagedIterable<T>.

update

public abstract GitHubConnectorInner update(String resourceGroupName, String gitHubConnectorName)

Update monitored GitHub Connector details.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
gitHubConnectorName - Name of the GitHub Connector.

Returns:

represents an ARM resource for /subscriptions/xxx/resourceGroups/xxx/providers/Microsoft.SecurityDevOps/gitHubConnectors.

update

public abstract GitHubConnectorInner update(String resourceGroupName, String gitHubConnectorName, GitHubConnectorInner gitHubConnector, Context context)

Update monitored GitHub Connector details.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
gitHubConnectorName - Name of the GitHub Connector.
gitHubConnector - Connector resource payload.
context - The context to associate with this operation.

Returns:

represents an ARM resource for /subscriptions/xxx/resourceGroups/xxx/providers/Microsoft.SecurityDevOps/gitHubConnectors.

Applies to