From db2ef45dafe69e3636d1a8d68e89de0360d23363 Mon Sep 17 00:00:00 2001 From: SeppPenner <9639361+SeppPenner@users.noreply.github.com> Date: Sun, 1 Dec 2024 02:42:04 +0000 Subject: [PATCH] =?UTF-8?q?Bot=20=F0=9F=A4=96=20generated=20CleanRepo=20to?= =?UTF-8?q?ol=20run?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../includes/set-openai-secrets.md | 13 ----- .../sdk/includes/mermaidjs/ChainSequence.md | 35 ------------- .../ChainedTokenCredentialAuthFlow.md | 29 ----------- .../DefaultAzureCredentialAuthFlow.md | 51 ------------------- .../DefaultAzureCredentialExcludes.md | 29 ----------- .../install/includes/linux-install-60-apk.md | 33 ------------ .../install/includes/linux-install-60-zyp.md | 33 ------------ .../install/includes/linux-install-70-apk.md | 33 ------------ .../install/includes/linux-install-70-dnf.md | 33 ------------ .../install/includes/linux-install-70-zyp.md | 33 ------------ 10 files changed, 322 deletions(-) delete mode 100644 docs/ai/quickstarts/includes/set-openai-secrets.md delete mode 100644 docs/azure/sdk/includes/mermaidjs/ChainSequence.md delete mode 100644 docs/azure/sdk/includes/mermaidjs/ChainedTokenCredentialAuthFlow.md delete mode 100644 docs/azure/sdk/includes/mermaidjs/DefaultAzureCredentialAuthFlow.md delete mode 100644 docs/azure/sdk/includes/mermaidjs/DefaultAzureCredentialExcludes.md delete mode 100644 docs/core/install/includes/linux-install-60-apk.md delete mode 100644 docs/core/install/includes/linux-install-60-zyp.md delete mode 100644 docs/core/install/includes/linux-install-70-apk.md delete mode 100644 docs/core/install/includes/linux-install-70-dnf.md delete mode 100644 docs/core/install/includes/linux-install-70-zyp.md diff --git a/docs/ai/quickstarts/includes/set-openai-secrets.md b/docs/ai/quickstarts/includes/set-openai-secrets.md deleted file mode 100644 index 9f4348ed8f339..0000000000000 --- a/docs/ai/quickstarts/includes/set-openai-secrets.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -author: jmatthiesen -ms.author: jomatthi -ms.date: 07/03/2024 -ms.topic: include ---- - -Run the following commands to configure your OpenAI API key as a secret for the sample app: - -```bash -dotnet user-secrets init -dotnet user-secrets set OpenAIKey -``` diff --git a/docs/azure/sdk/includes/mermaidjs/ChainSequence.md b/docs/azure/sdk/includes/mermaidjs/ChainSequence.md deleted file mode 100644 index 10982f7638ef1..0000000000000 --- a/docs/azure/sdk/includes/mermaidjs/ChainSequence.md +++ /dev/null @@ -1,35 +0,0 @@ ---- -ms.topic: include -ms.date: 08/07/2024 ---- - -```mermaid -%% STEPS TO GENERATE IMAGE -%% ======================= -%% 1. Install mermaid CLI v10.9.1 (see https://github.com/mermaid-js/mermaid-cli/blob/master/README.md): -%% npm i -g @mermaid-js/mermaid-cli@10.9.1 -%% 2. Run command: mmdc -i ChainSequence.md -o ../../media/mermaidjs/ChainSequence.svg - -sequenceDiagram - autonumber; - - participant A as .NET app; - participant B as Credential chain; - participant C as TokenCredential instance; - - A->>B: Authenticate to Microsoft Entra ID; - activate B; - B->>B: GetToken; - loop Traverse TokenCredential collection until AccessToken received - B->>C: Fetch token; - activate C; - C->>C: GetToken; - break when Result is AccessToken - C-->>B: Result; - end; - deactivate C; - end; - - B-->>A: AccessToken; - deactivate B; -``` diff --git a/docs/azure/sdk/includes/mermaidjs/ChainedTokenCredentialAuthFlow.md b/docs/azure/sdk/includes/mermaidjs/ChainedTokenCredentialAuthFlow.md deleted file mode 100644 index e3a4efd5d0ff6..0000000000000 --- a/docs/azure/sdk/includes/mermaidjs/ChainedTokenCredentialAuthFlow.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -ms.topic: include -ms.date: 08/07/2024 ---- - -```mermaid -%% STEPS TO GENERATE IMAGE -%% ======================= -%% 1. Install mermaid CLI v10.9.1 (see https://github.com/mermaid-js/mermaid-cli/blob/master/README.md): -%% npm i -g @mermaid-js/mermaid-cli@10.9.1 -%% 2. Run command: mmdc -i ChainedTokenCredentialAuthFlow.md -o ../../media/mermaidjs/ChainedTokenCredentialAuthFlow.svg - -%%{ - init: { - 'theme': 'base', - 'themeVariables': { - 'tertiaryBorderColor': '#fff', - 'tertiaryColor': '#fff' - } - } -}%% - -flowchart LR; - C(Managed Identity):::deployed --> D(Visual Studio):::developer; - - %% Define styles for credential type boxes - classDef deployed fill:#95C37E, stroke:#71AD4C, stroke-width:2px; - classDef developer fill:#F5AF6F, stroke:#EB7C39, stroke-width:2px; -``` diff --git a/docs/azure/sdk/includes/mermaidjs/DefaultAzureCredentialAuthFlow.md b/docs/azure/sdk/includes/mermaidjs/DefaultAzureCredentialAuthFlow.md deleted file mode 100644 index 377eb05685e99..0000000000000 --- a/docs/azure/sdk/includes/mermaidjs/DefaultAzureCredentialAuthFlow.md +++ /dev/null @@ -1,51 +0,0 @@ ---- -ms.topic: include -ms.date: 08/07/2024 ---- - -```mermaid -%% STEPS TO GENERATE IMAGE -%% ======================= -%% 1. Install mermaid CLI v10.9.1 (see https://github.com/mermaid-js/mermaid-cli/blob/master/README.md): -%% npm i -g @mermaid-js/mermaid-cli@10.9.1 -%% 2. Run command: mmdc -i DefaultAzureCredentialAuthFlow.md -o ../../media/mermaidjs/DefaultAzureCredentialAuthFlow.svg - -%%{ - init: { - 'theme': 'base', - 'themeVariables': { - 'tertiaryBorderColor': '#fff', - 'tertiaryColor': '#fff' - } - } -}%% - -flowchart LR; - accTitle: DefaultAzureCredential authentication flow; - accDescr: Flowchart showing the credential chain implemented by DefaultAzureCredential; - - subgraph CREDENTIAL TYPES; - direction LR; - Deployed(Deployed service):::deployed ~~~ Developer(Developer tool):::developer ~~~ Interactive(Interactive):::interactive; - end; - - subgraph CREDENTIALS; - direction LR; - A(Environment):::deployed --> B(Workload Identity):::deployed --> C(Managed Identity):::deployed --> D(Visual Studio):::developer --> E(Azure CLI):::developer --> F(Azure PowerShell):::developer --> G(Azure Developer CLI):::developer --> H(Interactive browser):::interactive; - end; - - %% Define styles for credential type boxes - classDef deployed fill:#95C37E, stroke:#71AD4C, stroke-width:2px; - classDef developer fill:#F5AF6F, stroke:#EB7C39, stroke-width:2px; - classDef interactive fill:#A5A5A5, stroke:#828282, stroke-dasharray:5 5, stroke-width:2px; - - %% Add API ref links to credential type boxes - click A "https://learn.microsoft.com/dotnet/api/azure.identity.environmentcredential?view=azure-dotnet" _blank; - click B "https://learn.microsoft.com/dotnet/api/azure.identity.workloadidentitycredential?view=azure-dotnet" _blank; - click C "https://learn.microsoft.com/dotnet/api/azure.identity.managedidentitycredential?view=azure-dotnet" _blank; - click D "https://learn.microsoft.com/dotnet/api/azure.identity.visualstudiocredential?view=azure-dotnet" _blank; - click E "https://learn.microsoft.com/dotnet/api/azure.identity.azureclicredential?view=azure-dotnet" _blank; - click F "https://learn.microsoft.com/dotnet/api/azure.identity.azurepowershellcredential?view=azure-dotnet" _blank; - click G "https://learn.microsoft.com/dotnet/api/azure.identity.azuredeveloperclicredential?view=azure-dotnet" _blank - click H "https://learn.microsoft.com/dotnet/api/azure.identity.interactivebrowsercredential?view=azure-dotnet" _blank; -``` diff --git a/docs/azure/sdk/includes/mermaidjs/DefaultAzureCredentialExcludes.md b/docs/azure/sdk/includes/mermaidjs/DefaultAzureCredentialExcludes.md deleted file mode 100644 index 10769fb09f86e..0000000000000 --- a/docs/azure/sdk/includes/mermaidjs/DefaultAzureCredentialExcludes.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -ms.topic: include -ms.date: 08/07/2024 ---- - -```mermaid -%% STEPS TO GENERATE IMAGE -%% ======================= -%% 1. Install mermaid CLI v10.9.1 (see https://github.com/mermaid-js/mermaid-cli/blob/master/README.md): -%% npm i -g @mermaid-js/mermaid-cli@10.9.1 -%% 2. Run command: mmdc -i DefaultAzureCredentialExcludes.md -o ../../media/mermaidjs/DefaultAzureCredentialExcludes.svg - -%%{ - init: { - 'theme': 'base', - 'themeVariables': { - 'tertiaryBorderColor': '#fff', - 'tertiaryColor': '#fff' - } - } -}%% - -flowchart LR; - C(Managed Identity):::deployed --> D(Visual Studio):::developer --> E(Azure CLI):::developer --> F(Azure PowerShell):::developer --> G(Azure Developer CLI):::developer; - - %% Define styles for credential type boxes - classDef deployed fill:#95C37E, stroke:#71AD4C, stroke-width:2px; - classDef developer fill:#F5AF6F, stroke:#EB7C39, stroke-width:2px; -``` diff --git a/docs/core/install/includes/linux-install-60-apk.md b/docs/core/install/includes/linux-install-60-apk.md deleted file mode 100644 index 0e60bb456cab4..0000000000000 --- a/docs/core/install/includes/linux-install-60-apk.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -author: adegeo -ms.author: adegeo -ms.date: 11/22/2022 -ms.topic: include -ms.custom: linux-related-content ---- - -### Install the SDK - -The .NET SDK allows you to develop apps with .NET. If you install the .NET SDK, you don't need to install the corresponding runtime. To install the .NET SDK, run the following command: - -```bash -sudo apk add dotnet6-sdk -``` - -To learn how to use the .NET CLI, see [.NET CLI overview](../../tools/index.md). - -### Install the runtime - -The ASP.NET Core Runtime allows you to run apps that were made with .NET that didn't provide the runtime. The following command installs the ASP.NET Core Runtime, which is the most compatible runtime for .NET. In your terminal, run the following command: - -```bash -sudo apk add aspnetcore6-runtime -``` - -As an alternative to the ASP.NET Core Runtime, you can install the .NET Runtime, which doesn't include ASP.NET Core support. To install it, replace `aspnetcore6-runtime` in the previous command with `dotnet6-runtime`: - -```bash -sudo apk add dotnet6-runtime -``` - -To learn how to use the .NET CLI, see [.NET CLI overview](../../tools/index.md). diff --git a/docs/core/install/includes/linux-install-60-zyp.md b/docs/core/install/includes/linux-install-60-zyp.md deleted file mode 100644 index f5845cc0d106e..0000000000000 --- a/docs/core/install/includes/linux-install-60-zyp.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -author: adegeo -ms.author: adegeo -ms.date: 10/26/2021 -ms.topic: include -ms.custom: linux-related-content ---- - -### Install the SDK - -The .NET SDK allows you to develop apps with .NET. If you install the .NET SDK, you don't need to install the corresponding runtime. To install the .NET SDK, run the following command: - -```bash -sudo zypper install dotnet-sdk-6.0 -``` - -To learn how to use the .NET CLI, see [.NET CLI overview](../../tools/index.md). - -### Install the runtime - -The ASP.NET Core Runtime allows you to run apps that were made with .NET that didn't provide the runtime. The following command installs the ASP.NET Core Runtime, which is the most compatible runtime for .NET. In your terminal, run the following command: - -```bash -sudo zypper install aspnetcore-runtime-6.0 -``` - -As an alternative to the ASP.NET Core Runtime, you can install the .NET Runtime, which doesn't include ASP.NET Core support: replace `aspnetcore-runtime-6.0` in the previous command with `dotnet-runtime-6.0`: - -```bash -sudo zypper install dotnet-runtime-6.0 -``` - -To learn how to use the .NET CLI, see [.NET CLI overview](../../tools/index.md). diff --git a/docs/core/install/includes/linux-install-70-apk.md b/docs/core/install/includes/linux-install-70-apk.md deleted file mode 100644 index e77a463a3bb8f..0000000000000 --- a/docs/core/install/includes/linux-install-70-apk.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -author: adegeo -ms.author: adegeo -ms.date: 11/22/2022 -ms.topic: include -ms.custom: linux-related-content ---- - -### Install the SDK - -The .NET SDK allows you to develop apps with .NET. If you install the .NET SDK, you don't need to install the corresponding runtime. To install the .NET SDK, run the following command: - -```bash -sudo apk add dotnet7-sdk -``` - -To learn how to use the .NET CLI, see [.NET CLI overview](../../tools/index.md). - -### Install the runtime - -The ASP.NET Core Runtime allows you to run apps that were made with .NET that didn't provide the runtime. The following command installs the ASP.NET Core Runtime, which is the most compatible runtime for .NET. In your terminal, run the following command: - -```bash -sudo apk add aspnetcore7-runtime -``` - -As an alternative to the ASP.NET Core Runtime, you can install the .NET Runtime, which doesn't include ASP.NET Core support: replace `aspnetcore7-runtime` in the previous command with `dotnet7-runtime`: - -```bash -sudo apk add dotnet7-runtime -``` - -To learn how to use the .NET CLI, see [.NET CLI overview](../../tools/index.md). diff --git a/docs/core/install/includes/linux-install-70-dnf.md b/docs/core/install/includes/linux-install-70-dnf.md deleted file mode 100644 index d5d5e82f41bb0..0000000000000 --- a/docs/core/install/includes/linux-install-70-dnf.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -author: adegeo -ms.author: adegeo -ms.date: 11/15/2022 -ms.topic: include -ms.custom: linux-related-content ---- - -### Install the SDK - -The .NET SDK allows you to develop apps with .NET. If you install the .NET SDK, you don't need to install the corresponding runtime. To install the .NET SDK, run the following command: - -```bash -sudo dnf install dotnet-sdk-7.0 -``` - -To learn how to use the .NET CLI, see [.NET CLI overview](../../tools/index.md). - -### Install the runtime - -The ASP.NET Core Runtime allows you to run apps that were made with .NET that didn't provide the runtime. The following command installs the ASP.NET Core Runtime, which is the most compatible runtime for .NET. In your terminal, run the following command: - -```bash -sudo dnf install aspnetcore-runtime-7.0 -``` - -As an alternative to the ASP.NET Core Runtime, you can install the .NET Runtime, which doesn't include ASP.NET Core support: replace `aspnetcore-runtime-7.0` in the previous command with `dotnet-runtime-7.0`: - -```bash -sudo dnf install dotnet-runtime-7.0 -``` - -To learn how to use the .NET CLI, see [.NET CLI overview](../../tools/index.md). diff --git a/docs/core/install/includes/linux-install-70-zyp.md b/docs/core/install/includes/linux-install-70-zyp.md deleted file mode 100644 index 3b9cf515b83ba..0000000000000 --- a/docs/core/install/includes/linux-install-70-zyp.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -author: adegeo -ms.author: adegeo -ms.date: 11/15/2022 -ms.topic: include -ms.custom: linux-related-content ---- - -### Install the SDK - -The .NET SDK allows you to develop apps with .NET. If you install the .NET SDK, you don't need to install the corresponding runtime. To install the .NET SDK, run the following command: - -```bash -sudo zypper install dotnet-sdk-7.0 -``` - -To learn how to use the .NET CLI, see [.NET CLI overview](../../tools/index.md). - -### Install the runtime - -The ASP.NET Core Runtime allows you to run apps that were made with .NET that didn't provide the runtime. The following command installs the ASP.NET Core Runtime, which is the most compatible runtime for .NET. In your terminal, run the following command: - -```bash -sudo zypper install aspnetcore-runtime-7.0 -``` - -As an alternative to the ASP.NET Core Runtime, you can install the .NET Runtime, which doesn't include ASP.NET Core support: replace `aspnetcore-runtime-7.0` in the previous command with `dotnet-runtime-7.0`: - -```bash -sudo zypper install dotnet-runtime-7.0 -``` - -To learn how to use the .NET CLI, see [.NET CLI overview](../../tools/index.md).