Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update domain after Microsoft Docs rebranding to Microsoft Learn #8179

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
Original file line number Diff line number Diff line change
Expand Up @@ -815,8 +815,8 @@ interactions:
:\"Azure Defender's extension for Azure Arc provides threat protection for\
\ your Arc enabled Kubernetes clusters. The extension collects data from nodes\
\ in the cluster and sends it to the Azure Defender for Kubernetes backend\
\ in the cloud for further analysis. Learn more in <a href='https://docs.microsoft.com/azure/security-center/defender-for-kubernetes-azure-arc'\
\ target='_blank'>https://docs.microsoft.com/azure/security-center/defender-for-kubernetes-azure-arc</a>\
\ in the cloud for further analysis. Learn more in <a href='https://learn.microsoft.com/azure/security-center/defender-for-kubernetes-azure-arc'\
\ target='_blank'>https://learn.microsoft.com/azure/security-center/defender-for-kubernetes-azure-arc</a>\
\ .\",\"responsibilityType\":\"Automated\",\"responsibilitySeverity\":\"Low\"\
,\"responsibilityStatus\":\"NotApplicable\",\"responsibilityEnvironment\"\
:\"Azure\",\"failedResourceCount\":0,\"totalResourceCount\":0,\"resourceList\"\
Expand Down Expand Up @@ -1741,8 +1741,8 @@ interactions:
\ may be required for some legacy applications, but are considered weak and\
\ can be disabled if you don't need them. When TLS 1.2 only mode is enabled,\
\ any client making a request that is not using TLS 1.2 will fail. Learn more\
\ at <a href='https://docs.microsoft.com/azure/active-directory-domain-services/secure-your-domain'\
\ target='_blank'>https://docs.microsoft.com/azure/active-directory-domain-services/secure-your-domain</a>\
\ at <a href='https://learn.microsoft.com/azure/active-directory-domain-services/secure-your-domain'\
\ target='_blank'>https://learn.microsoft.com/azure/active-directory-domain-services/secure-your-domain</a>\
\ .\",\"responsibilityType\":\"Automated\",\"responsibilitySeverity\":\"Medium\"\
,\"responsibilityStatus\":\"NotApplicable\",\"responsibilityEnvironment\"\
:\"Azure\",\"failedResourceCount\":0,\"totalResourceCount\":0,\"resourceList\"\
Expand Down Expand Up @@ -2243,7 +2243,7 @@ interactions:
\ Storage account, Azure Synapse Analytics, Azure Batch accounts, Azure Kubernetes\
\ Service (AKS), Virtual Machines, Azure Container registries, Azure HPC Cache,\
\ etc., are encrypted by default with Microsoft-managed keys encryption. More\
\ resource types can refer to this <a href='https://docs.microsoft.com/azure/security/fundamentals/encryption-models#supporting-services'\
\ resource types can refer to this <a href='https://learn.microsoft.com/azure/security/fundamentals/encryption-models#supporting-services'\
\ target='_blank'>doc</a>.\",\"responsibilityType\":\"Automated\",\"responsibilitySeverity\"\
:\"High\",\"responsibilityStatus\":\"NotApplicable\",\"responsibilityEnvironment\"\
:\"Azure\",\"failedResourceCount\":0,\"totalResourceCount\":1,\"resourceList\"\
Expand Down Expand Up @@ -8368,8 +8368,8 @@ interactions:
:\"Azure Defender's extension for Azure Arc provides threat protection for\
\ your Arc enabled Kubernetes clusters. The extension collects data from nodes\
\ in the cluster and sends it to the Azure Defender for Kubernetes backend\
\ in the cloud for further analysis. Learn more in <a href='https://docs.microsoft.com/azure/security-center/defender-for-kubernetes-azure-arc'\
\ target='_blank'>https://docs.microsoft.com/azure/security-center/defender-for-kubernetes-azure-arc</a>\
\ in the cloud for further analysis. Learn more in <a href='https://learn.microsoft.com/azure/security-center/defender-for-kubernetes-azure-arc'\
\ target='_blank'>https://learn.microsoft.com/azure/security-center/defender-for-kubernetes-azure-arc</a>\
\ .\",\"responsibilityType\":\"Automated\",\"responsibilitySeverity\":\"Low\"\
,\"responsibilityStatus\":\"NotApplicable\",\"responsibilityEnvironment\"\
:\"Azure\",\"failedResourceCount\":0,\"totalResourceCount\":0,\"resourceList\"\
Expand Down Expand Up @@ -9294,8 +9294,8 @@ interactions:
\ may be required for some legacy applications, but are considered weak and\
\ can be disabled if you don't need them. When TLS 1.2 only mode is enabled,\
\ any client making a request that is not using TLS 1.2 will fail. Learn more\
\ at <a href='https://docs.microsoft.com/azure/active-directory-domain-services/secure-your-domain'\
\ target='_blank'>https://docs.microsoft.com/azure/active-directory-domain-services/secure-your-domain</a>\
\ at <a href='https://learn.microsoft.com/azure/active-directory-domain-services/secure-your-domain'\
\ target='_blank'>https://learn.microsoft.com/azure/active-directory-domain-services/secure-your-domain</a>\
\ .\",\"responsibilityType\":\"Automated\",\"responsibilitySeverity\":\"Medium\"\
,\"responsibilityStatus\":\"NotApplicable\",\"responsibilityEnvironment\"\
:\"Azure\",\"failedResourceCount\":0,\"totalResourceCount\":0,\"resourceList\"\
Expand Down Expand Up @@ -9796,7 +9796,7 @@ interactions:
\ Storage account, Azure Synapse Analytics, Azure Batch accounts, Azure Kubernetes\
\ Service (AKS), Virtual Machines, Azure Container registries, Azure HPC Cache,\
\ etc., are encrypted by default with Microsoft-managed keys encryption. More\
\ resource types can refer to this <a href='https://docs.microsoft.com/azure/security/fundamentals/encryption-models#supporting-services'\
\ resource types can refer to this <a href='https://learn.microsoft.com/azure/security/fundamentals/encryption-models#supporting-services'\
\ target='_blank'>doc</a>.\",\"responsibilityType\":\"Automated\",\"responsibilitySeverity\"\
:\"High\",\"responsibilityStatus\":\"NotApplicable\",\"responsibilityEnvironment\"\
:\"Azure\",\"failedResourceCount\":0,\"totalResourceCount\":1,\"resourceList\"\
Expand Down Expand Up @@ -10764,8 +10764,8 @@ interactions:
\ Azure Arc provides threat protection for your Arc enabled Kubernetes clusters.\
\ The extension collects data from nodes in the cluster and sends it to the\
\ Azure Defender for Kubernetes backend in the cloud for further analysis.\
\ Learn more in <a href='https://docs.microsoft.com/azure/security-center/defender-for-kubernetes-azure-arc'\
\ target='_blank'>https://docs.microsoft.com/azure/security-center/defender-for-kubernetes-azure-arc</a>\
\ Learn more in <a href='https://learn.microsoft.com/azure/security-center/defender-for-kubernetes-azure-arc'\
\ target='_blank'>https://learn.microsoft.com/azure/security-center/defender-for-kubernetes-azure-arc</a>\
\ .\",\"resourceId\":\"-\",\"resourceType\":\"-\",\"resourceOrigin\":\"-\"\
,\"resourceStatus\":\"-\",\"resourceStatusChangeDate\":\"2024-07-12T08:29:18.513Z\"\
},{\"categoryName\":\"Operational Security\",\"controlFamilyName\":\"Security\
Expand Down Expand Up @@ -11300,8 +11300,8 @@ interactions:
\ may be required for some legacy applications, but are considered weak and\
\ can be disabled if you don't need them. When TLS 1.2 only mode is enabled,\
\ any client making a request that is not using TLS 1.2 will fail. Learn more\
\ at <a href='https://docs.microsoft.com/azure/active-directory-domain-services/secure-your-domain'\
\ target='_blank'>https://docs.microsoft.com/azure/active-directory-domain-services/secure-your-domain</a>\
\ at <a href='https://learn.microsoft.com/azure/active-directory-domain-services/secure-your-domain'\
\ target='_blank'>https://learn.microsoft.com/azure/active-directory-domain-services/secure-your-domain</a>\
\ .\",\"resourceId\":\"-\",\"resourceType\":\"-\",\"resourceOrigin\":\"-\"\
,\"resourceStatus\":\"-\",\"resourceStatusChangeDate\":\"2024-07-12T08:29:18.513Z\"\
},{\"categoryName\":\"Data Security & Privacy\",\"controlFamilyName\":\"Data\
Expand Down Expand Up @@ -11613,7 +11613,7 @@ interactions:
\ Batch accounts, Azure Kubernetes Service (AKS), Virtual Machines, Azure\
\ Container registries, Azure HPC Cache, etc., are encrypted by default with\
\ Microsoft-managed keys encryption. More resource types can refer to this\
\ <a href='https://docs.microsoft.com/azure/security/fundamentals/encryption-models#supporting-services'\
\ <a href='https://learn.microsoft.com/azure/security/fundamentals/encryption-models#supporting-services'\
\ target='_blank'>doc</a>.\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000\"\
,\"resourceType\":\"microsoft.resources/subscriptions\",\"resourceOrigin\"\
:\"Azure\",\"resourceStatus\":\"Healthy\",\"resourceStatusChangeDate\":\"\
Expand Down Expand Up @@ -12724,8 +12724,8 @@ interactions:
:\"Azure Defender's extension for Azure Arc provides threat protection for\
\ your Arc enabled Kubernetes clusters. The extension collects data from nodes\
\ in the cluster and sends it to the Azure Defender for Kubernetes backend\
\ in the cloud for further analysis. Learn more in <a href='https://docs.microsoft.com/azure/security-center/defender-for-kubernetes-azure-arc'\
\ target='_blank'>https://docs.microsoft.com/azure/security-center/defender-for-kubernetes-azure-arc</a>\
\ in the cloud for further analysis. Learn more in <a href='https://learn.microsoft.com/azure/security-center/defender-for-kubernetes-azure-arc'\
\ target='_blank'>https://learn.microsoft.com/azure/security-center/defender-for-kubernetes-azure-arc</a>\
\ .\",\"responsibilityType\":\"Automated\",\"responsibilitySeverity\":\"Low\"\
,\"responsibilityStatus\":\"NotApplicable\",\"responsibilityEnvironment\"\
:\"Azure\",\"failedResourceCount\":0,\"totalResourceCount\":0,\"resourceList\"\
Expand Down Expand Up @@ -13650,8 +13650,8 @@ interactions:
\ may be required for some legacy applications, but are considered weak and\
\ can be disabled if you don't need them. When TLS 1.2 only mode is enabled,\
\ any client making a request that is not using TLS 1.2 will fail. Learn more\
\ at <a href='https://docs.microsoft.com/azure/active-directory-domain-services/secure-your-domain'\
\ target='_blank'>https://docs.microsoft.com/azure/active-directory-domain-services/secure-your-domain</a>\
\ at <a href='https://learn.microsoft.com/azure/active-directory-domain-services/secure-your-domain'\
\ target='_blank'>https://learn.microsoft.com/azure/active-directory-domain-services/secure-your-domain</a>\
\ .\",\"responsibilityType\":\"Automated\",\"responsibilitySeverity\":\"Medium\"\
,\"responsibilityStatus\":\"NotApplicable\",\"responsibilityEnvironment\"\
:\"Azure\",\"failedResourceCount\":0,\"totalResourceCount\":0,\"resourceList\"\
Expand Down Expand Up @@ -14152,7 +14152,7 @@ interactions:
\ Storage account, Azure Synapse Analytics, Azure Batch accounts, Azure Kubernetes\
\ Service (AKS), Virtual Machines, Azure Container registries, Azure HPC Cache,\
\ etc., are encrypted by default with Microsoft-managed keys encryption. More\
\ resource types can refer to this <a href='https://docs.microsoft.com/azure/security/fundamentals/encryption-models#supporting-services'\
\ resource types can refer to this <a href='https://learn.microsoft.com/azure/security/fundamentals/encryption-models#supporting-services'\
\ target='_blank'>doc</a>.\",\"responsibilityType\":\"Automated\",\"responsibilitySeverity\"\
:\"High\",\"responsibilityStatus\":\"NotApplicable\",\"responsibilityEnvironment\"\
:\"Azure\",\"failedResourceCount\":0,\"totalResourceCount\":1,\"resourceList\"\
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -815,8 +815,8 @@ interactions:
:\"Azure Defender's extension for Azure Arc provides threat protection for\
\ your Arc enabled Kubernetes clusters. The extension collects data from nodes\
\ in the cluster and sends it to the Azure Defender for Kubernetes backend\
\ in the cloud for further analysis. Learn more in <a href='https://docs.microsoft.com/azure/security-center/defender-for-kubernetes-azure-arc'\
\ target='_blank'>https://docs.microsoft.com/azure/security-center/defender-for-kubernetes-azure-arc</a>\
\ in the cloud for further analysis. Learn more in <a href='https://learn.microsoft.com/azure/security-center/defender-for-kubernetes-azure-arc'\
\ target='_blank'>https://learn.microsoft.com/azure/security-center/defender-for-kubernetes-azure-arc</a>\
\ .\",\"responsibilityType\":\"Automated\",\"responsibilitySeverity\":\"Low\"\
,\"responsibilityStatus\":\"NotApplicable\",\"responsibilityEnvironment\"\
:\"Azure\",\"failedResourceCount\":0,\"totalResourceCount\":0,\"resourceList\"\
Expand Down Expand Up @@ -1741,8 +1741,8 @@ interactions:
\ may be required for some legacy applications, but are considered weak and\
\ can be disabled if you don't need them. When TLS 1.2 only mode is enabled,\
\ any client making a request that is not using TLS 1.2 will fail. Learn more\
\ at <a href='https://docs.microsoft.com/azure/active-directory-domain-services/secure-your-domain'\
\ target='_blank'>https://docs.microsoft.com/azure/active-directory-domain-services/secure-your-domain</a>\
\ at <a href='https://learn.microsoft.com/azure/active-directory-domain-services/secure-your-domain'\
\ target='_blank'>https://learn.microsoft.com/azure/active-directory-domain-services/secure-your-domain</a>\
\ .\",\"responsibilityType\":\"Automated\",\"responsibilitySeverity\":\"Medium\"\
,\"responsibilityStatus\":\"NotApplicable\",\"responsibilityEnvironment\"\
:\"Azure\",\"failedResourceCount\":0,\"totalResourceCount\":0,\"resourceList\"\
Expand Down Expand Up @@ -2243,7 +2243,7 @@ interactions:
\ Storage account, Azure Synapse Analytics, Azure Batch accounts, Azure Kubernetes\
\ Service (AKS), Virtual Machines, Azure Container registries, Azure HPC Cache,\
\ etc., are encrypted by default with Microsoft-managed keys encryption. More\
\ resource types can refer to this <a href='https://docs.microsoft.com/azure/security/fundamentals/encryption-models#supporting-services'\
\ resource types can refer to this <a href='https://learn.microsoft.com/azure/security/fundamentals/encryption-models#supporting-services'\
\ target='_blank'>doc</a>.\",\"responsibilityType\":\"Automated\",\"responsibilitySeverity\"\
:\"High\",\"responsibilityStatus\":\"NotApplicable\",\"responsibilityEnvironment\"\
:\"Azure\",\"failedResourceCount\":0,\"totalResourceCount\":1,\"resourceList\"\
Expand Down
2 changes: 1 addition & 1 deletion src/aks-preview/azext_aks_preview/_consts.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@
CONST_CREDENTIAL_FORMAT_AZURE = "azure"
CONST_CREDENTIAL_FORMAT_EXEC = "exec"

# refer https://docs.microsoft.com/en-us/rest/api/storageservices/
# refer https://learn.microsoft.com/en-us/rest/api/storageservices/
# naming-and-referencing-containers--blobs--and-metadata#container-names
CONST_CONTAINER_NAME_MAX_LENGTH = 63

Expand Down
8 changes: 4 additions & 4 deletions src/aks-preview/azext_aks_preview/_help.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
- Disallowed values: "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5".
- Minimum-length: 1 character
- Max-length: 20 characters
Reference: https://docs.microsoft.com/en-us/dotnet/api/microsoft.azure.management.compute.models.virtualmachinescalesetosprofile.adminusername?view=azure-dotnet
Reference: https://learn.microsoft.com/en-us/dotnet/api/microsoft.azure.management.compute.models.virtualmachinescalesetosprofile.adminusername?view=azure-dotnet
- name: --windows-admin-password
type: string
short-summary: User account password to use on windows node VMs.
Expand All @@ -93,7 +93,7 @@
* Has a digit
* Has a special character (Regex match [\\W_])
- Disallowed values: "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!"
Reference: https://docs.microsoft.com/en-us/dotnet/api/microsoft.azure.management.compute.models.virtualmachinescalesetosprofile.adminpassword?view=azure-dotnet
Reference: https://learn.microsoft.com/en-us/dotnet/api/microsoft.azure.management.compute.models.virtualmachinescalesetosprofile.adminpassword?view=azure-dotnet
- name: --enable-ahub
type: bool
short-summary: Enable Azure Hybrid User Benefits (AHUB) for Windows VMs.
Expand Down Expand Up @@ -761,7 +761,7 @@
long-summary: This can only be performed on Azure Virtual Machine Scale set backed clusters. Stopping a
cluster stops the control plane and agent nodes entirely, while maintaining all object and
cluster state. A cluster does not accrue charges while it is stopped. See `stopping a
cluster <https://docs.microsoft.com/azure/aks/start-stop-cluster>`_ for more details about
cluster <https://learn.microsoft.com/azure/aks/start-stop-cluster>`_ for more details about
stopping a cluster.
"""

Expand Down Expand Up @@ -1053,7 +1053,7 @@
* Has a digit
* Has a special character (Regex match [\\W_])
- Disallowed values: "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!"
Reference: https://docs.microsoft.com/en-us/dotnet/api/microsoft.azure.management.compute.models.virtualmachinescalesetosprofile.adminpassword?view=azure-dotnet
Reference: https://learn.microsoft.com/en-us/dotnet/api/microsoft.azure.management.compute.models.virtualmachinescalesetosprofile.adminpassword?view=azure-dotnet
- name: --enable-azure-rbac
type: bool
short-summary: Enable Azure RBAC to control authorization checks on cluster.
Expand Down
2 changes: 1 addition & 1 deletion src/aks-preview/azext_aks_preview/_validators.py
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@ def validate_azure_keyvault_kms_key_id(namespace):
if key_id:
err_msg = (
"--azure-keyvault-kms-key-id is not a valid Key Vault key ID. "
"See https://docs.microsoft.com/en-us/azure/key-vault/general/about-keys-secrets-certificates#vault-name-and-object-name" # pylint: disable=line-too-long
"See https://learn.microsoft.com/en-us/azure/key-vault/general/about-keys-secrets-certificates#vault-name-and-object-name" # pylint: disable=line-too-long
)

https_prefix = "https://"
Expand Down
4 changes: 2 additions & 2 deletions src/aks-preview/azext_aks_preview/aks_diagnostics.py
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ def _generate_container_name(fqdn: str, private_fqdn: str) -> str:
"""
Generates a container name unique to the specified managed cluster, that
conforms to the Azure naming restrictions defined here:
https://docs.microsoft.com/en-us/rest/api/storageservices/naming-and-referencing-containers--blobs--and-metadata#container-names
https://learn.microsoft.com/en-us/rest/api/storageservices/naming-and-referencing-containers--blobs--and-metadata#container-names

This is done based on fqdn (falling back to private_fqdn), and shortened
to strip everything including and after ".hcp.".
Expand Down Expand Up @@ -370,7 +370,7 @@ def _get_cluster_features(cli_ctx, resource_group_name, cluster_name):


def _is_windows_hpc_supported(agent_pools):
# https://docs.microsoft.com/en-us/rest/api/aks/agent-pools/list?tabs=HTTP#agentpool
# https://learn.microsoft.com/en-us/rest/api/aks/agent-pools/list?tabs=HTTP#agentpool
# The full (major.minor.patch) version *may* be stored in currentOrchestratorVersion.
# If not, it'll be in orchestratorVersion.
windows_k8s_versions = [p.current_orchestrator_version or p.orchestrator_version for p in agent_pools if p.os_type.casefold() == "Windows".casefold()]
Expand Down
Loading
Loading