/// <summary>
 /// Initializes a new instance of the OrchestrationServiceStateInput
 /// class.
 /// </summary>
 /// <param name="serviceName">The name of the service. Possible values
 /// include: 'AutomaticRepairs',
 /// 'DummyOrchestrationServiceName'</param>
 /// <param name="action">The action to be performed. Possible values
 /// include: 'Resume', 'Suspend'</param>
 public OrchestrationServiceStateInput(OrchestrationServiceNames serviceName, OrchestrationServiceStateAction action)
 {
     ServiceName = serviceName;
     Action      = action;
     CustomInit();
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the OrchestrationServiceSummary
 /// class.
 /// </summary>
 /// <param name="serviceName">The name of the service. Possible values
 /// include: 'AutomaticRepairs',
 /// 'DummyOrchestrationServiceName'</param>
 /// <param name="serviceState">The current state of the service.
 /// Possible values include: 'NotRunning', 'Running',
 /// 'Suspended'</param>
 public OrchestrationServiceSummary(OrchestrationServiceNames serviceName = default(OrchestrationServiceNames), OrchestrationServiceState serviceState = default(OrchestrationServiceState))
 {
     ServiceName  = serviceName;
     ServiceState = serviceState;
     CustomInit();
 }