Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions arm/Microsoft.AnalysisServices/servers/deploy.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -143,10 +143,10 @@ module server_rbac '.bicep/nested_rbac.bicep' = [for (roleAssignment, index) in
}]

@description('The name of the analysis service')
output analysisServicesName string = server.name
output name string = server.name

@description('The resource ID of the analysis service')
output analysisServicesResourceId string = server.id
output resourceId string = server.id

@description('The resource group the analysis service was deployed into')
output analysisServicesResourceGroup string = resourceGroup().name
output resourceGroupName string = resourceGroup().name
6 changes: 3 additions & 3 deletions arm/Microsoft.AnalysisServices/servers/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@ Tag names and tag values can be provided as needed. A tag can be left without a

| Output Name | Type | Description |
| :-- | :-- | :-- |
| `analysisServicesName` | string | The name of the analysis service |
| `analysisServicesResourceGroup` | string | The resource group the analysis service was deployed into |
| `analysisServicesResourceId` | string | The resource ID of the analysis service |
| `name` | string | The name of the analysis service |
| `resourceGroupName` | string | The resource group the analysis service was deployed into |
| `resourceId` | string | The resource ID of the analysis service |

## Template references

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,10 @@ module authorizationServer '../authorizationServers/deploy.bicep' = {
}

@description('The name of the API management service authorization server')
output authorizationServerName string = authorizationServer.outputs.authorizationServerName
output name string = authorizationServer.outputs.name

@description('The resource ID of the API management service authorization server')
output authorizationServerResourceId string = authorizationServer.outputs.authorizationServerResourceId
output resourceId string = authorizationServer.outputs.resourceId

@description('The resource group the API management service authorization server was deployed into')
output authorizationServerResourceGroup string = authorizationServer.outputs.authorizationServerResourceGroup
output resourceGroupName string = authorizationServer.outputs.resourceGroupName
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ resource apiVersionSet 'Microsoft.ApiManagement/service/apiVersionSets@2021-08-0
}

@description('The resource ID of the API Version set')
output apiVersionSetResourceId string = apiVersionSet.id
output resourceId string = apiVersionSet.id

@description('The name of the API Version set')
output apiVersionSetName string = apiVersionSet.name
output name string = apiVersionSet.name

@description('The resource group the API Version set was deployed into')
output apiVersionSetResourceGroup string = resourceGroup().name
output resourceGroupName string = resourceGroup().name
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ This module deploys API Management Service APIs Version Set.

| Output Name | Type | Description |
| :-- | :-- | :-- |
| `apiVersionSetName` | string | The name of the API Version set |
| `apiVersionSetResourceGroup` | string | The resource group the API Version set was deployed into |
| `apiVersionSetResourceId` | string | The resource ID of the API Version set |
| `name` | string | The name of the API Version set |
| `resourceGroupName` | string | The resource group the API Version set was deployed into |
| `resourceId` | string | The resource ID of the API Version set |

## Template references

Expand Down
6 changes: 3 additions & 3 deletions arm/Microsoft.ApiManagement/service/apis/deploy.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,10 @@ module policy 'policies/deploy.bicep' = [for (policy, index) in policies: {
}]

@description('The name of the API management service API')
output apiName string = api.name
output name string = api.name

@description('The resource ID of the API management service API')
output apiResourceId string = api.id
output resourceId string = api.id

@description('The resource group the API management service API was deployed to')
output apiResourceGroup string = resourceGroup().name
output resourceGroupName string = resourceGroup().name
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ resource policy 'Microsoft.ApiManagement/service/apis/policies@2021-08-01' = {
}

@description('The resource ID of the API policy')
output policyResourceId string = policy.id
output resourceId string = policy.id

@description('The name of the API policy')
output policyName string = policy.name
output name string = policy.name

@description('The resource group the API policy was deployed into')
output policyResourceGroup string = resourceGroup().name
output resourceGroupName string = resourceGroup().name
6 changes: 3 additions & 3 deletions arm/Microsoft.ApiManagement/service/apis/policies/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ This module deploys API Management Service APIs policies.

| Output Name | Type | Description |
| :-- | :-- | :-- |
| `policyName` | string | The name of the API policy |
| `policyResourceGroup` | string | The resource group the API policy was deployed into |
| `policyResourceId` | string | The resource ID of the API policy |
| `name` | string | The name of the API policy |
| `resourceGroupName` | string | The resource group the API policy was deployed into |
| `resourceId` | string | The resource ID of the API policy |

## Template references

Expand Down
6 changes: 3 additions & 3 deletions arm/Microsoft.ApiManagement/service/apis/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ The following resources are required to be able to deploy this resource.

| Output Name | Type | Description |
| :-- | :-- | :-- |
| `apiName` | string | The name of the API management service API |
| `apiResourceGroup` | string | The resource group the API management service API was deployed to |
| `apiResourceId` | string | The resource ID of the API management service API |
| `name` | string | The name of the API management service API |
| `resourceGroupName` | string | The resource group the API management service API was deployed to |
| `resourceId` | string | The resource ID of the API management service API |

## Template references

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,10 @@ resource authorizationServer 'Microsoft.ApiManagement/service/authorizationServe
}

@description('The name of the API management service authorization server')
output authorizationServerName string = authorizationServer.name
output name string = authorizationServer.name

@description('The resource ID of the API management service authorization server')
output authorizationServerResourceId string = authorizationServer.id
output resourceId string = authorizationServer.id

@description('The resource group the API management service authorization server was deployed into')
output authorizationServerResourceGroup string = resourceGroup().name
output resourceGroupName string = resourceGroup().name
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ The following resources are required to be able to deploy this resource.

| Output Name | Type | Description |
| :-- | :-- | :-- |
| `authorizationServerName` | string | The name of the API management service authorization server |
| `authorizationServerResourceGroup` | string | The resource group the API management service authorization server was deployed into |
| `authorizationServerResourceId` | string | The resource ID of the API management service authorization server |
| `name` | string | The name of the API management service authorization server |
| `resourceGroupName` | string | The resource group the API management service authorization server was deployed into |
| `resourceId` | string | The resource ID of the API management service authorization server |

## Template references

Expand Down
6 changes: 3 additions & 3 deletions arm/Microsoft.ApiManagement/service/backends/deploy.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,10 @@ resource backend 'Microsoft.ApiManagement/service/backends@2021-08-01' = {
}

@description('The resource ID of the API management service backend')
output backendResourceId string = backend.id
output resourceId string = backend.id

@description('The name of the API management service backend')
output backendName string = backend.name
output name string = backend.name

@description('The resource group the API management service backend was deployed into')
output backendResourceGroup string = resourceGroup().name
output resourceGroupName string = resourceGroup().name
6 changes: 3 additions & 3 deletions arm/Microsoft.ApiManagement/service/backends/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,9 @@ The following resources are required to be able to deploy this resource.

| Output Name | Type | Description |
| :-- | :-- | :-- |
| `backendName` | string | The name of the API management service backend |
| `backendResourceGroup` | string | The resource group the API management service backend was deployed into |
| `backendResourceId` | string | The resource ID of the API management service backend |
| `name` | string | The name of the API management service backend |
| `resourceGroupName` | string | The resource group the API management service backend was deployed into |
| `resourceId` | string | The resource ID of the API management service backend |

## Template references

Expand Down
6 changes: 3 additions & 3 deletions arm/Microsoft.ApiManagement/service/caches/deploy.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ resource cache 'Microsoft.ApiManagement/service/caches@2021-08-01' = {
}

@description('The resource ID of the API management service cache')
output cacheResourceId string = cache.id
output resourceId string = cache.id

@description('The name of the API management service cache')
output cacheResourceName string = cache.name
output name string = cache.name

@description('The resource group the API management service cache was deployed into')
output cacheResourceGroup string = resourceGroup().name
output resourceGroupName string = resourceGroup().name
6 changes: 3 additions & 3 deletions arm/Microsoft.ApiManagement/service/caches/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ The following resources are required to be able to deploy this resource.

| Output Name | Type | Description |
| :-- | :-- | :-- |
| `cacheResourceGroup` | string | The resource group the API management service cache was deployed into |
| `cacheResourceId` | string | The resource ID of the API management service cache |
| `cacheResourceName` | string | The name of the API management service cache |
| `name` | string | The name of the API management service cache |
| `resourceGroupName` | string | The resource group the API management service cache was deployed into |
| `resourceId` | string | The resource ID of the API management service cache |

## Template references

Expand Down
6 changes: 3 additions & 3 deletions arm/Microsoft.ApiManagement/service/deploy.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -428,13 +428,13 @@ module apiManagementService_rbac '.bicep/nested_rbac.bicep' = [for (roleAssignme
}]

@description('The name of the API management service')
output serviceName string = apiManagementService.name
output name string = apiManagementService.name

@description('The resource ID of the API management service')
output serviceResourceId string = apiManagementService.id
output resourceId string = apiManagementService.id

@description('The resource group the API management service was deployed into')
output serviceResourceGroup string = resourceGroup().name
output resourceGroupName string = resourceGroup().name

@description('The principal ID of the system assigned identity.')
output systemAssignedPrincipalId string = systemAssignedIdentity && contains(apiManagementService.identity, 'principalId') ? apiManagementService.identity.principalId : ''
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,10 @@ resource identityProvider 'Microsoft.ApiManagement/service/identityProviders@202
}

@description('The resource ID of the API management service identity provider')
output identityProviderResourceId string = identityProvider.id
output resourceId string = identityProvider.id

@description('The name of the API management service identity provider')
output identityProviderName string = identityProvider.name
output name string = identityProvider.name

@description('The resource group the API management service identity provider was deployed into')
output identityProviderResourceGroup string = resourceGroup().name
output resourceGroupName string = resourceGroup().name
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ This module deploys API Management Service Identity Provider.

| Output Name | Type | Description |
| :-- | :-- | :-- |
| `identityProviderName` | string | The name of the API management service identity provider |
| `identityProviderResourceGroup` | string | The resource group the API management service identity provider was deployed into |
| `identityProviderResourceId` | string | The resource ID of the API management service identity provider |
| `name` | string | The name of the API management service identity provider |
| `resourceGroupName` | string | The resource group the API management service identity provider was deployed into |
| `resourceId` | string | The resource ID of the API management service identity provider |

## Template references

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ resource namedValue 'Microsoft.ApiManagement/service/namedValues@2021-08-01' = {
}

@description('The resource ID of the named value')
output namedValueResourceId string = namedValue.id
output resourceId string = namedValue.id

@description('The name of the named value')
output namedValueName string = namedValue.name
output name string = namedValue.name

@description('The resource group the named value was deployed into')
output namedValueResourceGroup string = resourceGroup().name
output resourceGroupName string = resourceGroup().name
6 changes: 3 additions & 3 deletions arm/Microsoft.ApiManagement/service/namedValues/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ The following resources are required to be able to deploy this resource.

| Output Name | Type | Description |
| :-- | :-- | :-- |
| `namedValueName` | string | The name of the named value |
| `namedValueResourceGroup` | string | The resource group the named value was deployed into |
| `namedValueResourceId` | string | The resource ID of the named value |
| `name` | string | The name of the named value |
| `resourceGroupName` | string | The resource group the named value was deployed into |
| `resourceId` | string | The resource ID of the named value |

## Template references

Expand Down
6 changes: 3 additions & 3 deletions arm/Microsoft.ApiManagement/service/policies/deploy.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ resource policy 'Microsoft.ApiManagement/service/policies@2021-08-01' = {
}

@description('The resource ID of the API management service policy')
output policyResourceId string = policy.id
output resourceId string = policy.id

@description('The name of the API management service policy')
output policyName string = policy.name
output name string = policy.name

@description('The resource group the API management service policy was deployed into')
output policyResourceGroup string = resourceGroup().name
output resourceGroupName string = resourceGroup().name
6 changes: 3 additions & 3 deletions arm/Microsoft.ApiManagement/service/policies/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ This module deploys API Management Service Policy.

| Output Name | Type | Description |
| :-- | :-- | :-- |
| `policyName` | string | The name of the API management service policy |
| `policyResourceGroup` | string | The resource group the API management service policy was deployed into |
| `policyResourceId` | string | The resource ID of the API management service policy |
| `name` | string | The name of the API management service policy |
| `resourceGroupName` | string | The resource group the API management service policy was deployed into |
| `resourceId` | string | The resource ID of the API management service policy |

## Template references

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ resource portalSetting 'Microsoft.ApiManagement/service/portalsettings@2021-08-0
}

@description('The resource ID of the API management service portal setting')
output portalSettingsResourceId string = portalSetting.id
output resourceId string = portalSetting.id

@description('The name of the API management service portal setting')
output portalSettingsName string = portalSetting.name
output name string = portalSetting.name

@description('The resource group the API management service portal setting was deployed into')
output portalSettingsResourceGroup string = resourceGroup().name
output resourceGroupName string = resourceGroup().name
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ This module deploys API Management Service Portal Setting.

| Output Name | Type | Description |
| :-- | :-- | :-- |
| `portalSettingsName` | string | The name of the API management service portal setting |
| `portalSettingsResourceGroup` | string | The resource group the API management service portal setting was deployed into |
| `portalSettingsResourceId` | string | The resource ID of the API management service portal setting |
| `name` | string | The name of the API management service portal setting |
| `resourceGroupName` | string | The resource group the API management service portal setting was deployed into |
| `resourceId` | string | The resource ID of the API management service portal setting |

## Template references

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ resource api 'Microsoft.ApiManagement/service/products/apis@2021-08-01' = {
}

@description('The resource ID of the product API')
output apiResourceId string = api.id
output resourceId string = api.id

@description('The name of the product API')
output apiName string = api.name
output name string = api.name

@description('The resource group the product API was deployed into')
output apiResourceGroup string = resourceGroup().name
output resourceGroupName string = resourceGroup().name
6 changes: 3 additions & 3 deletions arm/Microsoft.ApiManagement/service/products/apis/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ This module deploys API Management Service Product APIs.

| Output Name | Type | Description |
| :-- | :-- | :-- |
| `apiName` | string | The name of the product API |
| `apiResourceGroup` | string | The resource group the product API was deployed into |
| `apiResourceId` | string | The resource ID of the product API |
| `name` | string | The name of the product API |
| `resourceGroupName` | string | The resource group the product API was deployed into |
| `resourceId` | string | The resource ID of the product API |

## Template references

Expand Down
14 changes: 7 additions & 7 deletions arm/Microsoft.ApiManagement/service/products/deploy.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ resource product 'Microsoft.ApiManagement/service/products@2021-08-01' = {
}
}

module api 'apis/deploy.bicep' = [for (api, index) in apis: {
module product_apis 'apis/deploy.bicep' = [for (api, index) in apis: {
name: '${deployment().name}-Api-${index}'
params: {
apiManagementServiceName: apiManagementServiceName
Expand All @@ -63,7 +63,7 @@ module api 'apis/deploy.bicep' = [for (api, index) in apis: {
}
}]

module group 'groups/deploy.bicep' = [for (group, index) in groups: {
module product_groups 'groups/deploy.bicep' = [for (group, index) in groups: {
name: '${deployment().name}-Group-${index}'
params: {
apiManagementServiceName: apiManagementServiceName
Expand All @@ -73,16 +73,16 @@ module group 'groups/deploy.bicep' = [for (group, index) in groups: {
}]

@description('The resource ID of the API management service product')
output productResourceId string = product.id
output resourceId string = product.id

@description('The name of the API management service product')
output productName string = product.name
output name string = product.name

@description('The resource group the API management service product was deployed into')
output productResourceGroup string = resourceGroup().name
output resourceGroupName string = resourceGroup().name

@description('The Resources IDs of the API management service product APIs')
output productApisResourceIds array = [for productApi in apis: resourceId('Microsoft.ApiManagement/service/products/apis', apiManagementServiceName, name, productApi.name)]
output apiResourceIds array = [for index in range(0, length(apis)): product_apis[index].outputs.resourceId]

@description('The Resources IDs of the API management service product groups')
output productGroupsResourceIds array = [for productGroup in groups: resourceId('Microsoft.ApiManagement/service/products/groups', apiManagementServiceName, name, productGroup.name)]
output groupResourceIds array = [for index in range(0, length(groups)): product_groups[index].outputs.resourceId]
Loading