WindowsGenerateArtifacts CRD

For a Windows migration, successfully applying a Migration .yaml creates a migration resource and a WindowsGenerateArtifacts .yaml (A Linux migration creates a GenerateArtifactsFlow .yaml).

You should review and update the WindowsGenerateArtifacts .yaml before executing the migration. See Customizing a migration plan for more.

The WindowsGenerateArtifacts .yaml has the following format:

apiVersion: anthos-migrate.cloud.google.com/v1beta2
kind: WindowsGenerateArtifacts
metadata:
  name: migrationplan-id
  namespace: v2k-system
spec:
  folder: storage-folder-name/
  migrationPlan:
    applications:
      iis:
        applicationhost:
          apppools:
          - name: pool-name
          apppoolsdefaults:
            managedruntimeversion: v4.0
            name: ""
          sites:
            site:
            - applications:
              - path: /
                virtualdirectories:
                - path: /
                  physicalpath: '%SystemDrive%\inetpub\wwwroot'
              bindings:
              - port: port
                # All protocols other than HTTP/HTTPS are skipped and not processed.
                protocol: only-http-and-https-supported
              name: site-name
              serverautostart: true
      image:
        extraFeatures:
        - IIS-WebServerManagementTools
      # See examples below for setting useractions.
      useractions:
        files: []
        registry:
          currentcontrolset: []
          software: []
    target:
      baseVersion: "1909"
      requirements:
      - iis