Microsoft.DevHub (preview:2024-05-01)

2025/09/26 • 20 new, 20 deleted methods

IacProfiles_List (new)
Description Gets a list of IacProfiles associated with the specified subscription.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.DevHub/iacProfiles
{
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
githubProfile:
{
repositoryName: string ,
repositoryMainBranch: string ,
repositoryOwner: string ,
authStatus: enum ,
pullNumber: integer ,
prStatus: enum ,
branchName: string ,
}
,
terraformProfile:
{
storageAccountSubscription: string ,
storageAccountResourceGroup: string ,
storageAccountName: string ,
storageContainerName: string ,
}
,
stages:
[
{
stageName: string ,
dependencies:
[
string ,
]
,
gitEnvironment: string ,
}
,
]
,
templates:
[
{
templateName: string ,
sourceResourceId: string ,
instanceStage: string ,
instanceName: string ,
templateDetails:
[
{
productName: string ,
count: integer ,
namingConvention: string ,
}
,
]
,
quickStartTemplateType: enum ,
}
,
]
,
}
,
etag: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
IacProfiles_ListByResourceGroup (new)
Description Gets a list of iacProfiles within a resource group.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevHub/iacProfiles
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
githubProfile:
{
repositoryName: string ,
repositoryMainBranch: string ,
repositoryOwner: string ,
authStatus: enum ,
pullNumber: integer ,
prStatus: enum ,
branchName: string ,
}
,
terraformProfile:
{
storageAccountSubscription: string ,
storageAccountResourceGroup: string ,
storageAccountName: string ,
storageContainerName: string ,
}
,
stages:
[
{
stageName: string ,
dependencies:
[
string ,
]
,
gitEnvironment: string ,
}
,
]
,
templates:
[
{
templateName: string ,
sourceResourceId: string ,
instanceStage: string ,
instanceName: string ,
templateDetails:
[
{
productName: string ,
count: integer ,
namingConvention: string ,
}
,
]
,
quickStartTemplateType: enum ,
}
,
]
,
}
,
etag: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
IacProfiles_Get (new)
Description Gets a IacProfile.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevHub/iacProfiles/{iacProfileName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
iacProfileName: string ,
}

⚐ Response (200)

{
properties:
{
githubProfile:
{
repositoryName: string ,
repositoryMainBranch: string ,
repositoryOwner: string ,
authStatus: enum ,
pullNumber: integer ,
prStatus: enum ,
branchName: string ,
}
,
terraformProfile:
{
storageAccountSubscription: string ,
storageAccountResourceGroup: string ,
storageAccountName: string ,
storageContainerName: string ,
}
,
stages:
[
{
stageName: string ,
dependencies:
[
string ,
]
,
gitEnvironment: string ,
}
,
]
,
templates:
[
{
templateName: string ,
sourceResourceId: string ,
instanceStage: string ,
instanceName: string ,
templateDetails:
[
{
productName: string ,
count: integer ,
namingConvention: string ,
}
,
]
,
quickStartTemplateType: enum ,
}
,
]
,
}
,
etag: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
IacProfiles_CreateOrUpdate (new)
Description Creates or updates a IacProfile
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevHub/iacProfiles/{iacProfileName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
iacProfileName: string ,
parameters:
{
properties:
{
githubProfile:
{
repositoryName: string ,
repositoryMainBranch: string ,
repositoryOwner: string ,
authStatus: enum ,
pullNumber: integer ,
prStatus: enum ,
branchName: string ,
}
,
terraformProfile:
{
storageAccountSubscription: string ,
storageAccountResourceGroup: string ,
storageAccountName: string ,
storageContainerName: string ,
}
,
stages:
[
{
stageName: string ,
dependencies:
[
string ,
]
,
gitEnvironment: string ,
}
,
]
,
templates:
[
{
templateName: string ,
sourceResourceId: string ,
instanceStage: string ,
instanceName: string ,
templateDetails:
[
{
productName: string ,
count: integer ,
namingConvention: string ,
}
,
]
,
quickStartTemplateType: enum ,
}
,
]
,
}
,
etag: string ,
}
,
}

⚐ Response (200)

{
properties:
{
githubProfile:
{
repositoryName: string ,
repositoryMainBranch: string ,
repositoryOwner: string ,
authStatus: enum ,
pullNumber: integer ,
prStatus: enum ,
branchName: string ,
}
,
terraformProfile:
{
storageAccountSubscription: string ,
storageAccountResourceGroup: string ,
storageAccountName: string ,
storageContainerName: string ,
}
,
stages:
[
{
stageName: string ,
dependencies:
[
string ,
]
,
gitEnvironment: string ,
}
,
]
,
templates:
[
{
templateName: string ,
sourceResourceId: string ,
instanceStage: string ,
instanceName: string ,
templateDetails:
[
{
productName: string ,
count: integer ,
namingConvention: string ,
}
,
]
,
quickStartTemplateType: enum ,
}
,
]
,
}
,
etag: string ,
}

⚐ Response (201)

{
properties:
{
githubProfile:
{
repositoryName: string ,
repositoryMainBranch: string ,
repositoryOwner: string ,
authStatus: enum ,
pullNumber: integer ,
prStatus: enum ,
branchName: string ,
}
,
terraformProfile:
{
storageAccountSubscription: string ,
storageAccountResourceGroup: string ,
storageAccountName: string ,
storageContainerName: string ,
}
,
stages:
[
{
stageName: string ,
dependencies:
[
string ,
]
,
gitEnvironment: string ,
}
,
]
,
templates:
[
{
templateName: string ,
sourceResourceId: string ,
instanceStage: string ,
instanceName: string ,
templateDetails:
[
{
productName: string ,
count: integer ,
namingConvention: string ,
}
,
]
,
quickStartTemplateType: enum ,
}
,
]
,
}
,
etag: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
IacProfiles_Delete (new)
Description Deletes a IacProfile
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevHub/iacProfiles/{iacProfileName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
iacProfileName: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
IacProfiles_UpdateTags (new)
Description Updates tags on a IacProfile.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevHub/iacProfiles/{iacProfileName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
iacProfileName: string ,
parameters:
{
tags: object ,
}
,
}

⚐ Response (200)

{
properties:
{
githubProfile:
{
repositoryName: string ,
repositoryMainBranch: string ,
repositoryOwner: string ,
authStatus: enum ,
pullNumber: integer ,
prStatus: enum ,
branchName: string ,
}
,
terraformProfile:
{
storageAccountSubscription: string ,
storageAccountResourceGroup: string ,
storageAccountName: string ,
storageContainerName: string ,
}
,
stages:
[
{
stageName: string ,
dependencies:
[
string ,
]
,
gitEnvironment: string ,
}
,
]
,
templates:
[
{
templateName: string ,
sourceResourceId: string ,
instanceStage: string ,
instanceName: string ,
templateDetails:
[
{
productName: string ,
count: integer ,
namingConvention: string ,
}
,
]
,
quickStartTemplateType: enum ,
}
,
]
,
}
,
etag: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
IacProfiles_Export (new)
Description Export a template
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevHub/iacProfiles/{iacProfileName}/export
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
iacProfileName: string ,
parameters:
{
templateName: string ,
resourceGroupIds:
[
string ,
]
,
siteId: string ,
instanceName: string ,
instanceStage: string ,
}
,
}

⚐ Response (200)

{
prLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
IacProfiles_Scale (new)
Description Scale by template
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevHub/iacProfiles/{iacProfileName}/scale
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
iacProfileName: string ,
parameters:
{
templateName: string ,
scaleProperties:
[
{
region: string ,
stage: string ,
numberOfStores: integer ,
}
,
]
,
}
,
}

⚐ Response (200)

{
prLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
IacProfiles_Sync (new)
Description Sync template
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevHub/iacProfiles/{iacProfileName}/sync
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
iacProfileName: string ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Operations_List (new)
Description Returns list of operations.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.DevHub/operations
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
isDataAction: boolean ,
display:
{
provider: string ,
resource: string ,
operation: string ,
description: string ,
}
,
origin: enum ,
actionType: enum ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
GitHubOAuth (new)
Description Gets GitHubOAuth info used to authenticate users with the Developer Hub GitHub App.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/providers/Microsoft.DevHub/locations/{location}/githuboauth/default/getGitHubOAuthInfo
{
api-version: string ,
subscriptionId: string ,
location: string ,
parameters:
{
redirectUrl: string ,
}
,
}

⚐ Response (200)

{
authURL: string ,
token: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
GitHubOAuthCallback (new)
Description Callback URL to hit once authenticated with GitHub App to have the service store the OAuth token.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.DevHub/locations/{location}/githuboauth/default
{
api-version: string ,
subscriptionId: string ,
location: string ,
code: string ,
state: string ,
}

⚐ Response (200)

{
properties:
{
username: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ListGitHubOAuth (new)
Description Callback URL to hit once authenticated with GitHub App to have the service store the OAuth token.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.DevHub/locations/{location}/githuboauth
{
api-version: string ,
subscriptionId: string ,
location: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
username: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Workflow_List (new)
Description Gets a list of workflows associated with the specified subscription.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.DevHub/workflows
{
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
githubWorkflowProfile:
{
repositoryOwner: string ,
repositoryName: string ,
branchName: string ,
dockerfile: string ,
dockerBuildContext: string ,
deploymentProperties:
{
manifestType: enum ,
kubeManifestLocations:
[
string ,
]
,
helmChartPath: string ,
helmValues: string ,
overrides: object ,
}
,
namespace: string ,
acr:
{
acrSubscriptionId: string ,
acrResourceGroup: string ,
acrRegistryName: string ,
acrRepositoryName: string ,
}
,
oidcCredentials:
{
azureClientId: string ,
azureTenantId: string ,
}
,
aksResourceId: string ,
prURL: string ,
pullNumber: integer ,
prStatus: enum ,
lastWorkflowRun:
{
succeeded: boolean ,
workflowRunURL: string ,
lastRunAt: string ,
workflowRunStatus: enum ,
}
,
authStatus: enum ,
}
,
artifactGenerationProperties:
{
generationLanguage: enum ,
languageVersion: string ,
builderVersion: string ,
port: string ,
appName: string ,
dockerfileOutputDirectory: string ,
manifestOutputDirectory: string ,
dockerfileGenerationMode: enum ,
manifestGenerationMode: enum ,
manifestType: enum ,
imageName: string ,
namespace: string ,
imageTag: string ,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Workflow_ListByResourceGroup (new)
Description Gets a list of workflows within a resource group.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevHub/workflows
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
managedClusterResource: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
githubWorkflowProfile:
{
repositoryOwner: string ,
repositoryName: string ,
branchName: string ,
dockerfile: string ,
dockerBuildContext: string ,
deploymentProperties:
{
manifestType: enum ,
kubeManifestLocations:
[
string ,
]
,
helmChartPath: string ,
helmValues: string ,
overrides: object ,
}
,
namespace: string ,
acr:
{
acrSubscriptionId: string ,
acrResourceGroup: string ,
acrRegistryName: string ,
acrRepositoryName: string ,
}
,
oidcCredentials:
{
azureClientId: string ,
azureTenantId: string ,
}
,
aksResourceId: string ,
prURL: string ,
pullNumber: integer ,
prStatus: enum ,
lastWorkflowRun:
{
succeeded: boolean ,
workflowRunURL: string ,
lastRunAt: string ,
workflowRunStatus: enum ,
}
,
authStatus: enum ,
}
,
artifactGenerationProperties:
{
generationLanguage: enum ,
languageVersion: string ,
builderVersion: string ,
port: string ,
appName: string ,
dockerfileOutputDirectory: string ,
manifestOutputDirectory: string ,
dockerfileGenerationMode: enum ,
manifestGenerationMode: enum ,
manifestType: enum ,
imageName: string ,
namespace: string ,
imageTag: string ,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Workflow_Get (new)
Description Gets a workflow.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevHub/workflows/{workflowName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
workflowName: string ,
}

⚐ Response (200)

{
properties:
{
githubWorkflowProfile:
{
repositoryOwner: string ,
repositoryName: string ,
branchName: string ,
dockerfile: string ,
dockerBuildContext: string ,
deploymentProperties:
{
manifestType: enum ,
kubeManifestLocations:
[
string ,
]
,
helmChartPath: string ,
helmValues: string ,
overrides: object ,
}
,
namespace: string ,
acr:
{
acrSubscriptionId: string ,
acrResourceGroup: string ,
acrRegistryName: string ,
acrRepositoryName: string ,
}
,
oidcCredentials:
{
azureClientId: string ,
azureTenantId: string ,
}
,
aksResourceId: string ,
prURL: string ,
pullNumber: integer ,
prStatus: enum ,
lastWorkflowRun:
{
succeeded: boolean ,
workflowRunURL: string ,
lastRunAt: string ,
workflowRunStatus: enum ,
}
,
authStatus: enum ,
}
,
artifactGenerationProperties:
{
generationLanguage: enum ,
languageVersion: string ,
builderVersion: string ,
port: string ,
appName: string ,
dockerfileOutputDirectory: string ,
manifestOutputDirectory: string ,
dockerfileGenerationMode: enum ,
manifestGenerationMode: enum ,
manifestType: enum ,
imageName: string ,
namespace: string ,
imageTag: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Workflow_CreateOrUpdate (new)
Description Creates or updates a workflow
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevHub/workflows/{workflowName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
workflowName: string ,
parameters:
{
properties:
{
githubWorkflowProfile:
{
repositoryOwner: string ,
repositoryName: string ,
branchName: string ,
dockerfile: string ,
dockerBuildContext: string ,
deploymentProperties:
{
manifestType: enum ,
kubeManifestLocations:
[
string ,
]
,
helmChartPath: string ,
helmValues: string ,
overrides: object ,
}
,
namespace: string ,
acr:
{
acrSubscriptionId: string ,
acrResourceGroup: string ,
acrRegistryName: string ,
acrRepositoryName: string ,
}
,
oidcCredentials:
{
azureClientId: string ,
azureTenantId: string ,
}
,
aksResourceId: string ,
prURL: string ,
pullNumber: integer ,
prStatus: enum ,
lastWorkflowRun:
{
succeeded: boolean ,
workflowRunURL: string ,
lastRunAt: string ,
workflowRunStatus: enum ,
}
,
authStatus: enum ,
}
,
artifactGenerationProperties:
{
generationLanguage: enum ,
languageVersion: string ,
builderVersion: string ,
port: string ,
appName: string ,
dockerfileOutputDirectory: string ,
manifestOutputDirectory: string ,
dockerfileGenerationMode: enum ,
manifestGenerationMode: enum ,
manifestType: enum ,
imageName: string ,
namespace: string ,
imageTag: string ,
}
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
githubWorkflowProfile:
{
repositoryOwner: string ,
repositoryName: string ,
branchName: string ,
dockerfile: string ,
dockerBuildContext: string ,
deploymentProperties:
{
manifestType: enum ,
kubeManifestLocations:
[
string ,
]
,
helmChartPath: string ,
helmValues: string ,
overrides: object ,
}
,
namespace: string ,
acr:
{
acrSubscriptionId: string ,
acrResourceGroup: string ,
acrRegistryName: string ,
acrRepositoryName: string ,
}
,
oidcCredentials:
{
azureClientId: string ,
azureTenantId: string ,
}
,
aksResourceId: string ,
prURL: string ,
pullNumber: integer ,
prStatus: enum ,
lastWorkflowRun:
{
succeeded: boolean ,
workflowRunURL: string ,
lastRunAt: string ,
workflowRunStatus: enum ,
}
,
authStatus: enum ,
}
,
artifactGenerationProperties:
{
generationLanguage: enum ,
languageVersion: string ,
builderVersion: string ,
port: string ,
appName: string ,
dockerfileOutputDirectory: string ,
manifestOutputDirectory: string ,
dockerfileGenerationMode: enum ,
manifestGenerationMode: enum ,
manifestType: enum ,
imageName: string ,
namespace: string ,
imageTag: string ,
}
,
}
,
}

⚐ Response (201)

{
properties:
{
githubWorkflowProfile:
{
repositoryOwner: string ,
repositoryName: string ,
branchName: string ,
dockerfile: string ,
dockerBuildContext: string ,
deploymentProperties:
{
manifestType: enum ,
kubeManifestLocations:
[
string ,
]
,
helmChartPath: string ,
helmValues: string ,
overrides: object ,
}
,
namespace: string ,
acr:
{
acrSubscriptionId: string ,
acrResourceGroup: string ,
acrRegistryName: string ,
acrRepositoryName: string ,
}
,
oidcCredentials:
{
azureClientId: string ,
azureTenantId: string ,
}
,
aksResourceId: string ,
prURL: string ,
pullNumber: integer ,
prStatus: enum ,
lastWorkflowRun:
{
succeeded: boolean ,
workflowRunURL: string ,
lastRunAt: string ,
workflowRunStatus: enum ,
}
,
authStatus: enum ,
}
,
artifactGenerationProperties:
{
generationLanguage: enum ,
languageVersion: string ,
builderVersion: string ,
port: string ,
appName: string ,
dockerfileOutputDirectory: string ,
manifestOutputDirectory: string ,
dockerfileGenerationMode: enum ,
manifestGenerationMode: enum ,
manifestType: enum ,
imageName: string ,
namespace: string ,
imageTag: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Workflow_Delete (new)
Description Deletes a workflow
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevHub/workflows/{workflowName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
workflowName: string ,
}

⚐ Response (200)

{
status: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Workflow_UpdateTags (new)
Description Updates tags on a workflow.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevHub/workflows/{workflowName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
workflowName: string ,
parameters:
{
tags: object ,
}
,
}

⚐ Response (200)

{
properties:
{
githubWorkflowProfile:
{
repositoryOwner: string ,
repositoryName: string ,
branchName: string ,
dockerfile: string ,
dockerBuildContext: string ,
deploymentProperties:
{
manifestType: enum ,
kubeManifestLocations:
[
string ,
]
,
helmChartPath: string ,
helmValues: string ,
overrides: object ,
}
,
namespace: string ,
acr:
{
acrSubscriptionId: string ,
acrResourceGroup: string ,
acrRegistryName: string ,
acrRepositoryName: string ,
}
,
oidcCredentials:
{
azureClientId: string ,
azureTenantId: string ,
}
,
aksResourceId: string ,
prURL: string ,
pullNumber: integer ,
prStatus: enum ,
lastWorkflowRun:
{
succeeded: boolean ,
workflowRunURL: string ,
lastRunAt: string ,
workflowRunStatus: enum ,
}
,
authStatus: enum ,
}
,
artifactGenerationProperties:
{
generationLanguage: enum ,
languageVersion: string ,
builderVersion: string ,
port: string ,
appName: string ,
dockerfileOutputDirectory: string ,
manifestOutputDirectory: string ,
dockerfileGenerationMode: enum ,
manifestGenerationMode: enum ,
manifestType: enum ,
imageName: string ,
namespace: string ,
imageTag: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
GeneratePreviewArtifacts (new)
Description Generate preview dockerfile and manifests.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/providers/Microsoft.DevHub/locations/{location}/generatePreviewArtifacts
{
api-version: string ,
subscriptionId: string ,
location: string ,
parameters:
{
generationLanguage: enum ,
languageVersion: string ,
builderVersion: string ,
port: string ,
appName: string ,
dockerfileOutputDirectory: string ,
manifestOutputDirectory: string ,
dockerfileGenerationMode: enum ,
manifestGenerationMode: enum ,
manifestType: enum ,
imageName: string ,
namespace: string ,
imageTag: string ,
}
,
}

⚐ Response (200)

{
$schema: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
IacProfiles_List (removed)
Description Gets a list of IacProfiles associated with the specified subscription.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.DevHub/iacProfiles
{
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
githubProfile:
{
repositoryName: string ,
repositoryMainBranch: string ,
repositoryOwner: string ,
authStatus: enum ,
pullNumber: integer ,
prStatus: enum ,
branchName: string ,
}
,
terraformProfile:
{
storageAccountSubscription: string ,
storageAccountResourceGroup: string ,
storageAccountName: string ,
storageContainerName: string ,
}
,
stages:
[
{
stageName: string ,
dependencies:
[
string ,
]
,
gitEnvironment: string ,
}
,
]
,
templates:
[
{
templateName: string ,
sourceResourceId: string ,
instanceStage: string ,
instanceName: string ,
templateDetails:
[
{
productName: string ,
count: integer ,
namingConvention: string ,
}
,
]
,
quickStartTemplateType: enum ,
}
,
]
,
}
,
etag: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
IacProfiles_ListByResourceGroup (removed)
Description Gets a list of iacProfiles within a resource group.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevHub/iacProfiles
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
githubProfile:
{
repositoryName: string ,
repositoryMainBranch: string ,
repositoryOwner: string ,
authStatus: enum ,
pullNumber: integer ,
prStatus: enum ,
branchName: string ,
}
,
terraformProfile:
{
storageAccountSubscription: string ,
storageAccountResourceGroup: string ,
storageAccountName: string ,
storageContainerName: string ,
}
,
stages:
[
{
stageName: string ,
dependencies:
[
string ,
]
,
gitEnvironment: string ,
}
,
]
,
templates:
[
{
templateName: string ,
sourceResourceId: string ,
instanceStage: string ,
instanceName: string ,
templateDetails:
[
{
productName: string ,
count: integer ,
namingConvention: string ,
}
,
]
,
quickStartTemplateType: enum ,
}
,
]
,
}
,
etag: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
IacProfiles_Get (removed)
Description Gets a IacProfile.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevHub/iacProfiles/{iacProfileName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
iacProfileName: string ,
}

⚐ Response (200)

{
properties:
{
githubProfile:
{
repositoryName: string ,
repositoryMainBranch: string ,
repositoryOwner: string ,
authStatus: enum ,
pullNumber: integer ,
prStatus: enum ,
branchName: string ,
}
,
terraformProfile:
{
storageAccountSubscription: string ,
storageAccountResourceGroup: string ,
storageAccountName: string ,
storageContainerName: string ,
}
,
stages:
[
{
stageName: string ,
dependencies:
[
string ,
]
,
gitEnvironment: string ,
}
,
]
,
templates:
[
{
templateName: string ,
sourceResourceId: string ,
instanceStage: string ,
instanceName: string ,
templateDetails:
[
{
productName: string ,
count: integer ,
namingConvention: string ,
}
,
]
,
quickStartTemplateType: enum ,
}
,
]
,
}
,
etag: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
IacProfiles_CreateOrUpdate (removed)
Description Creates or updates a IacProfile
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevHub/iacProfiles/{iacProfileName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
iacProfileName: string ,
parameters:
{
properties:
{
githubProfile:
{
repositoryName: string ,
repositoryMainBranch: string ,
repositoryOwner: string ,
authStatus: enum ,
pullNumber: integer ,
prStatus: enum ,
branchName: string ,
}
,
terraformProfile:
{
storageAccountSubscription: string ,
storageAccountResourceGroup: string ,
storageAccountName: string ,
storageContainerName: string ,
}
,
stages:
[
{
stageName: string ,
dependencies:
[
string ,
]
,
gitEnvironment: string ,
}
,
]
,
templates:
[
{
templateName: string ,
sourceResourceId: string ,
instanceStage: string ,
instanceName: string ,
templateDetails:
[
{
productName: string ,
count: integer ,
namingConvention: string ,
}
,
]
,
quickStartTemplateType: enum ,
}
,
]
,
}
,
etag: string ,
}
,
}

⚐ Response (200)

{
properties:
{
githubProfile:
{
repositoryName: string ,
repositoryMainBranch: string ,
repositoryOwner: string ,
authStatus: enum ,
pullNumber: integer ,
prStatus: enum ,
branchName: string ,
}
,
terraformProfile:
{
storageAccountSubscription: string ,
storageAccountResourceGroup: string ,
storageAccountName: string ,
storageContainerName: string ,
}
,
stages:
[
{
stageName: string ,
dependencies:
[
string ,
]
,
gitEnvironment: string ,
}
,
]
,
templates:
[
{
templateName: string ,
sourceResourceId: string ,
instanceStage: string ,
instanceName: string ,
templateDetails:
[
{
productName: string ,
count: integer ,
namingConvention: string ,
}
,
]
,
quickStartTemplateType: enum ,
}
,
]
,
}
,
etag: string ,
}

⚐ Response (201)

{
properties:
{
githubProfile:
{
repositoryName: string ,
repositoryMainBranch: string ,
repositoryOwner: string ,
authStatus: enum ,
pullNumber: integer ,
prStatus: enum ,
branchName: string ,
}
,
terraformProfile:
{
storageAccountSubscription: string ,
storageAccountResourceGroup: string ,
storageAccountName: string ,
storageContainerName: string ,
}
,
stages:
[
{
stageName: string ,
dependencies:
[
string ,
]
,
gitEnvironment: string ,
}
,
]
,
templates:
[
{
templateName: string ,
sourceResourceId: string ,
instanceStage: string ,
instanceName: string ,
templateDetails:
[
{
productName: string ,
count: integer ,
namingConvention: string ,
}
,
]
,
quickStartTemplateType: enum ,
}
,
]
,
}
,
etag: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
IacProfiles_Delete (removed)
Description Deletes a IacProfile
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevHub/iacProfiles/{iacProfileName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
iacProfileName: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
IacProfiles_UpdateTags (removed)
Description Updates tags on a IacProfile.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevHub/iacProfiles/{iacProfileName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
iacProfileName: string ,
parameters:
{
tags: object ,
}
,
}

⚐ Response (200)

{
properties:
{
githubProfile:
{
repositoryName: string ,
repositoryMainBranch: string ,
repositoryOwner: string ,
authStatus: enum ,
pullNumber: integer ,
prStatus: enum ,
branchName: string ,
}
,
terraformProfile:
{
storageAccountSubscription: string ,
storageAccountResourceGroup: string ,
storageAccountName: string ,
storageContainerName: string ,
}
,
stages:
[
{
stageName: string ,
dependencies:
[
string ,
]
,
gitEnvironment: string ,
}
,
]
,
templates:
[
{
templateName: string ,
sourceResourceId: string ,
instanceStage: string ,
instanceName: string ,
templateDetails:
[
{
productName: string ,
count: integer ,
namingConvention: string ,
}
,
]
,
quickStartTemplateType: enum ,
}
,
]
,
}
,
etag: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
IacProfiles_Export (removed)
Description Export a template
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevHub/iacProfiles/{iacProfileName}/export
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
iacProfileName: string ,
parameters:
{
templateName: string ,
resourceGroupIds:
[
string ,
]
,
siteId: string ,
instanceName: string ,
instanceStage: string ,
}
,
}

⚐ Response (200)

{
prLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
IacProfiles_Scale (removed)
Description Scale by template
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevHub/iacProfiles/{iacProfileName}/scale
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
iacProfileName: string ,
parameters:
{
templateName: string ,
scaleProperties:
[
{
region: string ,
stage: string ,
numberOfStores: integer ,
}
,
]
,
}
,
}

⚐ Response (200)

{
prLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
IacProfiles_Sync (removed)
Description Sync template
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevHub/iacProfiles/{iacProfileName}/sync
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
iacProfileName: string ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Operations_List (removed)
Description Returns list of operations.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.DevHub/operations
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
isDataAction: boolean ,
display:
{
provider: string ,
resource: string ,
operation: string ,
description: string ,
}
,
origin: enum ,
actionType: enum ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
GitHubOAuth (removed)
Description Gets GitHubOAuth info used to authenticate users with the Developer Hub GitHub App.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/providers/Microsoft.DevHub/locations/{location}/githuboauth/default/getGitHubOAuthInfo
{
api-version: string ,
subscriptionId: string ,
location: string ,
parameters:
{
redirectUrl: string ,
}
,
}

⚐ Response (200)

{
authURL: string ,
token: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
GitHubOAuthCallback (removed)
Description Callback URL to hit once authenticated with GitHub App to have the service store the OAuth token.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.DevHub/locations/{location}/githuboauth/default
{
api-version: string ,
subscriptionId: string ,
location: string ,
code: string ,
state: string ,
}

⚐ Response (200)

{
properties:
{
username: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ListGitHubOAuth (removed)
Description Callback URL to hit once authenticated with GitHub App to have the service store the OAuth token.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.DevHub/locations/{location}/githuboauth
{
api-version: string ,
subscriptionId: string ,
location: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
username: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Workflow_List (removed)
Description Gets a list of workflows associated with the specified subscription.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.DevHub/workflows
{
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
githubWorkflowProfile:
{
repositoryOwner: string ,
repositoryName: string ,
branchName: string ,
dockerfile: string ,
dockerBuildContext: string ,
deploymentProperties:
{
manifestType: enum ,
kubeManifestLocations:
[
string ,
]
,
helmChartPath: string ,
helmValues: string ,
overrides: object ,
}
,
namespace: string ,
acr:
{
acrSubscriptionId: string ,
acrResourceGroup: string ,
acrRegistryName: string ,
acrRepositoryName: string ,
}
,
oidcCredentials:
{
azureClientId: string ,
azureTenantId: string ,
}
,
aksResourceId: string ,
prURL: string ,
pullNumber: integer ,
prStatus: enum ,
lastWorkflowRun:
{
succeeded: boolean ,
workflowRunURL: string ,
lastRunAt: string ,
workflowRunStatus: enum ,
}
,
authStatus: enum ,
}
,
artifactGenerationProperties:
{
generationLanguage: enum ,
languageVersion: string ,
builderVersion: string ,
port: string ,
appName: string ,
dockerfileOutputDirectory: string ,
manifestOutputDirectory: string ,
dockerfileGenerationMode: enum ,
manifestGenerationMode: enum ,
manifestType: enum ,
imageName: string ,
namespace: string ,
imageTag: string ,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Workflow_ListByResourceGroup (removed)
Description Gets a list of workflows within a resource group.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevHub/workflows
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
managedClusterResource: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
githubWorkflowProfile:
{
repositoryOwner: string ,
repositoryName: string ,
branchName: string ,
dockerfile: string ,
dockerBuildContext: string ,
deploymentProperties:
{
manifestType: enum ,
kubeManifestLocations:
[
string ,
]
,
helmChartPath: string ,
helmValues: string ,
overrides: object ,
}
,
namespace: string ,
acr:
{
acrSubscriptionId: string ,
acrResourceGroup: string ,
acrRegistryName: string ,
acrRepositoryName: string ,
}
,
oidcCredentials:
{
azureClientId: string ,
azureTenantId: string ,
}
,
aksResourceId: string ,
prURL: string ,
pullNumber: integer ,
prStatus: enum ,
lastWorkflowRun:
{
succeeded: boolean ,
workflowRunURL: string ,
lastRunAt: string ,
workflowRunStatus: enum ,
}
,
authStatus: enum ,
}
,
artifactGenerationProperties:
{
generationLanguage: enum ,
languageVersion: string ,
builderVersion: string ,
port: string ,
appName: string ,
dockerfileOutputDirectory: string ,
manifestOutputDirectory: string ,
dockerfileGenerationMode: enum ,
manifestGenerationMode: enum ,
manifestType: enum ,
imageName: string ,
namespace: string ,
imageTag: string ,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Workflow_Get (removed)
Description Gets a workflow.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevHub/workflows/{workflowName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
workflowName: string ,
}

⚐ Response (200)

{
properties:
{
githubWorkflowProfile:
{
repositoryOwner: string ,
repositoryName: string ,
branchName: string ,
dockerfile: string ,
dockerBuildContext: string ,
deploymentProperties:
{
manifestType: enum ,
kubeManifestLocations:
[
string ,
]
,
helmChartPath: string ,
helmValues: string ,
overrides: object ,
}
,
namespace: string ,
acr:
{
acrSubscriptionId: string ,
acrResourceGroup: string ,
acrRegistryName: string ,
acrRepositoryName: string ,
}
,
oidcCredentials:
{
azureClientId: string ,
azureTenantId: string ,
}
,
aksResourceId: string ,
prURL: string ,
pullNumber: integer ,
prStatus: enum ,
lastWorkflowRun:
{
succeeded: boolean ,
workflowRunURL: string ,
lastRunAt: string ,
workflowRunStatus: enum ,
}
,
authStatus: enum ,
}
,
artifactGenerationProperties:
{
generationLanguage: enum ,
languageVersion: string ,
builderVersion: string ,
port: string ,
appName: string ,
dockerfileOutputDirectory: string ,
manifestOutputDirectory: string ,
dockerfileGenerationMode: enum ,
manifestGenerationMode: enum ,
manifestType: enum ,
imageName: string ,
namespace: string ,
imageTag: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Workflow_CreateOrUpdate (removed)
Description Creates or updates a workflow
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevHub/workflows/{workflowName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
workflowName: string ,
parameters:
{
properties:
{
githubWorkflowProfile:
{
repositoryOwner: string ,
repositoryName: string ,
branchName: string ,
dockerfile: string ,
dockerBuildContext: string ,
deploymentProperties:
{
manifestType: enum ,
kubeManifestLocations:
[
string ,
]
,
helmChartPath: string ,
helmValues: string ,
overrides: object ,
}
,
namespace: string ,
acr:
{
acrSubscriptionId: string ,
acrResourceGroup: string ,
acrRegistryName: string ,
acrRepositoryName: string ,
}
,
oidcCredentials:
{
azureClientId: string ,
azureTenantId: string ,
}
,
aksResourceId: string ,
prURL: string ,
pullNumber: integer ,
prStatus: enum ,
lastWorkflowRun:
{
succeeded: boolean ,
workflowRunURL: string ,
lastRunAt: string ,
workflowRunStatus: enum ,
}
,
authStatus: enum ,
}
,
artifactGenerationProperties:
{
generationLanguage: enum ,
languageVersion: string ,
builderVersion: string ,
port: string ,
appName: string ,
dockerfileOutputDirectory: string ,
manifestOutputDirectory: string ,
dockerfileGenerationMode: enum ,
manifestGenerationMode: enum ,
manifestType: enum ,
imageName: string ,
namespace: string ,
imageTag: string ,
}
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
githubWorkflowProfile:
{
repositoryOwner: string ,
repositoryName: string ,
branchName: string ,
dockerfile: string ,
dockerBuildContext: string ,
deploymentProperties:
{
manifestType: enum ,
kubeManifestLocations:
[
string ,
]
,
helmChartPath: string ,
helmValues: string ,
overrides: object ,
}
,
namespace: string ,
acr:
{
acrSubscriptionId: string ,
acrResourceGroup: string ,
acrRegistryName: string ,
acrRepositoryName: string ,
}
,
oidcCredentials:
{
azureClientId: string ,
azureTenantId: string ,
}
,
aksResourceId: string ,
prURL: string ,
pullNumber: integer ,
prStatus: enum ,
lastWorkflowRun:
{
succeeded: boolean ,
workflowRunURL: string ,
lastRunAt: string ,
workflowRunStatus: enum ,
}
,
authStatus: enum ,
}
,
artifactGenerationProperties:
{
generationLanguage: enum ,
languageVersion: string ,
builderVersion: string ,
port: string ,
appName: string ,
dockerfileOutputDirectory: string ,
manifestOutputDirectory: string ,
dockerfileGenerationMode: enum ,
manifestGenerationMode: enum ,
manifestType: enum ,
imageName: string ,
namespace: string ,
imageTag: string ,
}
,
}
,
}

⚐ Response (201)

{
properties:
{
githubWorkflowProfile:
{
repositoryOwner: string ,
repositoryName: string ,
branchName: string ,
dockerfile: string ,
dockerBuildContext: string ,
deploymentProperties:
{
manifestType: enum ,
kubeManifestLocations:
[
string ,
]
,
helmChartPath: string ,
helmValues: string ,
overrides: object ,
}
,
namespace: string ,
acr:
{
acrSubscriptionId: string ,
acrResourceGroup: string ,
acrRegistryName: string ,
acrRepositoryName: string ,
}
,
oidcCredentials:
{
azureClientId: string ,
azureTenantId: string ,
}
,
aksResourceId: string ,
prURL: string ,
pullNumber: integer ,
prStatus: enum ,
lastWorkflowRun:
{
succeeded: boolean ,
workflowRunURL: string ,
lastRunAt: string ,
workflowRunStatus: enum ,
}
,
authStatus: enum ,
}
,
artifactGenerationProperties:
{
generationLanguage: enum ,
languageVersion: string ,
builderVersion: string ,
port: string ,
appName: string ,
dockerfileOutputDirectory: string ,
manifestOutputDirectory: string ,
dockerfileGenerationMode: enum ,
manifestGenerationMode: enum ,
manifestType: enum ,
imageName: string ,
namespace: string ,
imageTag: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Workflow_Delete (removed)
Description Deletes a workflow
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevHub/workflows/{workflowName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
workflowName: string ,
}

⚐ Response (200)

{
status: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Workflow_UpdateTags (removed)
Description Updates tags on a workflow.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevHub/workflows/{workflowName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
workflowName: string ,
parameters:
{
tags: object ,
}
,
}

⚐ Response (200)

{
properties:
{
githubWorkflowProfile:
{
repositoryOwner: string ,
repositoryName: string ,
branchName: string ,
dockerfile: string ,
dockerBuildContext: string ,
deploymentProperties:
{
manifestType: enum ,
kubeManifestLocations:
[
string ,
]
,
helmChartPath: string ,
helmValues: string ,
overrides: object ,
}
,
namespace: string ,
acr:
{
acrSubscriptionId: string ,
acrResourceGroup: string ,
acrRegistryName: string ,
acrRepositoryName: string ,
}
,
oidcCredentials:
{
azureClientId: string ,
azureTenantId: string ,
}
,
aksResourceId: string ,
prURL: string ,
pullNumber: integer ,
prStatus: enum ,
lastWorkflowRun:
{
succeeded: boolean ,
workflowRunURL: string ,
lastRunAt: string ,
workflowRunStatus: enum ,
}
,
authStatus: enum ,
}
,
artifactGenerationProperties:
{
generationLanguage: enum ,
languageVersion: string ,
builderVersion: string ,
port: string ,
appName: string ,
dockerfileOutputDirectory: string ,
manifestOutputDirectory: string ,
dockerfileGenerationMode: enum ,
manifestGenerationMode: enum ,
manifestType: enum ,
imageName: string ,
namespace: string ,
imageTag: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
GeneratePreviewArtifacts (removed)
Description Generate preview dockerfile and manifests.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/providers/Microsoft.DevHub/locations/{location}/generatePreviewArtifacts
{
api-version: string ,
subscriptionId: string ,
location: string ,
parameters:
{
generationLanguage: enum ,
languageVersion: string ,
builderVersion: string ,
port: string ,
appName: string ,
dockerfileOutputDirectory: string ,
manifestOutputDirectory: string ,
dockerfileGenerationMode: enum ,
manifestGenerationMode: enum ,
manifestType: enum ,
imageName: string ,
namespace: string ,
imageTag: string ,
}
,
}

⚐ Response (200)

{
$schema: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}