-
Notifications
You must be signed in to change notification settings - Fork 459
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
[Utilities] Introduced Set-Module
script
#4067
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 tasks
* Regen readmes 3 * Fixed templates * Regen * Renamed header
* Regen readmes 4 * Fixed templates * Regen * Renamed header
* Regen readmes 6 * Fixed templates * Small update * Regen * Renamed header
* Regen readmes 5 * Fixed templates * Regen * Renamed header
* Tested logic & added depth param * Added finally block * Enabled cancel * ReadMe fallback * Added docs * Added silent continue on finally for non-cancel * Update utilities/tools/Set-Module.ps1 Co-authored-by: Ahmad Abdalla <28486158+ahmadabdalla@users.noreply.github.com> --------- Co-authored-by: Ahmad Abdalla <28486158+ahmadabdalla@users.noreply.github.com>
@AlexanderSehr I ran the branch on some pipelines to test things: They're all failing on the Set readme tests :/ |
auto-merge was automatically disabled
October 17, 2023 09:48
Pull request was converted to draft
ahmadabdalla
approved these changes
Oct 17, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved! 🚀
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Set-Module
script to ease the update of module files & readmesSet-ModuleReadMe
script to pipeline helper location - along with several other helper functionsTODO:
module.test.ps1
Set-Module.ps1
Set-ModuleOverviewTable.ps1
Set-ReadMeModuleTable.ps1
Set-ReadMePlatformTable.ps1
Set-StaticTestDocumentation.ps1
Get-PrivateRegistryRepositoryName.ps1
Get-TemplateSpecsName.ps1
Get-UniversalArtifactsName.ps1
Get-ModulesFeatureOutline.ps1
Get-ModulesAsMarkdownTable.ps1
Get-PipelineFileName.ps1
Pipeline references
Type of Change
Module content to move
Custom content should be moved into a
## Notes
section at the end of the readMe. This should be done before regenerating all readmes as we'd otherwise have a wild mix of old content, new content & deleted content.This can also be done separate to this PR, but it has to happen before. We can use the below list for tracking which modules with custom content are already done.
aad\domain-service
api-management\service
apiManagementServicePolicy
'api-management\service\authorization-server
api-management\service\backend
credentials
'tls
'api-management\service\named-value
keyVault
'authorization\policy-assignment
managementGroupId
'subscriptionId
'resourceGroupName
'authorization\policy-definition
managementGroupId
'subscriptionId
'authorization\policy-exemption
managementGroupId
'subscriptionId
'resourceGroupName
'resourceSelectors
'authorization\policy-set-definition
managementGroupId
'subscriptionId
'authorization\role-assignment
managementGroupId
'subscriptionId
'resourceGroupName
'authorization\role-definition
managementGroupId
'subscriptionId
'resourceGroupName
'automation\automation-account
encryption
'automation\automation-account\software-update-configuration
scopeByTags
'monthlyOccurrences
'automation\automation-account\variable
value
'cache\redis
redisConfiguration
'cache\redis-enterprise\database
modules
'cognitive-services\account
encryption
'networkAcls
'compute\gallery\application
customActions
'compute\virtual-machine
imageReference
'plan
'osDisk
'dataDisks
'nicConfigurations
'configurationProfileAssignments
'extensionDomainJoinConfig
'extensionAntiMalwareConfig
'extensionAzureDiskEncryptionConfig
'extensionDSCConfig
'extensionCustomScriptConfig
'extensionCustomScriptProtectedSetting
'compute\virtual-machine-scale-set
plan
'osDisk
'dataDisks
'nicConfigurations
'extensionDomainJoinConfig
'extensionNetworkWatcherAgentConfig
'extensionAntiMalwareConfig
'extensionAzureDiskEncryptionConfig
'extensionCustomScriptConfig
'extensionDSCConfig
'container-instance\container-group
imageRegistryCredentials
'autoGeneratedDomainNameLabelScope
'volumes
'container-registry\registry
imageRegistryCredentials
'container-service\managed-cluster
primaryAgentPoolProfile
'httpProxyConfig
'data-factory\factory
managedPrivateEndpoints
'data-factory\factory\integration-runtime
typeProperties
'data-factory\factory\managed-virtual-network
managedPrivateEndpoints
'data-protection\backup-vault
backupPolicies
'data-protection\backup-vault\backup-policy
properties
'databricks\workspace
customPublicSubnetName
andcustomPrivateSubnetName
'parameters
'db-for-postgre-sql\flexible-server
firewallRules
'configurations
'databases
'desktop-virtualization\host-pool
vmTemplate
'customRdpProperty
'desktop-virtualization\scaling-plan
schedules
'digital-twins\digital-twins-instance
eventhubEndpoint
'eventGridEndpoint
'serviceBusEndpoint
'document-db\database-account
locations
'sqlDatabases
'mongodbDatabases
'gremlinDatabases
'document-db\database-account\gremlin-database
graphs
'document-db\database-account\gremlin-database\graph
partitionKeyPaths
,uniqueKeyPaths
'document-db\database-account\mongodb-database
collections
'document-db\database-account\mongodb-database\collection
indexes
'shardKey
'document-db\database-account\sql-database\container
indexingPolicy
'event-grid\system-topic
eventSubscriptions
'event-grid\topic
eventSubscriptions
'event-hub\namespace\network-rule-set
<virtualNetworkRules>
'<ipRules>
'healthcare-apis\workspace
fhirservices
'dicomservices
'iotconnectors
'healthcare-apis\workspace\fhirservice
acrOciArtifacts
'healthcare-apis\workspace\iotconnector
deviceMapping
'destinationMapping
'healthcare-apis\workspace\iotconnector\fhirdestination
destinationMapping
'insights\action-group
insights\activity-log-alert
insights\metric-alert
criteria
'key-vault\vault
accessPolicies
'createMode
'diagnosticEventHubAuthorizationRuleId
'diagnosticEventHubName
'diagnosticLogCategoriesToEnable
'diagnosticMetricsToEnable
'diagnosticSettingsName
'diagnosticStorageAccountId
'diagnosticWorkspaceId
'enableDefaultTelemetry
'enablePurgeProtection
'enableRbacAuthorization
'enableSoftDelete
'enableVaultForDeployment
'enableVaultForDiskEncryption
'enableVaultForTemplateDeployment
'keys
'location
'lock
'name
'networkAcls
'privateEndpoints
'publicNetworkAccess
'roleAssignments
'secrets
'softDeleteRetentionInDays
'tags
'vaultSku
'key-vault\vault\access-policy
accessPolicies
'enableDefaultTelemetry
'keyVaultName
'key-vault\vault\key
attributesEnabled
'attributesExp
'attributesNbf
'curveName
'enableDefaultTelemetry
'keyOps
'keySize
'keyVaultName
'kty
'name
'roleAssignments
'rotationPolicy
'tags
'key-vault\vault\secret
attributesEnabled
'attributesExp
'attributesNbf
'contentType
'enableDefaultTelemetry
'keyVaultName
'name
'roleAssignments
'tags
'value
'kubernetes-configuration\extension
kubernetes-configuration\flux-configuration
logic\workflow
<accessControl>AccessControlConfiguration
'<flow>EndpointsConfiguration
'workflow*
'machine-learning-services\workspace
computes
'machine-learning-services\workspace\compute
properties
'maintenance\maintenance-configuration
maintenanceWindow
'managed-services\registration-definition
authorizations
'management\management-group
network\azure-firewall
additionalPublicIpConfigurations
'publicIPAddressObject
'network\bastion-host
additionalPublicIpConfigurations
'publicIPAddressObject
'network\connection
virtualNetworkGateway1
'virtualNetworkGateway2
'localNetworkGateway2
'peer
'customIPSecPolicy
'network\dns-resolver
inboundEndpoints
'outboundEndpoints
'network\load-balancer
frontendIPConfigurations
'backendAddressPools
'loadBalancingRules
'probes
'network\network-interface
ipConfigurations
'network\network-manager
<networkManagerScopeAccesses>
'<networkManagerScopes>
'<networkGroups>
'<connectivityConfigurations>
'<scopeConnections>
'<securityAdminConfigurations>
'network\private-dns-zone\txt
txtRecords
'network\private-endpoint
applicationSecurityGroups
'customNetworkInterfaceName
'ipConfigurations
'network\private-link-service
ipConfigurations
'loadBalancerFrontendIpConfigurations
'extendedLocation
'autoApproval
'visibility
'enableProxyProtocol
'fqdns
'network\route-table
routes
'network\trafficmanagerprofile
monitorConfig
'endpoints
'network\virtual-hub\hub-virtual-network-connection
hubVirtualNetworkConnections
'network\virtual-network
subnets
'virtualNetworkPeerings
'addressPrefixes
'network\virtual-network\subnet
delegations
'serviceEndpoints
'network\virtual-network\virtual-network-peering
network\virtual-network-gateway
subnets
'network\vpn-gateway
bgpSettings
'network\vpn-gateway\vpn-connection
routingConfiguration
'network\vpn-site
o365Policy
'deviceProperties
'bgpProperties
'vpnSiteLinks
'operational-insights\workspace
gallerySolutions
'policy-insights\remediation
managementGroupId
'subscriptionId
'resourceGroupName
'recovery-services\vault
backupStorageConfig
'backupPolicies
'replicationFabrics
'replicationPolicies
'recovery-services\vault\backup-policy
backupPolicyProperties
'recovery-services\vault\replication-fabric
replicationContainers
'recovery-services\vault\replication-fabric\replication-protection-container
replicationContainerMappings
'resources\deployment-script
resources\resource-group
security\azure-security-center
securityContactProperties
'service-bus\namespace
networkAcl
'service-fabric\cluster
notifications
'signal-r-service\web-pub-sub
networkAcls
'sql\managed-instance
userAssignedIdentities
'sql\managed-instance\database
sql\server
administrators
'storage\storage-account
networkAcls
'storage\storage-account\management-policy
rules
'synapse\workspace\key
virtual-machine-images\image-template
imageSource
'vmUserAssignedIdentities
'web\hosting-environment
clusterSettings
'web\serverfarm
sku
'web\site
appSettingsKeyValuePairs
'authSettingV2Configuration
'siteConfig
'web\site\config--appsettings
appSettingsKeyValuePairs
'web\site\config--authsettingsv2
authSettingV2Configuration
'web\site\slot
appSettingsKeyValuePairs
'authSettingV2Configuration
'siteConfig
'web\site\slot\config--appsettings
appSettingsKeyValuePairs
'web\site\slot\config--authsettingsv2
authSettingV2Configuration
'web\static-site
customDomains
'Script to generate readme