Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…4aad50a36 (#2381)

Co-authored-by: jmorerice <[email protected]>
  • Loading branch information
jmorerice and jmorerice authored Dec 2, 2024
1 parent dcdf461 commit 6d3d834
Show file tree
Hide file tree
Showing 224 changed files with 369,754 additions and 5,861 deletions.
5 changes: 5 additions & 0 deletions generated/apicenter/log.out
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,8 @@ warning | Unrecognized property type: any-object. Returning 'any'.
warning | Unrecognized property type: any-object. Returning 'any'.
warning | SkippedSemanticValidation | Semantic validation was skipped.
warning | PreCheck/CheckDuplicateSchemas | Checking for duplicate schemas, this could take a (long) while. Run with --verbose for more detail.
warning | Unrecognized property type: any-object. Returning 'any'.
warning | Unrecognized property type: any-object. Returning 'any'.
warning | Unrecognized property type: any-object. Returning 'any'.
warning | SkippedSemanticValidation | Semantic validation was skipped.
warning | PreCheck/CheckDuplicateSchemas | Checking for duplicate schemas, this could take a (long) while. Run with --verbose for more detail.
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Microsoft.ApiCenter

> [!NOTE]
> The code samples in this document are generated from API usage examples contributed by Resource Providers in their [Azure Rest API specifications](https://github.com/Azure/azure-rest-api-specs). Any issues should be reported and addressed in the source.

## microsoft.apicenter/services

Services_CreateOrUpdate
```bicep
resource exampleResource 'Microsoft.ApiCenter/services@2024-06-01-preview' = {
name: 'example'
identity: {
type: 'SystemAssigned, UserAssigned'
userAssignedIdentities: {
/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-resources/providers/Microsoft.ManagedIdentity/userAssignedIdentities/contoso-identity: {
}
}
}
location: 'East US'
properties: {
}
tags: {
}
}
```

## microsoft.apicenter/services/workspaces/apisources

ApiSources_CreateOrUpdate
```bicep
resource exampleResource 'Microsoft.ApiCenter/services/workspaces/apiSources@2024-06-01-preview' = {
parent: parentResource
name: 'example'
properties: {
azureApiManagementSource: {
msiResourceId: '/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-resources/providers/Microsoft.ManagedIdentity/userAssignedIdentities/contoso-identity'
resourceId: '/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-resources/providers/Microsoft.ApiManagement/service/contoso'
}
importSpecification: 'ondemand'
targetEnvironmentId: '/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-resources/providers/Microsoft.ApiCenter/services/contoso/workspaces/default/environments/azure-api-management'
targetLifecycleStage: 'design'
}
}
```
Loading

0 comments on commit 6d3d834

Please sign in to comment.