共用方式為


ResourceSettingsUnion type

type ResourceSettingsUnion =
  | ResourceSettings
  | VirtualMachineResourceSettings
  | AvailabilitySetResourceSettings
  | VirtualNetworkResourceSettings
  | NetworkInterfaceResourceSettings
  | NetworkSecurityGroupResourceSettings
  | LoadBalancerResourceSettings
  | SqlServerResourceSettings
  | SqlElasticPoolResourceSettings
  | SqlDatabaseResourceSettings
  | ResourceGroupResourceSettings
  | PublicIPAddressResourceSettings
  | KeyVaultResourceSettings
  | DiskEncryptionSetResourceSettings