Skip to content

Commit b109c07

Browse files
committed
Update Azure documentation links
1 parent c774775 commit b109c07

34 files changed

+93
-91
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ The Azure provider is able to install and manage the [versions of Kubernetes sup
4343

4444
#### Managed Clusters (AKS)
4545

46-
Managed Clusters (AKS) follow their own [Kubernetes version support policy](https://docs.microsoft.com/en-us/azure/aks/supported-kubernetes-versions?tabs=azure-cli#kubernetes-version-support-policy). Please use the Azure portal or CLI to [find the versions supported in your cluster's location](https://docs.microsoft.com/en-us/azure/aks/supported-kubernetes-versions?tabs=azure-cli#azure-portal-and-cli-versions).
46+
Managed Clusters (AKS) follow their own [Kubernetes version support policy](https://learn.microsoft.com/azure/aks/supported-kubernetes-versions?tabs=azure-cli#kubernetes-version-support-policy). Please use the Azure portal or CLI to [find the versions supported in your cluster's location](https://learn.microsoft.com/azure/aks/supported-kubernetes-versions?tabs=azure-cli#azure-portal-and-cli-versions).
4747

4848
For more information on Kubernetes version support, see the [Cluster API book](https://cluster-api.sigs.k8s.io/reference/versions.html).
4949

api/v1beta1/azurecluster_validation.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ const (
3535
// not using . in the name to avoid issues when the name is part of DNS name.
3636
clusterNameRegex = `^[a-z0-9][a-z0-9-]{0,42}[a-z0-9]$`
3737
// max length of 44 to allow for cluster name to be used as a prefix for VMs and other resources that
38-
// have limitations as outlined here https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/resource-name-rules.
38+
// have limitations as outlined here https://learn.microsoft.com/azure/azure-resource-manager/management/resource-name-rules.
3939
clusterNameMaxLength = 44
40-
// obtained from https://docs.microsoft.com/en-us/rest/api/resources/resourcegroups/createorupdate#uri-parameters.
40+
// obtained from https://learn.microsoft.com/rest/api/resources/resourcegroups/createorupdate#uri-parameters.
4141
resourceGroupRegex = `^[-\w\._\(\)]+$`
42-
// described in https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/resource-name-rules.
42+
// described in https://learn.microsoft.com/azure/azure-resource-manager/management/resource-name-rules.
4343
subnetRegex = `^[-\w\._]+$`
4444
loadBalancerRegex = `^[-\w\._]+$`
4545
// MaxLoadBalancerOutboundIPs is the maximum number of outbound IPs in a Standard LoadBalancer frontend configuration.
@@ -49,14 +49,14 @@ const (
4949
// MaxLBIdleTimeoutInMinutes is the maximum number of minutes for the LB idle timeout.
5050
MaxLBIdleTimeoutInMinutes = 30
5151
// Network security rules should be a number between 100 and 4096.
52-
// https://docs.microsoft.com/en-us/azure/virtual-network/network-security-groups-overview#security-rules
52+
// https://learn.microsoft.com/azure/virtual-network/network-security-groups-overview#security-rules
5353
minRulePriority = 100
5454
maxRulePriority = 4096
5555
// Must start with 'Microsoft.', then an alpha character, then can include alnum.
5656
serviceEndpointServiceRegexPattern = `^Microsoft\.[a-zA-Z]{1,42}[a-zA-Z0-9]{0,42}$`
5757
// Must start with an alpha character and then can include alnum OR be only *.
5858
serviceEndpointLocationRegexPattern = `^([a-z]{1,42}\d{0,5}|[*])$`
59-
// described in https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/resource-name-rules.
59+
// described in https://learn.microsoft.com/azure/azure-resource-manager/management/resource-name-rules.
6060
privateEndpointRegex = `^[-\w\._]+$`
6161
// resource ID Pattern.
6262
resourceIDPattern = `(?i)subscriptions/(.+)/resourceGroups/(.+)/providers/(.+?)/(.+?)/(.+)`

api/v1beta1/azuremachine_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ type AzureMachineSpec struct {
6262
// UserAssignedIdentities is a list of standalone Azure identities provided by the user
6363
// The lifecycle of a user-assigned identity is managed separately from the lifecycle of
6464
// the AzureMachine.
65-
// See https://docs.microsoft.com/en-us/azure/active-directory/managed-identities-azure-resources/how-to-manage-ua-identity-cli
65+
// See https://learn.microsoft.com/azure/active-directory/managed-identities-azure-resources/how-to-manage-ua-identity-cli
6666
// +optional
6767
UserAssignedIdentities []UserAssignedIdentity `json:"userAssignedIdentities,omitempty"`
6868

api/v1beta1/types.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ const (
392392
// Canceled represents an action which was initiated but terminated by the user before completion.
393393
Canceled ProvisioningState = "Canceled"
394394
// Deleted represents a deleted VM
395-
// NOTE: This state is specific to capz, and does not have corresponding mapping in Azure API (https://docs.microsoft.com/en-us/azure/virtual-machines/states-billing#provisioning-states)
395+
// NOTE: This state is specific to capz, and does not have corresponding mapping in Azure API (https://learn.microsoft.com/azure/virtual-machines/states-billing#provisioning-states)
396396
Deleted ProvisioningState = "Deleted"
397397
)
398398

@@ -677,7 +677,7 @@ type DiskEncryptionSetParameters struct {
677677
// DiffDiskSettings describe ephemeral disk settings for the os disk.
678678
type DiffDiskSettings struct {
679679
// Option enables ephemeral OS when set to "Local"
680-
// See https://docs.microsoft.com/en-us/azure/virtual-machines/ephemeral-os-disks for full details
680+
// See https://learn.microsoft.com/azure/virtual-machines/ephemeral-os-disks for full details
681681
// +kubebuilder:validation:Enum=Local
682682
Option string `json:"option"`
683683
}

azure/defaults.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ func ManagedClusterID(subscriptionID, resourceGroup, managedClusterName string)
285285

286286
// GetBootstrappingVMExtension returns the CAPZ Bootstrapping VM extension.
287287
// The CAPZ Bootstrapping extension is a simple clone of https://github.com/Azure/custom-script-extension-linux for Linux or
288-
// https://docs.microsoft.com/en-us/azure/virtual-machines/extensions/custom-script-windows for Windows.
288+
// https://learn.microsoft.com/azure/virtual-machines/extensions/custom-script-windows for Windows.
289289
// This extension allows running arbitrary scripts on the VM.
290290
// Its role is to detect and report Kubernetes bootstrap failure or success.
291291
func GetBootstrappingVMExtension(osType string, cloud string, vmName string) *ExtensionSpec {

azure/services/loadbalancers/spec.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ func getOutboundRules(lbSpec LBSpec, frontendIDs []network.SubResource) []networ
215215
func getLoadBalancingRules(lbSpec LBSpec, frontendIDs []network.SubResource) []network.LoadBalancingRule {
216216
if lbSpec.Role == infrav1.APIServerRole {
217217
// We disable outbound SNAT explicitly in the HTTPS LB rule and enable TCP and UDP outbound NAT with an outbound rule.
218-
// For more information on Standard LB outbound connections see https://docs.microsoft.com/en-us/azure/load-balancer/load-balancer-outbound-connections.
218+
// For more information on Standard LB outbound connections see https://learn.microsoft.com/azure/load-balancer/load-balancer-outbound-connections.
219219
var frontendIPConfig network.SubResource
220220
if len(frontendIDs) != 0 {
221221
frontendIPConfig = frontendIDs[0]

azure/services/managedclusters/spec.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ type LoadBalancerProfile struct {
144144
// Load balancer profile must specify at most one of ManagedOutboundIPs, OutboundIPPrefixes and OutboundIPs.
145145
// By default the AKS cluster automatically creates a public IP in the AKS-managed infrastructure resource group and assigns it to the load balancer outbound pool.
146146
// Alternatively, you can assign your own custom public IP or public IP prefix at cluster creation time.
147-
// See https://docs.microsoft.com/en-us/azure/aks/load-balancer-standard#provide-your-own-outbound-public-ips-or-prefixes
147+
// See https://learn.microsoft.com/azure/aks/load-balancer-standard#provide-your-own-outbound-public-ips-or-prefixes
148148

149149
// ManagedOutboundIPs are the desired managed outbound IPs for the cluster load balancer.
150150
ManagedOutboundIPs *int32

azure/services/virtualmachineimages/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ func (ac *AzureClient) List(ctx context.Context, location, publisher, offer, sku
5656
ctx, _, done := tele.StartSpanWithLogger(ctx, "virtualmachineimages.AzureClient.List")
5757
defer done()
5858

59-
// See https://docs.microsoft.com/en-us/odata/concepts/queryoptions-overview for how to use these query options.
59+
// See https://learn.microsoft.com/odata/concepts/queryoptions-overview for how to use these query options.
6060
expand, orderby := "", ""
6161
var top *int32
6262
return ac.images.List(ctx, location, publisher, offer, sku, expand, top, orderby)

config/crd/bases/infrastructure.cluster.x-k8s.io_azuremachinepools.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ spec:
581581
properties:
582582
option:
583583
description: Option enables ephemeral OS when set to "Local"
584-
See https://docs.microsoft.com/en-us/azure/virtual-machines/ephemeral-os-disks
584+
See https://learn.microsoft.com/azure/virtual-machines/ephemeral-os-disks
585585
for full details
586586
enum:
587587
- Local
@@ -766,7 +766,7 @@ spec:
766766
type: array
767767
vmSize:
768768
description: VMSize is the size of the Virtual Machine to build.
769-
See https://docs.microsoft.com/en-us/rest/api/compute/virtualmachines/createorupdate#virtualmachinesizetypes
769+
See https://learn.microsoft.com/rest/api/compute/virtualmachines/createorupdate#virtualmachinesizetypes
770770
type: string
771771
required:
772772
- osDisk
@@ -776,7 +776,7 @@ spec:
776776
description: UserAssignedIdentities is a list of standalone Azure
777777
identities provided by the user The lifecycle of a user-assigned
778778
identity is managed separately from the lifecycle of the AzureMachinePool.
779-
See https://docs.microsoft.com/en-us/azure/active-directory/managed-identities-azure-resources/how-to-manage-ua-identity-cli
779+
See https://learn.microsoft.com/azure/active-directory/managed-identities-azure-resources/how-to-manage-ua-identity-cli
780780
items:
781781
description: UserAssignedIdentity defines the user-assigned identities
782782
provided by the user to be assigned to Azure resources.

config/crd/bases/infrastructure.cluster.x-k8s.io_azuremachines.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ spec:
478478
properties:
479479
option:
480480
description: Option enables ephemeral OS when set to "Local"
481-
See https://docs.microsoft.com/en-us/azure/virtual-machines/ephemeral-os-disks
481+
See https://learn.microsoft.com/azure/virtual-machines/ephemeral-os-disks
482482
for full details
483483
enum:
484484
- Local
@@ -648,7 +648,7 @@ spec:
648648
description: UserAssignedIdentities is a list of standalone Azure
649649
identities provided by the user The lifecycle of a user-assigned
650650
identity is managed separately from the lifecycle of the AzureMachine.
651-
See https://docs.microsoft.com/en-us/azure/active-directory/managed-identities-azure-resources/how-to-manage-ua-identity-cli
651+
See https://learn.microsoft.com/azure/active-directory/managed-identities-azure-resources/how-to-manage-ua-identity-cli
652652
items:
653653
description: UserAssignedIdentity defines the user-assigned identities
654654
provided by the user to be assigned to Azure resources.

0 commit comments

Comments
 (0)