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: # Add connection strings to your data providers. # connectionstrings: # - name: connection-name # providername: System.Data.SqlClient # connectionstring: connection-string - 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 useractions: files: [] registry: currentcontrolset: [] software: [] target: baseVersion: "1909" requirements: - iis