共用方式為


ConfigurationSet Class

Definition

Objects that provide system or application data.

public class ConfigurationSet
type ConfigurationSet = class
Public Class ConfigurationSet
Inheritance
ConfigurationSet

Constructors

ConfigurationSet()

Initializes a new instance of the ConfigurationSet class.

Properties

AdditionalUnattendContent

Optional. Specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup.

AdminPassword

Optional. Specifies the string representing the administrator password to use for the virtual machine. If the VM will be created from a 'Specialized' VM image, the password is not required.

AdminUserName

Optional. Specifies the name that is used to rename the default administrator account. If the VM will be created from a 'Specialized' VM image, the user name is not required.

ComputerName

Optional. Specifies the computer name for the virtual machine. If the computer name is not specified, a name is created based on the name of the role. Computer names must be 1 to 15 characters in length. This element is only used with the WindowsProvisioningConfiguration set.

ConfigurationSetType

Optional. Specifies the configuration type for the configuration set.

CustomData

Optional. Optional. Provides base64 encoded custom data to be passed to VM.

DisableSshPasswordAuthentication

Optional. Specifies whether or not SSH authentication is disabled for the password. This element is only used with the LinuxProvisioningConfiguration set. By default this value is set to true.

DomainJoin

Optional. Contains properties that specify a domain to which the virtual machine will be joined. This element is only used with the WindowsProvisioningConfiguration set.

EnableAutomaticUpdates

Optional. Specifies whether automatic updates are enabled for the virtual machine. This element is only used with the WindowsProvisioningConfiguration set. The default value is false.

HostName

Optional. Specifies the host name for the VM. Host names are ASCII character strings 1 to 64 characters in length. This element is only used with the LinuxProvisioningConfiguration set.

InputEndpoints

Optional. Contains a collection of external endpoints for the virtual machine. This element is only used with the NetworkConfigurationSet type.

IPForwarding

Optional. Gets or sets the IP Forwarding status for this role. Optional

NetworkInterfaces

Optional.

NetworkSecurityGroup

Optional. Gets or sets the Network Security Group associated with this role. Optional

PublicIPs

Optional. Optional. A set of public IPs. Currently, only one additional public IP per role is supported in an IaaS deployment. The IP address is in addition to the default VIP for the deployment.

ResetPasswordOnFirstLogon

Optional. Specifies whether password should be reset the first time the administrator logs in.

SshSettings

Optional. Specifies the SSH public keys and key pairs to populate in the image during provisioning. This element is only used with the LinuxProvisioningConfiguration set.

StaticVirtualNetworkIPAddress

Optional. Specifies a Customer Address, i.e. an IP address assigned to a VM in a VNet's SubNet. For example: 10.0.0.4.

StoredCertificateSettings

Optional. Contains a list of service certificates with which to provision to the new role. This element is only used with the WindowsProvisioningConfiguration set.

SubnetNames

Optional. The list of Virtual Network subnet names that the deployment belongs to. This element is only used with the NetworkConfigurationSet type.

TimeZone

Optional. Specifies the time zone for the virtual machine. This element is only used with the WindowsProvisioningConfiguration set. For a complete list of supported time zone entries, you can refer to the values listed in the registry entry HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones on a computer running Windows 7, Windows Server 2008, and Windows Server 2008 R2 or you can use the tzutil command-line tool to list the valid time. The tzutil tool is installed by default on Windows 7, Windows Server 2008, and Windows Server 2008 R2.

UserName

Optional. Specifies the name of a user to be created in the sudoer group of the virtual machine. User names are ASCII character strings 1 to 32 characters in length. This element is only used with the LinuxProvisioningConfiguration set.

UserPassword

Optional. Specifies the password for user name. Passwords are ASCII character strings 6 to 72 characters in length. This element is only used with the LinuxProvisioningConfiguration set.

WindowsRemoteManagement

Optional. Configures the Windows Remote Management service on the virtual machine, which enables remote Windows PowerShell.

Applies to