/// <summary> /// Initializes a new instance of the Operation class. /// </summary> /// <param name="name">The operation name.</param> /// <param name="display">The operation display name.</param> /// <param name="origin">Origin of the operation.</param> /// <param name="properties">Operation properties format.</param> public Operation(string name, OperationDisplay display = default(OperationDisplay), string origin = default(string), MetricProperties properties = default(MetricProperties)) { Name = name; Display = display; Origin = origin; Properties = properties; CustomInit(); }
/// <summary> /// Initializes a new instance of the Operation class. /// </summary> /// <param name="name">The operation name.</param> /// <param name="display">The operation display name.</param> /// <param name="origin">Origin of the operation.</param> /// <param name="properties">Operation properties format.</param> /// <param name="isDataAction">Whether the operation applies to /// data-plane.</param> /// <param name="actionType">Indicates the action type. Possible values /// include: 'Internal'</param> public Operation(string name, OperationDisplay display = default(OperationDisplay), string origin = default(string), Properties properties = default(Properties), bool? isDataAction = default(bool?), ActionType? actionType = default(ActionType?)) { Name = name; Display = display; Origin = origin; Properties = properties; IsDataAction = isDataAction; ActionType = actionType; CustomInit(); }