-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fnuarnav containerinstance microsoft.container instance 2023 05 01 (#…
…23484) * add container security context property * update readme tag to previous stable version * add example with security context * avocado fix default tag should contain all endpoints * add back spot priority changes * use previous stable version as default tag * prettier fix * use spaces * fix error * use spaces * fix CI errors * use altest api version as default for Avocado * update host to eastus2euap endpoint to check manifest * MGRP S360 Vuln (#22832) * Add blockchain to latest profile * Add additional types * Fix Swagger issues * Solve validation --------- Co-authored-by: Mark Cowlishaw <markcowl@microsoft.com> * use old api versionf or operations * Azure Orbital - swagger fix for api-version 2022-11-01 (#23441) * added example for the new field * updated the double ref that was causing build failure * Fixed PrometheusRuleGroups examples (#23390) * Fixed PrometheusRuleGroups examples * One more fix * Remvoe flattern (#23460) Co-authored-by: Will Huang <huangwill@microsoft.com> * Mvad update (#23434) * Add default value 10 for topContributorCount * Update AnomalyDetector typespec to latest typespec and Azure.Core versions and fix all warnings * Update TypeSpec config * Add back language emitter options * Fix cspell and model validation errors --------- Co-authored-by: Chunlei Wang <chuwan@microsoft.com> * revert Operations example api version * add codeowners for Compute Instance swagger (#23437) Co-authored-by: Naman Agarwal <naagarw@microsoft.com> * [Hub Generated] Review request for Microsoft.DevHub to add version preview/2022-10-11-preview (#22828) * Adds base for updating Microsoft.DevHub from version preview/2022-04-01-preview to version 2022-10-11-preview * Updates readme * Updates API version in new specs and examples * start 10-11 preview * add words * fix readme version * update swagger version * add second putworkflow example * fix generatepreviewartifactsresponse * align generate preview artifacts example * update param locations that got changed * add x-ms-client-flatten for artifact properties * Adding WorkflowRunStatus * Fixing enum name * add namespace to example --------- Co-authored-by: Brandon Foley <brandonfoley13@gmail.com> * Update readme.python.md (#23208) * fixing async response type for machinelearningservices-2023-02-01-preview (#23105) * fixing regex pattern and async response type * remove update to regex * Fix lint error for Datadog RP (#23477) * Fix link error for Datadog RP * Fix version * merging billing fix to public repo (#23424) Co-authored-by: Gaurav Bang <gauravbang@microsoft.com> * use management.auzre.com endpoint * fix package version in readme --------- Co-authored-by: ramoka178 <57157576+ramoka178@users.noreply.github.com> Co-authored-by: Mark Cowlishaw <markcowl@microsoft.com> Co-authored-by: Stuti Kumar <113545470+stuti-1807@users.noreply.github.com> Co-authored-by: giladsu <43436811+giladsu@users.noreply.github.com> Co-authored-by: will <koyasu221b@gmail.com> Co-authored-by: Will Huang <huangwill@microsoft.com> Co-authored-by: Mike Kistler <mikekistler@microsoft.com> Co-authored-by: Chunlei Wang <chuwan@microsoft.com> Co-authored-by: Naman Agarwal <namanag16@gmail.com> Co-authored-by: Naman Agarwal <naagarw@microsoft.com> Co-authored-by: David Gamero <david340804@gmail.com> Co-authored-by: Brandon Foley <brandonfoley13@gmail.com> Co-authored-by: Yuchao Yan <yuchaoyan@microsoft.com> Co-authored-by: Karishma Daga <karishmadaga@microsoft.com> Co-authored-by: vikotha <81368129+vikotha@users.noreply.github.com> Co-authored-by: Gaurav <bang.gourav@gmail.com> Co-authored-by: Gaurav Bang <gauravbang@microsoft.com>
- Loading branch information
1 parent
3f083cd
commit 3f4713e
Showing
30 changed files
with
2,398 additions
and
21 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
...anager/Microsoft.DevHub/preview/2022-10-11-preview/examples/GeneratePreviewArtifacts.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-10-11-preview", | ||
"subscriptionId": "subscriptionId1", | ||
"location": "location1", | ||
"parameters": { | ||
"generationLanguage": "javascript", | ||
"languageVersion": "14", | ||
"port": "80", | ||
"appName": "my-app", | ||
"dockerfileOutputDirectory": "./", | ||
"manifestOutputDirectory": "./", | ||
"manifestGenerationMode": "enabled", | ||
"dockerfileGenerationMode": "enabled", | ||
"manifestType": "kube", | ||
"imageName": "myimage", | ||
"namespace": "my-namespace", | ||
"imageTag": "latest" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"dockerfiles/example-dockerfile": "dockerfile-content \n including newlines", | ||
"manifests/example-manifest-file-1": "manifest file 1 content \n including newlines", | ||
"manifests/example-manifest-file-2": "manifest file 2 content \n including newlines" | ||
} | ||
} | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
...ub/resource-manager/Microsoft.DevHub/preview/2022-10-11-preview/examples/GitHubOAuth.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subscriptionId1", | ||
"location": "eastus2euap", | ||
"api-version": "2022-10-11-preview", | ||
"parameters": { | ||
"redirectUrl": "https://ms.portal.azure.com/aks" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"authURL": "https://github.com/login/oauth/authorize?client_id=11111111&redirect_uri=https://management.azure.com/subscriptions/subscriptionId1/providers/Microsoft.DevHub/locations/eastus2euap/githuboauth&state=2345678-3456-7890-5678-012345678901&scope=repo,user:email,workflow", | ||
"token": "" | ||
} | ||
} | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
...rce-manager/Microsoft.DevHub/preview/2022-10-11-preview/examples/GitHubOAuthCallback.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subscriptionId1", | ||
"location": "eastus2euap", | ||
"api-version": "2022-10-11-preview", | ||
"code": "3584d83530557fdd1f46af8289938c8ef79f9dc5", | ||
"state": "12345678-3456-7890-5678-012345678901" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subscriptionId1/providers/Microsoft.DevHub/locations/eastus2euap/githuboauth/default", | ||
"type": "Microsoft.DevHub/locations/githuboauth", | ||
"name": "default", | ||
"properties": { | ||
"username": "user" | ||
} | ||
} | ||
} | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
...source-manager/Microsoft.DevHub/preview/2022-10-11-preview/examples/GitHubOAuth_List.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subscriptionId1", | ||
"location": "eastus2euap", | ||
"api-version": "2022-10-11-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/subscriptionId1/providers/Microsoft.DevHub/locations/eastus2euap/githuboauth/default", | ||
"type": "Microsoft.DevHub/locations/githuboauth", | ||
"name": "default", | ||
"properties": { | ||
"username": "user" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
...resource-manager/Microsoft.DevHub/preview/2022-10-11-preview/examples/Operation_List.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-10-11-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"name": "Microsoft.DevHub/workflows/read", | ||
"display": { | ||
"provider": "Microsoft Developer Hub", | ||
"resource": "Workflows", | ||
"operation": "Get workflow", | ||
"description": "Gets workflow" | ||
} | ||
} | ||
], | ||
"nextLink": null | ||
} | ||
} | ||
} | ||
} |
146 changes: 146 additions & 0 deletions
146
...manager/Microsoft.DevHub/preview/2022-10-11-preview/examples/Workflow_CreateOrUpdate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,146 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-10-11-preview", | ||
"subscriptionId": "subscriptionId1", | ||
"resourceGroupName": "resourceGroup1", | ||
"workflowName": "workflow1", | ||
"parameters": { | ||
"location": "location1", | ||
"tags": { | ||
"appname": "testApp" | ||
}, | ||
"properties": { | ||
"githubWorkflowProfile": { | ||
"repositoryOwner": "owner1", | ||
"repositoryName": "repo1", | ||
"branchName": "branch1", | ||
"dockerfile": "repo1/images/Dockerfile", | ||
"dockerBuildContext": "repo1/src/", | ||
"deploymentProperties": { | ||
"manifestType": "kube", | ||
"kubeManifestLocations": [ | ||
"/src/manifests/" | ||
], | ||
"overrides": { | ||
"key1": "value1" | ||
} | ||
}, | ||
"namespace": "namespace1", | ||
"acr": { | ||
"acrSubscriptionId": "subscriptionId1", | ||
"acrResourceGroup": "resourceGroup1", | ||
"acrRegistryName": "registry1", | ||
"acrRepositoryName": "repo1" | ||
}, | ||
"oidcCredentials": { | ||
"azureClientId": "12345678-3456-7890-5678-012345678901", | ||
"azureTenantId": "66666666-3456-7890-5678-012345678901" | ||
}, | ||
"aksResourceId": "/subscriptions/subscriptionId1/resourcegroups/resourceGroup1/providers/Microsoft.ContainerService/managedClusters/cluster1" | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscription/subscriptionId1/resourceGroups/resourceGroup1/providers/Microsoft.DevHub/workflow/workflow1", | ||
"location": "location1", | ||
"name": "workflow1", | ||
"type": "Micfosoft.DevHub/Workflow", | ||
"tags": { | ||
"appname": "testapp" | ||
}, | ||
"systemData": { | ||
"createdBy": "foo@contoso.com", | ||
"createdByType": "User", | ||
"createdAt": "2018-04-24T16:30:55+00:00", | ||
"lastModifiedBy": "foo@contoso.com", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2018-04-24T16:30:55+00:00" | ||
}, | ||
"properties": { | ||
"githubWorkflowProfile": { | ||
"repositoryOwner": "owner1", | ||
"repositoryName": "repo2", | ||
"branchName": "branch2", | ||
"dockerfile": "repo2/images/Dockerfile", | ||
"dockerBuildContext": "repo2/src/", | ||
"deploymentProperties": { | ||
"manifestType": "helm", | ||
"helmChartPath": "/src/charts", | ||
"helmValues": "/src/chars/values.yaml", | ||
"overrides": { | ||
"key1": "value1" | ||
} | ||
}, | ||
"acr": { | ||
"acrSubscriptionId": "subscriptionId1", | ||
"acrResourceGroup": "resourceGroup1", | ||
"acrRegistryName": "registry1", | ||
"acrRepositoryName": "repo1" | ||
}, | ||
"oidcCredentials": { | ||
"azureClientId": "12345678-3456-7890-5678-012345678901", | ||
"azureTenantId": "66666666-3456-7890-5678-012345678901" | ||
}, | ||
"aksResourceId": "/subscriptions/subscriptionId1/resourcegroups/resourceGroup1/providers/Microsoft.ContainerService/managedClusters/cluster1", | ||
"prURL": "https://github.com/User/repo2/pull/6567", | ||
"pullNumber": 6567, | ||
"prStatus": "submitted", | ||
"authStatus": "Authorized" | ||
} | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscription/subscriptionId1/resourceGroups/resourceGroup1/providers/Microsoft.DevHub/workflow/workflow1", | ||
"location": "location1", | ||
"name": "workflow1", | ||
"type": "Micfosoft.DevHub/Workflow", | ||
"tags": { | ||
"appname": "testapp" | ||
}, | ||
"systemData": { | ||
"createdBy": "foo@contoso.com", | ||
"createdByType": "User", | ||
"createdAt": "2018-04-24T16:30:55+00:00", | ||
"lastModifiedBy": "foo@contoso.com", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2018-04-24T16:30:55+00:00" | ||
}, | ||
"properties": { | ||
"githubWorkflowProfile": { | ||
"repositoryOwner": "owner1", | ||
"repositoryName": "repo1", | ||
"branchName": "branch1", | ||
"dockerfile": "repo1/images/Dockerfile", | ||
"dockerBuildContext": "repo1/src/", | ||
"deploymentProperties": { | ||
"manifestType": "kube", | ||
"overrides": { | ||
"key1": "value1" | ||
} | ||
}, | ||
"acr": { | ||
"acrSubscriptionId": "subscriptionId1", | ||
"acrResourceGroup": "resourceGroup1", | ||
"acrRegistryName": "registry1", | ||
"acrRepositoryName": "repo1" | ||
}, | ||
"oidcCredentials": { | ||
"azureClientId": "12345678-3456-7890-5678-012345678901", | ||
"azureTenantId": "66666666-3456-7890-5678-012345678901" | ||
}, | ||
"aksResourceId": "/subscriptions/subscriptionId1/resourcegroups/resourceGroup1/providers/Microsoft.ContainerService/managedClusters/cluster1", | ||
"prURL": "https://github.com/owner1/repo1/pull/6567", | ||
"pullNumber": 6567, | ||
"prStatus": "submitted", | ||
"authStatus": "Authorized" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.