Skip to content

Commit 3e7993e

Browse files
authored
Merge pull request #283702 from mumian/0806-bicep-extension-name
rename bicep extension name
2 parents 380bd07 + a52607f commit 3e7993e

File tree

4 files changed

+34
-29
lines changed

4 files changed

+34
-29
lines changed

.openpublishing.redirection.azure-resource-manager.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2004,6 +2004,11 @@
20042004
"source_path": "articles/azure-resource-manager/bicep/bicep-error-bcp333.md",
20052005
"redirect_url": "diagnostics/bcp333",
20062006
"redirect_document_id": false
2007-
}
2007+
},
2008+
{
2009+
"source_path_from_root": "/articles/azure-resource-manager/bicep/bicep-extensibility-kubernetes-provider.md",
2010+
"redirect_url": "/azure/azure-resource-manager/bicep/bicep-kubernetes-extension",
2011+
"redirect_document_id": false
2012+
}
20082013
]
20092014
}

articles/azure-resource-manager/bicep/bicep-import.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@ title: Imports in Bicep
33
description: Describes how to import shared functionality and namespaces in Bicep.
44
ms.topic: conceptual
55
ms.custom: devx-track-bicep
6-
ms.date: 06/03/2024
6+
ms.date: 08/07/2024
77
---
88

99
# Imports in Bicep
1010

11-
This article describes the syntax you use to export and import shared functionality, as well as namespaces for Bicep extensibility providers.
11+
This article describes the syntax you use to export and import shared functionality, as well as namespaces for Bicep extensions.
1212

1313
## Exporting types, variables and functions
1414

15-
The `@export()` decorator is used to indicate that a given statement can be imported by another file. This decorator is only valid on type, variable and function statements. Variable statements marked with `@export()` must be compile-time constants.
15+
The `@export()` decorator indicates that a given statement can be imported by another file. This decorator is only valid on type, variable, and function statements. Variable statements marked with `@export()` must be compile-time constants.
1616

1717
The syntax for exporting functionality for use in other Bicep files is:
1818

@@ -21,7 +21,7 @@ The syntax for exporting functionality for use in other Bicep files is:
2121
<statement_to_export>
2222
```
2323

24-
## Import types, variables and functions
24+
## Import types, variables, and functions
2525

2626
The syntax for importing functionality from another Bicep file is:
2727

@@ -80,7 +80,7 @@ output greeting string = sayHello('Bicep user')
8080
output exampleObject myImports.myObjectType = exampleObject
8181
```
8282

83-
## Import namespaces and extensibility providers (Preview)
83+
## Import namespaces and extensions (Preview)
8484

8585
> [!NOTE]
8686
> The experimental feature `extensibility` must be enabled from the [Bicep config file](./bicep-config.md#enable-experimental-features) to use this feature.
@@ -92,27 +92,27 @@ import '[email protected]'
9292
9393
```
9494

95-
Both `az` and `sys` are Bicep built-in namespaces. They are imported by default. For more information about the data types and the functions defined in `az` and `sys`, see [Data types](./data-types.md) and [Bicep functions](./bicep-functions.md).
95+
Both `az` and `sys` are Bicep built-in namespaces. They're imported by default. For more information about the data types and the functions defined in `az` and `sys`, see [Data types](./data-types.md) and [Bicep functions](./bicep-functions.md).
9696

97-
The syntax for importing Bicep extensibility providers is:
97+
The syntax for importing Bicep extensions is:
9898

9999
```bicep
100-
import '<provider-name>@<provider-version>'
100+
import '<extension-name>@<extension-version>'
101101
```
102102

103-
The syntax for importing Bicep extensibility providers which require configuration is:
103+
The syntax for importing Bicep extensions, which require configuration is:
104104

105105
```bicep
106-
import '<provider-name>@<provider-version>' with {
107-
<provider-properties>
106+
import '<extension-name>@<extension-version>' with {
107+
<extension-properties>
108108
}
109109
```
110110

111-
For an example, see [Bicep extensibility Kubernetes provider](./bicep-extensibility-kubernetes-provider.md).
111+
For an example, see [Bicep Kubernetes extension](./bicep-kubernetes-extension.md).
112112

113113
## Next steps
114114

115115
- To learn about the Bicep data types, see [Data types](./data-types.md).
116116
- To learn about the Bicep functions, see [Bicep functions](./bicep-functions.md).
117-
- To learn about how to use the Kubernetes provider, see [Bicep extensibility Kubernetes provider](./bicep-extensibility-kubernetes-provider.md).
118-
- To go through a Kubernetes provider tutorial, see [Quickstart - Deploy Azure applications to Azure Kubernetes Services by using Bicep Kubernetes provider.](/azure/aks/learn/quick-kubernetes-deploy-bicep-extensibility-kubernetes-provider).
117+
- To learn about how to use the Bicep Kubernetes extension, see [Bicep Kubernetes extension](./bicep-kubernetes-extension.md).
118+
- To go through a Kubernetes extension tutorial, see [Quickstart - Deploy Azure applications to Azure Kubernetes Services by using Bicep Kubernetes extension.](/azure/aks/learn/quick-kubernetes-deploy-bicep-kubernetes-extension).

articles/azure-resource-manager/bicep/bicep-extensibility-kubernetes-provider.md renamed to articles/azure-resource-manager/bicep/bicep-kubernetes-extension.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
---
2-
title: Bicep extensibility Kubernetes provider
3-
description: Learn how to Bicep Kubernetes provider to deploy .NET applications to Azure Kubernetes Service clusters.
2+
title: Bicep Kubernetes extension
3+
description: Learn how to Bicep Kubernetes extension to deploy .NET applications to Azure Kubernetes Service clusters.
44
ms.topic: conceptual
55
ms.custom: devx-track-bicep, devx-track-dotnet
6-
ms.date: 07/11/2024
6+
ms.date: 08/07/2024
77
---
88

9-
# Bicep extensibility Kubernetes provider (Preview)
9+
# Bicep Kubernetes extension (Preview)
1010

11-
The Kubernetes provider allows you to create Kubernetes resources directly with Bicep. Bicep can deploy anything that can be deployed with the [Kubernetes command-line client (kubectl)](https://kubernetes.io/docs/reference/kubectl/kubectl/) and a [Kubernetes manifest file](/azure/aks/concepts-clusters-workloads#deployments-and-yaml-manifests).
11+
The Kubernetes extension allows you to create Kubernetes resources directly with Bicep. Bicep can deploy anything that can be deployed with the [Kubernetes command-line client (kubectl)](https://kubernetes.io/docs/reference/kubectl/kubectl/) and a [Kubernetes manifest file](/azure/aks/concepts-clusters-workloads#deployments-and-yaml-manifests).
1212

1313
> [!NOTE]
14-
> Kubernetes provider is not currently supported for private clusters:
14+
> The Kubernetes extension is not currently supported for private clusters:
1515
>
1616
> ```bicep
1717
> resource AKS 'Microsoft.ContainerService/managedClusters@2024-02-01' = {
@@ -38,12 +38,12 @@ This preview feature can be enabled by configuring the [bicepconfig.json](./bice
3838
}
3939
```
4040
41-
## Import Kubernetes provider
41+
## Import Kubernetes extension
4242

4343
To safely pass secrets for the Kubernetes deployment, you must invoke the Kubernetes code with a Bicep module and pass the parameter as a secret.
44-
To import the Kubernetes provider, use the [import statement](./bicep-import-providers.md). After importing the provider, you can refactor the Bicep module file as usual, such as by using variables, parameters, and output. By contract, the Kubernetes manifest in YML doesn't include any programmability support.
44+
To import the Kubernetes extension, use the [import statement](./bicep-import.md). After importing the extension, you can refactor the Bicep module file as usual, such as by using variables, parameters, and output. By contract, the Kubernetes manifest in YML doesn't include any programmability support.
4545

46-
The following sample imports the Kubernetes provider:
46+
The following sample imports the Kubernetes extension:
4747

4848
```bicep
4949
@secure()
@@ -55,7 +55,7 @@ import '[email protected]' with {
5555
} as k8s
5656
```
5757

58-
- **namespace**: Specify the namespace of the provider.
58+
- **namespace**: Specify the namespace of the extension.
5959
- **KubeConfig**: Specify a base64 encoded value of the [Kubernetes cluster admin credentials](/rest/api/aks/managed-clusters/list-cluster-admin-credentials).
6060

6161
The following sample shows how to pass `kubeConfig` value from a parent Bicep file:
@@ -81,4 +81,4 @@ From Visual Studio Code, you can import Kubernetes manifest files to create Bice
8181

8282
## Next steps
8383

84-
- [Quickstart - Deploy Azure applications to Azure Kubernetes Services by using Bicep extensibility Kubernetes provider](/azure/aks/learn/quick-kubernetes-deploy-bicep-extensibility-kubernetes-provider)
84+
- [Quickstart - Deploy Azure applications to Azure Kubernetes Services by using Bicep Kubernetes extension](/azure/aks/learn/quick-kubernetes-deploy-bicep-kubernetes-extension)

articles/azure-resource-manager/bicep/toc.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -413,9 +413,9 @@
413413
href: deployment-stacks.md
414414
- name: Bicep extensibility
415415
items:
416-
- name: Kubernetes provider
417-
href: ./bicep-extensibility-kubernetes-provider.md
418-
- name: Microsoft Graph provider
416+
- name: Kubernetes extension
417+
href: ./bicep-kubernetes-extension.md
418+
- name: Microsoft Graph extension
419419
href: https://aka.ms/graphbicep
420420
- name: Patterns
421421
items:

0 commit comments

Comments
 (0)