Microsoft.OperationalInsights (stable:2024-03-01)

2025/03/04 • 5 deleted methods

SourceControl_listRepositories (removed)
Description Gets a list of repositories metadata.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/listRepositories
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
workspaceName: string ,
repositoryAccess:
{
properties:
{
repositoryAccess:
{
kind: enum ,
code: string ,
state: string ,
clientId: string ,
token: string ,
installationId: string ,
}
,
}
,
}
,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
url: string ,
fullName: string ,
installationId: integer ,
branches:
[
string ,
]
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
SourceControls_List (removed)
Description Gets all source controls, without source control items.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/sourcecontrols
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
workspaceName: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
id: string ,
version: enum ,
displayName: string ,
description: string ,
repoType: enum ,
contentTypes:
[
string ,
]
,
repository:
{
url: string ,
branch: string ,
displayUrl: string ,
deploymentLogsUrl: string ,
}
,
servicePrincipal:
{
id: string ,
tenantId: string ,
appId: string ,
credentialsExpireOn: string ,
}
,
repositoryAccess:
{
kind: enum ,
code: string ,
state: string ,
clientId: string ,
token: string ,
installationId: string ,
}
,
repositoryResourceInfo:
{
webhook:
{
webhookId: string ,
webhookUrl: string ,
webhookSecretUpdateTime: string ,
rotateWebhookSecret: boolean ,
}
,
gitHubResourceInfo:
{
appInstallationId: string ,
}
,
azureDevOpsResourceInfo:
{
pipelineId: string ,
serviceConnectionId: string ,
}
,
}
,
lastDeploymentInfo:
{
deploymentFetchStatus: enum ,
deployment:
{
deploymentId: string ,
deploymentState: enum ,
deploymentResult: enum ,
deploymentTime: string ,
deploymentLogsUrl: string ,
}
,
message: string ,
}
,
pullRequest:
{
url: string ,
state: object ,
}
,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
SourceControls_Get (removed)
Description Gets a source control byt its identifier.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/sourcecontrols/{sourceControlId}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
workspaceName: string ,
sourceControlId: string ,
}

⚐ Response (200)

{
properties:
{
id: string ,
version: enum ,
displayName: string ,
description: string ,
repoType: enum ,
contentTypes:
[
string ,
]
,
repository:
{
url: string ,
branch: string ,
displayUrl: string ,
deploymentLogsUrl: string ,
}
,
servicePrincipal:
{
id: string ,
tenantId: string ,
appId: string ,
credentialsExpireOn: string ,
}
,
repositoryAccess:
{
kind: enum ,
code: string ,
state: string ,
clientId: string ,
token: string ,
installationId: string ,
}
,
repositoryResourceInfo:
{
webhook:
{
webhookId: string ,
webhookUrl: string ,
webhookSecretUpdateTime: string ,
rotateWebhookSecret: boolean ,
}
,
gitHubResourceInfo:
{
appInstallationId: string ,
}
,
azureDevOpsResourceInfo:
{
pipelineId: string ,
serviceConnectionId: string ,
}
,
}
,
lastDeploymentInfo:
{
deploymentFetchStatus: enum ,
deployment:
{
deploymentId: string ,
deploymentState: enum ,
deploymentResult: enum ,
deploymentTime: string ,
deploymentLogsUrl: string ,
}
,
message: string ,
}
,
pullRequest:
{
url: string ,
state: object ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
SourceControls_Create (removed)
Description Creates a source control.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/sourcecontrols/{sourceControlId}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
workspaceName: string ,
sourceControlId: string ,
sourceControl:
{
properties:
{
id: string ,
version: enum ,
displayName: string ,
description: string ,
repoType: enum ,
contentTypes:
[
string ,
]
,
repository:
{
url: string ,
branch: string ,
displayUrl: string ,
deploymentLogsUrl: string ,
}
,
servicePrincipal:
{
id: string ,
tenantId: string ,
appId: string ,
credentialsExpireOn: string ,
}
,
repositoryAccess:
{
kind: enum ,
code: string ,
state: string ,
clientId: string ,
token: string ,
installationId: string ,
}
,
repositoryResourceInfo:
{
webhook:
{
webhookId: string ,
webhookUrl: string ,
webhookSecretUpdateTime: string ,
rotateWebhookSecret: boolean ,
}
,
gitHubResourceInfo:
{
appInstallationId: string ,
}
,
azureDevOpsResourceInfo:
{
pipelineId: string ,
serviceConnectionId: string ,
}
,
}
,
lastDeploymentInfo:
{
deploymentFetchStatus: enum ,
deployment:
{
deploymentId: string ,
deploymentState: enum ,
deploymentResult: enum ,
deploymentTime: string ,
deploymentLogsUrl: string ,
}
,
message: string ,
}
,
pullRequest:
{
url: string ,
state: object ,
}
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
id: string ,
version: enum ,
displayName: string ,
description: string ,
repoType: enum ,
contentTypes:
[
string ,
]
,
repository:
{
url: string ,
branch: string ,
displayUrl: string ,
deploymentLogsUrl: string ,
}
,
servicePrincipal:
{
id: string ,
tenantId: string ,
appId: string ,
credentialsExpireOn: string ,
}
,
repositoryAccess:
{
kind: enum ,
code: string ,
state: string ,
clientId: string ,
token: string ,
installationId: string ,
}
,
repositoryResourceInfo:
{
webhook:
{
webhookId: string ,
webhookUrl: string ,
webhookSecretUpdateTime: string ,
rotateWebhookSecret: boolean ,
}
,
gitHubResourceInfo:
{
appInstallationId: string ,
}
,
azureDevOpsResourceInfo:
{
pipelineId: string ,
serviceConnectionId: string ,
}
,
}
,
lastDeploymentInfo:
{
deploymentFetchStatus: enum ,
deployment:
{
deploymentId: string ,
deploymentState: enum ,
deploymentResult: enum ,
deploymentTime: string ,
deploymentLogsUrl: string ,
}
,
message: string ,
}
,
pullRequest:
{
url: string ,
state: object ,
}
,
}
,
}

⚐ Response (201)

{
properties:
{
id: string ,
version: enum ,
displayName: string ,
description: string ,
repoType: enum ,
contentTypes:
[
string ,
]
,
repository:
{
url: string ,
branch: string ,
displayUrl: string ,
deploymentLogsUrl: string ,
}
,
servicePrincipal:
{
id: string ,
tenantId: string ,
appId: string ,
credentialsExpireOn: string ,
}
,
repositoryAccess:
{
kind: enum ,
code: string ,
state: string ,
clientId: string ,
token: string ,
installationId: string ,
}
,
repositoryResourceInfo:
{
webhook:
{
webhookId: string ,
webhookUrl: string ,
webhookSecretUpdateTime: string ,
rotateWebhookSecret: boolean ,
}
,
gitHubResourceInfo:
{
appInstallationId: string ,
}
,
azureDevOpsResourceInfo:
{
pipelineId: string ,
serviceConnectionId: string ,
}
,
}
,
lastDeploymentInfo:
{
deploymentFetchStatus: enum ,
deployment:
{
deploymentId: string ,
deploymentState: enum ,
deploymentResult: enum ,
deploymentTime: string ,
deploymentLogsUrl: string ,
}
,
message: string ,
}
,
pullRequest:
{
url: string ,
state: object ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
SourceControls_Delete (removed)
Description Delete a source control.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/sourcecontrols/{sourceControlId}/delete
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
workspaceName: string ,
sourceControlId: string ,
repositoryAccess:
{
properties:
{
repositoryAccess:
{
kind: enum ,
code: string ,
state: string ,
clientId: string ,
token: string ,
installationId: string ,
}
,
}
,
}
,
}

⚐ Response (200)

{
warning:
{
code: object ,
message: string ,
details:
[
string ,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}