Interface AzureDevOpsOrgs
public interface AzureDevOpsOrgs
Resource collection API of AzureDevOpsOrgs.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new AzureDevOpsOrg resource.Returns a monitored AzureDevOps Org resource for a given ID.Returns a monitored AzureDevOps Org resource for a given ID.com.azure.core.http.rest.Response<AzureDevOpsOrg>
getByIdWithResponse
(String id, com.azure.core.util.Context context) Returns a monitored AzureDevOps Org resource for a given ID.com.azure.core.http.rest.Response<AzureDevOpsOrg>
getWithResponse
(String resourceGroupName, String azureDevOpsConnectorName, String azureDevOpsOrgName, com.azure.core.util.Context context) Returns a monitored AzureDevOps Org resource for a given ID.com.azure.core.http.rest.PagedIterable<AzureDevOpsOrg>
The list operation.com.azure.core.http.rest.PagedIterable<AzureDevOpsOrg>
list
(String resourceGroupName, String azureDevOpsConnectorName, com.azure.core.util.Context context) The list operation.
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<AzureDevOpsOrg> list(String resourceGroupName, String azureDevOpsConnectorName) The list operation.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.azureDevOpsConnectorName
- Name of the AzureDevOps Connector.- Returns:
- the paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<AzureDevOpsOrg> list(String resourceGroupName, String azureDevOpsConnectorName, com.azure.core.util.Context context) The list operation.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.azureDevOpsConnectorName
- Name of the AzureDevOps Connector.context
- The context to associate with this operation.- Returns:
- the paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponse
com.azure.core.http.rest.Response<AzureDevOpsOrg> getWithResponse(String resourceGroupName, String azureDevOpsConnectorName, String azureDevOpsOrgName, com.azure.core.util.Context context) Returns a monitored AzureDevOps Org resource for a given ID.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.azureDevOpsConnectorName
- Name of the AzureDevOps Connector.azureDevOpsOrgName
- Name of the AzureDevOps Org.context
- The context to associate with this operation.- Returns:
- azure DevOps Org Proxy Resource along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
get
AzureDevOpsOrg get(String resourceGroupName, String azureDevOpsConnectorName, String azureDevOpsOrgName) Returns a monitored AzureDevOps Org resource for a given ID.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.azureDevOpsConnectorName
- Name of the AzureDevOps Connector.azureDevOpsOrgName
- Name of the AzureDevOps Org.- Returns:
- azure DevOps Org Proxy Resource.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getById
Returns a monitored AzureDevOps Org resource for a given ID.- Parameters:
id
- the resource ID.- Returns:
- azure DevOps Org Proxy Resource along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getByIdWithResponse
com.azure.core.http.rest.Response<AzureDevOpsOrg> getByIdWithResponse(String id, com.azure.core.util.Context context) Returns a monitored AzureDevOps Org resource for a given ID.- Parameters:
id
- the resource ID.context
- The context to associate with this operation.- Returns:
- azure DevOps Org Proxy Resource along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
define
Begins definition for a new AzureDevOpsOrg resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new AzureDevOpsOrg definition.
-