The endpoint will be started after creation, but will not be enforced unless the the parameter State is specified. To set connect permission to the endpoint, please use the resource SqlEndpointPermission.
Source |
|
DSC Resource |
|
Documentation |
-
Target machine must be running Windows Server 2012 or later.
-
Target machine must be running SQL Server Database Engine 2012 or later.
Parameter | Attribute | DataType | Description | Allowed Values |
---|---|---|---|---|
Mandatory |
Hashtable[] |
List of SQL endpoints. |
Parameter | Attribute | DataType | Description | Allowed Values |
---|---|---|---|---|
EndpointName |
Key |
String |
The name of the endpoint. |
|
InstanceName |
Key |
String |
The name of the SQL Server instance to be configured. |
|
EndpointType |
Required |
String |
Specifies the type of endpoint. Currently the only types that are supported are the Database Mirroring and the Service Broker type. |
|
Enure |
String |
Determines whether the alias should be added ( |
|
|
Port |
UInt16 |
The network port the endpoint is listening on. Default value is |
||
ServerName |
String |
The host name of the SQL Server to be configured. Default value is the current computer name. |
||
IpAddress |
String |
The network IP address the endpoint is listening on. Default value is |
||
Owner |
String |
The owner of the endpoint. Default is the login used for the creation. |
||
IsMessageForwardingEnabled |
Bool |
Specifies whether messages received by this endpoint that are for services located elsewhere will be forwarded. |
||
MessageForwardingSize |
UInt32 |
Specifies the maximum amount of storage in megabytes to allocate for the endpoint to use when storing messages that are to be forwarded. |
||
State |
String |
Specifies the state of the endpoint. When an endpoint is created and the state is not specified then the endpoint will be started after it is created. The state will not be enforced unless the parameter is specified. |
|
SqlEndpoints:
Values:
- EndpointName: HADR
EndpointType: DatabaseMirroring
Port: 5022
ServerName: SQL1
InstanceName: MSSQLSERVER
- EndpointName: HADR
EndpointType: DatabaseMirroring
Port: 5023
ServerName: SQL2
InstanceName: MSSQLSERVER